JPH0667992A - Backup memory inspection device - Google Patents

Backup memory inspection device

Info

Publication number
JPH0667992A
JPH0667992A JP4216139A JP21613992A JPH0667992A JP H0667992 A JPH0667992 A JP H0667992A JP 4216139 A JP4216139 A JP 4216139A JP 21613992 A JP21613992 A JP 21613992A JP H0667992 A JPH0667992 A JP H0667992A
Authority
JP
Japan
Prior art keywords
cpu
data
cpus
backup memory
inspection
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.)
Granted
Application number
JP4216139A
Other languages
Japanese (ja)
Other versions
JP3324148B2 (en
Inventor
Akihito Iwai
岩井  明史
Hajime Nomura
肇 野村
Hiroyuki Ina
博之 伊奈
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.)
Denso Corp
Original Assignee
NipponDenso Co Ltd
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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP21613992A priority Critical patent/JP3324148B2/en
Publication of JPH0667992A publication Critical patent/JPH0667992A/en
Application granted granted Critical
Publication of JP3324148B2 publication Critical patent/JP3324148B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To provide a backup memory inspection device inspecting the power save operation, etc., of a backup memory corresponding to by each CPU in a system provided with plural CPU. CONSTITUTION:An IGF signal is stopped and IGF error information is transferred/stored to each backup RAM by a step 401. After a main power source is turned off and a power save operation is executed, the main power source is turned on again by a step 402. A specific input signal is added and the operation is plunged into a n inspecting mode by a step 403. Data is read from the prescribed output terminal of each CPU by a step 404 and the output data and logical value data are compared by a step 405. Then, the display of either OK or NG of the inspection result are displayed based on the result of the comparison by a step 406 or 407.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、例えば複数個のCP
Uを含み構成される自動車の電子制御用ユニットにおい
て、その各CPUに対して設定されるバックアップRA
M等を検査するバックアッブメモリの検査装置に関す
る。
BACKGROUND OF THE INVENTION The present invention relates to, for example, a plurality of CPs.
In a vehicle electronic control unit including U, a backup RA set for each CPU thereof
The present invention relates to a back-up memory inspection device that inspects M and the like.

【0002】[0002]

【従来の技術】自動車に搭載される電子制御ユニット
は、この自動車に搭載される複数の機器にそれぞれ対応
したCPUを備えるもので、例えばエンジの空燃比制
御、電子制御トランスミッションの制御、故障診断制御
等が各CPUにおいて分担されるようにしている。
2. Description of the Related Art An electronic control unit mounted on an automobile has a CPU corresponding to each of a plurality of devices mounted on the automobile. For example, engine air-fuel ratio control, electronic control transmission control, failure diagnosis control Etc. are shared by each CPU.

【0003】この様な電子制御ユニットを構成するCP
Uにおいては、それぞれ各種データ等を記憶するバック
アップメモリ(バックアップRAM)を備えるもので、
このバックアップRAMにおいてメイン電源が遮断され
た状態においても、制御用データが確実に記憶保持され
るようにしている。したがって、この各CPUに対応さ
れるバックアッブRAMにおいて、メイン電源が遮断さ
れた状態においても、パワーセーブ動作によって記憶デ
ータが確実に保持されていることが重要な要件であり、
電子制御ユニットの正常動作を確認するためには、これ
らバックアップRAMのパワーセーブ動作をチェックす
る必要がある。
CP which constitutes such an electronic control unit
In U, each has a backup memory (backup RAM) for storing various data,
In this backup RAM, the control data is surely stored and held even when the main power supply is cut off. Therefore, in the back-up RAM corresponding to each CPU, it is an important requirement that the stored data is surely retained by the power save operation even when the main power supply is cut off.
In order to confirm the normal operation of the electronic control unit, it is necessary to check the power saving operation of these backup RAMs.

