UDS OSI Model

The Unified Diagnostic Services (UDS) protocol can be described using the OSI model. Each OSI layer has specific responsibilities and relevant standards for UDS communications.

UDS Standards

UDS is defined across multiple standards, which serve as the authoritative source of information and requirements for this protocol. The table below summarizes the main standards for different OSI layers and network types:

OSI Layer

Common

CAN

FlexRay

Ethernet

K-Line

LIN

Layer 7 Application

ISO 14229-1

ISO 27145-3

ISO 15031-5 / SAE J1979

ISO 14229-3

ISO 14229-4

ISO 14229-5

ISO 14229-6

ISO 14229-7

Layer 6 Presentation

ISO 27145-2

ISO 15031-2

ISO 15031-5

ISO 15031-6

SAE J1930-DA

SAE J1979-DA

SAE J2012-DA

SAE J1930-DA

SAE J1979-DA

SAE J2012-DA

Layer 5 Session

ISO 14229-2

Layer 4 Transport

ISO 27145-4

ISO 15765-2

ISO 10681-2

ISO 13400-2

Not applicable

ISO 17987-2

Layer 3 Network

Layer 2 Data

ISO 11898-1

ISO 17458-2

ISO 13400-3

ISO 14230-2

ISO 17987-3

Layer 1 Physical

ISO 11898-2

ISO 11898-3

ISO 17458-4

ISO 14230-1

ISO 17987-4

where:

  • OSI Layer: OSI layer for which the standard is relevant.

  • Common: Standards applicable to UDS regardless of the underlying network.

  • CAN/FlexRay/Ethernet/K-Line/LIN: Standards specific to UDS implementation on the given network.

Protocol Data Units (PDUs)

Each OSI layer defines its own Protocol Data Unit (PDU). For simplicity, the UDS implementation distinguishes the following PDUs:

UDS PDUs

Illustration of UDS Protocol Data Units across OSI layers.