JP2000267944A - Diagnostic method for ram - Google Patents

Diagnostic method for ram

Info

Publication number
JP2000267944A
JP2000267944A JP11074973A JP7497399A JP2000267944A JP 2000267944 A JP2000267944 A JP 2000267944A JP 11074973 A JP11074973 A JP 11074973A JP 7497399 A JP7497399 A JP 7497399A JP 2000267944 A JP2000267944 A JP 2000267944A
Authority
JP
Japan
Prior art keywords
ram
diagnosis
diagnosed
rams
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11074973A
Other languages
Japanese (ja)
Inventor
Norio Mogi
紀男 茂木
Kenichi Machida
憲一 町田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Unisia Automotive Ltd
Original Assignee
Unisia Jecs Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unisia Jecs Corp filed Critical Unisia Jecs Corp
Priority to JP11074973A priority Critical patent/JP2000267944A/en
Publication of JP2000267944A publication Critical patent/JP2000267944A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To speedily and surely diagnose a RAM being the factor of an A-grate fault without being protected by a redundant system or the like in the case of diagnosing the RAM of a microcomputer for controlling a vehicle. SOLUTION: In this RAM diagnostic method, RAMs of specific labels (labels 0, 1,...) in which plural specific data are to be written out of all RAM areas are previously selected as RAMs to be diagnosed and continuous addresses are allocated to the selected RAMs to summarize them. Or an address table storing addresses allocated to respective RAMs areas to be diagnosed is prepared to summarize them. Only the summarized RAMs to be diagnosed are diagnosed by a read/write checking method or the like at each prescribed time during the control of a vehicle.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、車両制御用マイク
ロコンピュータのRAMの診断方法に関し、特に運転性
に大きな影響を与えるRAM故障を短時間で検出し得る
RAMの診断方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of diagnosing a RAM of a microcomputer for controlling a vehicle, and more particularly to a method of diagnosing a RAM capable of detecting a RAM failure which greatly affects drivability in a short time.

【0002】[0002]

【従来の技術】RAM診断は、コンピュータ業界では一
般的で、車両制御用マイクロコンピュータのRAMにつ
いても行われている。但し、RAM故障の頻度は他のセ
ンサ等の故障に比べ極端に低いため、数分かけて全RA
M領域を診断できれば十分であることから、定期的に全
RAM領域を診断している。
2. Description of the Related Art RAM diagnosis is common in the computer industry, and is also performed on the RAM of a vehicle control microcomputer. However, since the frequency of RAM failure is extremely lower than that of other sensors, etc.
Since it is sufficient to be able to diagnose the M area, the entire RAM area is regularly diagnosed.

【0003】[0003]

【発明が解決しようとする課題】しかし、近年の電制ス
ロットル(ETC)等が搭載されている車両では、RA
M故障により運転性に大きな影響を及ぼす可能性があ
る。
However, in recent vehicles equipped with an electronically controlled throttle (ETC) or the like, RA
The drivability may be greatly affected by the M failure.

【0004】このため、全RAM領域のうち、運転性に
大きな影響を与える故障(以下Aグレード故障という)
を引き起こすRAM(スロットルアクチュエータ制御に
影響を及ぼすRAMや、ブレーキ制御に影響を及ぼすR
AM)については、大抵、冗長系で保護されている。す
なわち、通常のRAM診断とは別に、データを二重系で
記憶させておきその一致・不一致により診断する冗長系
診断を行って、安全性を確保している。
[0004] For this reason, of all the RAM areas, a failure that greatly affects the operability (hereinafter referred to as an A-grade failure).
(RAM that affects throttle actuator control or R that affects brake control)
AM) is usually protected by a redundant system. That is, in addition to the normal RAM diagnosis, data is stored in a dual system, and a redundancy system diagnosis is performed based on the coincidence / mismatch of the data to secure safety.

【0005】しかし、冗長系等で保護できないRAMが
故障した場合、故障から最短で200ms経過後にAグ
レード故障を生じることがある。従って、診断に数分を
要する従来のRAM診断では、200ms以内にRAM
故障を検出することができずに、Aグレード故障に至っ
てしまう可能性がある。
However, when a RAM that cannot be protected by a redundant system or the like fails, an A-grade failure may occur at least 200 ms after the failure. Therefore, in the conventional RAM diagnosis that requires several minutes for the diagnosis, the RAM
Failure to detect the failure may result in an A-grade failure.

