1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AUTOSAR CountdownAdvent Calendar 2022

Day 12

ISO 15031-5:2015 Road vehicles - Communication between vehicle and external equipment for emissions-related diagnostics - Part 5: Emissions-related diagnostic services

Last updated at Posted at 2022-01-23

ISO 15031-5:2015(en)
Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 5: Emissions-related diagnostic services
https://www.iso.org/standard/66368.html

<この項は書きかけです。順次追記します。>

structure

面白点1

Diag規格の面白いところは、ISO OSI参照モデルに基づいた整理をしようとしているところです。

Table 1 — Legislated emissions-related OBD/WWH -OBD diagnostic specifications applicable to the OSI layers
15031-5.png

OSI参照モデルの資料を作り始める(作業中)

面白点2

Ethernet, TCP/IPでも、Presentation層は規定がほとんどないのに対して、
Diagでは、SAEが規定していて、それをISO規格でNormative Referenceしている点です。

また、その仕様をDigital Annexとして本体規格の付録として体系化している点です。

Digital Annex of E/E Diagnostic Test Modes SAE J1979-DA 2011 Word count。docker(153) 何か失敗したかもしれない1日目。英語(51)

面白点3

トラックの規格はSAEを、国際規格でも参照している。
アメリカがPick up Trackが流行りだということは知っていた。

映画、Stan By Meの回想シーンも pick Up Trackで始まる。

SAE 規格を読み始めて

Normative Reference

ISO 9141-2:1994, Road vehicles — Diagnostic systems — Part 2: CARB requirements for interchange of digital information
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
ISO 14230-2, Road vehicles — Diagnostic communication over K-Line (DoK-Line) — Part 2: Data link layer
ISO 14230-4:2000, Road vehicles — Diagnostic systems — Keyword Protocol 2000 — Part 4: Requirements for emission-related systems
ISO 15765-2, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 2: Transport protocol and network layer services
ISO 15765-4, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 4: Requirements for emissions-related systems
ISO 15031-2, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 2: Guidance on terms, definitions, abbreviations and acronyms
SAE J1930-DA, Digital Annex of Electrical/Electronic Systems Diagnostic Terms, Definitions, Abbreviations, and Acronyms
SAE J1979-DA, Digital Annex of E/E Diagnostic Test Modes
SAE J2012-DA, Digital Annex of Diagnostic Trouble Code Definitions and Failure Type Byte Definitions

3 Terms, definitions, and abbreviated terms

3.1 Terms and definitions

For the purposes of this document, the terms and definitions given in ISO 14229-2, ISO 14230-2, ISO 15031-2, and ISO 15765-2 and the following apply.

3.1.1 absolute throttle position sensor

value intended to represent the throttle opening
Note 1 to entry: For systems where the output is proportional to the input voltage, this value is the percent of maximum input signal. For systems where the output is inversely proportional to the input voltage, this value is 100 % minus the percent of maximum input signal. Throttle position at idle usually indicates greater than 0 % and throttle position at wide open throttle usually indicates less than 100 %.

3.1.2 bank

土手
specific group of cylinders sharing a common control sensor
共通制御センサーを共有するシリンダの特定グループ
Note 1 to entry: Bank 1 always contains cylinder number 1 and bank 2 the opposite bank.
Note 2 to entry: If there is only one bank, the DTCs for bank #1 DTCs are used and the word bank may be omitted.
With a single “bank” system utilizing multiple sensors, bank #1 DTCs are used in identifying the sensors as #1, #2, and #3 in order as they move further away from the cylinder.

3.1.3 base fuel schedule

fuel calibration schedule programmed into the powertrain control module or PROM when manufactured or when updated by an off-board source, prior to any learned on-board correction

3.1.4 calculated load value

typically an indication of the current airflow divided by peak airflow at wide open throttle as a function of rpm, where airflow is corrected for altitude and ambient temperature
Note 1 to entry: Both spark ignition and compression ignition vehicles can use an alternate definition that substitutes engine torque in place of airflow in the calculation.
Note 2 to entry: This definition provides a number (without unit) and provides the service technician with an indication of the percent engine capacity that is being used.

3.1.5 client

function that is part of the tester and that makes use of the diagnostic services
Note 1 to entry: A tester normally makes use of other functions such as database management, specific interpretation, and man-machine interface.

3.1.6 continuous monitoring

sampling at a rate no fewer than two samples per second
Note 1 to entry: If, for control purposes, a computer input is sampled less frequently, the signal of the component may instead be evaluated each time sampling occurs.

3.1.7 convention, Cvt

column integrated in each message table which marks each parameter included
Note 1 to entry: The following conventions are used: C = Conditional: the parameter marked “C” in a request/response message is present only under a condition specified in the bottom row of the message table; M = Mandatory: the parameter marked “M” in a request/response message table is always present; U = User (optional): the parameter marked “U” in a request/response message table is supplied depending on dynamic usage by the manufacturer. The convention recommends a mnemonic, which might be used for implementation. In no case is the specified mnemonic ever a mandatory requirement for any implementation.

3.1.8 electronic control unit, ECU

generic term for any electronic control unit

3.1.9 emissions-related DTC

