UDS(Unified Diagnostic Services)는 진단 장비와 차량의 ECU 사이에서 주고받는 진단 통신 서비스를 정한 응용 계층 프로토콜이며, ISO 14229 시리즈가 정한다. 진단 서비스는 클라이언트가 시작해 서버에 진단 정보를 요구하는 정보 교환이고, 클라이언트는 진단 장비(tester)의 기능, 서버는 ECU의 기능이다. ISO 14229-1:2026은 특정 데이터 링크에 매이지 않는 진단 통신 서비스 요구사항을 정한다.[1]

문서 구성

ISO 14229는 현재 1부부터 8부까지 있다.[1] 그 가운데 몇 부는 아래와 같다.

문서정하는 것
ISO 14229-1응용 계층[1]
ISO 14229-2세션 계층 서비스[2]
ISO 14229-3CAN 위의 UDS(UDSonCAN)[3]
ISO 14229-4FlexRay 위의 UDS(UDSonFR)[4]
ISO 14229-5IP 위의 UDS(UDSonIP)[5]
ISO 14229-6K-Line 위의 UDS(UDSonK-Line)[6]
ISO 14229-7LIN 위의 UDS(UDSonLIN)[7]

ISO 14229-2:2021은 ISO 14229-1과, DoCAN(Diagnostic communication over Controller Area Network)이나 DoIP 같은 전송 프로토콜 사이의 독립성을 준다.[2] ISO 14229-5:2022는 ISO 14229-1과 ISO 14229-2를 참조해, IP 위의 진단 통신에 쓸 진단 서비스의 구현 요구사항을 정한다.[5]

WWH-OBD(World-Wide Harmonized On-Board Diagnostics)를 정하는 ISO 27145 시리즈는 ISO 14229-1의 UDS를 WWH-OBD 시스템에 적용하려고 만들어졌다.[8][9]

요청과 응답

ISO 14229-1:2026은 서브펑션(SubFunction) 파라미터가 있는 요청 메시지와 없는 요청 메시지를 나눠 정한다.[1] AUTOSAR의 진단 통신 관리자 Dcm(Diagnostic Communication Manager)은 진단 메시지의 첫 바이트를 서비스 식별자(SID, Service Identifier)로 보고 지원하는 서비스인지 검사한다. 서브펑션이 있는 서비스에서 메시지 둘째 바이트의 비트 7(suppressPosRspMsgIndicationBit)이 1이면 긍정 응답을 보내지 않는다.[10]

서비스

ISO 14229-1:2026은 서비스를 기능 단위(functional unit)로 묶는다. 진단·통신 관리 기능 단위에는 DiagnosticSessionControl, ECUReset, SecurityAccess, CommunicationControl이 속한다.[1] ISO 14229-1과, UDS를 쓰는 ISO 14229-4, ISO 27145-3의 공개된 목차가 밝힌 서비스의 SID는 아래와 같다.

서비스SID
DiagnosticSessionControl0x10[1]
ECUReset0x11[1]
ClearDiagnosticInformation0x14[8]
ReadDTCInformation0x19[8]
ReadDataByIdentifier0x22[8]
SecurityAccess0x27[1]
CommunicationControl0x28[1]
ReadDataByPeriodicIdentifier0x2A[4]
RoutineControl0x31[8]
ResponseOnEvent0x86[4]
LinkControl0x87[4]

AUTOSAR R25-11 Dcm 명세는 이 밖에 아래 서비스의 처리를 정한다.[10]

서비스SID
ReadMemoryByAddress0x23
ReadScalingDataByIdentifier0x24
Authentication0x29
DynamicallyDefineDataIdentifier0x2C
WriteDataByIdentifier0x2E
InputOutputControlByIdentifier0x2F
RequestDownload0x34
RequestUpload0x35
TransferData0x36
RequestTransferExit0x37
RequestFileTransfer0x38
WriteMemoryByAddress0x3D
TesterPresent0x3E
ControlDTCSetting0x85

진단 세션

ISO 14229-1:2026은 기본 세션과 기본이 아닌 세션을 두고, 세션마다 쓸 수 있는 서비스를 정한다.[1]