【0004】この様なバックアツプRAMのパワーセー
ブ動作を検査するには、例えば診断コード等の情報をバ
ックアップRAMにそれぞれ記憶させ、この状態でメイ
ン電源を一旦遮断してスタンバイ電源によってパワーセ
ーブ状態とする。この様な状態に設定された後再びメイ
ン電源を投入し、パワーセーブ状態に設定されたバック
アップRAMから情報を出力させ、この出力情報をチェ
ックすることにより、バックアップRAMのパワーセー
ブ動作が検査される。
In order to inspect the power saving operation of such a back-up RAM, for example, information such as a diagnostic code is stored in the backup RAM respectively, and in this state, the main power source is temporarily shut off and the standby power source is set to the power saving state. To do. After being set in such a state, the main power supply is turned on again, information is output from the backup RAM set in the power save state, and the output information is checked to check the power save operation of the backup RAM. .

【0005】このバックアップRAMの検査は、CPU
それぞれにおいて独立して実行されるものであり、した
がってCPUの数が増加してバックアップRAMの数が
増加するにしたがって、その検査手順が繁雑化すると共
に検査に要する時間が増大する。
This backup RAM is inspected by the CPU
Each of them is independently executed. Therefore, as the number of CPUs and the number of backup RAMs increase, the inspection procedure becomes complicated and the time required for the inspection increases.

【0006】[0006]

【発明が解決しようとする課題】この発明は上記のよう
な点に鑑みなされたもので、複数のCPUを含み構成さ
れる電子制御ユニットにおいて、前記CPUそれぞれに
設定されるバックアップメモリのパワーセーブ動作等が
一括して簡単に実行することができ、検査手順の単純化
と共に検査時間が確実に短縮できるようにしたバックア
ップメモリの検査装置を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and in an electronic control unit including a plurality of CPUs, a power saving operation of a backup memory set for each of the CPUs. It is an object of the present invention to provide an inspection device for a backup memory that can be simply executed collectively and the inspection time can be surely shortened while simplifying the inspection procedure.

【0007】[0007]

【課題を解決するための手段】この発明に係るバックア
ップメモリの検査装置は、それぞれバックアップメモリ
を有する複数のCPUを備え、この各CPUに対してそ
れぞれデータが転送されるようにした電子制御ユニット
において、入力された診断用データを前記複数のCPU
にそれぞれ転送し、その各CPUに設定された前記バッ
クアップメモリにこの診断用データを記憶設定するデー
タ記憶手段を備え、このデータ記憶された状態でメイン
電源をオフして前記各CPUのバックアップメモリをパ
ワーセーブ状態に設定した後、再び前記メイン電源をオ
ンする。その後、検査モード設定手段で前記複数のCP
Uそれぞれに特定信号を入力して検査モードを設定し、
良否判定手段で前記複数のCPUそれぞれからの出力を
チェックする。
A backup memory inspection apparatus according to the present invention comprises an electronic control unit having a plurality of CPUs each having a backup memory, and data being transferred to each of the CPUs. , The input diagnostic data to the plurality of CPUs
Data storage means for storing and setting the diagnostic data in the backup memory set in each of the CPUs, and the main power supply is turned off in the state where the data is stored so that the backup memory of each CPU is set. After setting the power save state, the main power supply is turned on again. After that, the inspection mode setting means sets the plurality of CPs.
Input a specific signal to each U to set the inspection mode,
The pass / fail judgment means checks the output from each of the plurality of CPUs.

【0008】[0008]

【作用】この様に構成されるバックアップメモリの検査
装置においては、複数のCPUそれぞれ設定されるバッ
クアップメモリに対して、データ転送路を介して診断情
報が一括して書き込まれる。そして、この状態でメイン
電源がオフしてパワーセーブ動作が行われるようになる
ものであり、再びメイン電源がオンされた後に、各バッ
クアップメモリに記憶された診断情報が検査されるもの
であり、このバックアップメモリに記憶された診断情報
を検査することによって、データ転送が誤ご動作なく行
なわれたか、またパワーセーブ動作が失敗していないか
のチェックが確実に行なわれるようになる。
In the backup memory inspection device having such a configuration, the diagnostic information is collectively written to the backup memories set respectively for the plurality of CPUs via the data transfer path. Then, in this state, the main power is turned off and the power save operation is performed, and after the main power is turned on again, the diagnostic information stored in each backup memory is inspected. By inspecting the diagnostic information stored in the backup memory, it is possible to surely check whether the data transfer has been performed without malfunction and whether the power saving operation has failed.

