LoginSignup
0
0

Specification of CAN Network Management, AUTOSAR 13, R22-11, CP 20230421

Last updated at Posted at 2023-05-03

AUTOSARは自動車用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を変更するなんて、新しい記事が書ける。とても嬉しい。

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

分量が多く2分割しました。

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

記事の表題の最後に「20230421」を加えます。

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

AUTOSARが、2022年の版、R22-11を公開しました。

R21-11

R20-11

R19-11

文書は検索してダウンロードできます。

R20-11,R21-11, R22-11の3年分だけになりました。

OSEK/VDX NM(Network Management)

2.1.5.3. Internal Network Management States

state substate subsubstate Description
NMOff NM is shut off
NMShutDown Selective shut off of NM entity
NMOn NM is switched on
NMInit NM initialization
NMBusSleep NM is in sleep mode
NMActive NM communication enabled
NMPassive NM communication disabled
NMAwake Active state of the NM
NMReset The operability of the own node is determined
NMNormal Processing of direct node monitoring
NMLimpHome Handling of failure in own node

Page 12

文書変更(Document Change)

Fixes for Partial Networking and PNC Shutdown
Improved traceability

用語(terms)

Term Description
CanIf Abbreviation for the CAN Interface
CanNm Abbreviation for CAN Network Management
CBV Control Bit Vector
CWU Car Wakeup
ERA External Request Array
EIRA External and Internal Request Array
NM Network Management
PNC Partial Network Cluster
PNI Partial Network Information
PNL Partial Network Learning
SNI Source Node Identifier
PDU transmission ability is disabled This means that the Network Management PDU transmission has been disabled by the service CanNm_DisableCommunication.
Repeat Message Request Bit Indication CanNm_RxIndication finds the RptMsgRequest set in the Control Bit Vector of a received Network Management PDU.
PN filter mask Vector of filter mask bytes defined by configuration container(s) CanNmPnFilterMaskByte
Top-level PNC coordinator The top-level PNC coordinator is an ECU that acts as PNC gateway in the network and that handles at least one PNC as actively coordinated on all assigned channels. If synchronized PNC shutdown is enabled, the top-level PNC coordinator triggers for these PNCs the shutdown, if no other ECU in the network request them.
Intermediate PNC coordinator An intermediate PNC coordinator is an ECU that acts as PNC gateway in the network and that handles at least one PNC as passively coordinated on at least one assigned channel. If synchronized PNC shutdown is enabled, it forwards received shutdown requests for these PNCs to the corresponding actively coordinated channels and starts their shutdown accordingly.
PNC leaf node A PNC leaf node is an ECU that acts not as a PNC coordinator at all in the network. It processes PN shutdown message as usual NM messages.
PN shutdown message A top-level PNC coordinator transmit PN shutdown messages to indicate a synchronized PNC shutdown across the PN topology. A PN shutdown message is as NM message which has PNSR bit in the control bit vector and all PNCs which are indicated for a synchronized shutdown set to '1'.

英日単語帳

日本語は仮訳

T.B.D.

参考(reference)

[1] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[2] Specification of the AUTOSAR Network Management Protocol
AUTOSAR_PRS_NetworkManagementProtocol.pdf
[3] Requirements on Network Management
AUTOSAR_RS_NetworkManagement.pdf
[4] Specification of CAN Interface
AUTOSAR_SWS_CANInterface.pdf
[5] Specification of Communication Stack Types
AUTOSAR_SWS_CommunicationStackTypes.pdf
[6] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[7] Specification of Generic Network Management Interface
AUTOSAR_SWS_NetworkManagementInterface.pdf
[8] Specification of Communication Manager
AUTOSAR_SWS_ComManager.pdf
[9] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[10] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
[11] Specification of SystemTemplate
AUTOSAR_TPS_SystemTemplate

Glossary も 参考に入れましょう。
https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TR_Glossary.pdf

参考資料 

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

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

自己参照 

「はじめてのCAN/CANFD 」 ベクタージャパン <エンジニア夏休み企画>【読書感想文】

三方良し Udemy 車載LAN入門講座 CAN通信編

詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(1) 著者  <エンジニア夏休み企画 読書感想文>

詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(2)参考文献 <エンジニア夏休み企画>【読書感想文】

詳解 車載ネットワーク CAN、CAN FD、LIN、CXPI、Ethernetの仕組みと設計のために

AUTOSAR Abstract Platformへの道(詳細編)

AUTOSAR Abstract Platform User Group Weekly Report(1) 2022.1.8

祝休日・謹賀新年:2023年の目標

AUTOSAR  R22-11で リンク切れ、表示しない文書

ボッシュ自動車handbook(英語)11版(0-1) 課題と記事一覧new

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

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

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

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

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

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

「想定外」3.11 東日本大震災をIT技術者が振り返る

Researchmap

R23-11

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

文書履歴(document history)

ver. 0.01 初稿  20230503
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.

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