【0006】また、診断を高速化して、全RAM領域を
200ms以内で診断しようとすると、演算負荷が上が
ってしまい、最悪正常なマイコン動作ができなくなる可
能性がある。
Further, if the diagnosis is speeded up and the entire RAM area is to be diagnosed within 200 ms, the calculation load increases, and the worst-case normal microcomputer operation may not be possible.

【0007】また、冗長系等で保護できないRAMのみ
を診断しようとしても、現状では、これらのRAMがコ
ンパイラ割付けによって分散しているため、容易ではな
かった。
Attempts to diagnose only those RAMs that cannot be protected by a redundant system or the like have been difficult at present because these RAMs are distributed by compiler assignment.

【0008】本発明は、このような実状に鑑み、冗長系
等で保護されずにAグレード故障の要因となるRAMを
短時間で確実に診断できるようにすることを目的とす
る。
An object of the present invention is to make it possible to diagnose a RAM which is not protected by a redundant system or the like and causes an A-grade failure in a short time without fail in view of the above situation.

【0009】[0009]

【課題を解決するための手段】このため、本発明では、
車両制御用マイクロコンピュータのRAMの診断に際
し、予め、全RAM領域のうち複数の特定の情報がそれ
ぞれ書込まれる特定ラベルのRAMを診断対象RAMと
して集約化しておき、車両制御中、所定時間毎に、前記
集約化された診断対象RAMを診断することを特徴とす
る。
Therefore, in the present invention,
When diagnosing the RAM of the vehicle control microcomputer, the RAM of a specific label in which a plurality of specific information is written out of the entire RAM area is aggregated as a diagnosis target RAM in advance, and the vehicle is controlled at predetermined time intervals during vehicle control. Diagnosing the integrated RAM for diagnosis.

【0010】ここで、集約化に際しては、次の(1)又
は(2)の方法を採用し得る。 (1)診断対象とする複数の特定ラベルのRAMを連続
するアドレスに割付けて、集約化する。
Here, the following method (1) or (2) can be adopted for consolidation. (1) The RAMs of a plurality of specific labels to be diagnosed are assigned to consecutive addresses and consolidated.

【0011】(2)診断対象とする複数の特定ラベルの
RAMがそれぞれ割付けられているアドレスを記憶させ
たアドレステーブルを設けて、集約化する。 また、診断に際しては、診断対象RAMのデータを一時
的に退避させて、リードライトチェック方式で診断する
とよい。
(2) An address table storing addresses to which RAMs of a plurality of specific labels to be diagnosed are respectively allocated is provided and integrated. In the diagnosis, the data in the diagnosis target RAM may be temporarily saved, and the diagnosis may be performed by the read / write check method.

【0012】また、診断対象とする複数の特定ラベルの
RAMには、少なくとも車速データのラベルのRAMを
含むとよい。
It is preferable that the RAM of a plurality of specific labels to be diagnosed includes at least a RAM of a label of vehicle speed data.

【0013】[0013]

【発明の効果】本発明によれば、予め、複数の特定の情
報がそれぞれ書込まれる特定ラベルのRAMを診断対象
RAMとして集約化しておき、所定時間毎に、前記集約
化された診断対象RAMを診断することで、冗長系等で
保護されずにAグレード故障の要因となる特定ラベルの
RAMのみを、しかも集約化された状態で診断できるの
で、短時間で確実に診断できるという効果が得られる。
According to the present invention, the RAM of a specific label into which a plurality of pieces of specific information are respectively written is pre-aggregated as a diagnosis target RAM, and the consolidation of the diagnosis target RAM is performed at predetermined time intervals. Is diagnosed, only the RAM of a specific label which is a cause of the A grade failure without being protected by the redundant system can be diagnosed in a centralized state. Can be

【0014】また、診断対象とする複数の特定ラベルの
RAMを連続するアドレスに割付けて、集約化すること
で、診断対象RAM領域の先頭アドレスを記憶しておく
だけで、連続して診断でき、診断時間を大幅に短縮化で
きる。
Further, by allocating RAMs of a plurality of specific labels to be diagnosed to continuous addresses and consolidating them, diagnosis can be continuously performed only by storing the head address of the RAM area to be diagnosed. Diagnosis time can be significantly reduced.

