Specification of Platform Health Management, AUTOSAR 851, R22-11, AP, 20230421

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

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

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

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

AUTOSAR Abstract Platformへの道 R22-11

https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

# 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/
です。
## 2023年11月URL変更
2023年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/

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

# 一覧

AUTOSAR R22-11 Qiita記事一覧 20230421 。

https://qiita.com/kaizen_nagoya/items/81a35774f1aa3d64d3f6

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

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

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

https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_SWS_PlatformHealthManagement.pdf

R21-11

https://www.autosar.org/fileadmin/standards/R21-11/AP/AUTOSAR_SWS_PlatformHealthManagement.pdf

R20-11

https://www.autosar.org/fileadmin/standards/R20-11/AP/AUTOSAR_SWS_PlatformHealthManagement.pdf

R19-11

https://www.autosar.org/fileadmin/standards/R19-11/AP/AUTOSAR_SWS_PlatformHealthManagement.pdf

https://www.autosar.org/

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

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

公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

https://qiita.com/kaizen_nagoya/items/18471d0b340480fdcd42

Classic Platform Release Overview, AUTOSAR No.0 ,R22-11, CP, 20230421

https://qiita.com/kaizen_nagoya/items/9d22c8722cbc0f42b137

Foundation Release Overview, AUTOSAR, 781, R22-11, FO, 20230421

https://qiita.com/kaizen_nagoya/items/596a7e2ec86913daa3c2

Adaptive Platform Release Overview, AUTOSAR 782, R22-11, AP, 20230421

https://qiita.com/kaizen_nagoya/items/fc8e02e8cb07411dbc2a

# 要求仕様対応(Requirement and Specification)
# Abstract Platformとの関係

RS統合

# 文書変更(Document Change) 

>• Replaced Local Supervision with Elementary Supervision
• Rework of state machine for Global Supervision Status
• Removed API GetGlobalSupervisionStatus() from class RecoveryAction
• Introduction of PhmErrorDomain functions and PhmException
• Specification of Start and Stop of Supervisions
# 用語(terms)

|term|Description|
|:--|:--|
|E2E| AUTOSAR End to End communication protection mechanism
|PHM| Platform Health Management
|SE| Supervised Entity
|Alive Supervision| Mechanism to check the timing constraints of cyclic Supervised Entitys to be within the configured min and max limits.
|ara::com| Communication middleware for the AUTOSAR Adaptive Platform
|AUTOSARAdaptive Platform  |see [6] AUTOSAR Glossary
|Checkpoint| A point in the control flow of a Supervised Entity where the activity is reported.
|Daisy chaining| Chaining multiple instances of Health Monitoring
|Deadline Supervision| Mechanism to check that the timing constraints for execution of the transition from a Deadline Start Checkpoint to a corresponding Deadline End Checkpoint are within the configured min and max limits.
|Function Group| A Function Group is a set of coherent Processs, which need to be controlled consistently. Depending on the state of the Function Group, Processes are started or terminated.
|Global Supervision Status| Status that summarizes the Local Supervision Status of all Supervised Entitys of a software subsystem.
|Health Channel |Channel providing information about the Health Status of a (sub)system. This might be the Global Supervision Status of an application, the result any test routine or the status reported by a (sub)system (e.g. voltage monitoring, OS kernel, ECU status, ...).
|Health Channel Supervision| Check if the health indicators registered by the supervised software are within the tolerances/limits.
|Health Monitoring | Supervisionof the software behaviour for correct timing and sequence.
|Health Status| A set of states that are relevant to the supervised software (e.g. the Global Supervision Status of an application, a Voltage State, an application state, the result of a RAM monitoring algorithm).
|Logical Supervision |Kind of online supervision of software that checks if the software ( Supervised Entity or set of Supervised Entities) is executed in the sequence defined by the programmer (by the developed code).
|Local Supervision Status| Status that represents the current result of Alive Supervision, Deadline Supervision and Logical Supervision of a single Supervised Entity.
|Platform Health Management| Health Monitoring for the Adaptive Platform Process A Process is a loaded instance of an executable to be executed on a machine.
|Supervised Entity| A whole or part of a SwComponentType which is included in the supervision. A Supervised Entity denotes a collection of Checkpoints within the corresponding SwComponentType. A SwComponentType can include zero, one or more Supervised Entities. A Supervised Entity may be instantiated multiple times, in which case each instance is independently supervised.
|Supervision Mode| State of a machine or Function Group in which Supervised Entity Instances are to be monitored with a specific set of configuration parameters. Supervision parameters differ from one mode to other as the behavior (timing or sequence) of Supervised Entity changes from one mode to other. Modes are mutually exclusive. A mode can be "Normal", "Degradation".
## 英日
日本語は仮訳

