JPH0626999A - Failure code memory device - Google Patents

Failure code memory device

Info

Publication number
JPH0626999A
JPH0626999A JP4182210A JP18221092A JPH0626999A JP H0626999 A JPH0626999 A JP H0626999A JP 4182210 A JP4182210 A JP 4182210A JP 18221092 A JP18221092 A JP 18221092A JP H0626999 A JPH0626999 A JP H0626999A
Authority
JP
Japan
Prior art keywords
failure
memory
code
fault
stored
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
JP4182210A
Other languages
Japanese (ja)
Inventor
Kenichi Kagawa
健一 香川
Masahiro Sakaguchi
政広 坂口
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP4182210A priority Critical patent/JPH0626999A/en
Publication of JPH0626999A publication Critical patent/JPH0626999A/en
Pending legal-status Critical Current

Links

Landscapes

  • Regulating Braking Force (AREA)

Abstract

PURPOSE:To simplify memory processing by providing such a constitution as detecting failure generation, when a computer detects a failure of a constituting element, in the memory address of a failure code memory corresponding to the failure code showing the failure in 1:1. CONSTITUTION:An electronic control device 11 is provided with a failure code memory 25 connected to a microcomputer 21. The memory 25 has, for example, 128 memory addresses 26 from n=0 to n=127, and each address 26 is formed in 8 bits. Of the 128 addresses 26, the addresses from n=1 to n=127 are conformed to failure codes of the same numerical values as the respective addresses in 1:1, and when failure codes of a wheel speed sensor 12 are set to, for example, '15', '16', the data related to the failures are stored in the memory addresses 26 of n=15, 16 of the failure code memory 25, respectively. The bit of each address 26 is set to, for example, P=0-7. P=7 represents the presence or absence of failure detection, P=5 and 4 are complements of P=7, 6, fixed data are inputted to P=0-3, and whether a failure is present or not is detected by the display of '1' or '0'.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、故障コード記憶装置に
関し、特に、車輪速センサ等から入力される信号を処理
する車輛用電子制御装置のマイクロコンピュータに故障
コードメモリを接続してなる車輛の故障コード記憶装置
に関するものであり、上記車輪速センサ等の故障を示す
故障コードを故障コードメモリに記憶する処理の単純化
及び良品交換の防止を図ると共に、故障履歴を正確に把
握できるようにするものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fault code storage device, and more particularly to a vehicle in which a fault code memory is connected to a microcomputer of a vehicle electronic control device for processing a signal input from a wheel speed sensor or the like. The present invention relates to a failure code storage device, which simplifies the process of storing a failure code indicating a failure of the wheel speed sensor or the like in the failure code memory and prevents replacement of non-defective products, and enables accurate understanding of the failure history. It is a thing.

【0002】[0002]

【従来の技術】従来より、車輪速センサ、オルタネータ
等から故障が検出されると、故障の発生及びその故障の
発生箇所を記憶する故障コード記憶装置が提供されてい
る。
2. Description of the Related Art Conventionally, there has been provided a failure code storage device for storing the occurrence of a failure and the location of the failure when a failure is detected by a wheel speed sensor, an alternator or the like.

【0003】上記故障コード記憶装置では、車輪速セン
サ、モータ、ソレノイド等から入力される信号やイグニ
ッション電圧、オルタネータ電圧等を処理すると共に、
その結果に基づいてアンチロック制御装置のモータ、ソ
レノイドバルブ等に信号を出力して制御する電子制御装
置のマイクロコンピュータに故障コードメモリを接続
し、マイクロコンピュータが故障発生を検出すると故障
コードメモリ内に故障発生箇所を記憶する構成としてい
る。
The fault code storage device processes signals input from a wheel speed sensor, a motor, a solenoid, etc., an ignition voltage, an alternator voltage, etc., and
A fault code memory is connected to the microcomputer of the electronic control unit that outputs and controls signals to the motor and solenoid valve of the anti-lock control unit based on the result, and when the microcomputer detects a fault occurrence, the fault code memory is stored in the fault code memory. The configuration is such that the location of failure is stored.

【0004】車輪速センサ等の車輛の各構成要素には、
対応する番号(故障コード)が定められており、ある要
素の故障発生が検出されると、その構成要素に対応する
故障コードが、故障コードメモリに記憶される。例え
ば、図5に示す故障コードメモリ1は、n=0からn=
127で示す128個のメモリアドレス2を備え、上記
故障コードは、n=0のメモリアドレス2から故障発生
順に順次記憶される。
Each component of the vehicle, such as a wheel speed sensor,
A corresponding number (fault code) is defined, and when a failure occurrence of a certain element is detected, the failure code corresponding to the component is stored in the failure code memory. For example, in the fault code memory 1 shown in FIG. 5, n = 0 to n =
128 memory addresses 2 shown by 127 are provided, and the failure codes are sequentially stored from the memory address 2 of n = 0 in the order of failure occurrence.