【0015】また、診断対象とする複数の特定ラベルの
RAMがそれぞれ割付けられているアドレスを記憶させ
たアドレステーブルを設けて、擬似的に集約化すること
で、アドレス割付けにかかわらず、診断時間を短縮化で
きる。但し、この場合は、アドレステーブルが格納され
ているRAM領域についても診断を行うのがよい。
Further, by providing an address table storing addresses to which a plurality of RAMs of specific labels to be diagnosed are respectively allocated and simulating the addresses, the diagnosis time can be reduced regardless of the address allocation. Can be shortened. However, in this case, it is preferable to diagnose the RAM area in which the address table is stored.

【0016】また、診断に際しては、診断対象RAMの
データを一時的に退避させて、リードライトチェック方
式で診断することで、RAMの機能を確実に診断でき
る。また、少なくとも車速データのラベルのRAMを診
断対象とすることで、運転性の上で極めて重要な車速デ
ータの信頼性を向上できる。
In the diagnosis, the data of the RAM to be diagnosed is temporarily saved and the diagnosis is performed by the read / write check method, so that the function of the RAM can be surely diagnosed. In addition, by using at least the RAM of the label of the vehicle speed data as a diagnosis target, it is possible to improve the reliability of the vehicle speed data, which is extremely important in drivability.

【0017】[0017]

【発明の実施の形態】以下に本発明の実施の形態につい
て説明する。先ず、本発明の第1実施形態について説明
する。本実施形態は、診断対象とする複数の特定ラベル
のRAMを連続するアドレスに割付けて、集約化する例
である。
Embodiments of the present invention will be described below. First, a first embodiment of the present invention will be described. The present embodiment is an example in which RAMs of a plurality of specific labels to be diagnosed are assigned to consecutive addresses and integrated.

【0018】図1は従来と対比して示す本発明での全R
AM領域における診断対象RAMの配置図(集約化の概
念図)である。すなわち、予め、全RAM領域のうち複
数の特定の情報(冗長系等で保護されずAグレード故障
の要因となる情報、例えば車速データ等)がそれぞれ書
込まれる特定ラベルのRAM(ラベル0、ラベル1、・
・・)を診断対象RAMとして、連続するアドレス(例
えばccccH〜)に割付けて、集約化しておく。
FIG. 1 shows all R values in the present invention as compared with the prior art.
FIG. 4 is a layout diagram (conceptual diagram of integration) of a diagnosis target RAM in an AM area. That is, a specific label RAM (label 0, label 0) in which a plurality of specific information (information which is not protected by the redundant system or the like and causes an A grade failure, for example, vehicle speed data) is written in advance in the entire RAM area. 1,
..) are assigned to consecutive addresses (for example, ccccH-) as a diagnosis target RAM, and are integrated.

【0019】従って、診断する場合は、所定時間毎に、
集約化された診断対象RAM領域のみを診断する。更に
詳しく説明する。
Therefore, when making a diagnosis, every predetermined time,
Diagnose only the aggregated diagnosis target RAM area. This will be described in more detail.

【0020】通常、ラベルのRAM割付けは、共通の情
報により集約された複数のラベルをまとめて割付けてい
る。共通の情報を持った複数のラベルを集約する手段と
しては、自動生成ツールを用い、予め登録した各ラベル
の情報を含んだ辞書データを自動生成ツールに通すこと
によって、各ラベルの情報から共通のラベルを集約して
いる。
Normally, in label RAM allocation, a plurality of labels aggregated based on common information are collectively allocated. As a means of aggregating a plurality of labels having common information, an automatic generation tool is used, and dictionary data including information of each label registered in advance is passed through the automatic generation tool, so that common information is obtained from each label information. Labels are aggregated.

【0021】ここにおいて、本実施形態では、辞書登録
ルールを変更し、RAM診断の対象とするか否かの情報
をラベル毎に辞書データに持たせ、この情報が共通であ
るラベル(RAM診断の対象とするラベル)を集約する
ことにより、診断対象RAMの集約化を図る。
Here, in the present embodiment, the dictionary registration rule is changed, and information as to whether or not to be subjected to RAM diagnosis is provided in the dictionary data for each label. By integrating target labels), RAMs to be diagnosed are integrated.

