LoginSignup
0
0

Requirements on Communication, AUTOSAR 2, 22-11, CP, 20230421

Last updated at Posted at 2023-04-30

Requirements on Communication, AUTOSAR 2, 2022-11

TOSARは自動車用OSの業界団体規格です。 
業務で利用する場合には、会員になることを条件にしています。

2002年から20年経ち、当初の狙いの段階に近づいてきました。

MATLABでモデルさえ記述すれば、あとは自動生成だけでソフトが完成するところまで、あと一歩です。
Ethernet, UNIXが生まれて20年で大衆化したのと同じように考えると分かりやすいでしょう。 

AUTOSARの上で動く、クラウド対応のミドルウェアが出て、開発も運用もクラウドになれば、一気にAUTOSARは大衆化するでしょう。

AUTOSAR Abstract Platformへの道 R22-11

AUTOSARは、ISO、IEC、ITUと情報交換契約を結んでいません。
AUTOSAR文書には、ISO、IEC,ITU記述を全文引用することはできません。
WTO/TBT協定に基づき、国際的な調達は国際規格との差異を記述することにより文化依存しない仕様を目指します。
ISO、IEC、ITU文書を合わせて読むと技術内容は理解できます。 
CAN、OSEK/VDX OS、DIAGは、ISO定義を先に確認しましょう。  
OSEK COM、OSEK NMなどはISOの規定から、基本的な部分でAUTOSARでは定義を変えています。
AUTOSARで変更している部分を仕様等で明記するか、ISOを改定するとよいでしょう。 

AUTOSARの参考文献欄の改定が進んでいません。 
Glossary用語定義の網羅性が低いです。
本文を読む前に確認するとよいかもしれません。
本文を読んでから確認してもよいかもしれません。

<この記事は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.

2023年4月URL変更

この項は2023年4月21日、AUTOSARの文書のURLが変更になった。
/classic/22-11/

/R22-11/CP/
過去記事で、URLでエラーが出たら書き換えてみてください。

/adaptive/22-11/
は 
/R22-11/AP/

/foundation/22-11/
は 
/R22-11/FO/
です。

2022年11月URL変更

2022年11月にもAUTOSAR文書のURLが変更になっている。
/user_upload/standards/classic/21-11/

/standards/R21-11/CP/
などに書き換えてください。

/user_upload/standards/adaptive/21-11/

/standards/R21-11/AP/

/user_upload/standards/foundation/21-11/

/standards/R21-11/FO/

お手数をおかけします。
1年に2度URLを変更するなんて、新しい記事が書ける。とても嬉しい。

一覧

1年に2度URLを変更するなんて、新しい記事が書ける。とても嬉しい。

R21-11

R20-11

R19-11

AUTOSAR R22-11 Classic Platform 一覧はこちら。

Classic Platform Release Overview, AUTOSAR 0, R22-11, CP,(2)
https://qiita.com/kaizen_nagoya/items/80636f4ca7c16501803b

Qiitaの記事の一覧は作成中です。

AUTOSAR R22-11 Qiita記事一覧 20230421
https://qiita.com/kaizen_nagoya/items/81a35774f1aa3d64d3f6

AUTOSAR R22-11 Qiita記事一覧 20230421(2)
https://qiita.com/kaizen_nagoya/items/b3b992ec1885ad29801a

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 各種規格に基づいた診断、通信の抽象的な定義をする。
必要があれば国際規格を改定する。

目的と成果(Purpose and Outcome)

item description
who CAN user
what there are few differences with ISO
importance high
others
comment Please read v.2 or v.3, there are initiaters.

文書変更(Document Change)

Editorial changes

用語(terms)