【0009】[0009]

【実施例】以下、図面を参照してこの発明の一実施例を
説明する。図1は全体的な構成を示したもので、電子制
御ユニット(ECU)11は、この電子制御ユニット11を
構成するCPUに対応されるバックアップRAMのパワ
ーセーブ動作のチェック用の作動手段を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the overall configuration. The electronic control unit (ECU) 11 is provided with an operating means for checking the power saving operation of the backup RAM corresponding to the CPU constituting the electronic control unit 11. There is.

【0010】この電子制御ユニット11は、例えば自動車
に搭載されてエンジン制御、トランスミッション制御、
さらに故障診断(ダイアグ)制御等を実行するものであ
り、この様な電子制御ユニット11に対して動作チェック
用の検査機12が設けられる。この検査機12は、電子制御
ユニット11内のCPU等に動作チェックのための診断用
データを発生する入力データ付与手段13、および出力デ
ータ読取り手段14を備え、この入力データ付与手段13と
出力データ読取り手段14との間には、入力データと出力
データとを対比する比較判定手段15が設定される。
The electronic control unit 11 is mounted on, for example, an automobile and is used for engine control, transmission control,
Further, it performs failure diagnosis (diagnosis) control and the like, and an inspection machine 12 for operation check is provided for such an electronic control unit 11. This inspection machine 12 is provided with an input data giving means 13 for generating diagnostic data for operation check in a CPU etc. in the electronic control unit 11, and an output data reading means 14, and the input data giving means 13 and the output data are given. A comparison / determination means 15 for comparing input data with output data is set between the reading means 14 and the reading means 14.

【0011】図2は自動車に搭載される例えばエンジン
の電子的な制御等を実行する電子制御ユニット11の構成
を示すもので、例えば第1ないし第3のCPU21〜22を
備える。ここで、第1のCPU21は燃料噴射量制御(E
FI)等のエンジン制御を担当すると共に、第2のCP
U22は故障診断(ダイアグ)を担当し、さらに第3のC
PU23は電子式トランスミッション制御(ETC)を担
当するもので、第1ないし第3のCPU21〜23はそれぞ
れ独立した電子制御機器を個別に担当して制御するよう
になる。
FIG. 2 shows the configuration of an electronic control unit 11 mounted on a vehicle, for example, which electronically controls an engine, and includes first to third CPUs 21 to 22, for example. Here, the first CPU 21 controls the fuel injection amount (E
In charge of engine control such as FI) and the second CP
U22 is in charge of failure diagnosis (diagnosis), and the third C
The PU 23 is in charge of electronic transmission control (ETC), and the first to third CPUs 21 to 23 are individually in charge of controlling independent electronic control devices.

【0012】なお、図では3個CPU21〜23を示してい
るが、実際に自動車に搭載される電子制御ユニットにあ
っては、さらに多くの制御対象機器が存在し、この制御
対象機器それぞれに対応してCPUが設定されるように
なるもので、これらのCPU21〜23はそれぞれ入出力イ
ンターフェース24に接続される。
Although the three CPUs 21 to 23 are shown in the figure, there are more control target devices in the electronic control unit actually mounted in the automobile, and these control target devices correspond to the respective control target devices. Then, the CPU is set, and these CPUs 21 to 23 are connected to the input / output interface 24, respectively.

【0013】この様な電子制御ユニット11が車載された
状態では、入出力インターフェース24の入力側にはエン
ジンのクランク角センサからの信号に対応するエンジン
回転数データNe 、エアフローメータ出力(吸入空気
量)Q、冷却水温センサ出力THW、車速センサ出力S
PD、イグナイタおよび各種スイッチ等が接続される。
また、このインターフェース24の出力側からは、燃料噴
射弁、イグナイタ、チェックエンジンランプ、トランス
ミッションのソレノイドバルブ等に対する制御信号が取
り出される。
When the electronic control unit 11 is mounted on the vehicle as described above, the input side of the input / output interface 24 is the engine speed data Ne corresponding to the signal from the crank angle sensor of the engine, the air flow meter output (the intake air amount). ) Q, cooling water temperature sensor output THW, vehicle speed sensor output S
A PD, an igniter, various switches, etc. are connected.
Further, control signals for the fuel injection valve, the igniter, the check engine lamp, the solenoid valve of the transmission, etc. are taken out from the output side of the interface 24.