【0022】より具体的には次の(1),(2)の手順
で行う。 (1)ラベルの辞書登録時に本RAM診断の対象とする
か否かの情報を織り込む。
More specifically, the following steps (1) and (2) are performed. (1) At the time of registering a label dictionary, information as to whether or not to be subjected to the main RAM diagnosis is incorporated.

【0023】すなわち、例えば図2に示すように、表計
算ソフトを用いたラベルの辞書登録時に、RAM診断の
対象とするか否かの欄を追加し、診断対象RAMの場合
はyes、診断対象RAMでない場合はnoとする。
That is, as shown in FIG. 2, for example, when a label is registered in a dictionary using spreadsheet software, a column for determining whether or not to be subjected to RAM diagnosis is added. If it is not a RAM, set to no.

【0024】図2では、車速データVSP(ラベル0)
と、ブレーキ用マスターバック負圧判定結果フラグFS
TLN(ラベル1)とについて、RAM診断の対象とし
ている。尚、図2中の空欄には各種データが登録される
が、ここでは記載を省略している。
In FIG. 2, the vehicle speed data VSP (label 0)
And the brake master back negative pressure determination result flag FS
TLN (label 1) is subject to RAM diagnosis. Various data are registered in blanks in FIG. 2, but the description is omitted here.

【0025】(2)自動生成ツールにより診断対象RA
Mを集約する。 自動生成ツールは、クリアタイミング、JOBレベル、
Z処理の同じ組み合わせを持つ複数のラベルを集約する
ためのツールであり、この組み合わせ種類に応じて集約
するが、本実施形態では、自動生成ツールを変更し、R
AM診断情報に基づいて優先的に集約させることで、R
AM診断対象のラベル(ラベル0、ラベル1)を連続す
るアドレスに集約させる(図1参照)。
(2) RA to be diagnosed by automatic generation tool
Aggregate M. Automatic generation tools include clear timing, job level,
This is a tool for aggregating a plurality of labels having the same combination of Z processing, and aggregating according to the combination type. In the present embodiment, the automatic generation tool is changed and R
By prioritizing aggregation based on AM diagnostic information, R
The labels (label 0, label 1) to be subjected to AM diagnosis are collected into consecutive addresses (see FIG. 1).

【0026】以上のようにして、図1の右側に示したア
ドレス割付けとした場合のRAM診断方法をフローチャ
ートにより説明する。図3はRAM診断ルーチンのフロ
ーチャートであり、所定時間(例えば200ms)毎に
実行される。
A method of diagnosing the RAM in the case where the addresses are assigned as shown on the right side of FIG. 1 will be described with reference to a flowchart. FIG. 3 is a flowchart of the RAM diagnosis routine, which is executed every predetermined time (for example, 200 ms).

【0027】ステップ1(図にはS1と記す。以下同
様)では、診断対象RAMアドレスを集約化された診断
対象RAMの先頭アドレス(例えばccccH)に設定
する。ステップ2では、診断対象RAMアドレスに基づ
く、例えば4バイトずつの診断対象RAMに対し、図4
のサブルーチンに従って、リードライトチェック方式に
よる診断を行う。
In step 1 (referred to as S1 in the figure, the same applies hereinafter), the diagnostic RAM address is set to the head address (for example, ccccH) of the aggregated diagnostic RAM. In step 2, based on the address of the diagnostic target RAM,
In accordance with the subroutine (1), diagnosis is performed by the read / write check method.

【0028】ステップ3では、診断対象RAMアドレス
が最終アドレスになったか否かを判定し、NOの場合
は、ステップ4で診断対象RAMアドレスをインクリメ
ントとした後、ステップ2ヘ戻って、次の診断対象RA
Mに対し、リードライトチェック方式による診断を行
う。そして、最終アドレスに達したところで本ルーチン
を終了する。
In step 3, it is determined whether or not the RAM address to be diagnosed has reached the final address. If NO, the RAM address to be diagnosed is incremented in step 4, and the process returns to step 2 to perform the next diagnosis. Target RA
Diagnosis is performed on M by the read / write check method. Then, when the final address is reached, this routine ends.

