JPH03186940A - Method for inspecting type of microcomputer - Google Patents

Method for inspecting type of microcomputer

Info

Publication number
JPH03186940A
JPH03186940A JP1325306A JP32530689A JPH03186940A JP H03186940 A JPH03186940 A JP H03186940A JP 1325306 A JP1325306 A JP 1325306A JP 32530689 A JP32530689 A JP 32530689A JP H03186940 A JPH03186940 A JP H03186940A
Authority
JP
Japan
Prior art keywords
microcomputer
test
type
terminal
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.)
Pending
Application number
JP1325306A
Other languages
Japanese (ja)
Inventor
Atsuo Yamane
山根 温夫
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 Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP1325306A priority Critical patent/JPH03186940A/en
Publication of JPH03186940A publication Critical patent/JPH03186940A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To eliminate a process for displaying a type in a microcomputer by discriminating the type of the microcomputer which cannot apparently be discriminated through the use of the function of the microcomputer. CONSTITUTION:Four kinds of microcomputers 2A-2D in which storage constant are different are assumed as one example. They are used as the microcomputer 2 and they cannot apparently be discriminated. Thus, THW and THA are used as inspection analog signals and the values are respectively set. Respective microcomputers 2A-2D recognize the combination of THW and THA, which are set for the types for themselves by characteristic inspection programs. When the microcomputer 2A can recognize that THW=0V and THA=0V, an output OK which is that a result is good is outputted from a discrimination terminal VF, and an output NG which is that the result is not good is outputted if it cannot recognize it. Consequently, it can be judged that ECU mounts the mistaken microcomputer when NG is outputted in such inspection. Thus, the process for displaying the type in the microcomputer is eliminated.

Description

【発明の詳細な説明】 〔概 要〕 外観上からは判別できないマイクロコンピュータの種別
検査方法に関し、 ハード面からの構成を追加することなく簡易に種別判定
できるようにすることを目的とし、外部のアナログ信号
を入力する入力端子と、該アナログ信号をデジタル信号
に変換するA/Dコンバータと、該デジタル信号を取込
んで所定の処理をするマイクロコンピュータと、該マイ
クロコンピュータを検査モードにするテスト端子と、該
マイクロコンピュータの検査結果を出力する判別端子と
を備える電子制御ユニットのマイクロコンピュータの種
別検査方法において、前記マイクロコンピュータに種別
固有の検査プログラムを内蔵させ、核検査プログラムに
より、前記入力端子から入力した検査用アナログ信号の
値を確認させ、その結果を前記判別端子から出力させる
よう構戒する。
[Detailed Description of the Invention] [Summary] Regarding a method for testing the type of a microcomputer that cannot be determined from its appearance, the purpose of this method is to easily determine the type without adding any hardware configuration. An input terminal that inputs an analog signal, an A/D converter that converts the analog signal into a digital signal, a microcomputer that takes in the digital signal and performs predetermined processing, and a test terminal that puts the microcomputer into test mode. and a determination terminal for outputting an inspection result of the microcomputer, in which the microcomputer is equipped with a type-specific inspection program, and the nuclear inspection program allows the microcomputer to output the inspection result from the input terminal. The value of the input test analog signal is checked, and the result is outputted from the discrimination terminal.

〔産業上の利用分野〕[Industrial application field]

本発明は外観上からは判別できないマイクロコンピュー
タの種別検査方法に関する。
The present invention relates to a method for inspecting the type of microcomputer that cannot be determined from its appearance.

車載用の電子制御ユニットは、基板上にマイクロコンピ
ュータ(以下、マイコンと略称する)やA/Dコンバー
タを実装するハード構成を共通にしても、マイコンのプ
ログラムで使用する定数を変更する程度で異なる車種に
も適用できるので、実際にそのように製造されることが
ある。この様な場合、要請された車種に対し定数の違う
マイコンを実装した電子制御ユニットを製造してしまう
と問題であるので、出荷前にそのチエツクをする必要が
ある。
Even if automotive electronic control units share the same hardware configuration with a microcomputer (hereinafter referred to as microcomputer) and an A/D converter mounted on the board, they differ only by changing the constants used in the microcomputer's program. It can also be applied to car models, so they may actually be manufactured that way. In such a case, it would be a problem to manufacture an electronic control unit equipped with a microcomputer with different constants for the requested vehicle type, so it is necessary to check this before shipping.

〔従来の技術〕[Conventional technology]