DTC which is set when a malfunction causes vehicle emissions to exceed legislated emission thresholds or is otherwise required to be set as specified by on-board diagnostics legislation (e.g. disables another part of the diagnostic system)
Note 1 to entry: Normally, the malfunction indicator (MI) is illuminated at the same time as the emissions-related DTC is set. The determination of which DTCs are emissions-related is made by the vehicle manufacturer for each vehicle, as specified by on-board diagnostic legislation.

3.1.10 fuel trim, FT

feedback adjustments to the base fuel schedule
Note 1 to entry: Short-term fuel trim refers to dynamic or instantaneous adjustments. Long-term fuel trim refers to much more gradual adjustments to the fuel calibration schedule than short-term trim adjustments. These long-term adjustments compensate for vehicle differences and gradual changes that occur over time.

3.1.11 negative numbers

signed binary, the most significant bit (MSB) of the binary number used to indicate positive (0)/negative (1)
Note 1 to entry: 2's complement: negative numbers are represented by complementing the binary number and then adding 1.
EXAMPLE:–0,99 = 800116 = 1000 0000 0000 00012
0 = 000016 = 0000 0000 0000 00002
+0,99 = 7FFF16 = 0111 1111 1111 11112
Note 2 to entry: (–0,99) + (+0,99) = 0.

3.1.12 number

expressed by this symbol “#”

3.1.13 P2, P3 timing parameter

application timing parameters for the ECU(s) and the external test equipment

3.1.14 P2CAN_min timing parameter

CAN application timing parameter with the minimum value for the ECU(s) and the external test equipment to start the response message

3.1.15 P2CAN_max timing parameter

CAN application timing parameter with the maximum value for the ECU(s) and the external test equipment to indicate a response message

3.1.16 P2reload timing parameter

CAN application timing parameter with the maximum value (P2CAN_max) for external test equipment only

3.1.17 server

function that is part of an ECU that provides the diagnostic services
Note 1 to entry: This part of ISO 15031 differentiates between the server, i.e. the function, and the electronic control unit so that it remains independent from the implementation.

3.1.18 service

information exchange initiated by a client (external test equipment) in order to require diagnostic information from a server (ECU) and/or to modify its behavior for diagnostic purposes
Note 1 to entry: This is also the equivalent of test mode or mode.

3.2 Abbreviated terms

.con confirmation
.ind indication
.req request
CRC cyclic redundancy check
CVN calibration verification number
DTC diagnostic trouble code
ECM engine control module
ERR error detection byte
EWMA exponential weighted moving average
FF first frame
ISR interrupt service routine
LSB least significant bit
MI malfunction indicator
MIL malfunction indicator light
MSB most significant bit
N_PDU network protocol data unit
N/A not applicable
NRC negative response code
NVRAM non-volatile memory
OBDMID OBD monitor identifier
PID parameter identifier
PCI protocol control information
RSP in-frame response
SF single frame
SOM start of message
T_AE virtual transport interface address extension
T_Data [ ] virtual transport interface data field
T_Mtype virtual transport interface message type
T_Length virtual transport interface length information
T_PDU virtual transport interface protocol data unit
T_Result virtual transport interface result
T_SA virtual transport interface source address
T_TA virtual transport interface target address
T_TAtype virtual transport interface target address type
TCM transmission control module
TID test identifier
UASID unit and scaling identifier
VIN vehicle identification number

Bibliography

Bibliography

[1] ISO 11898-1, Road vehicles Controller area network (CAN) — Part 1: Data link layer and physical signalling
[2] ISO 11898-2, Road vehicles — Controller area network (CAN) — Part 2: High-speed medium access unit
[3] ISO 14230-1, Road vehicles — Diagnostic communication over K-Line (DoK-Line) — Part 1: Physical layer
[4] ISO 15031-3, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 3: Diagnostic connector and related electrical circuits, specification and use
[5] ISO 15031-1, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 1: General information and use case definition
[6] ISO 15031-4, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 4: External test equipment
[7] ISO 15031-6, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 6: Diagnostic trouble code definitions
[8] ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model — Part 1
[9] ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[10] SAE J1850, Class B Data Communications Network Interface
[11] SAE J1978, OBD II Scan Tool

参考資料

@kazuo_reve 自動車の故障診断に関連するプログラマーになりたての方が参照するとよさそうな情報

@kazuo_reve AUTOSARのClassic PlatformとAdaptive PlatformにおけるDiagnosticsの違いを整理

自己参照

ISO Diag規格類 調査中

ISO 14229-1:2020 Road vehicles — Unified diagnostic services (UDS) — Part 1: Application layer

ISO Diag規格類 調査中

ISO 14229-1:2020 Road vehicles — Unified diagnostic services (UDS) — Part 1: Application layer

ISO/IEC OSIに学ぶ

@kazuo_reveさんの「自動車の故障診断に関連するプログラマーになりたての方が参照するとよさそうな情報」の読み方

@kazuo_reve「AUTOSARのClassic PlatformとAdaptive PlatformにおけるDiagnosticsの違いを整理」で慌てて

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>

#文書履歴
ver. 0.01 初稿
ver. 0.02 参考資料追記 20220130
ver. 0.03 参考資料追記 20220204

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?