【0014】そして、制御プログラムにしたがって第1
ないし第3のCPU21〜23が選択的に制御されるもの
で、例えばエンジン回転数Ne 等の入力データに基づい
て演算等を行い、入出力インターフェース24からの制御
出力によって、出力側機器の作動を制御する。
Then, according to the control program, the first
Or, the third CPUs 21 to 23 are selectively controlled. For example, calculation is performed based on input data such as engine speed Ne, and the output of the output side device is controlled by the control output from the input / output interface 24. Control.

【0015】それぞれ役割分担されたCPU21〜23は、
順次DMA(ダイレクト・メモリ・アクセス)通信線25
および26によって結ばれているもので、この通信線25お
よび26によってデータ類の交換が可能とされるようにな
っている。
The CPUs 21 to 23, which are respectively assigned roles,
Sequential DMA (Direct Memory Access) communication line 25
And 26, and the communication lines 25 and 26 enable data exchange.

【0016】例えばEFI制御を行う第1のCPU21に
対しては、入出力インターフェース24を介してエンジン
回転数Ne 、吸入空気量Q、冷却水温THW、点火異常
信号IGF等を入力し、点火信号IGT、燃料噴射量#
10、#20等を出力する。この様なエンジン制御のた
めの出力に際して、DMA通信線25、26を用いてダイア
グ制御の第2のCPU22、およびECT制御の第3のC
PU23等に対しても、点火異常信号IGF等の情報を伝
達することができる。
For example, the engine speed Ne, the intake air amount Q, the cooling water temperature THW, the ignition abnormality signal IGF, etc. are input to the first CPU 21 for performing EFI control via the input / output interface 24, and the ignition signal IGT is input. , Fuel injection amount #
10 and # 20 are output. At the time of output for such engine control, the second CPU 22 for diagnostic control and the third C for ECT control are performed using the DMA communication lines 25 and 26.
Information such as the ignition abnormality signal IGF can be transmitted to the PU 23 and the like.

【0017】図3は1つの電子制御ユニット11を構成す
る1つのCPU30(21〜23)部の構成を示すもので、I
/Oインターフェース31および通信インターフェース32
の間に設定されるデータバス33に対してCPU30と共
に、ノーマルRAM34およびバックアップ(B/U=ス
タンバイ)RAM35が設定され、さらに制御プログラム
やバックアップRAM34のパワーセーブ動作チェックを
含む検査プログラムを記憶したROM36を備える。通信
インターフェース32にはDMAコントローラが内蔵さ
れ、DMA通信線25、26に接続される。I/Oインター
フェース31は図2の入出力インターフェース24との間の
通信線27、28に接続される。
FIG. 3 shows the configuration of one CPU 30 (21 to 23) portion which constitutes one electronic control unit 11.
/ O interface 31 and communication interface 32
A ROM 36 in which a normal RAM 34 and a backup (B / U = standby) RAM 35 are set together with the CPU 30 for the data bus 33 set between the two, and a control program and an inspection program including a power saving operation check of the backup RAM 34 are stored. Equipped with. The communication interface 32 has a built-in DMA controller and is connected to the DMA communication lines 25 and 26. The I / O interface 31 is connected to communication lines 27 and 28 with the input / output interface 24 of FIG.

【0018】ここで、DMA(ダイレクト・メモリ・ア
クセス)は、CPU30を介さずに、直接ノーマルRAM
34のアクセスが可能な機能であって、このDMAを通信
インターフェース32に含ませることによって、CPU30
における演算時間に影響されることなく、定時的なデー
タ通信が行えるようになる。
Here, the DMA (Direct Memory Access) is a direct normal RAM without the CPU 30.
34, which is a function that can be accessed by the CPU 30, by including this DMA in the communication interface 32.
It becomes possible to perform regular data communication without being affected by the calculation time in.