車両で使用される電子制御ユニッl−(ECU)には、
エンジン制御用、変速制御用、定速走行制御用等がある
が、これらはマイコンを用いることにより少ない部品点
数で構成される。このマイコンはECU用基根基板上ア
ナログ信号入力用のA/Dコンバータや負荷駆動用のド
ライバと共に実装される。
The electronic control unit (ECU) used in vehicles includes
There are types for engine control, speed change control, constant speed driving control, etc., and these are configured with a small number of parts by using a microcomputer. This microcomputer is mounted on the ECU base board together with an A/D converter for inputting analog signals and a driver for driving the load.

用途の同じECLJはハード構成はもとより、マイコン
のプログラムの大半を共用して他の車種にも通用できる
ことが多い。最も簡単には、車種別の特性に合わせてマ
イコン内に記憶させる定数を変更するだけで済む。とこ
ろが、内部定数の異なるマイコンといえども外観上は全
く区別できないので、誤って別の車種用マイコンを実装
したECUを製造してしまうと、これを搭載した車両で
は充分な制御性能を得られないこともある。
ECLJs with the same purpose can often be used with other car models by sharing not only the hardware configuration but also most of the microcomputer programs. The simplest method is to simply change the constants stored in the microcontroller to match the characteristics of each vehicle type. However, even if the microcomputers have different internal constants, they cannot be distinguished visually, so if you mistakenly manufacture an ECU with a microcontroller for a different car model, the vehicle equipped with this will not be able to obtain sufficient control performance. Sometimes.

このため従来は、プログラムを記憶させたマイコンの表
面に種別を示す固有の品番(マイコンの型式を示すもの
とは別)を印刷し、これを目視または光学的に読取るこ
とによりマイコン種別を判定している。
For this reason, conventionally, a unique product number indicating the type (separate from the one indicating the microcontroller model) was printed on the surface of the microcontroller in which the program was stored, and this was read visually or optically to determine the microcontroller type. ing.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来の種別判定方法では、ECUを製造
する本来の工程とは別に、種別を示す品番を印刷する工
程が必要となるため、製造コストが上昇する欠点がある
。また表示チエツクは他の電気的検査とは別体系で行う
ため、一連の検査を連続して行うことができない欠点が
ある。
However, the conventional type determination method requires a step of printing a product number indicating the type in addition to the original process of manufacturing the ECU, which has the disadvantage of increasing manufacturing costs. Furthermore, since the display check is performed in a separate system from other electrical tests, there is a drawback that a series of tests cannot be performed continuously.

本発明は、マイコンの機能を利用することにより、ハー
ド面からの構成を追加することなく、簡易にマイコン種
別を判定できるようにするものである。
The present invention makes it possible to easily determine the type of microcomputer by utilizing the functions of the microcomputer without adding any hardware configuration.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、外部のアナログ信号を入力する入力端子と、
該アナログ信号をデジタル信号に変換するA/Dコンバ
ータと、該デジタル信号を取込んで所定の処理をするマ
イクロコンピュータと、該マイクロコンピュータを検査
モードにするテスト端子と、該マイクロコンピュータの
検査結果を出力する判別端子とを備える電子制御ユニッ
トのマイクロコンピュータの種別検査方法において、前
記マイクロコンピュータに種別固有の検査プログラムを
内蔵させ、該検査プログラムにより、前記入力端子から
入力した検査用アナログ信号の値を確認させ、その結果
を前記判別端子から出力させることを特徴とするもので
ある。
The present invention includes an input terminal for inputting an external analog signal;
An A/D converter that converts the analog signal into a digital signal, a microcomputer that takes in the digital signal and performs predetermined processing, a test terminal that puts the microcomputer into an inspection mode, and a test terminal that outputs the inspection results of the microcomputer. In the method for testing the type of a microcomputer of an electronic control unit, the microcomputer is equipped with a type-specific testing program, and the testing program determines the value of the testing analog signal input from the input terminal. The device is characterized in that it is checked and the result is outputted from the determination terminal.

〔作用〕[Effect]

本発明では予めマイコンに種別固有の検査プログラムを
内蔵させておくが、これは他のプログラムと同時に書込
ことかできるので特別の工程を必要としない。また、検
査用のアナログ信号を使用するが、これも既設の入力端
子から入力できるので特別な端子を追加する必要がない
。この検査用アナログ信号の値を検査用プログラムで確
認し、それが適正なものであれば、そのマイコンの種別
が搭載車載のECUに適合していると判定できる。
In the present invention, a type-specific inspection program is built into the microcomputer in advance, but this can be written at the same time as other programs, so no special process is required. Furthermore, an analog signal for inspection is used, but this can also be input from an existing input terminal, so there is no need to add a special terminal. The value of this test analog signal is confirmed by a test program, and if it is appropriate, it can be determined that the type of microcomputer is compatible with the ECU installed in the vehicle.