【0005】即ち、図6に示すように、まず、n=0の
メモリアドレス2からデータを読みだし(ステップ#
1)、その読み出したデータが0である場合にはn=0
に故障コードを書き込む(ステップ#2)。一方、データ
が0でない場合、即ち、n=0のメモリアドレス2に既
に故障コードが格納されている場合には、n=1のメモ
リアドレス2に移り(ステップ#3)、以下、同様の処理
を繰り返す。
That is, as shown in FIG. 6, first, data is read from the memory address 2 of n = 0 (step #
1), n = 0 if the read data is 0
The failure code is written in (step # 2). On the other hand, when the data is not 0, that is, when the failure code is already stored in the memory address 2 of n = 0, the process moves to the memory address 2 of n = 1 (step # 3), and the same process is performed. repeat.

【0006】例えば、上記図5に示すように、n=0か
らn=2のメモリアドレス2にそれぞれ故障コード“$
15",“$18",“$11"が既に格納されている状態
で、新たに故障が検出されると、その故障を発生した構
成要素に対応する故障コードが、上記の処理によりデー
タ未格納のn=3のメモリアドレス2に格納される。
For example, as shown in FIG. 5, the failure code "$" is assigned to each memory address 2 from n = 0 to n = 2.
When a new failure is detected while 15 "," $ 18 ", and" $ 11 "are already stored, the failure code corresponding to the component that caused the failure is not stored in the data due to the above processing. It is stored in the memory address 2 of the storage n = 3.

【0007】また、故障発生回数が多く、故障コードメ
モリ1のn=0からn=127の全てのメモリアドレス
2内に、既に故障コードが格納されている場合には、そ
の時点で最初に故障コードが格納されたメモリアドレス
2を検索し、このメモリアドレス2に今回発生した故障
に対応する故障コードを格納する特別な処理が必要とな
る。
If a failure code is already stored in all memory addresses 2 of n = 0 to n = 127 of the failure code memory 1 due to a large number of failures, the failure code memory 1 is first to fail. A special process is required to search the memory address 2 in which the code is stored and store the fault code corresponding to the fault that occurred this time in this memory address 2.

【0008】例えば、図7(A)〜(E)に示すようにn=
0からn=2の3個のメモリアドレス2を備える故障コ
ードメモリ1の場合、まず、(A)で示すように、n=0
の故障コードアドレス2にある構成要素に対応する故障
コード“$11"を格納し、次いで、(B)で示すよう
に、n=1のメモリアドレス2に故障コード“$12"
を格納し、更に、(C)で示すように、n=2のメモリア
ドレス2に故障コード“$13"を格納する。
For example, as shown in FIGS. 7A to 7E, n =
In the case of the fault code memory 1 having three memory addresses 2 from 0 to n = 2, first, as shown in FIG.
The failure code “$ 11” corresponding to the component at the failure code address 2 is stored, and then the failure code “$ 12” is stored in the memory address 2 of n = 1 as shown in (B).
Then, as shown in (C), the failure code “$ 13” is stored in the memory address 2 of n = 2.

【0009】上記のように全てのメモリアドレス2に故
障コードが格納された状態で故障コード“$14"に対
応する故障が検出されると、(D)に示すように、最初に
故障コードが格納されたn=0のメモリアドレスに、今
回検出した故障に対応する故障コード“$14"を格納
する。更に、新たな故障が検出された場合には、この時
点で最初に故障コードが格納されたn=1のメモリアド
レス2に、今回検出した故障に対応する故障コード“$
15"を格納する。
When the fault corresponding to the fault code "$ 14" is detected in the state where the fault codes are stored in all the memory addresses 2 as described above, the fault code is first detected as shown in (D). The fault code “$ 14” corresponding to the fault detected this time is stored in the stored memory address of n = 0. Further, when a new fault is detected, the fault code "$" corresponding to the fault detected this time is stored in the memory address 2 of n = 1 in which the fault code is first stored at this point.
15 "is stored.

【0010】上記のように故障コードメモリに記憶され
た故障コードは、メンテナンス時に電子制御装置に接続
される試験装置により読み出され、この試験装置は、警
告灯等の手段により、対応する故障コードが記憶されて
いる構成要素について故障発生を表示、その構成要素の
修理、取換を促す。
The fault code stored in the fault code memory as described above is read by a test device connected to the electronic control unit at the time of maintenance, and this test device is provided with a corresponding fault code by means such as a warning light. The failure occurrence is displayed for the stored component, and the repair or replacement of the component is prompted.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、従来の
故障コード記憶装置では、上記のように、故障コードを
記憶するためには故障コードが格納されていないメモリ
アドレスを検索する必要があるのに加え、全てのメモリ
アドレスに故障コードが格納されている場合には、その
時点で最初に故障コードが記憶された故障コードメモリ
を検索する必要があり、複雑な処理が必要であり、ま
た、既に記憶している故障コードのメモリアドレスに上
書きされてしまうため、情報が消えてしまう場合があっ
た。
However, in the conventional fault code storage device, as described above, in order to store the fault code, it is necessary to search the memory address where the fault code is not stored. , If the fault code is stored in all the memory addresses, it is necessary to search the fault code memory in which the fault code is stored first at that time, which requires complicated processing and is already stored. The information may be lost because the memory address of the fault code being processed is overwritten.

【0012】上記の処理はマイクロコンピュータの読出
専用メモリ(以下、「ROM」と称する。)等のメモリに記
憶されたプログラムに基づいて行われるため、メモリの
記憶容量の多くの部分が上記処理用のプログラムを記憶
するために費やされることになり、限られたメモリの記
憶容量を効率的に使用することができなかった。
Since the above-mentioned processing is performed based on a program stored in a memory such as a read-only memory (hereinafter referred to as "ROM") of a microcomputer, most of the storage capacity of the memory is for the processing. However, the limited storage capacity of the memory could not be efficiently used.

【0013】また、例えば車輛検査において二輪駆動車
の車体をリフトアップしてアクセルを踏んだ場合には、
駆動輪のみが回転し、回転していない従動輪を故障と判
断する等、システム自体は正常であっても故障と判断す
る場合がある。この故障コードを記憶してしまうと、後
日故障コードメモリの内容を試験装置により確認した場
合に、その故障コードが表示されるため、良好な部品が
交換されるおそれがある。
Further, for example, in a vehicle inspection, when the body of a two-wheel drive vehicle is lifted up and the accelerator is stepped on,
In some cases, even if the system itself is normal, it may be determined that there is a failure, such that only the drive wheels rotate and the non-rotating driven wheels are considered to be a failure. If this failure code is stored, the failure code will be displayed when the contents of the failure code memory are confirmed by a test device at a later date, so that good parts may be replaced.

【0014】これに対して、上記従動輪の場合のよう
に、システム自体は正常であっても故障を検出する可能
性のある故障コードについては、故障コードメモリに記
憶しないようにすることも考えられる。しかし、この場
合、現実に故障が生じていた場合にも故障コードが記憶
されないことになるため、故障履歴を正確に把握するこ
とができない。
On the other hand, as in the case of the driven wheels described above, it may be considered not to store a fault code that may detect a fault even if the system itself is normal in the fault code memory. To be However, in this case, since the failure code is not stored even when the failure actually occurs, the failure history cannot be accurately grasped.

【0015】本発明は、上記のような従来の車輛の故障
コード記憶装置における問題を解決するためになされた
ものであって、故障コードを故障コードに記憶するため
の処理を単純化してマイクロコンピュータのメモリの有
効利用を図ること、故障の発生していない良品が交換さ
れてしまうのを防止しつつ、故障履歴を正確に把握でき
るようにすることを目的としてなされたものである。
The present invention has been made in order to solve the problem in the conventional vehicle fault code storage device as described above, and simplifies the process for storing the fault code in the fault code microcomputer. The purpose of this invention is to make effective use of the memory and prevent the non-defective non-defective product from being replaced, while at the same time being able to accurately grasp the failure history.

【0016】[0016]

【課題を解決するための手段】従って、本発明は、車輪
速センサ等の構成要素から入力される信号を処理して、
故障の発生を検出するマイクロコンピュータを備える電
子制御装置と、複数のメモリアドレスを有し、上記マイ
クロコンピュータに接続された故障コードメモリとを備
え、上記複数のメモリアドレスは、それぞれ各構成要素
の故障発生を表す故障コードと一対一に対応しており、
マイクロコンピュータが故障を検出すると、その故障コ
ードに対応するメモリアドレスに、故障の検出及びその
故障の表示を許可するか否かを記憶する構成としている
故障コード記憶装置を提供するものである。
Accordingly, the present invention processes signals input from components such as wheel speed sensors,
An electronic control unit including a microcomputer for detecting the occurrence of a failure, and a failure code memory having a plurality of memory addresses and connected to the microcomputer, wherein the plurality of memory addresses are each a failure of each component. There is a one-to-one correspondence with the failure code that indicates the occurrence,
Provided is a fault code storage device configured to store, when a microcomputer detects a fault, whether or not to permit detection of the fault and display of the fault at a memory address corresponding to the fault code.

【0017】また、本発明では、上記故障コードメモリ
が、最新に発生した故障に対応する故障コードを記憶す
る専用のメモリアドレスを備えることが好ましい。
Further, in the present invention, it is preferable that the fault code memory has a dedicated memory address for storing a fault code corresponding to the latest fault.

【0018】[0018]

【作用】本発明の故障コード記憶装置は、上記のような
構成としているため、マイクロコンピュータがある構成
要素の故障を検出すると、故障コードメモリの複数のメ
モリアドレス中、この故障を示す故障コードと対応する
番地のメモリアドレスに故障の発生の有無及びその故障
を試験装置が表示することを許可するか否かを記憶し、
故障コードの記憶処理が簡単になる。また、上記故障発
生が検出されても、その故障が正常時に発生する可能性
のあるもの場合には、故障コードの表示を禁止すること
により良品交換が防止される。
Since the fault code storage device of the present invention is configured as described above, when a microcomputer detects a fault of a certain component, a fault code indicating this fault is detected in a plurality of memory addresses of the fault code memory. The memory address of the corresponding address stores whether or not a failure has occurred and whether or not the test device is allowed to display the failure.
The storage process of the fault code is simplified. In addition, even if the occurrence of the failure is detected, if the failure is likely to occur at normal times, the display of the failure code is prohibited to prevent replacement of non-defective products.

【0019】また、メモリアドレスの一つを、最新に発
生した故障に対応する故障コード専用のメモリアドレス
とした場合には、頻繁に発生する発生率の高い故障を確
実に試験装置で表示される。
If one of the memory addresses is a memory address dedicated to the fault code corresponding to the latest fault, a fault frequently occurring with a high occurrence rate is surely displayed on the test apparatus. .

【0020】[0020]

【実施例】次に、図面に示す実施例に基づき、本発明に
ついて詳細に説明する。図1及び図2に示す、本発明の
実施例に係る故障コード記憶装置は、電子制御装置11
に、車輛の制御系の構成要素、即ち、車輪速センサ1
2、ストップスイッチ13及びパーキングスイッチ14
からの信号を入力する構成としている。また、上記電子
制御装置11には、イグニッション電圧15、オルタネ
ータ電圧16を入力している。
The present invention will now be described in detail with reference to the embodiments shown in the drawings. The fault code storage device according to the embodiment of the present invention shown in FIGS.
In addition, a component of the vehicle control system, that is, the wheel speed sensor 1
2, stop switch 13 and parking switch 14
The signal from is input. Further, the ignition voltage 15 and the alternator voltage 16 are input to the electronic control unit 11.

【0021】更に、電子制御装置11には、アンチロッ
ク制御装置の駆動系の構成要素からの信号、即ち、フェ
ールセーフリレー18、モータ19及びソレノイド20
からの信号を入力する構成としている。
Further, the electronic control unit 11 includes signals from the drive system components of the antilock control unit, that is, the fail-safe relay 18, the motor 19 and the solenoid 20.
The signal from is input.

【0022】電子制御装置11のマイクロコンピュータ
21は、読み出し専用メモリ22(以下、「ROM」と略
称する。)に記憶した制御用プログラムに基づいて、上
記車輪速センサ12等の構成要素から入力された信号を
処理し、フェールセーフリレー18、モータ19、ソレ
ノイド20、警告灯23等に対して、アンチロック制御
等の所要の制御を行うための信号を出力する構成として
いる。
The microcomputer 21 of the electronic control unit 11 receives inputs from the components such as the wheel speed sensor 12 based on a control program stored in a read-only memory 22 (hereinafter abbreviated as "ROM"). The signal is processed to output a signal for performing required control such as antilock control to the fail-safe relay 18, the motor 19, the solenoid 20, the warning light 23, and the like.

【0023】また、上記マイクロコンピュータ21は、
上記ROM22に記憶した故障検出用プログラムに基づ
いて、上記車輪速センサ12等の構成要素から入力され
た信号を処理して故障の発生を検出する構成としてい
る。上記ROM22には各構成要素に対して“1"から
“127"までの故障コードを一対一に対応させたテー
ブルを記憶しており、マイクロコンピュータ21がある
構成要素の故障を検出すると、それに対応する故障コー
ドが1つ定まるようにしている。更に、マイクロコンピ
ュータ21は、上記故障検出用プログラム及び制御用プ
ログラムの作動時に使用するランダムアクセスメモリ2
4(以下、「RAM」と略称する。)を備えている。
Further, the microcomputer 21 is
On the basis of the failure detection program stored in the ROM 22, signals generated from the components such as the wheel speed sensor 12 are processed to detect the occurrence of failure. The ROM 22 stores a table in which each constituent element has a one-to-one correspondence with a failure code from "1" to "127", and when the microcomputer 21 detects a failure of a certain constituent element, it responds to it. One failure code is set. Further, the microcomputer 21 uses the random access memory 2 used when the failure detection program and the control program are operated.
4 (hereinafter, abbreviated as “RAM”).

【0024】電子制御装置11内には、上記マイクロコ
ンピュータ21と接続する故障コードメモリ25を設け
ている。
In the electronic control unit 11, a fault code memory 25 connected to the microcomputer 21 is provided.

【0025】上記故障コードメモリ25は、図2に詳細
に示すように、n=0からn=127までの128個の
メモリアドレス26を備え、各メモリアドレス26は8
ビットで構成されている。
As shown in detail in FIG. 2, the fault code memory 25 has 128 memory addresses 26 from n = 0 to n = 127, each memory address 26 being 8
It consists of bits.

【0026】上記128個のメモリアドレス26のう
ち、n=1からn=127までのメモリアドレス26
は、それぞれその番地と同じ数値の故障コードに一対一
に対応している。例えば、左右後輪の車輪速センサ12
に発生した故障の故障コードが“15",“16"とする
と、故障コードメモリ25のn=15,n=16のメモ
リアドレス26には、それぞれ左右後輪の車輪速センサ
12に発生した故障に関するデータが記憶される構成と
している。
Of the 128 memory addresses 26, the memory addresses 26 from n = 1 to n = 127
Corresponds to the fault code having the same numerical value as the address, one to one. For example, the wheel speed sensor 12 for the left and right rear wheels
Assuming that the failure code of the failure that occurs in "15", "16", the failure code memory 25 at the memory address 26 of n = 15, n = 16, the failure that occurred in the wheel speed sensor 12 of the left and right rear wheels, respectively. Data is stored.

【0027】図2(B)に示すように、各メモリアドレス
26は8ビットで構成されている。以下、説明のため
に、各メモリアドレス26のビットを図中右端の最下位
桁から順にp=0,1,2,3,4,5,6,7とする。
As shown in FIG. 2B, each memory address 26 is composed of 8 bits. Hereinafter, for the sake of explanation, the bits of each memory address 26 are assumed to be p = 0,1,2,3,4,5,6,7 in order from the least significant digit at the right end in the figure.

【0028】p=7のビットは、故障検出の有無を表
し、故障がされている場合には“1"、故障が検出され
ていない場合には“0"とする。
The bit of p = 7 indicates the presence or absence of failure detection, and is set to "1" when a failure is detected and "0" when no failure is detected.

【0029】p=6のビットは、p=7のビットが故障
検出を表示する“1"である場合に、そのメモリアドレ
ス26に対応する構成要素についての故障検出が、現実
にはその構成要素自体に故障が発生しておらず、システ
ムが正常に作動している場合にも検出され得るものであ
ることを表示する。即ち、正常作動時にも検出され得る
故障の場合には、後述する試験装置29に対して故障コ
ードの表示を禁止する“1"とし、正常作動時には検出
されない故障の場合には、試験装置29に対して故障コ
ードの表示を許可する“0"とする。例えば、(B)に示
すようにn=15のメモリアドレス26に対応する左前
輪の車輪速センサ12については、車体のリフトアップ
時等の場合にも故障であると検出され得るため、n=1
5のp=7のビットを“1"とする場合には、p=6の
ビットを“1"とする。
The bit of p = 6 means that if the bit of p = 7 is "1" indicating the failure detection, the failure detection for the component corresponding to the memory address 26 is actually the component. It indicates that the device itself has not failed and can be detected even when the system is operating normally. That is, in the case of a failure that can be detected even during normal operation, the test device 29, which will be described later, is prohibited from displaying a failure code by "1". On the other hand, it is set to “0” which allows the display of the failure code. For example, as shown in (B), the wheel speed sensor 12 for the left front wheel corresponding to the memory address 26 of n = 15 can be detected as a failure even when the vehicle body is lifted up. 1
When the p = 7 bit of 5 is set to "1", the p = 6 bit is set to "1".

【0030】p=5及びp=4のビットは、上記p=7
及びp=6のビットの補数とする。例えば、(B)に示
すように、p=7及びp=6のビットが“1"“1"の場
合には、その補数の“1"“1"が入力される。このp=
5及びp=4のビットは、メモリアドレス26が故障し
ていないか否かを発見するためのものであって、試験装
置29による故障コード表示時に、上記p=6,p=7
の数値と加算してp=7からp=4のビットがすべて
“0"となることにより、これらのビットが正常である
ことが確認できる。
The bits of p = 5 and p = 4 correspond to the above p = 7.
And p = 6 bit complements. For example, as shown in (B), when the bits of p = 7 and p = 6 are "1" and "1", the complement "1" and "1" are input. This p =
The bits 5 and p = 4 are for finding out whether or not the memory address 26 has a failure, and when the failure code is displayed by the test apparatus 29, the above p = 6, p = 7.
It is possible to confirm that these bits are normal by adding all the bits of p = 7 to p = 4 to “0” when added to the numerical value of.

【0031】また、p=3,2,1,0のビットには、固
定データ“1010"が入力されている。上記p=3か
らp=0のビットも上記p=5及びp=4のビットと同
様に、メモリアドレス26が正常に作動しているか否か
を確認するために使用される。
Further, fixed data "1010" is input to the bits of p = 3, 2, 1, 0. The bits from p = 3 to p = 0, like the bits from p = 5 and p = 4, are also used to confirm whether the memory address 26 is operating normally.

【0032】n=0のメモリアドレス26には、最新に
発生した故障の故障コードを記憶している。即ち、新た
に故障が検出されると、その故障を発生した構成要素に
対応する故障コードがn=0のメモリアドレス26に上
書きして記憶される。
At the memory address 26 of n = 0, the fault code of the latest fault is stored. That is, when a new fault is detected, the fault code corresponding to the component having the fault is overwritten and stored in the memory address 26 of n = 0.

【0033】尚、本実施例では、上記RAM24の各メ
モリアドレス(図示せず)もp'=0からp'=7の8ビッ
トで構成している。
In this embodiment, each memory address (not shown) of the RAM 24 is also composed of 8 bits from p '= 0 to p' = 7.

【0034】試験装置29は、メンテナンス時に、マイ
クロコンピュータ22に接続され、このマイクロコンピ
ュータ22を介して、上記故障コードメモリ25に記憶
されたデータを確認し、表示手段を構成する警告灯30
の点滅回数により故障コードを表示する構成としてい
る。
The test device 29 is connected to the microcomputer 22 at the time of maintenance, and confirms the data stored in the failure code memory 25 via the microcomputer 22 and a warning lamp 30 constituting a display means.
The failure code is displayed according to the number of times of flashing.

【0035】次に、上記の実施例の作動的特徴について
説明する。まず、図3に基づき、マイクロコンピュータ
22が、ある構成要素の故障を検出した場合の故障コー
ドの記憶処理について説明する。ステップ#11で、R
AM24の各ビットを“0"にセットする。次に、ステ
ップ#12で、検出した故障がシステム正常時にも発生
する可能性がある否か判断し、可能性がある場合には、
ステップ#13でRAM24のp'=6のビットを“1"
にセットする。次に、ステップ#14でRAM24の
p'=7のビットを“1"にセットする。
Next, the operational features of the above embodiment will be described. First, based on FIG. 3, a process of storing a failure code when the microcomputer 22 detects a failure of a certain component will be described. In step # 11, R
Each bit of AM24 is set to "0". Next, in step # 12, it is judged whether or not the detected failure may occur even when the system is normal, and if there is a possibility,
In step # 13, the bit of p '= 6 of RAM 24 is set to "1".
Set to. Next, in step # 14, the bit of p '= 7 of the RAM 24 is set to "1".

【0036】ステップ#15では、RAM24のp'=
5及びp'=4のビットに、それぞれp'=7及びp'=
6のビットの補数をセットする。ステップ#16では、
RAM24をp'=3からp'=0のビットを“101
0"にセットする。ステップ#17では、故障コードメ
モリ25の、検出された故障の故障コードと同じ数値の
メモリアドレス26のp=0からp=7の各ビットに、
上記RAM24のp'=0からp'=7の各ビットに入力
された“0"又は“1"のデータを記憶する。
In step # 15, p '= in the RAM 24
For bits 5 and p ′ = 4, p ′ = 7 and p ′ =
Set the 6's complement. In step # 16,
Set the bits in the RAM 24 from p '= 3 to p' = 0 to "101".
0 ". In step # 17, in each bit of p = 0 to p = 7 of the memory address 26 of the fault code memory 25 having the same numerical value as the fault code of the detected fault,
The data of "0" or "1" input to each bit of p '= 0 to p' = 7 of the RAM 24 is stored.

【0037】更に、ステップ#18では、今回検出さた
れた故障に対応する故障コードを故障コードメモリ25
のn=0のメモリアドレス26に記憶する。
Further, in step # 18, the fault code corresponding to the fault detected this time is stored in the fault code memory 25.
In memory address 26 of n = 0.

【0038】上記のように、本実施例では、故障コード
メモリ25のメモリアドレス26を各故障コードに一対
一に対応させているため、故障コードを記憶するため
に、故障コードメモリ中のデータ未格納のメモリアドレ
スを検索する処理及び全メモリアドレスが一杯である場
合に最初にデータの格納を行ったメモリアドレスを検索
する処理を行う必要がなく、故障コードの記憶処理を単
純化することができる。
As described above, in this embodiment, since the memory address 26 of the fault code memory 25 corresponds to each fault code one-to-one, in order to store the fault code, the data in the fault code memory is not stored. It is not necessary to perform the process of searching the memory address of the storage and the process of searching the memory address where the data was stored first when all the memory addresses are full, and the storage process of the failure code can be simplified. .

【0039】次に、上記のように故障コードメモリ25
内に記憶されたデータをマイクロコンピュータ21に接
続した試験装置29により読み出して故障コードを表示
する処理を図4に基づいて説明する。まず、ステップ#
21で、RAM24を「0」にセットする。ステップ#2
2では、上記RAM24にセットした値と同じ数値のメ
モリアドレス26、即ち、n=0のメモリアドレス26
に記憶された故障コードを読み出す。ステップ#23で
は、RAM24の値が「0」か否かを検査し、上記のよう
にRAM24が「0」の場合には、ステップ#24におい
て、RAM24の値を故障コードとして、試験装置24
の警告灯29により表示する。上記のように、本実施例
では上記n=0に記憶された故障コードに対応する故
障、即ち、最新に検出された故障を故障コード表示時の
最初に確実に表示することができる。上記のようにn=
0のメモリアドレス26の故障コードを表示した後、ス
テップ#25においてRAM24の値「0」に1を加えて
「1」として、ステップ#22に戻る。
Next, as described above, the fault code memory 25
A process of reading the data stored therein by the test device 29 connected to the microcomputer 21 and displaying the failure code will be described with reference to FIG. First, step #
At 21, the RAM 24 is set to "0". Step # 2
2, the memory address 26 of the same numerical value as the value set in the RAM 24, that is, the memory address 26 of n = 0
The fault code stored in is read. In step # 23, it is checked whether or not the value of the RAM 24 is "0". If the value of the RAM 24 is "0" as described above, the value of the RAM 24 is used as the failure code in the test device 24 in step # 24.
This is indicated by the warning light 29. As described above, in the present embodiment, the failure corresponding to the failure code stored at n = 0, that is, the latest detected failure can be surely displayed at the beginning of displaying the failure code. As above, n =
After displaying the failure code of the memory address 26 of 0, 1 is added to the value "0" of the RAM 24 in step # 25 to set it to "1", and the process returns to step # 22.

【0040】RAM24の値が「1」の場合には、上記の
場合と同様に、ステップ#22においてRAMが示す値
のメモリアドレス26、即ち、n=1のメモリアドレス
26のデータを読み出し、更に、ステップ#23からス
テップ#26及びステップ#27に移る。
When the value of the RAM 24 is "1", the memory address 26 of the value indicated by the RAM in step # 22, that is, the data of the memory address 26 of n = 1 is read in the same manner as in the above case. , Step # 23 to Step # 26 and Step # 27.

【0041】ステップ#26及びステップ#27では、
読み出したメモリアドレス26のp=7及びp=6を検
査し、p=7が“1"であり、かつ、p=6が“0"であ
れば、以前にそのメモリアドレス26の番号と同じ番号
の故障コードに対応する故障が検出され、かつ、その故
障がシステムが正常時であれば発生する可能性のないも
のであるから、ステップ#24で故障コードを表示す
る。
In steps # 26 and # 27,
The p = 7 and p = 6 of the read memory address 26 are checked, and if p = 7 is “1” and p = 6 is “0”, it is the same as the number of the memory address 26 previously. A failure corresponding to the failure code of the number is detected, and the failure is unlikely to occur if the system is normal, so the failure code is displayed in step # 24.

【0042】一方、ステップ#26でp=7が“0"で
ある場合には、以前にその故障コードに対応する故障が
検出されていない場合であるから、故障コードは表示し
ない。また、ステップ#27では、p=7が“1"であ
っても、p=6が“1"の場合は、その故障コードに対
応する故障は、システムの正常時にも発生する可能性が
あるから、故障コードの表示は行わない。即ち、本実施
例では、例えば従動輪の車輪速センサのように、システ
ムの正常時にも故障が検出されてしまう可能性のある故
障に対応する故障コードは、試験装置が表示しないよう
にしているため、良品交換を防止することができる。
On the other hand, if p = 7 is "0" in step # 26, it means that the failure corresponding to the failure code has not been detected previously, so the failure code is not displayed. Further, in step # 27, even if p = 7 is “1”, if p = 6 is “1”, the failure corresponding to the failure code may occur even when the system is normal. Therefore, the failure code is not displayed. That is, in this embodiment, the test device does not display a failure code corresponding to a failure that may be detected during normal operation of the system, such as a wheel speed sensor for a driven wheel. Therefore, replacement of non-defective products can be prevented.

【0043】本実施例では、ステップ#28で示すよう
に、上記ステップ#22からステップ#25の処理をR
AM24の値が127になるまで繰り返す。
In this embodiment, as shown in step # 28, the processing from step # 22 to step # 25 is performed by R.
Repeat until the value of AM24 becomes 127.

【0044】上記試験装置29による故障コードメモリ
25の内容の確認では、システムが正常作動していても
検出される可能性のある故障に対応する故障コードは表
示されないが、故障コードメモリ25の各メモリアドレ
ス26のデータを直接読み出すことにより、試験装置2
9が故障コードを表示しないものであっても、一度でも
故障が検出されていれば、故障発生を知ることができ、
故障履歴を正確に把握できる。
In the confirmation of the contents of the fault code memory 25 by the test device 29, the fault codes corresponding to the faults that may be detected even if the system is operating normally are not displayed. By directly reading the data of the memory address 26, the test apparatus 2
Even if 9 does not display the failure code, if the failure is detected even once, it is possible to know the failure occurrence,
Accurately understand the failure history.

【0045】本発明は、上記実施例に限定されるもので
はなく、種々の変形が可能である。例えば、上記実施例
では、故障コードと同一の番号のメモリアドレスにデー
タを格納する構成としているが、故障コードが連続でな
い場合等には、予め各故障コードに対応するメモリアド
レスの番号を定義するテーブル等をマイクロコンピュー
タに記憶させておき、故障発生時には、上記テーブルを
参照してデータの格納を行うメモリアドレスを決定して
もよい。また、本実施例では、故障コードメモリを電子
制御装置内に設けているが、故障コードメモリは、マイ
クロコンピュータと接続しておれば、電子制御装置の外
部に設けてもよい。
The present invention is not limited to the above embodiment, but various modifications can be made. For example, in the above embodiment, the data is stored in the memory address having the same number as the failure code, but when the failure codes are not continuous, the memory address number corresponding to each failure code is defined in advance. A table or the like may be stored in a microcomputer, and when a failure occurs, the memory address for storing data may be determined by referring to the table. Further, in the present embodiment, the failure code memory is provided inside the electronic control device, but the failure code memory may be provided outside the electronic control device as long as it is connected to the microcomputer.

【0046】[0046]

【発明の効果】以上の説明から明らかなように、本発明
に係る故障コード記憶装置では、コンピュータが構成要
素の故障を検出すると、その故障を示す故障コードと一
対一に対応する故障コードメモリのメモリアドレスに、
故障発生を検出する構成としているため、未格納のメモ
リアドレスを検索等する処理が不要となり、故障コード
の記憶処理を単純化することができ、よって、マイクロ
コンピュータのメモリ中、記憶処理用のプログラムが占
める容量を低減し、記憶容量の限られたマイクロコンピ
ュータのメモリを有効に活用することができる。
As is apparent from the above description, in the fault code storage device according to the present invention, when a computer detects a fault in a component, a fault code memory that corresponds one-to-one with a fault code indicating the fault is stored. Memory address,
Since the configuration is such that the occurrence of a failure is detected, it is not necessary to search for an unstored memory address, and the storage processing of the failure code can be simplified. Therefore, the program for the storage processing in the memory of the microcomputer is It is possible to reduce the capacity occupied by and to effectively utilize the memory of the microcomputer having a limited storage capacity.

【0047】また、上記記憶コードメモリのメモリアド
レスには、故障コードの表示を許可するか否かを記憶す
る構成としているため、従動輪の車輪速センサのよう
に、システム自体は正常でも故障と検出される可能性が
あるものについては、故障コードの表示を禁止すること
により、良品交換を防止することができる。一方、上記
のように故障コードの表示が禁止された場合にも、故障
コード自体は、故障コードメモリに記憶されているた
め、メモリアドレスの内容を直接読み出すことにより、
故障履歴を正確に把握することができる。
Further, since the memory address of the memory code memory is configured to store whether or not the display of the failure code is permitted, even if the system itself is normal, such as the wheel speed sensor of the driven wheel, there is a failure. For items that may be detected, it is possible to prevent non-defective product replacement by prohibiting the display of the failure code. On the other hand, even when the display of the failure code is prohibited as described above, the failure code itself is stored in the failure code memory, so by directly reading the contents of the memory address,
The failure history can be accurately grasped.

【0048】更に本発明では、最新に発生した故障に対
応する故障コードを記憶する専用のメモリアドレスを設
けることにより、発生頻度の高い故障を知ることができ
る等の種々の利点を有する。
Further, according to the present invention, by providing a dedicated memory address for storing a fault code corresponding to the latest fault, there are various advantages such as being able to know a fault that frequently occurs.

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

【図1】 本発明の実施例を示す概略図である。FIG. 1 is a schematic diagram showing an embodiment of the present invention.

【図2】 (A)は故障コードメモリを示す概略図、(B)
はメモリアドレスを示す概略図である。
FIG. 2A is a schematic diagram showing a fault code memory, and FIG.
FIG. 4 is a schematic diagram showing memory addresses.

【図3】 故障コードの記憶処理を示すフローチャート
である。
FIG. 3 is a flowchart showing a fault code storage process.

【図4】 故障コードの表示処理を示すフローチャート
である。
FIG. 4 is a flowchart showing a failure code display process.

【図5】 従来の故障コードメモリを示す概略図であ
る。
FIG. 5 is a schematic diagram showing a conventional fault code memory.

【図6】 従来の故障コードの記憶処理を示すフローチ
ャートである。
FIG. 6 is a flowchart showing a conventional fault code storage process.

【図7】 従来の記憶処理における特別な処理を示す概
略図である。
FIG. 7 is a schematic diagram showing a special process in a conventional storage process.

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

11 電子制御装置 12 車輪速センサ 21 マイクロコンピュータ 22 ROM 24 RAM 25 故障コードメモリ 26 メモリアドレス 29 試験装置 30 警告手段 11 Electronic Control Device 12 Wheel Speed Sensor 21 Microcomputer 22 ROM 24 RAM 25 Fault Code Memory 26 Memory Address 29 Testing Device 30 Warning Means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 車輪速センサ等の構成要素から入力され
る信号を処理して、故障の発生を検出するマイクロコン
ピュータを備える電子制御装置と、 複数のメモリアドレスを有し、上記マイクロコンピュー
タに接続された故障コードメモリとを備え、 上記複数のメモリアドレスは、それぞれ各構成要素の故
障発生を表す故障コードと一対一に対応しており、マイ
クロコンピュータが故障を検出すると、その故障コード
に対応するメモリアドレスに、故障の検出及びその故障
の表示を許可するか否かを記憶する構成としている故障
コード記憶装置。
1. An electronic control device comprising a microcomputer for processing a signal input from a component such as a wheel speed sensor to detect the occurrence of a failure, and having a plurality of memory addresses, connected to the microcomputer. And a plurality of memory addresses, each of which has a one-to-one correspondence with a failure code indicating the occurrence of a failure of each component, and when the microcomputer detects a failure, the plurality of memory addresses correspond to the failure code. A fault code storage device configured to store, in a memory address, whether detection of a fault and display of the fault are permitted.
【請求項2】 上記故障コードメモリは、最新に発生し
た故障に対応する故障コードを記憶する専用のメモリア
ドレスを備えることを特徴とする請求項1記載の装置。
2. The apparatus according to claim 1, wherein the fault code memory has a dedicated memory address for storing a fault code corresponding to a latest fault.
JP4182210A 1992-07-09 1992-07-09 Failure code memory device Pending JPH0626999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4182210A JPH0626999A (en) 1992-07-09 1992-07-09 Failure code memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4182210A JPH0626999A (en) 1992-07-09 1992-07-09 Failure code memory device

Publications (1)

Publication Number Publication Date
JPH0626999A true JPH0626999A (en) 1994-02-04

Family

ID=16114283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4182210A Pending JPH0626999A (en) 1992-07-09 1992-07-09 Failure code memory device

Country Status (1)

Country Link
JP (1) JPH0626999A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001088651A1 (en) * 2000-05-16 2001-11-22 Sanyo Electric Co., Ltd. Equipment sensing system and equipment control device
CN113821015A (en) * 2021-09-24 2021-12-21 深圳市元征软件开发有限公司 Fault code display method and device, terminal equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001088651A1 (en) * 2000-05-16 2001-11-22 Sanyo Electric Co., Ltd. Equipment sensing system and equipment control device
US6742349B1 (en) 2000-05-16 2004-06-01 Sanyo Electric Co., Ltd. Equipment sensing system and equipment control device
CN113821015A (en) * 2021-09-24 2021-12-21 深圳市元征软件开发有限公司 Fault code display method and device, terminal equipment and storage medium
CN113821015B (en) * 2021-09-24 2023-08-08 深圳市元征软件开发有限公司 Fault code display method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
EP0401816B1 (en) Plant operation supporting method
KR970002637A (en) Multiprocessor system
AU704455B2 (en) On-vehicle controller failure diagnosing method and apparatus
US4550278A (en) Control device
JP2645548B2 (en) Method of testing a control device
JPH05157667A (en) Fault memory device in controller of automobile
JPH0749293A (en) Failure code storing device
JPH0626999A (en) Failure code memory device
US20070162782A1 (en) Method for error processing in electronic controllers
US4322791A (en) Error display systems
JP3296043B2 (en) Vehicle electronic control unit
JPH06288873A (en) Fault diagnosis system
JP2000128038A (en) Method for deactivating vehicle ignition type actuator
JP2000146765A (en) Electronic controller for vehicle
JP4556666B2 (en) Inspection apparatus and inspection method for in-vehicle failure diagnosis system
JPH04297350A (en) External memory control method in vehicle
US20050081133A1 (en) Method and test drive for detecting addressing errors in control devices
JP3777482B2 (en) Method for diagnosing faulty parts of automobile electrical components and meter set with faulty part diagnostic function
JPH03231048A (en) Memory device for trouble information
SU1751721A1 (en) Method of technical diagnostics of interconnected elements of object and device to implement it
JPH0327420B2 (en)
JPH10149493A (en) Abnormal equipment detector for automobile
JP3003543B2 (en) Electronic odometer
JP3488903B2 (en) Programmable controller and process fault monitoring method thereof
JP2629958B2 (en) Automotive control device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020507