|no.|count|word|日本語|
|:----|:----|:----|:----|
|1|822|the|その|
|2|559|health|健康|
|3|554|of|の|
|4|375|supervision|監督|
|5|366|sws_phm_|sws_phm_|
|6|365|management|管理|
|7|290|to|に|
|8|275|platform|土台|
|9|264|status|状態|
|10|232|rs_phm_|rs_phm_|
|11|231|a|a|
|12|219|in|の|
|13|217|is|です|
|14|211|supervised|監督|
|15|198|channel|経路|
|16|188|entity|実在物|
|17|166|and|と|
|18|162|for|にとって|
|19|155|phm|Platform Health Management(短縮名）|
|20|148|draft|下書き|
|21|136|name|名前|
|22|135|action|行動|
|23|134|autosar|AUTomotive Open System Architecture(短縮名)|
|24|132|shall|しなければならない|
|25|130|ara|AUTOSAR Runtime for Adaptive Applications(短縮名)|
|26|130|c|c|
|27|130|instance|実例|
|28|129|be|です|
|29|107|specification|仕様|
|30|105|this|これ|
|31|103|state|状態|
|32|97|class|級|
|33|94|global|広域|
|34|93|document|資料|
|35|92|recovery|回復|
|36|89|space|空間|
|37|86|atp|AUTOSAR template profile(短縮名)|
|38|84|r|r|
|39|83|id|identifier, 識別子(短縮名）|
|40|80|ap|adaptive platform(短縮名)|
|41|80|autosar_sws_platform|autosar_sws_platform|
|42|80|local|局所|
|43|78|function|働き|
|44|76|process|処理する|
|45|75|by|に|
|46|71|or|また|
|47|68|on|の上|
|48|67|symbol|像|
|49|64|are|それは|
|50|64|kind|親切|
|51|64|not|いいえ|
|52|62|d|d|
|53|62|tags|札|
|54|60|header|見出し|
|55|55|description|説明|
|56|55|type|型|
|57|53|alive|生きている|
|58|52|no|いいえ|
|59|51|note|覚書|
|60|51|rs_hm_|rs_hm_|
|61|50|an|と|
|62|50|corresponding|対応する|
|63|50|file|紙ばさみ|
|64|48|interface|界面|
|65|45|scope|範囲|
|66|45|syntax|構文|
|67|44|include|含む|
|68|43|figure|形|
|69|43|h|h|
|70|43|one|1|
|71|42|group|班|
|72|41|change|変化する|
|73|41|dif|difference(短縮名）|
|74|41|referrable|参照可能|
|75|41|see|見る|
|76|40|with|と|
|77|38|as|なので|
|78|38|mode|状態|
|79|37|that|それ|
|80|37|which|どれの|
|81|36|adaptive|適応|
|82|36|can|できる|
|83|36|time|時間|
|84|35|at|で|
|85|35|object|物体|
|86|35|port|港|
|87|34|e|e|
|88|34|monitoring|監視|
|89|33|configured|構成済み|
|90|33|functional|機能的|
|91|33|value|価値|
|92|33|was|だった|
|93|32|component|成分|
|94|32|operator|操作者|
|95|32|sw|software(短縮名）|
|96|32|used|使用済み|
|97|31|deadline|締め切り|
|98|31|failure|失敗|
|99|31|least|少しでも|
|100|31|logical|論理的|
|101|31|obsolete|廃止|
|102|31|reference|参照|
|103|31|then|それから|
|104|31|types|型|

# 参考(reference)

[1] Explanation of Adaptive Platform Design, AUTOSAR_EXP_PlatformDesign
[2] Requirements on Platform Health Management, AUTOSAR_RS_PlatformHealthManagement
[3] Requirements on Health Monitoring, AUTOSAR_RS_HealthMonitoring
[4] Specification of Health Monitoring, AUTOSAR_ASWS_HealthMonitoring
[5] ISO 26262:2018 (all parts) – Road vehicles – Functional Safety, http://www.iso.org
[6] Glossary, AUTOSAR_TR_Glossary
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TR_Glossary.pdf
[7] General Specification of Basic Software Modules, AUTOSAR_SWS_BSWGeneral
[8] Specification of Adaptive Platform Core, AUTOSAR_SWS_AdaptivePlatformCore
[9] Specification of State Management, AUTOSAR_SWS_StateManagement
[10] Specification of Execution Management, AUTOSAR_SWS_ExecutionManagement
[11] Guidelines for using Adaptive Platform interfaces, AUTOSAR_EXP_AdaptivePlatformInterfacesGuidelines
[12] Specification of Manifest, AUTOSAR_TPS_ManifestSpecification

 
# 関連文書(Related document)

AUTOSAR Abstract Platformへの道 R22-11

https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

自動車　記事　１００

https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>

https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)

https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626

CAN(controller area network) 

https://qiita.com/kaizen_nagoya/items/e8c0bd7bfb2827b83de9

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

https://qiita.com/kaizen_nagoya/items/1fee270be00ef90ca4ec


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

https://qiita.com/kaizen_nagoya/items/bed038c52510fea72c0a


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

https://qiita.com/kaizen_nagoya/items/e9971698a108c3dba794

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

https://qiita.com/kaizen_nagoya/items/e156cbdd5fce9263776e

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

https://qiita.com/kaizen_nagoya/items/44a9e6b0f5363b4a5b35

# R23-11
https://qiita.com/kaizen_nagoya/items/94de8b16661cf3a90294

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

# 文書履歴(document history)
ver. 0.01 初稿　　20230722

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

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

####  Thank you very much for reading to the last sentence.

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