この検査プログラムを起動するテスト端子や、確認結果
を出力する判別端子にも既存のものを利用できるので、
ハード面での追加は一切必要としない。
Existing test terminals for starting this inspection program and discrimination terminals for outputting confirmation results can be used.
No additional hardware is required.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す構成図で、ECUの概
略を示しである。このECLJは基板上にA/Dコンバ
ータ1とマイコン2を実装し、また外部端子として入力
端子IN、テスト端子T、判別端子(サービスチエツク
端子)VFを設けである。入力端子INからはアナログ
信号が入力し、これがA/Dコンバータlでデジタル信
号(AD値)に変換されてマイコン2に取込まれる。を
子燃料噴射制御を例にすると、アナログ信号には水温T
HW、吸気温THA、吸気管負圧P0等があり、これら
が入力端子IN、〜IN、からそれぞれ入力する。マイ
コン2はこれらのAD値を選択しながら取込むことがで
きる。
FIG. 1 is a block diagram showing an embodiment of the present invention, and shows an outline of an ECU. This ECLJ has an A/D converter 1 and a microcomputer 2 mounted on a board, and is also provided with an input terminal IN, a test terminal T, and a discrimination terminal (service check terminal) VF as external terminals. An analog signal is input from the input terminal IN, and this is converted into a digital signal (AD value) by the A/D converter 1 and taken into the microcomputer 2. Taking child fuel injection control as an example, the analog signal includes water temperature T.
HW, intake air temperature THA, intake pipe negative pressure P0, etc. are inputted from input terminals IN, ~IN, respectively. The microcomputer 2 can select and import these AD values.

マイコン2は、通常の制御モードでは各入力の値を参照
しながら燃料噴射fit(時間)を調整するが、テスト
端子Tに類似マイコン検査スタート信号を入力すると検
査モードになり、内蔵の検査プログラムを実行して入力
の値を確認する。
In the normal control mode, the microcomputer 2 adjusts the fuel injection fit (time) while referring to the values of each input, but when a similar microcomputer inspection start signal is input to the test terminal T, it enters the inspection mode and runs the built-in inspection program. Run it and check the values of the inputs.

−例として、記憶定数を異ならせた4種類のマイコン2
A〜2Dを想定する。これらはいずれも第1図のECU
のマイコン2として用いられるが、外観上は区別できな
い、そこで、検査用アナログ信号としてT’ HWとT
HAを用い、その値を下表のように設定する。
-As an example, four types of microcontrollers with different memory constants2
Assuming A to 2D. These are all ECUs shown in Figure 1.
It is used as the microcomputer 2 of the microcomputer 2, but it cannot be distinguished from the outside, so T' HW and T are used as analog signals for inspection.
Use HA and set the values as shown in the table below.

表1 THW (水温)+TlIA(吸気温)は周囲温度やエ
ンジン状態によって変化するが、その変化域は通常動作
時には限られている。表1で示したTHW、THAの値
はこの通常動作域外で設定した特殊な値である。このよ
うな値5V、OVを表1のように4通りのマイコン2A
〜2Dを区別するように組合せる。
Table 1 THW (water temperature) + TlIA (intake temperature) changes depending on the ambient temperature and engine condition, but the range of change is limited during normal operation. The values of THW and THA shown in Table 1 are special values set outside this normal operating range. This value of 5V, OV is set to 4 types of microcontroller 2A as shown in Table 1.
- Combine 2D to differentiate.

各マイコン2A〜2Dは自らの種別用に設定されたTH
W、THAの組合せを固有の検査プログラムで確認する
。そして、マイコン2AがTHW=OV、THA=OV
であることを確認できれば判別端子VFから結果良の出
力OKを出力し、確認できなければ結果台の出力NGを
出力する。他のマイコン2B〜2Dについても同様であ
る。このような検査でNGが出力されたとき、そのEC
Uは間違ったマイコンを実装していると判定できる。
Each microcomputer 2A to 2D has a TH set for its own type.
The combination of W and THA is confirmed using a unique inspection program. Then, microcontroller 2A has THW=OV, THA=OV
If it is confirmed that the result is OK, an OK output is output from the determination terminal VF, and if it is not confirmed, an NG output is output from the result stand. The same applies to the other microcomputers 2B to 2D. When an NG is output in such a test, the EC
It can be determined that U has the wrong microcontroller installed.

