Specification of Communication, AUTOSAR R22-11, CP, No.15
AUTOSARが、2022年の版、R22-11公開しました。公開行事の模様は
AUTOSAR R22-11 Release Event 20221208
下記は想定URLです。順次確認中です。
間違っていたら、いいね を押していただいて、コメント欄にご報告くださると幸いです。
編集リクエストが、構造的な変更をしている最中に、構造的な編集リクエストをしていただくと、
何をどう直したらいいかわからなくなってしまいます。自動修復ツールがつくれていません。ごめんなさい。
文書は検索してダウンロードすることができます。
クラウドサービスにありがちな、あるのにないかのような検索結果が出ることがあります。
AUTOSAR R22-11 Classic Platform 一覧はこちら。
Classic Platform Release Overview, AUTOSAR R22-11, CP, No.0(2)
AUTOSAR R22-11 マラソン
Qiitaの記事の一覧は作成中です。
AUTOSAR R22-11 一覧(2)
OSEK COM およびAUTOSAR COM
OSEK/VDX Communication Version 3.0.3
INTERACTION LAYERという名前は OSEK/VDX COMから来ている。
OSEK Table 2-1: Message filter algorithms
Algorithm Reference | Algorithm | Description |
---|---|---|
F_Always | True | No filtering is performed so that the message always passes |
F_Never | False | The filter removes all messages |
F_MaskedNewEqualsX | (new_value&mask) == x | Pass messages whose masked value is equal to a specific value |
F_MaskedNewDiffersX | (new_value&mask) != x | Pass messages whose masked value is not equal to a specific value |
F_NewIsEqual | new_value == old_value | Pass messages which have not changed |
F_NewIsDifferent | new_value != old_value | Pass messages which have changed |
F_MaskedNewEqualsMaskedOld | (new_value&mask) == (old_value&mask) | Pass messages where the masked value has not changed |
F_ MaskedNewDiffersMaskedOld | (new_value&mask) != (old_value&mask) | Pass messages where the masked value has changed |
F_NewIsWithin | min <= new_value <= max | Pass a message if its value is within a predefined boundary |
F_NewIsOutside | (min > new_value) OR (new_value > max) | Pass a message if its value is outside a predefined boundary |
F_NewIsGreater | new_value > old_value | Pass a message if its value has increased |
F_NewIsLessOrEqual | new_value <= old_value | Pass a message if its value has not increased |
F_NewIsLess | new_value < old_value | Pass a message if its value has decreased |
F_NewIsGreaterOrEqual | new_value >= old_value | Pass a message if its value has not decreased |
F_OneEveryN | occurrence % period == offset | Pass a message once every N message occurrences.Start: occurrence = 0.Each time the message is received or transmitted, occurrence is incremented by 1 after filtering.Length of occurrence is 8 bit (minimum). |
ISO OSEK/VDX と AUTOSARの大きな違いを4つあげれば、
AUTOSAR はOSを拡張している。
COMとNMが違う。
RTEを定義している。
OIL(OSEK Implementation Language)ではなくARXMLで幅広い設定ができる。
Function | ISO OSEK/VDX | AUTOSAR |
---|---|---|
Filter | 定義 | 参照 |
VFB | COM | RTE |
COMの違いは、RTEを定義していることにもよる。
それ以外にも、AUTOSARにはISO OSEK/VDXにない機能がいろいろあるが、
OS、COM、NMが関係しているのは
Abstract Platform との関係
ISO 各種規格に基づいた診断、通信の抽象的な定義をする。
必要があれば国際規格を改定する。
<この項は書きかけです。順次追記します。>
文書変更(Document Change)
Removed I-PDU counter and I-PDU replication
Added support for independent de- velopment of CP Software Clusters
minor corrections / clarifications / editorial changes
用語(terms)
Term | Description |
---|---|
AUTOSAR COM | The AUTOSAR COM module is derived from [17]. For details, see Chapter 7.2.1. |
DM | Deadline Monitoring, for details see Chapter 7.3.6 |
I-PDU | Interaction Layer Protocol Data Unit. An I-PDU carries signals. It is defined in [17]. |
L-PDU | Data Link Layer Protocol Data Unit. In AUTOSAR, the Data Link Layer is equivalent to the Communication Hardware Abstraction and Microcontroller Abstraction Layer. |
MDT | A detailed description of the Minimum Delay Timer (MDT) can be found in [17]. See also Chapter 7.3.5.5. |
PDU Router | The PDU Router is a module transferring I-PDUs from one module to another module. The PDU Router can be utilized for gateway operations and for internal routing purposes. |
SDU | Service Data Unit For a description see [1] Chapter 4. |
TM | Transmission Mode |
TMC | Transmission Mode Condition, see Chapter 7.3.3.2 |
TMS | Transmission Mode Selector, see Chapter 7.3.3.2 |
Confirmation | With a Confirmation, the PDU Router reports that a request by the AUTOSAR COM module has been completed successfully. It is a reaction to a request of COM. E.g. when a PDU has been successfully transmitted. |
Data Invalid Value | Value sent by the AUTOSAR COM module to indicate that the sender side AUTOSAR Software Component is not able to provide a valid value. |
Dynamic Length Signal | A dynamic length signal is a signal which length can vary at run-time. |
Dynamic Length I-PDU | A dynamic length I-PDU is an I-PDU containing a dynamic length signal. It length varies depending on the length of the included dynamic length signal. |
Group signal | A group signal is a signal that is contained in a signal group. |
Indication | An Indication is asynchronous information from PDU Router to COM, e.g. to acknowledge that something has been received. |
Init Value | I-PDUs and signals are set to the Init Value by the AUTOSAR COM module after start-up. This value is used until it is overwritten. |
I-PDU group | An I-PDU Group is an arbitrary collection of I-PDUs of the same direction (i.e. send or receive) in the COM module. |
Inter-ECU – communication | Communication between two or more ECUs for example via a CAN network Intra-ECU – communication |
Large Signal | A large signal is a signal that is too large to fit into a single L-PDU of the underlying communication protocol. |
Large I-PDU | Large I-PDUs are I-Signal-I-PDUs which do not fit into a single L-PDU of the underlying communication protocol. Large I-PDUs will be handled like other I-PDUs by COM, but are transmitted/received via the TP API. Please note that large I-PDUs can also be handled in a more efficient way by LargeDataCOM if they contain just one signal, or if the signals can be (de- )serialized by the RTE. But if the signals have to be treated separately or have to be routed, the large I-PDUs have to be handled by COM. |
Message | [17] uses always the synonym message. In AUTOSAR, message is replaced by signal but with the same meaning. |
Metadata | For some I-PDUs, e.g. J1939 I-PDUs, the payload is extended with additional metadata containing for example the CAN-ID. Notification Information by the AUTOSAR COM module to its users (e.g. RTE, SwCluC), e.g. when new data is available, an error occurred. |
Signal | A signal in the AUTOSAR COM module’s context is equal to a message in [17]; see also [7]. |
Signal group | In AUTOSAR, so called complex data types are used. Inside a complex data type, there are one or more data elements (primitive data types), like in a C struct. The data consistency of such complex data types must be ensured. The user (e.g. RTE or SwCluC) decomposes the complex data type in single signals and sends them to the AUTOSAR COM module. As these signals altogether need to be treated consistently, they are called signal group. See also [7]. |
Update-bit | A mechanism supported by the AUTOSAR COM module with that the receiver of a signal/ signal group could identify whether the sender has updated the data in this signal/ signal group before sending. See Chapter 7.9. |
英日単語帳
日本語は仮訳
T.B.D.
参考(reference)
[1] AUTOSAR Layered Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[2] Specification of Communication Stack Types
AUTOSAR_SWS_CommunicationStackTypes.pdf
[3] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[4] Basic Software UML Model
AUTOSAR_MOD_BSWUMLModel.eap
[5] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[6] Specification of the Virtual Functional Bus
AUTOSAR_EXP_VFB.pdf
[7] Requirements on Communication
AUTOSAR_SRS_COM.pdf
[8] Software Component Template
AUTOSAR_TPS_SoftwareComponentTemplate.pdf
[9] Requirements on Gateway
AUTOSAR_SRS_Gateway.pdf
[10] Specification of PDU Router
AUTOSAR_SWS_PDURouter.pdf
[11] Specification of Operating System
AUTOSAR_SWS_OS.pdf
[12] System Template
AUTOSAR_TPS_SystemTemplate.pdf
[13] Specification of RTE Software
AUTOSAR_SWS_RTE.pdf
[14] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[15] Specification of Communication Manager
AUTOSAR_SWS_COMManager.pdf
[16] AUTOSAR Basic Software Module Description Template
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[19] Specification of CAN Transport Layer
AUTOSAR_SWS_CANTransportLayer.pdf
[20] Specification of FlexRay Transport Layer
AUTOSAR_SWS_FlexRayTransportLayer.pdf
[21] List of Basic Software Modules,
AUTOSAR_TR_BSWModuleList.pdf
[22] Generic Structure Template
AUTOSAR_TPS_GenericStructureTemplate.pdf
[23] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
[24] Specification of Software Cluster Connection
AUTOSAR_SWS_SoftwareClusterConnection.pdf
[17] ISO 17356-4:2005 Road vehicles -- Open interface for embedded automotive
applications -- Part 4: OSEK/VDX Communication (COM)
[18] ISO 17356-6:2006 Road vehicles -- Open interface for embedded automotive
applications -- Part 6: OSEK/VDX Implementation Language (OIL)
Glossary も 参考に入れましょう。
https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TR_Glossary.pdf
関連文書(Related document)
2023年1月 記事数一覧
年末100記事を30点に仕上げる。
2023 書き初め
「はじめてのCAN/CANFD 」 ベクタージャパン <エンジニア夏休み企画>【読書感想文】
最新URL変更記事
Specification of Communication, AUTOSAR 15, R22-11, CP 20230421
<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
文書履歴(document history)
ver. 0.01 初稿 20230105
ver. 0.02 ありがとう追記 20230503
最後までおよみいただきありがとうございました。
いいね 💚、フォローをお願いします。
Thank you very much for reading to the last sentence.
Please press the like icon 💚 and follow me for your happy life.