【0019】この様に構成される装置におけるバックア
ップメモリ(RAM)の検査手順について説明する。図
4は検査機12による検査手順の基本的な流れを示すもの
であり、図5および図6はそれぞれ定常モード状態およ
び検査モード状態における検査制御の流れを示してい
る。以下、この検査手順をステップ単位に説明する。
A procedure for inspecting the backup memory (RAM) in the device thus constructed will be described. FIG. 4 shows the basic flow of the inspection procedure by the inspection machine 12, and FIGS. 5 and 6 show the flow of inspection control in the steady mode state and the inspection mode state, respectively. Hereinafter, this inspection procedure will be described step by step.

【0020】[検査ステップ1]まず、図4におけるス
テップ401 における定常モードにおいて、検査機12から
与えられる点火異常信号IGFを停止し、第1のCPU
21に点火異常信号のエラーを模擬的に判定させる。
[Inspection Step 1] First, in the steady mode at step 401 in FIG. 4, the ignition abnormality signal IGF given from the inspection machine 12 is stopped, and the first CPU
21 causes the abnormal ignition signal to be determined in a simulated manner.

【0021】この定常モードにおいては、この状態では
スイッチSによりメイン電源+Bが投入され、バッテリ
からのスタンバイ電源が常時供給される。図5の(A)
に示すように、第1のCPU21は通常の自己診断(ダイ
アグ)ロジックによって点火異常信号のエラー情報(診
断用データ)を第1のCPU21のバックアップRAM35
に記憶(図7の(A)に示される)する。
In this steady mode, the main power source + B is turned on by the switch S in this state, and the standby power source from the battery is constantly supplied. FIG. 5A
As shown in FIG. 1, the first CPU 21 uses the normal self-diagnosis (diagnosis) logic to output the error information (diagnosis data) of the ignition abnormality signal to the backup RAM 35 of the first CPU 21.
In memory (shown in FIG. 7A).

【0022】図5(A)は、第1のCPU21において実
行される自己診断処理の流れを示すものである。CPU
21はステップ501 においてIGF信号の有無を判定し、
IGF信号無しと判定されたときに、ステップ502 でI
GFエラーを記憶する。そして、ステップ503 で第1の
CPU21はこのIGFエラーを第2のCPU22に対して
転送する。
FIG. 5A shows the flow of self-diagnosis processing executed by the first CPU 21. CPU
21 determines in step 501 whether there is an IGF signal,
If it is determined that there is no IGF signal, then in step 502, I
Remember the GF error. Then, in step 503, the first CPU 21 transfers this IGF error to the second CPU 22.

【0023】この様に第2のCPU22に対してIGFエ
ラー情報が転送されたならば、このIGFエラー情報は
第2のCPU22の所定のバックアップRAMに記憶され
る。図5(B)は、CPU22において実行されるエラー
情報の受信送信処理の流れを示す図である。CPU22
は、まずステップ511 においてCPU21から転送されて
きたIGFエラー情報をバックアップRAMに記憶す
る。そして、ステップ512で第2のCPU22は次のCP
U23にIGFエラー情報を転送する。そして、このエラ
ー情報の転送は複数のCPUに対して順次行われる。
When the IGF error information is transferred to the second CPU 22 as described above, this IGF error information is stored in a predetermined backup RAM of the second CPU 22. FIG. 5B is a diagram showing a flow of error information reception / transmission processing executed by the CPU 22. CPU22
First, in step 511, the IGF error information transferred from the CPU 21 is stored in the backup RAM. Then, in step 512, the second CPU 22 sends the next CP
Transfer the IGF error information to U23. Then, the transfer of the error information is sequentially performed to the plurality of CPUs.

【0024】第3のCPU23は転送されたIGFエラー
情報を、このCPU23の所定のバックアップRAMに記
憶する処理を行う。
The third CPU 23 performs a process of storing the transferred IGF error information in a predetermined backup RAM of this CPU 23.

【0025】この様にして1段目のCPU21で判定され
たエラー情報が中段のCPU22を経由して最終段の第3
のCPU23に転送された状態で、図4のステップ401 と
して示される検査ステップ1が終了する。
In this way, the error information determined by the CPU 21 of the first stage is passed through the CPU 22 of the middle stage to the third stage of the final stage.
The inspection step 1 shown as step 401 in FIG. 4 is completed with the data transferred to the CPU 23.