【0029】図4はリードライトチェック(サブルーチ
ン)のフローチャートである。ステップ101では、診
断対象RAMアドレスに基づく診断対象RAMのデータ
をバッファに退避する。
FIG. 4 is a flowchart of a read / write check (subroutine). In step 101, the data of the diagnosis target RAM based on the address of the diagnosis target RAM is saved in a buffer.

【0030】ステップ102では、診断対象RAMのデ
ータをテンポラリ(CPU側の一時レジスタ)にコピー
する。ステップ103では、テンポラリのデータをビッ
ト反転する。これにより、AAAAAAAAhの場合、
55555555hとなる。
In step 102, the data in the diagnosis target RAM is copied to a temporary (temporary register on the CPU side). In step 103, the bit of the temporary data is inverted. Thus, in the case of AAAAAAAAh,
55555555h.

【0031】ステップ104では、診断対象RAMにテ
ンポラリのデータを再格納する。ステップ105では、
診断対象RAMのデータとテンポラリのデータとの比較
を行う。
In step 104, the temporary data is stored again in the diagnosis target RAM. In step 105,
The data in the RAM to be diagnosed is compared with the temporary data.

【0032】この比較の結果、相違があった場合に、R
AM診断NGとして、ステップ106で、診断結果NG
フラグをセットする。ステップ107では、診断対象R
AMにバッファのデータを復帰する。
As a result of this comparison, if there is a difference,
In step 106, as the AM diagnosis NG, the diagnosis result NG
Set a flag. In step 107, the diagnosis target R
Restore buffer data to AM.

【0033】ステップ108では、診断対象RAMのデ
ータとバッファのデータとの比較を行う。この比較の結
果、相違があった場合に、RAM診断NGとして、ステ
ップ109で、診断結果NGフラグをセットする。
In step 108, the data of the diagnosis target RAM and the data of the buffer are compared. If there is a difference as a result of the comparison, a diagnosis result NG flag is set in step 109 as RAM diagnosis NG.

【0034】ステップ106又はステップ109にて診
断結果NGフラグがセットされた場合は、別ルーチンに
よりフェイルセーフ処理に移行する。フェイルセーフ処
理としては、マイコンリセットを行う。
If the diagnosis result NG flag is set in step 106 or step 109, the routine shifts to fail-safe processing by another routine. The microcomputer is reset as the fail-safe processing.

【0035】又は、制御対象機器の電源OFF等を行
う。例えば、電制スロットルの場合、スロットルアクチ
ュエータに対する電源回路のリレーをOFFにする。リ
レーOFFにより、スロットル弁はリターンスプリング
の作用で、比較的低開度側のフェイルセーフ開度に固定
され、エンジン出力が規制されるものの、最低限のリン
プホーム運転が可能となる。
Alternatively, the power of the device to be controlled is turned off. For example, in the case of an electronically controlled throttle, the relay of the power supply circuit for the throttle actuator is turned off. When the relay is turned off, the throttle valve is fixed to the fail-safe opening on the relatively low opening side by the action of the return spring, and the engine output is regulated, but the minimum limp home operation becomes possible.

【0036】本実施形態によれば、診断対象RAMの集
約化により、診断対象RAM領域の先頭アドレスを記憶
しておくだけで、連続して診断でき、診断時間を大幅に
短縮化できる。
According to the present embodiment, the diagnosis can be continuously performed only by storing the start address of the diagnosis target RAM area by integrating the diagnosis target RAMs, and the diagnosis time can be greatly reduced.

【0037】次に、本発明の第2実施形態について説明
する。本実施形態は、診断対象とする複数の特定ラベル
のRAMがそれぞれ割付けられているアドレスを記憶さ
せたアドレステーブルを設けて、集約化する例である。
Next, a second embodiment of the present invention will be described. The present embodiment is an example in which an address table storing addresses to which a plurality of RAMs of a plurality of specific labels to be diagnosed are assigned is stored and integrated.