AUTOSAR Dcm은 초기화할 때 세션을 기본 세션으로 두고, 기본이 아닌 세션에서 S3Server 타이머가 만료되면 기본 세션으로 돌아간다. Dcm의 세션 형은 기본 세션이 0x01, 프로그래밍 세션이 0x02, 확장 진단 세션이 0x03이다. AUTOSAR R25-11의 Dcm 명세는 Concurrent TesterPresent의 목적을 기본이 아닌 세션을 유지하고 S3 타이머를 다시 시작하는 것으로 둔다.[10]

데이터 식별자와 고장 코드

AUTOSAR Dcm은 데이터 식별자(DID, Data Identifier)를 2바이트로 구성하고, ReadDataByIdentifier 요청 하나에 DID 여럿을 담은 요청을 처리한다. WriteDataByIdentifier 요청에서는 2바이트 DID와 기록할 dataRecord를 받는다. 진단 고장 코드(DTC, Diagnostic Trouble Code)는 상위·중간·하위 3바이트로 다룬다. ReadDTCInformation으로 서버에 저장된 DTC 정보를 보고하고, ClearDiagnosticInformation으로 고장 메모리를 지운다.[10]

ISO 27145-3:2012는 서버가 ReadDataByIdentifier 요청 하나에서 지원해야 하는 DID의 최소 개수를 정한다.[8]

전송

CAN 위의 UDS(ISO 14229-3)는 ISO 15765-2(DoCAN)를 전송 계층과 네트워크 계층으로 쓴다.[3] ISO 15765-2:2024는 ISO 14229-2의 서비스 프리미티브 인터페이스를 지원하고, 한 프레임에 담기지 않는 메시지를 여러 CAN 프레임으로 나눠 보낸다.[11] IP 위의 UDS(ISO 14229-5)는 DoIP(ISO 13400-2)를 전송 계층과 네트워크 계층으로 쓴다.[5][12]

[1]
ISO, “ISO 14229-1:2026 Road vehicles — Unified diagnostic services (UDS) — Part 1: Application layer (OBP preview).” 2026. Accessed: Sep. 27, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:14229:-1:ed-4:v1:en
[2]
ISO, “ISO 14229-2:2021 Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services (OBP preview).” 2021. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:14229:-2:ed-2:v1:en
[3]
ISO, “ISO 14229-3:2022 Road vehicles — Unified diagnostic services (UDS) — Part 3: Unified diagnostic services on CAN implementation (UDSonCAN) (OBP preview).” 2022. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:14229:-3:ed-2:v1:en
[4]
ISO, “ISO 14229-4:2012 Road vehicles — Unified diagnostic services (UDS) — Part 4: Unified diagnostic services on FlexRay implementation (UDSonFR) (OBP preview).” 2012. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:14229:-4:ed-1:v1:en
[5]
ISO, “ISO 14229-5:2022 Road vehicles — Unified diagnostic services (UDS) — Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP) (OBP preview).” 2022. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:14229:-5:ed-2:v1:en
[6]
ISO, “ISO 14229-6:2013 Road vehicles — Unified diagnostic services (UDS) — Part 6: Unified diagnostic services on K-Line implementation (UDSonK-Line) (OBP preview).” 2013. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:14229:-6:ed-1:v1:en
[7]
ISO, “ISO 14229-7:2022 Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN) (OBP preview).” 2022. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:14229:-7:ed-2:v1:en
[8]
ISO, “ISO 27145-3:2012 Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements — Part 3: Common message dictionary (OBP preview).” 2012. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:27145:-3:ed-1:v1:en
[9]
ISO, “ISO 27145-1:2012 Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements — Part 1: General information and use case definition (OBP preview).” 2012. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:27145:-1:ed-1:v1:en
[10]
“Specification of Diagnostic Communication Manager (AUTOSAR CP R25-11),” AUTOSAR, 2025. Accessed: Sep. 28, 2026. [Online]. Available: https://www.autosar.org/fileadmin/standards/R25-11/CP/AUTOSAR_CP_SWS_DiagnosticCommunicationManager.pdf
[11]
ISO, “ISO 15765-2:2024 Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 2: Transport protocol and network layer services (OBP preview).” 2024. Accessed: Sep. 26, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:15765:-2:ed-4:v1:en
[12]
ISO, “ISO 13400-2:2025 Road vehicles — Diagnostic communication over Internet Protocol (DoIP) — Part 2: Transport protocol and network layer services (OBP preview).” 2025. Accessed: Sep. 28, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:13400:-2:ed-3:v1:en