【0026】[検査ステップ2]図4のステップ402 に
おいて図7の(B)で示すようにスイッチSを開いてメ
イン電源+Bをオフする。この場合バッテリからのスタ
ンバイ電源はそのまま供給され、バックアップRAMに
おいてパワーセーブ動作が実行できるようにしている。
このステップ402 においては、スイッチSを開いてCP
Uに対するメイン電源をオフした後再びスイッチSをオ
ンするもので、スイッチSのオフ時にバックアップRA
Mにおいてパワーセーブ動作が正常に行われていれば、
このメイン電源が再びオンされたときに、各CPU21〜
23それぞれのバックアップRAMにIGFエラー情報が
正常に記憶されているはずである。
[Inspection Step 2] In Step 402 of FIG. 4, the switch S is opened to turn off the main power source + B as shown in FIG. 7B. In this case, the standby power from the battery is supplied as it is, and the power saving operation can be executed in the backup RAM.
In step 402, switch S is opened and CP
The switch RA is turned on again after the main power supply to U is turned off. When the switch S is turned off, the backup RA
If the power save operation is normally performed on M,
When the main power is turned on again, each CPU 21-
23 The IGF error information should be normally stored in each backup RAM.

【0027】[検査ステップ3]ステップ403 におい
て、検査機12は第1のCPU21に対して特定入力信号を
付加するもので、この特定入力信号の付加に伴って第1
のCPU21を図6の(A)に示す検査モードに突入させ
る。この様に検査モードに突入されたならば、CPU21
はステップ601 でIGFエラー情報の有無を判定し、I
GFエラー情報有りの判定でステップ602 に進んで所定
の出力端子をオンに設定する。また、ステップ601 でI
GFエラー情報無しと判定されたときは、ステップ503
で所定の出力をオフ設定する(図8の(A)の状態)。
また、同様に図6の(B)のステップ611 〜613 のよう
に各CPU22および23が処理を行い、この検査ステップ
3を終了する。
[Inspection Step 3] In step 403, the inspection machine 12 adds a specific input signal to the first CPU 21.
CPU 21 is put into the inspection mode shown in FIG. If the inspection mode is entered in this way, the CPU 21
Determines in step 601 whether there is IGF error information, and I
When it is determined that the GF error information is present, the process proceeds to step 602 to set a predetermined output terminal to ON. In step 601, I
If it is determined that there is no GF error information, step 503.
The predetermined output is set to OFF (state of FIG. 8A).
Similarly, the CPUs 22 and 23 perform the processing as in steps 611 to 613 of FIG. 6B, and the inspection step 3 is ended.

【0028】[検査ステップ4]ステップ404 におい
て、検査機12は出力データ読取り手段14により各CPU
21〜23それぞれの所定の出力端子のデータを読取る。続
くステップ405 では、比較判定手段15において、CPU
21〜23それぞれより出力されたデータと理論値データと
を比較する。そして、このステップ405 の判断結果に対
応して、出力データと理論値データとが全てのCPU21
〜23について一致すると、ステップ406 でOK表示を行
い、またいずれかのCPUについて不一致の場合、その
不一致となったCPUについて、ステップ407 でNG表
示を行うようにする(図8の(B)の状態)。そして、
このOKもしくはNGの表示によって、CPU21〜23そ
れぞれのバックアップRAMのパワーセーブチェックが
終了される。
[Inspection Step 4] In Step 404, the inspection machine 12 causes the output data reading means 14 to operate the CPUs.
21 to 23 Read the data from the respective predetermined output terminals. In the following step 405, in the comparison and determination means 15, the CPU
The data output from each of 21 to 23 and the theoretical value data are compared. Then, the output data and the theoretical value data correspond to all CPUs 21 corresponding to the judgment result of step 405.
23 to 23, the OK display is performed in step 406, and if there is a mismatch in any of the CPUs, the NG display is performed in step 407 for the CPU having the mismatch (see (B) of FIG. 8). Status). And
With the display of OK or NG, the power saving check of the backup RAM of each of the CPUs 21 to 23 is completed.