【0038】図5は従来と対比して示す本発明での全R
AM領域における診断対象RAMの配置図(集約化の概
念図)である。すなわち、予め、全RAM領域のうち複
数の特定の情報(冗長系等で保護されずAグレード故障
の要因となる情報)がそれぞれ書込まれる特定ラベルの
RAM(ラベル0、ラベル1、・・・)を診断対象RA
Mとして、これらのRAMが割付けられるアドレスを記
憶させたアドレステーブルを設けて、擬似的に集約化し
ておく。
FIG. 5 shows all R values in the present invention in comparison with the prior art.
FIG. 4 is a layout diagram (conceptual diagram of integration) of a diagnosis target RAM in an AM area. That is, a specific label RAM (label 0, label 1,...) In which a plurality of specific information (information which is not protected by a redundant system and causes an A-grade failure) in the entire RAM area is written in advance. ) To be diagnosed RA
As M, an address table storing addresses to which these RAMs are assigned is provided, and pseudo-aggregated.

【0039】すなわち、ddddH〜にアドレステーブ
ルを設けて、アドレステーブル(0)に、例えば車速デ
ータVSPであるラベル(0)が割付けられているアド
レスaaaaHを格納し、アドレステーブル(1)に、
例えばブレーキ用マスターバック負圧判定結果フラグF
STLNラベル(1)が割付けられているアドレスbb
bbHを格納しておく。
That is, an address table is provided in ddddH ~, and the address aaaH to which the label (0), for example, the vehicle speed data VSP is assigned, is stored in the address table (0).
For example, the brake master back negative pressure determination result flag F
Address bb to which STLN label (1) is assigned
bbH is stored.

【0040】従って、診断する場合は、所定時間毎に、
アドレステーブルによって擬似的に集約化された診断対
象RAM領域のみを診断する。但し、この場合は、アド
レステーブルが格納されているRAM領域(図5中のd
dddH〜)についても診断を行う。
Therefore, when making a diagnosis, every predetermined time,
Only the diagnosis target RAM area pseudo-aggregated by the address table is diagnosed. However, in this case, the RAM area where the address table is stored (d in FIG. 5)
dddH ~) is also diagnosed.

【0041】図6はこの場合のRAM診断ルーチンのフ
ローチャートであり、所定時間(例えば200ms)毎
に実行される。ステップ11では、n=0に初期化す
る。
FIG. 6 is a flowchart of the RAM diagnosis routine in this case, which is executed at predetermined time intervals (for example, every 200 ms). In step 11, n = 0 is initialized.

【0042】ステップ12では、診断対象RAMアドレ
スを、アドレステーブル(n)が割付けられているアド
レスに設定する。例えば、n=0の場合、アドレステー
ブル(0)が割付けられているアドレスddddHに設
定する。
In step 12, the diagnosis target RAM address is set to the address to which the address table (n) is allocated. For example, when n = 0, the address is set to the address ddddH to which the address table (0) is allocated.

【0043】ステップ13では、診断対象RAMアドレ
スに基づく、アドレステーブル(n)が割付けられてい
るアドレスのRAMに対し、図4のサブルーチンに従っ
て、リードライトチェック方式による診断を行う。従っ
て、n=0の場合、アドレステーブル(0)が割付けら
れているRAMの診断を行う。
In step S13, the RAM of the address to which the address table (n) is allocated based on the RAM address to be diagnosed is diagnosed by the read / write check method according to the subroutine of FIG. Therefore, when n = 0, diagnosis of the RAM to which the address table (0) is assigned is performed.

【0044】ステップ14では、診断対象RAMアドレ
スを、アドレステーブル(n)に格納されているアドレ
スに設定する。例えば、n=0の場合、アドレステーブ
ル(0)に格納されているアドレスaaaaH(→ラベ
ル0)に設定する。
In step 14, the diagnosis target RAM address is set to the address stored in the address table (n). For example, when n = 0, the address is set to the address aaaH (→ label 0) stored in the address table (0).

【0045】ステップ15では、診断対象RAMアドレ
スに基づく、アドレステーブル(n)に格納されている
アドレスのRAM(ラベルn)に対し、図4のサブルー
チンに従って、リードライトチェック方式による診断を
行う。従って、n=0の場合、ラベル(0)のRAMの
診断を行う。
In step 15, the RAM (label n) at the address stored in the address table (n) based on the RAM address to be diagnosed is diagnosed by the read / write check method according to the subroutine of FIG. Therefore, when n = 0, the RAM of the label (0) is diagnosed.

