LoginSignup
0
0

More than 1 year has passed since last update.

Specification of I/O Hardware Abstraction, AUTOSAR 47, R22-11, CP 20230421

Posted at

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

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

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

/standards/R21-11/CP/
などに書き換えてください。
お手数をおかけします。
1年に2度URLを変更するなんて、新しい記事が書ける。とても嬉しい。

AUTOSAR R22-11 Qiita記事一覧 20230421 。

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

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

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

R21-11

R20-11

R19-11

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

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

公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

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

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

Abstract Platformとの関係

個々のドライバごとの対応関係を明記し、Power Managementという名称に変更をしたい。

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

文書変更(Document Change)

Changed SWS_IoHwAb_00145 to SWS_IoHwAb_NA_00145

用語(terms)

Expression Description Example
AUTOSAR AUTomotive Open System ARchitecture
API Application Programming Interface
BSW Basic SoftWare
BSWMD Basic SoftWare Module Description
C/S Client/Server
DET Default Error Tracer
ECU Electronic Control Unit
HW HardWare
IoHwAb Input/Output Hardware Abstraction
ISR Interrupt Service Routine
MCAL MicroController Abstraction Layer
OS Operating System
RTE RunTime Environment
S/R Sender/Receiver
SW SoftWare
SWC SoftWare Component (see [8] for further information)
XML eXtensible Markup Language
Callback Within this document, the term ‘callback’ is used for API services, which are intended for notifications to other BSW modules.
Callout Callouts are function stubs, which can be filled at configuration time, with the purpose to add functionality to the module that provides the callout.
Class A class represents a set of signals that has similar electrical characteristics. Analogue class, Discrete class, …
Client / Server communication This definition is an extract from [9]: Client-server communication involves two entities, the client which is the requirer (or user) of a service and the server that provides the service. The client initiates the communication, requesting that the server performs a service, transferring a parameter set if necessary. The server, in the form of the RTE, waits for incoming communication requests from a client, performs the requested service and dispatches a response to the client's request. So, the direction of initiation is used to categorize whether an AUTOSAR Software Component is a client or a server.
Electrical Signal An electrical signal is the physical signal on the pin of the ECU. Physical input voltage at an ECU-Pin
ECU pin An ECU pin is an electrical hardware connection of the ECU with the rest of the electronic system.
ECU Signal An ECU Signal is the software representation of an electrical signal. An ECU signal has attributes and a symbolic name Input voltage ,Discrete Output, PWM Input
ECU Signal Group An ECU Signal Group is the software representation Specification of I/O Hardware Abstraction of a group of electrical signals.
Attributes Characteristics that can be Software (SW) and Hardware (HW) for each kind of ECU signals existing in an ECU. Some of the Attributes are fixed by the port definitions, others can be configured in the I/O Hardware Abstraction. Range, Lifetime / delay
Sender-receiver communication This definition is an extract from [9]: Sender-receiver communication involves the transmission and reception of signals consisting of atomic data elements that are sent by one component and received by one or more components. A senderreceiver interface can contain multiple data elements. Sender-receiver communication is one-way - any reply sent by the receiver is sent as a separate senderreceiver communication. A port of a component that requires an AUTOSAR sender-receiver interface can read the data elements described in the interface and a port that provides the interface can write the data elements.
Symbolic name The symbolic name of a ECU signal is used by the I/O Hardware Abstraction to make a link (function, pin)
Range This is a functional range and not an electrical range. All the range is used either for functional needs or for diagnosis detections For analogue ECU signals [lowerLimit...upperLimit] (Voltage, current). For the particular case of a resistance signal and a timing signal (period), the lowerLimit value can not be negative. [-12Volts...+12Volts] (voltage) [0,1] (discrete signals) [0…upperLimit] (period timing signal) [-100…100%] (Duty Cycle based timing signal)
Resolution This attribute is for many Classes dependent on the range and the Data Type.Example: (upperLimit - lowerLimit) / (2datatypelength -1) For the others classes, it is known and defined. [-12 Volts…+12Volts] Data Type : 16 bits Resolution => 24 / 65535
Accuracy It depends of hardware peripheral used for acquisition and/or generation. ADC converter could be a 8/10/12/16 bits converter
Inversion Inversion between the physical value and the logical value. This attribute is not visible butdone by I/O Hardware Abstraction to deliver expected values to users. Physical HighState -> (signal=False) Physical LowState -> (signal=True)
Sampling rate Time period required to get a signal value. Sampling rate for a sampling windows (burst)

英日

日本語は仮訳

T.B.D.

参考(reference)

[1] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList.pdf
[2] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[3] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[4] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[5] Glossary, AUTOSAR_TR_Glossary.pdf
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TR_Glossary.pdf
[6] General Requirements on SPA
AUTOSAR_SRS_SPALGeneral.pdf
[7] Requirements on I/O Hardware Abstraction
AUTOSAR_SRS_IOHWAbstraction.pdf
[8] Software Component Template
AUTOSAR_TPS_SoftwareComponentTemplate.pdf
[9] Specification of RTE Software
AUTOSAR_SWS_RTE.pdf
[10] Specification of ECU State Manager
AUTOSAR_SWS_ECUStateManager.pdf
[11] Specification of ECU Resource Template
AUTOSAR_TPS_ECUResourceTemplate.pdf
[12] Specification of ADC Driver
AUTOSAR_SWS_ADCDriver.pdf
[13] Specification of DIO Driver
AUTOSAR_SWS_DIODriver.pdf
[14] Specification of ICU Driver
AUTOSAR_SWS_ICUDriver.pdf
[15] Specification of PWM Driver
AUTOSAR_SWS_PWMDriver.pdf
[16] Specification of PORT Driver
AUTOSAR_SWS_PORTDriver.pdf
[17] Specification of GPT Driver
AUTOSAR_SWS_GPTDriver.pdf
[18] Specification of SPI Handler/Driver
AUTOSAR_SWS_SPIHandlerDriver.pdf
[19] Basic Software Module Description Template
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[20] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[21] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
[22] Specification of OCU Driver
AUTOSAR_SWS_OCUDriver.doc

参考資料 

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

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

@kanetugu2018 Mac+Unity+Pythonで箱庭ロボットを強化学習できるようにするための手順書

@kanetugu2018 ARM版マイコンシミュレータを Mac/Linux/Windows 環境で自作した話

自己参照 

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技術者が振り返る

https://qiita.com/kaizen_nagoya/items/80433f4bf7fe116bddd1
「はじめての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の仕組みと設計のために

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

文書履歴(document history)

ver. 0.01 初稿  20230505

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

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

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