【0029】なお、実施例ではCPUが3個使用されて
いる例を示したが、この発明においてはCPUの数に限
定されるものではなく、それ以上のCPUであっても同
様にバックアップメモリ(RAM)のチェックが可能で
ある。また、ROM、RAMが外部に設定される電子制
御ユニットにあっても同様のチェックが可能である。そ
して、データの転送手段も特にDMA通信に限定される
ものではなく、デュアルポートRAM等を使用して、各
CPU間の情報伝達を行うシステム構成においてもチェ
ック可能である。さらに、複数のCPUそれぞれの検査
モードの突入を一致させるようにすれば、検査時間がよ
り短縮されるようになる。
Although the embodiment has shown the example in which three CPUs are used, the present invention is not limited to the number of CPUs, and even if more CPUs are used, the backup memory ( RAM) can be checked. The same check can be performed even in the electronic control unit in which the ROM and the RAM are set externally. The data transfer means is not limited to the DMA communication in particular, and can be checked in a system configuration in which information is transmitted between the CPUs by using a dual port RAM or the like. Furthermore, if the rushes of the inspection modes of the plurality of CPUs are made to coincide with each other, the inspection time can be further shortened.

【0030】[0030]

【発明の効果】以上のようにこの発明に係るバックアッ
プメモリの検査装置によれば、特に多数個のCPUを用
いて構成される電子制御ユニットにおいて、簡易化した
構成によって多数のバックアップメモリのパワーセーブ
動作のチェックが可能とされるものであり、充分にチェ
ック時間が短縮される。特に、通常の制御プログラムに
おいてはバツクアップメモリに対するデータ記憶が困難
な場合、その効果が著しい。
As described above, according to the backup memory inspection apparatus of the present invention, particularly in an electronic control unit including a large number of CPUs, power saving of a large number of backup memories can be achieved by a simplified structure. The operation can be checked, and the check time can be shortened sufficiently. In particular, when it is difficult to store data in the backup memory in a normal control program, the effect is remarkable.

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

【図1】この発明の一実施例に係る検査装置を説明する
ための構成図。
FIG. 1 is a configuration diagram for explaining an inspection device according to an embodiment of the present invention.

【図2】電子制御ユニット部を説明する構成図。FIG. 2 is a configuration diagram illustrating an electronic control unit section.

【図3】1つのCPUに対応する部分の構成を説明する
図。
FIG. 3 is a diagram illustrating a configuration of a portion corresponding to one CPU.

【図4】検査手順を説明するフローチャート。FIG. 4 is a flowchart illustrating an inspection procedure.

【図5】(A)および(B)は通常モードにおけるIG
Fエラー情報の入力を説明するフローチャート。
5A and 5B are IGs in a normal mode.
The flowchart explaining the input of F error information.

【図6】(A)および(B)は検査モードにおける手順
を説明するフローチャート。
6A and 6B are flowcharts for explaining the procedure in the inspection mode.

【図7】(A)および(B)は通常モードにおける各C
PUの状態を説明する図。
7A and 7B are Cs in a normal mode.
The figure explaining the state of PU.

【図8】(A)は検査モードにおける各CPUの状態を
説明する図、(B)はチェック出力の状態を説明する
図。
FIG. 8A is a diagram illustrating a state of each CPU in an inspection mode, and FIG. 8B is a diagram illustrating a check output state.

【符号の説明】[Explanation of symbols]