3種類のアナログ信号THW、THA、Pi、を用いる
と8通りのマイコンを判別できる。第2図はこのときの
検査方法の概略を示している。検査装置からE CU 
O)各端子I Nl〜I Ns、 T、 V Fにテス
トピンを立てたら、ステップS1で検査スタート電源を
ONにする0次いでステップs2でテスト端子Tに!!
似マイコン検査スタート信号(ここでは一定周期でOv
と5vを繰り返すDu ty倍信号を入力し、マイコン
の検査プログラムを起動して検査モードにする。続くス
テップS3で入力端子IN、〜IN、からT HW 、
 T HA 、 P r −の各検査値を入力し、その
結果端子VFに出力されるレベルからNGかOKかを判
定する(ステップS4)、OKであればステップS5で
次の検査へ移るが、NGであればステップS6で検査の
継続をストップする。この類似マイコン検査は全検査項
目の先頭で行うと良い。
By using three types of analog signals THW, THA, and Pi, eight types of microcontrollers can be identified. FIG. 2 shows an outline of the inspection method at this time. ECU from inspection equipment
O) After setting up the test pins at each terminal I Nl to I Ns, T, and V F, start the test in step S1. Turn on the power supply. Then, in step s2, set the test pin to the test terminal T! !
Similar microcomputer inspection start signal (here Ov at a constant cycle)
Input the duty multiplied signal that repeats 5V and start the microcomputer's inspection program to set it to inspection mode. In the following step S3, from the input terminals IN, ~IN, T HW,
Each test value of T HA and P r - is input, and it is determined from the level outputted to the terminal VF whether it is NG or OK (step S4). If it is OK, the next test is performed in step S5. If it is NG, the continuation of the inspection is stopped in step S6. It is best to perform this similar microcomputer test at the beginning of all test items.