Term Description
I-PDU Interaction Layer Protocol Data Unit (assembled and disassembled in AUTOSAR COM), consists of one or more signals (see below and [DOC_LAYER]).
I-PDU group An I-PDU Group is an arbitrary collection of I-PDUs of the same direction (i.e. send or receive) in COM
LOM Listen Only Mode
L-PDU Data Link Layer Protocol Data Unit (assembled and disassembled in AUTOSAR Hardware Abstraction layer, see [DOC_LAYER]).
signal A signal in the AUTOSAR COM context is equal to a message in [DOC_ISO_COM]. An AUTOSAR signal is carried by one or more signals in COM. The transformation from an AUTOSAR signal to a signal in COM is carried out by the RTE. Typically the transformation preserves the syntax of the data. However, in the case of complex data types the transformation may change the syntax of the signal. Therefore a signal in AUTOSAR COM is not always the same as an AUTOSAR signal.
signal group A signal group refers to a set of signals that must always be kept together in a common I-PDU. A Signal group is used to guarantee the consistent transfer of AUTOSAR composite data types. A signal group has the following properties: - A signal can belong to at most one signal group - A signal group can not belong to more than exactly one I-PDU - Signal groups do not overlap each other within an I-PDU - Signal groups are a contiguous set of signals which belong to this group, however it is possible to have unused bits (“holes”) within a group. - Signal groups may contain no signals (“may be empty”). The grouping of signals to signal groups is assumed to be provided as an input for the COM generation process.

英日単語帳

日本語は仮訳

T.B.D.

参考(reference)

[DOC_LAYER] Layered Sofware Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[DOC_COM_TYPES] Specification of Communication Stack Types
AUTOSAR_SWS_CommunicationStackTypes.pdf
[DOC_VFB] Specification of the Virtual Functional Bus
AUTOSAR_EXP_VFB.pdf
[DOC_ECUC] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[DOC_SWS_RTE] Specification of RTE Software
AUTOSAR_SWS_RTE.pdf
[DOC_SWS_SwCluC] Specification of RTE Software
AUTOSAR_SWS_RTE.pdf
[DOC_SWS_COM] Specification of Software Cluster Connection
AUTOSAR_SWS_SoftwareClusterConnection.pdf
[DOC_SWS_LDCOM] Specification of Large Data COM
AUTOSAR_SWS_LargeDataCOM.pdf
[DOC_TR_GLOS] Glossary
AUTOSAR_TR_Glossary.pdf
[DOC_TPS_SWC] Software Component Template
AUTOSAR_TPS_SoftwareComponentTemplate.pdf
[DOC_RS_Features] Requirements on AUTOSAR Features
AUTOSAR_RS_Features.pdf
[TPS_STDT] Standardization Template
AUTOSAR_TPS_StandardizationTemplate.pdf

[DOC_ISO_GLOS] ISO 17356-1:2005

Road vehicles -- Open interface for embedded automotive applications -- Part 1: General structure and terms, definitions and abbreviated terms

Bibliography

[1] ISO 7498 (all parts), Information processing systems — Open Systems Interconnection

[DOC_ISO_COM] ISO 17356-4:2005

Road vehicles -- Open interface for embedded automotive applications -- Part 4: OSEK/VDX Communication (COM)

2 Normative references

ISO 17356-2, Road vehicles — Open interface for embedded automotive applications — Part 2 OSEK/VDX specifications for binding OS, COM and NM
ISO 17356-3, Road vehicles — Open interface for embedded automotive applications — Part 3 OSEK/VDX Operating System (OS)
ISO 17356-5, Road vehicles — Open interface for embedded automotive applications — Part 5 OSEK/VDX Network Management (NM)
ISO 17356-6, Road vehicles — Open interface for embedded automotive applications — Part 6 OSEK/VDX Implementation Language (OIL)

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

参考資料  

@kazuo_reve 新人の方によく展開している有益な情報

@kazuo_reve 私が効果を確認した「小川メソッド」

自己参照 

「ぼくの好きな先生」「人がやらないことをやれ」プログラマになるまで。仮説(37)

小川メソッド 覚え(書きかけ)

DoCAP(ドゥーキャップ)って何ですか?

@kazuo_reve 新人の方によく展開している有益な情報」確認一覧

全世界の不登校の子供たち「博士論文」を書こう。世界子供博士論文遠隔実践中心

Views1万越え、もうすぐ1万記事一覧

Researchmap

R23-11

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

文書履歴(document history)

ver. 0.01 初稿   20230430

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

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

Thank you very much for reading to the last sentence.

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

0
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
0
0