11…電子制御ユニット、12…検査機、13…入力データ付
与手段、14…出力データ読取り手段、15…比較判定手
段、21〜23…CPU、24…入出力インターフェース、30
…CPU、34…ノーマルRAM、35…パックアップRA
M、36…ROM。
11 ... Electronic control unit, 12 ... Inspection machine, 13 ... Input data giving means, 14 ... Output data reading means, 15 ... Comparison determining means, 21-23 ... CPU, 24 ... Input / output interface, 30
… CPU, 34… Normal RAM, 35… Pack-up RA
M, 36 ... ROM.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 それぞれバックアップメモリを有する複
数のCPUを備え、この各CPUがそれぞれデータ転送
路によって結合されるようにした電子制御ユニットにお
いて、 診断用のデータを入力するデータ入力手段と、 この入力された診断用データを前記複数のCPUにそれ
ぞれ転送し、その各CPUに対応して設定された前記バ
ックアップメモリにこの診断用データを記憶設定するデ
ータ記憶手段と、 メイン電源をオフして前記各CPUのバックアップメモ
リをパワーセーブ状態に設定すると共に、再び前記メイ
ン電源をオンする電源制御手段と、 この電源制御手段で再びメイン電源がオンされた状態で
前記複数のCPUそれぞれに特定信号を入力し、検査モ
ードに突入させる検査モード設定手段と、 この検査モード状態で前記複数のCPUそれぞれからの
出力をチェックする良否判定手段とを具備し、 前記各CPUのバックアップメモリそれぞれの良否判定
が行われるようにしたことを特徴とするバックアッブメ
モリの検査装置。
1. An electronic control unit comprising a plurality of CPUs each having a backup memory, each CPU being coupled by a data transfer path, and data input means for inputting diagnostic data, and this input. Data storage means for respectively transferring the diagnostic data to the plurality of CPUs and storing and setting the diagnostic data in the backup memory set corresponding to each of the CPUs. The backup memory of the CPU is set to the power save state, the power supply control means for turning on the main power supply again, and the specific signal is input to each of the plurality of CPUs with the main power supply turned on again by the power supply control means. An inspection mode setting means for entering the inspection mode, and PU comprises a quality determination means for checking the output from each testing device back Abbu memory, characterized in that said backup memory each quality determination of the CPU and the like is performed.
JP21613992A 1992-08-13 1992-08-13 Inspection device for backup memory Expired - Fee Related JP3324148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21613992A JP3324148B2 (en) 1992-08-13 1992-08-13 Inspection device for backup memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21613992A JP3324148B2 (en) 1992-08-13 1992-08-13 Inspection device for backup memory

Publications (2)

Publication Number Publication Date
JPH0667992A true JPH0667992A (en) 1994-03-11
JP3324148B2 JP3324148B2 (en) 2002-09-17

Family

ID=16683886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21613992A Expired - Fee Related JP3324148B2 (en) 1992-08-13 1992-08-13 Inspection device for backup memory

Country Status (1)

Country Link
JP (1) JP3324148B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013084089A (en) * 2011-10-07 2013-05-09 Denso Corp Vehicular device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013084089A (en) * 2011-10-07 2013-05-09 Denso Corp Vehicular device
TWI492867B (en) * 2011-10-07 2015-07-21 Denso Corp In-vehicle apparatus

Also Published As

Publication number Publication date
JP3324148B2 (en) 2002-09-17

Similar Documents

Publication Publication Date Title
US5003477A (en) Diagnosis system for a motor vehicle
US4276593A (en) Transfer system for multi-variable control units
JP2880165B2 (en) Apparatus for monitoring an automotive computer system comprising two processors
US5005129A (en) Diagnosis system for a motor vehicle
US4402057A (en) Method of and apparatus for ensuring correct operation of a microcomputer in the event of power outage
JP3991384B2 (en) Electronic control unit
JPH01210842A (en) Vehicle diagnosing device
JPH0273131A (en) Vehicle diagnostic system
JPH01209335A (en) Vehicle diagnosing apparatus
JPH01247741A (en) Diagnosis system for vehicle
JPS5917658A (en) Control system responding to signal of digital computer
US5586034A (en) Data communication equipment for transferring data
CN113202629A (en) Dual-redundancy control system of aircraft engine
JP4113934B2 (en) Information processing device with fail-safe function
JP3324148B2 (en) Inspection device for backup memory
JPS592102A (en) Operation controlling system of internal combustion engine
US6941219B2 (en) Method for recreating valid calibration data for an engine control module
JP3370387B2 (en) Abnormality countermeasure method in a multi-CPU vehicle control computer system
JPH05273086A (en) Method and device for testing device having at least one microcomputer
JP3231817B2 (en) Inspection method of microcomputer
JPH08153397A (en) Eeprom data rewrite controller
JP3203884B2 (en) Vehicle diagnostic system
JPS58210340A (en) Trouble data holding device in electronic control system for vehicle
JPH09252267A (en) Electronic controller for vehicle
JP2710777B2 (en) Test circuit for intermediate control unit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees