Requirements on Health Monitoring, No.878, FO, AUTOSAR R22-11(2)

Requirements on Health Monitoring, AUTOSAR R22-11, FO, No.878

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

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

AUTOSARが、2022年の版、R22-11公開しました。公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

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

下記URL順次確認中です。

https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_RS_HealthMonitoring.pdf

間違っていたら、いいね　を押していただいて、コメント欄にご報告くださると幸いです。
編集リクエストが、構造的な変更をしている最中に、構造的な編集リクエストをしていただくと、
何をどう直したらいいかわからなくなってしまいます。自動修復ツールがつくれていません。ごめんなさい。

https://www.autosar.org/


文書は検索してダウンロードすることができます。
クラウドサービスにありがちな、あるのにないかのような検索結果が出ることがあります。

https://www.autosar.org/standards

# 要求/仕様（Requirement and Specification)

# 一覧

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

Adaptive Platform Release Overview, No.782, AP, AUTOSAR 22-11 新

https://qiita.com/kaizen_nagoya/items/7f8d6ddacc8573351232

Foundation Release Overview, No.781, FO, AUTOSAR 22-11 新

https://qiita.com/kaizen_nagoya/items/7fcfa4aa0786a38ac3d6

Classic Platform Release Overview, AUTOSAR R22-11, CP, No.0(2)

https://qiita.com/kaizen_nagoya/items/80636f4ca7c16501803b

AUTOSAR R22-11 マラソン

https://qiita.com/kaizen_nagoya/items/988aa405a6fdd794fe53

AUTOSAR 文書番号と発行年　

https://qiita.com/kaizen_nagoya/items/871d81b822984be5239d

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

https://qiita.com/kaizen_nagoya/items/13edb17f6ffd45cdc690

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

AUTOSAR R22-11 Qiita記事一覧　新

https://qiita.com/kaizen_nagoya/items/6b0615884e954c65fb43

# Abstract Platformとの関係

RS統合

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

## 文書変更(Document Change) 

>• Merged RS_SAF_21104 with RS_HM_09125 and RS_SAF_21105 with RS_HM_09222
• Added use case for RS_HM_09125 and RS_HM_09235
• Editorial changes

# 用語(terms)
|Term|Description|
|:--|:--|
|CM |AUTOSAR Adaptive Communication Management
|DM |AUTOSAR Adaptive Diagnostic Management
|PHM| Platform Health Management
|SE |Supervised Entity
|SHM |System Health Monitor
|Alive Counter| An independent data resource in context of a Checkpoint to track and handle its amount of Alive Indications.
|Alive Indication| An indication of a Supervised Entity to signal its aliveness by calling a checkpoint used for Alive Supervision.
|Alive Supervision |Mechanism to check the timing constraints of cyclic Supervised Entitys to be within the configured min and max limits.
|Checkpoint |A point in the control flow of a Supervised Entity where the activity is reported.
|Deadline End Checkpoint |A Checkpoint for which Deadline Supervision is configured and which is a ending point for a particular Transition. It is possible that a Checkpoint is both a Deadline Start Checkpoint and Deadline End Checkpoint - if Deadline Supervision is chained.
|Deadline Start Checkpoint |A Checkpoint for which Deadline Supervision is configured and which is a starting point for a particular Transition.
|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.
|Expired Supervision Cycle |A Supervision Cycle where the Alive Supervision has failed its two escalation steps (Alive Counter fails the expected amount of Alive Indications (including tolerances) more often than the allowed amount of failed reference cycles).
|Failed Supervision Reference Cycle|A Supervision Reference Cycle that ends with a detected deviation (including tolerances) between the Alive Counter and the expected amount of Alive Indications.
|Global Supervision Status| Status that summarizes the Local Supervision Status of all Supervised Entities of a software subsystem. 
|Graph |A set of Checkpoints connected through Transitions, where at least one of Checkpoints is an Initial Checkpoint and there is a path (through Transitions) between any two Checkpoints of the Graph.
|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 Kind of supervision that checks if the health indicators registered by the supervised software are within the tolerances/limits.
|Health Monitoring |Supervision of 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
|Supervised Entity |A whole or part of a software component type which is included in the supervision. A Supervised Entity denotes a collection of Checkpoints within the corresponding software component type. A software component type can include zero, one or more Supervised Entities. A Supervised Entity may be instantiated multiple times, in which case each instance is independently supervised.
|Supervised Entity Identifier| An Identifier that identifies uniquely a Supervised Entity within an Application.
|Supervision Counter |An independent data resource in context of a Supervised Entity which is updated during each supervision cycle and which is used by the Alive Supervision algorithm to perform the check against counted Alive Indications.
|Supervision Cycle |The time period in which the cyclic Alive Supervision is performed.
|Supervision Mode |An overall state of a microcontroller or virtual machine or or state of a Function Group (in case of Adaptive Platform). Modes are mutually exclusive. A mode can be e.g. Startup, Shutdown, Lowpower.
|Supervision Reference Cycle |The amount of Supervision Cycles to be used as reference by the Alive Supervision to perform the check of counted Alive Indications (individually for each Supervised Entity).
|Local Health Monitor |Local Health Monitor gathers health information of the platform on which it is deployed.

## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

[1] ISO 26262:2018 (all parts) – Road vehicles – Functional Safety, http://www.iso.org
[2] Specification of Health Monitoring, AUTOSAR_ASWS_HealthMonitoring
[3] Explanation of System Health Monitoring, AUTOSAR_EXP_SystemHealthMonitoring
[4] Standardization Template, AUTOSAR_TPS_StandardizationTemplate
[5] Glossary, AUTOSAR_TR_Glossary
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TR_Glossary.pdf
[6] Main Requirements, AUTOSAR_RS_Main

# 関連文書(Related document)

AUTOSAR Abstract Platformへの道（詳細編）

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

2023年1月　記事数一覧

https://qiita.com/kaizen_nagoya/items/78153968c5de76a7fd83

年末100記事を30点に仕上げる。

https://qiita.com/kaizen_nagoya/items/3ffdc82caee3a325d1d7

2023 書き初め

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

「はじめての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

AUTOSAR Abstract Platform User Group Weekly Report(1) 2022.1.8

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

AUTOSAR Abstract Platform User Group Weekly Report(2) 2022.1.15

https://qiita.com/kaizen_nagoya/items/6f1168a36e795976a906

# 202304 URL更新
Requirements on Health Monitoring, No.878, FO, AUTOSAR R22-11, FO, 20230421

https://qiita.com/kaizen_nagoya/items/52f9d8f3bf9822297df7

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

# 文書履歴(document history)
ver. 0.01 初稿 20230205
ver. 0.02 ありがとう追記　20230723

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

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

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

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