【0046】ステップ16では、nが最終値になったか
否かを判定し、NOの場合は、ステップ17でnをイン
クリメントした後、ステップ12〜15へ戻って、次の
診断対象RAMに対し、リードライトチェック方式によ
る診断を行う。すなわち、n=0→1のインクリメント
の場合、ステップ12,13でアドレステーブル(1)
が割付けられているRAMの診断を行い、ステップ1
4,15でラベル(1)のRAMの診断を行う。そし
て、nが最終値に達したところで本ルーチンを終了す
る。
In step 16, it is determined whether or not n has reached the final value. In the case of NO, n is incremented in step 17 and the process returns to steps 12 to 15 to store the next RAM for diagnosis in the next RAM. Diagnosis by the read / write check method is performed. That is, in the case of n = 0 → 1 increment, the address table (1) is used in steps 12 and 13.
Diagnose the RAM assigned with
At 4 and 15, the RAM of the label (1) is diagnosed. Then, this routine ends when n reaches the final value.

【0047】本実施形態によれば、アドレステーブルを
設けて擬似的に集約することで、辞書登録ルール等を変
更することなく、すなわち本来の診断対象RAM領域に
ついて変更することなく、実施できる。また、アドレス
テーブルが格納されたRAMについても診断すること
で、RAM診断の信頼性を向上させることができる。
According to the present embodiment, by providing an address table and pseudo-aggregating, the present embodiment can be implemented without changing dictionary registration rules and the like, that is, without changing the original diagnosis target RAM area. Also, by diagnosing the RAM in which the address table is stored, the reliability of the RAM diagnosis can be improved.

【0048】尚、以上では、RAM診断をリードライト
チェック方式によって行うようにしたが、ミラー化方式
によって診断するようにしてもよい。
In the above description, the RAM diagnosis is performed by the read / write check method. However, the diagnosis may be performed by the mirroring method.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の第1実施形態を示す集約化の概念図FIG. 1 is a conceptual diagram of centralization showing a first embodiment of the present invention.

【図2】 辞書登録データの例を示す図FIG. 2 shows an example of dictionary registration data.

【図3】 第1実施形態のRAM診断ルーチンのフロー
チャート
FIG. 3 is a flowchart of a RAM diagnosis routine according to the first embodiment;

【図4】 リードライトチェック(サブルーチン)のフ
ローチャート
FIG. 4 is a flowchart of a read / write check (subroutine).

【図5】 本発明の第2実施形態を示す集約化の概念図FIG. 5 is a conceptual diagram of centralization showing a second embodiment of the present invention.

【図6】 第2実施形態のRAM診断ルーチンのフロー
チャート
FIG. 6 is a flowchart of a RAM diagnosis routine according to the second embodiment;

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】車両制御用マイクロコンピュータのRAM
の診断に際し、 予め、全RAM領域のうち複数の特定の情報がそれぞれ
書込まれる特定ラベルのRAMを診断対象RAMとして
集約化しておき、 車両制御中、所定時間毎に、前記集約化された診断対象
RAMを診断することを特徴とするRAMの診断方法。
1. A RAM for a vehicle control microcomputer
In the diagnosis, a specific label RAM in which a plurality of pieces of specific information are respectively written out of the entire RAM area is integrated as a diagnosis target RAM in advance, and the integrated diagnosis is performed every predetermined time during vehicle control. A method for diagnosing a RAM, comprising diagnosing a target RAM.
【請求項2】集約化に際し、診断対象とする複数の特定
ラベルのRAMを連続するアドレスに割付けて、集約化
することを特徴とする請求項1記載のRAMの診断方
法。
2. The diagnostic method for a RAM according to claim 1, wherein, at the time of integration, RAMs of a plurality of specific labels to be diagnosed are assigned to consecutive addresses and integrated.
【請求項3】集約化に際し、診断対象とする複数の特定
ラベルのRAMがそれぞれ割付けられているアドレスを
記憶させたアドレステーブルを設けて、集約化すること
を特徴とする請求項1記載のRAMの診断方法。
3. The RAM according to claim 1, wherein, at the time of consolidation, an address table storing addresses to which a plurality of RAMs of a plurality of specific labels to be diagnosed are allocated is provided, and the consolidation is performed. Diagnostic method.
【請求項4】診断に際して、診断対象RAMのデータを
一時的に退避させて、リードライトチェック方式で診断
することを特徴とする請求項1〜請求項3のいずれか1
つに記載のRAMの診断方法。
4. The method according to claim 1, wherein at the time of diagnosis, the data in the diagnosis target RAM is temporarily saved and the diagnosis is performed by a read / write check method.
5. A method for diagnosing a RAM according to any one of the above.
【請求項5】診断対象とする複数の特定ラベルのRAM
が、少なくとも車速データのラベルのRAMを含むこと
を特徴とする請求項1〜請求項4のいずれか1つに記載
のRAMの診断方法。
5. A RAM of a plurality of specific labels to be diagnosed
5. The method according to claim 1, further comprising a RAM for labeling vehicle speed data.
JP11074973A 1999-03-19 1999-03-19 Diagnostic method for ram Pending JP2000267944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11074973A JP2000267944A (en) 1999-03-19 1999-03-19 Diagnostic method for ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11074973A JP2000267944A (en) 1999-03-19 1999-03-19 Diagnostic method for ram

Publications (1)

Publication Number Publication Date
JP2000267944A true JP2000267944A (en) 2000-09-29

Family

ID=13562757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11074973A Pending JP2000267944A (en) 1999-03-19 1999-03-19 Diagnostic method for ram

Country Status (1)

Country Link
JP (1) JP2000267944A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006331086A (en) * 2005-05-26 2006-12-07 Nsk Ltd Memory diagnostic method and electric power steering device with the function
JP2011175661A (en) * 2011-04-12 2011-09-08 Nsk Ltd Controller of electric power steering device
JP2012224315A (en) * 2011-04-22 2012-11-15 Denso Corp In-vehicle electronic control device, diagnostic tool and diagnostic system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006331086A (en) * 2005-05-26 2006-12-07 Nsk Ltd Memory diagnostic method and electric power steering device with the function
JP2011175661A (en) * 2011-04-12 2011-09-08 Nsk Ltd Controller of electric power steering device
JP2012224315A (en) * 2011-04-22 2012-11-15 Denso Corp In-vehicle electronic control device, diagnostic tool and diagnostic system
US9008898B2 (en) 2011-04-22 2015-04-14 Denso Corporation In-vehicle electronic control unit, diagnosis tool and diagnosis system

Similar Documents

Publication Publication Date Title
US7295903B2 (en) Device and method for on-board diagnosis based on a model
US6950782B2 (en) Model-based intelligent diagnostic agent
JP3958365B2 (en) Microprocessor unit for safety critical control units.
JPH04310459A (en) Controller
JP2001056701A (en) Method and device for mutually monitoring control units
US6540309B1 (en) Fault tolerant electronic braking system
JP2001521661A (en) Microprocessor unit for safety-critical control units.
JP2007326425A (en) Communication controlling unit, trouble analyzing center, and trouble analyzing method
US6067586A (en) Method for checking a first processor performing functions by a data word received and stored, and modified after performing a given function, and monitored by a second processor
JP2004518578A (en) How to drive distributed safety critical system components
US8117490B2 (en) Microprocessor memory management
WO2021002164A1 (en) Method and control system for operating ecus of vehicles in fails-safe mode
JP2002502755A (en) Method and apparatus for handling errors in electronic brake systems
JP2000267944A (en) Diagnostic method for ram
US20070150135A1 (en) Device and method for central on-board diagnosis for motor vehicles
US7406624B2 (en) Method for responding to a control module failure
JP3296043B2 (en) Vehicle electronic control unit
US20190250578A1 (en) Method and device for computing data models in safety-critical systems
EP0070184B1 (en) A method of testing memory
JP2000145533A (en) Electronic control device for vehicle
JP2004038388A (en) Vehicle control system
US7366970B2 (en) Method and test device for detecting addressing errors in control units
KR20080016228A (en) Software-based fault recovery method in embedded control system
CN117818511A (en) Vehicle-mounted operating system safety detection method and device based on virtualization technology
JP2503623B2 (en) Operation mode transition method