第3図は上述した類似マイコン検査時の各部の状態を示
すタイムチャートである。THW (水温)とTHA 
(吸気温〉は85°C〜−30℃の変化域を予想し、検
査時にはいずれも0°Cとする。一方、P、(吸気管負
圧)は0PEN (開放)〜0舗Hgの変化域をF想し
、検査時にはO関H@とする。これらの値は一部は通常
の変化域にあるが、組合せると通常動作では生しにくい
入力になる。検査時にはテスト端子TをOFFからON
に立上げ、その結果を判別端子VFから読取る。
FIG. 3 is a time chart showing the state of each part during the above-mentioned similar microcomputer inspection. THW (water temperature) and THA
(Intake air temperature) is expected to vary from 85°C to -30°C, and will be set to 0°C at the time of inspection. On the other hand, P, (intake pipe negative pressure) will change from 0PEN (open) to 0 Hg. Assume that the range is F, and during the test, set the value to 0.Some of these values are in the normal variation range, but when combined, they become inputs that are difficult to generate during normal operation.During the test, turn off the test terminal T. ON from
The result is read from the discrimination terminal VF.

尚、テスト端子TはECUの動作チエツク用に設けたも
のを兼用できる。このチエツクはダイアグノーシス表示
出力端子WからECU正常時には正常コードを、またE
CU異常時には異常コードを出力させるためのものであ
る。
Note that the test terminal T provided for checking the operation of the ECU can also be used. This check outputs a normal code from the diagnosis display output terminal W when the ECU is normal, and a normal code from the diagnosis display output terminal W.
This is to output an abnormality code when the CU is abnormal.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明によれば、外観上区別のつかな
いマイコンの種別を、マイコンの機能を利用して判別す
るようにしたので、マイコンに種別表示する別工程が不
要になる。また、種別判定0 を電気的に行えるので、他の電気的検査と同し準備状態
で実施できる利点がある。
As described above, according to the present invention, the type of the microcomputer, which is indistinguishable in appearance, is determined using the functions of the microcomputer, so a separate step of displaying the type on the microcomputer is not necessary. Furthermore, since the type determination 0 can be performed electrically, there is an advantage that it can be performed in the same preparation state as other electrical tests.

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

第1図は本発明の一実施例を示す構成国、第2図は本発
明の検査手順を示すフローチャート、 第3図は本発明の検査条件を示すタイムチャートである
。 図中、lはA/Dコンバータ、2はマイクロコンピュー
タ、ECUは電子制御ユニット、INは入力端子、Tは
テスト端子、VFは判別端子である。 出 願 人 富士通テン株式会社
FIG. 1 is a constituent country showing an embodiment of the present invention, FIG. 2 is a flowchart showing the inspection procedure of the present invention, and FIG. 3 is a time chart showing the inspection conditions of the present invention. In the figure, l is an A/D converter, 2 is a microcomputer, ECU is an electronic control unit, IN is an input terminal, T is a test terminal, and VF is a discrimination terminal. Applicant Fujitsu Ten Ltd.

Claims (1)

【特許請求の範囲】 1、外部のアナログ信号を入力する入力端子(IN)と
、 該アナログ信号をデジタル信号に変換するA/Dコンバ
ータ(1)と、 該デジタル信号を取込んで所定の処理をするマイクロコ
ンピュータ(2)と、 該マイクロコンピュータを検査モードにするテスト端子
(T)と、 該マイクロコンピュータの検査結果を出力する判別端子
(VF)とを備える電子制御ユニットのマイクロコンピ
ュータの種別検査方法において、前記マイクロコンピュ
ータに種別固有の検査プログラムを内蔵させ、 該検査プログラムにより、前記入力端子(IN)から入
力した検査用アナログ信号の値を確認させ、その結果を
前記判別端子(VF)から出力させることを特徴とする
マイクロコンピュータの種別検査方法。
[Claims] 1. An input terminal (IN) for inputting an external analog signal; an A/D converter (1) for converting the analog signal into a digital signal; A microcomputer type test for an electronic control unit comprising: a microcomputer (2) that performs a test; a test terminal (T) that sets the microcomputer in test mode; and a discrimination terminal (VF) that outputs a test result of the microcomputer. In the method, a type-specific test program is built into the microcomputer, the test program checks the value of the test analog signal input from the input terminal (IN), and the result is sent from the discrimination terminal (VF). A microcomputer type inspection method characterized by outputting.
JP1325306A 1989-12-15 1989-12-15 Method for inspecting type of microcomputer Pending JPH03186940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1325306A JPH03186940A (en) 1989-12-15 1989-12-15 Method for inspecting type of microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1325306A JPH03186940A (en) 1989-12-15 1989-12-15 Method for inspecting type of microcomputer

Publications (1)

Publication Number Publication Date
JPH03186940A true JPH03186940A (en) 1991-08-14

Family

ID=18175348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1325306A Pending JPH03186940A (en) 1989-12-15 1989-12-15 Method for inspecting type of microcomputer

Country Status (1)

Country Link
JP (1) JPH03186940A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58197551A (en) * 1982-05-12 1983-11-17 Mitsubishi Electric Corp Function checking system of on-vehicle digital computer device
JPS6382380A (en) * 1986-09-26 1988-04-13 Nec Corp Integrated circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58197551A (en) * 1982-05-12 1983-11-17 Mitsubishi Electric Corp Function checking system of on-vehicle digital computer device
JPS6382380A (en) * 1986-09-26 1988-04-13 Nec Corp Integrated circuit

Similar Documents

Publication Publication Date Title
US5003477A (en) Diagnosis system for a motor vehicle
US5005129A (en) Diagnosis system for a motor vehicle
US4926330A (en) Diagnosis system for a motor vehicle
US5003478A (en) Diagnosis system for a motor vehicle
US5050080A (en) Diagnostic system for a motor vehicle
US4267569A (en) Micro-computer system for control and diagnosis of motor vehicle functions
US4967143A (en) System for diagnosing anomalies or breakdowns in a plurality of types of electronic control systems installed in motor vehicles
US4996643A (en) Diagnosis system for a motor vehicle
GB2210179A (en) Diagnostic system for vehicles
GB2216290A (en) Diagnosing an electronic control system for controlling a motor vehicle engine
JPH06505341A (en) Automotive interactive diagnostic device and method
GB2224372A (en) Diagnostic system for a motor vehicle
GB2213609A (en) An engine fault diagnosis system
JPS6378041A (en) Fault diagnosing device for vehicle
JPH0822308A (en) Vehicle control device
GB2213608A (en) Fault diagnosis system for a motor vehicle
JPS63133201A (en) Vehicle controller
JPS63133202A (en) Vehicle controller
JPH03186940A (en) Method for inspecting type of microcomputer
GB2222701A (en) Engine diagnosis
JPH0330882B2 (en)
JPS62131343A (en) Diagnostic display system for electronic equipment on vehicle
JPH02163670A (en) Fault diagnostic device for control unit for automobile
JPH07210237A (en) Self-diagnostic device for on-vehicle electronic control circuit
CN219715618U (en) Load assembly