JPH0413666B2 - - Google Patents
Info
- Publication number
- JPH0413666B2 JPH0413666B2 JP57204257A JP20425782A JPH0413666B2 JP H0413666 B2 JPH0413666 B2 JP H0413666B2 JP 57204257 A JP57204257 A JP 57204257A JP 20425782 A JP20425782 A JP 20425782A JP H0413666 B2 JPH0413666 B2 JP H0413666B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- control
- operating state
- control unit
- data
- 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.)
- Expired - Lifetime
Links
- 230000005540 biological transmission Effects 0.000 claims description 41
- 230000005856 abnormality Effects 0.000 claims description 34
- 238000012360 testing method Methods 0.000 claims description 24
- 230000002159 abnormal effect Effects 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 13
- 238000012806 monitoring device Methods 0.000 claims description 11
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000013500 data storage Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 5
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims 2
- 238000000034 method Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 15
- 239000013307 optical fiber Substances 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 7
- 238000007689 inspection Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000009429 electrical wiring Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000012212 insulator Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Testing Electric Properties And Detecting Electric Faults (AREA)
Description
【発明の詳細な説明】
この発明は自動車の集約配線システムにおける
モニタ装置に関し、特に自動車の車体の各所に設
けられたランプ類や各種センサなどの制御対象の
動作異常をモニタする装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a monitoring device in an automobile integrated wiring system, and more particularly to a device for monitoring malfunctions of controlled objects such as lamps and various sensors provided in various parts of the automobile body.
最近、自動車に装備されたランプ類や各種セン
サなどの制御対象の増加に伴い、電気配線が複雑
となり、誤配線を生じやすく、使用電線量が増加
して高価になるという問題点が生じる。これを解
消するために、1本のデータ伝送ライン(制御信
号線)で多数の制御対象を遠隔的に制御する集約
配線システムが提案されている。この制御信号線
としては、電線を用いるもの、または光フアイバ
を用いるものがある。いずれにしても、データ伝
送ラインの一方端には、中央処理装置(CPU)
を含む中央制御部が設けられる。中央制御部は、
操作スイツチの操作状態に応答して、データ伝送
ラインの他方端に接続されている制御対象を遠隔
的に制御するものである。 Recently, with the increase in the number of objects to be controlled such as lamps and various sensors installed in automobiles, problems arise in that electrical wiring becomes complicated, wiring errors are likely to occur, and the amount of electrical wires used increases, making it expensive. In order to solve this problem, an integrated wiring system has been proposed that remotely controls a large number of control objects using one data transmission line (control signal line). This control signal line may be an electric wire or an optical fiber. In any case, at one end of the data transmission line there is a central processing unit (CPU)
A central control unit is provided including: The central control unit is
The control object connected to the other end of the data transmission line is remotely controlled in response to the operating state of the operating switch.
ところが、集約配線システムにおいては、制御
対象がランプ類の場合、ランプ切れによつて正常
な動作を行なえないのか、または中央制御部と端
末制御部とのデータ伝送異常によつて正常に動作
しないのか判明できず、各種の制御対象の異常検
出を正確に行なえない問題点があつた。 However, in an integrated wiring system, if the controlled object is a lamp, it may not operate normally due to a burnout of the lamp, or may not operate normally due to an abnormality in data transmission between the central control unit and the terminal control unit. There was a problem in that it was not possible to accurately detect abnormalities in various controlled objects.
そこで、中央制御部に動作異常の判断機能を持
たせて、インストルメントパネルなどに設けた異
常表示のためのランプ類で異常状態を表示するこ
とが考えられる。ところが、そのような異常表示
を行なうものは、インストルメントパネルの表示
部の数が増加し、コストアツプになるとともに、
運転者がその他の計器類や表示ランプと見誤りや
すく、安全運転の妨げとなる問題点に遭遇する。 Therefore, it is conceivable to provide the central control unit with a function of determining abnormal operation, and to display abnormal conditions using lamps for indicating abnormalities provided on an instrument panel or the like. However, devices that display such abnormal displays require an increase in the number of display sections on the instrument panel, which increases costs and increases costs.
Drivers can easily mistake them for other instruments or indicator lamps, causing problems that impede safe driving.
それゆえに、この発明の目的は、自動車の集約
配線システムにおいて、複数の制御対象の動作異
常状態を原因別に検出でき、保守点検の際に容易
に異常状態を知ることができ、安全運転に役立つ
ような、自動車の集約配線システムにおけるモニ
タ装置を提供することである。 Therefore, an object of the present invention is to enable detection of abnormal operation states of multiple controlled objects by cause in an automobile centralized wiring system, to easily know abnormal states during maintenance and inspection, and to be useful for safe driving. Another object of the present invention is to provide a monitoring device for an automobile integrated wiring system.
この発明は、要約すれば、自動車に装備される
複数の制御対象を配設位置の近いものでグループ
化し、各グループに含まれる制御対象を対応する
端末制御部によつて制御可能に構成し、1つの中
央制御部と各端末制御部とをデータ伝送ラインで
接続する。中央制御部は端末制御部の動作状態ま
たは各端末制御部に設けられた複数の制御対象の
動作状態をテストし、その結果を記憶手段に記憶
しておく、そして、自動車がサービスステーシヨ
ンなどで保守点検をする際に、記憶手段の内容を
サービスステーシヨンに設けられた動作状態モニ
タ手段へ転送する。動作状態モニタ手段は、収集
したデータに基づいて各端末制御部別の動作異常
の有無および各端末制御部に対応する複数の制御
対象ごとの動作異常の有無を判断して、その判断
結果を視覚的に認識可能な態様(表示または印
字)によつて知らせるようにしたものである。 In summary, the present invention groups a plurality of control objects installed in an automobile according to their installation positions, and configures the control objects included in each group to be controllable by a corresponding terminal control unit. A data transmission line connects one central control unit and each terminal control unit. The central control unit tests the operational status of the terminal control unit or the operational status of a plurality of control objects provided in each terminal control unit, stores the results in a storage means, and then returns the vehicle to a service station or the like for maintenance. When performing an inspection, the contents of the storage means are transferred to an operating state monitoring means provided at the service station. The operating state monitoring means determines the presence or absence of an operational abnormality for each terminal control unit and each of the plurality of controlled objects corresponding to each terminal control unit based on the collected data, and visually displays the determination result. This notification is provided in a visually recognizable manner (display or print).
以下に、図面を参照してこの発明の具体的な実
施例について説明する。 Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.
第1図はこの発明が適用される自動車の集約配
線システムの概略を示すブロツク図である。構成
において、自動車の運転席に近い箇所(たとえば
ダツシユボードの下)には、中央制御部の一例の
マスタプロセツサ(以下はマスタMPU)10が
設けられる。マスタMPU10には、蓄電池1か
ら直流電圧が供給される。マスタMPU10には、
操作手段2Aおよび指示器2Bが接続される。操
作手段2Aは、たとえばインストルメントパネル
またはハンドルに関連して設けられる各種の操作
スイツチを含む。 FIG. 1 is a block diagram schematically showing an integrated wiring system for an automobile to which the present invention is applied. In the configuration, a master processor (hereinafter referred to as master MPU) 10, which is an example of a central control unit, is provided at a location near the driver's seat of the automobile (for example, under the dash board). A DC voltage is supplied to the master MPU 10 from the storage battery 1. The master MPU10 has
Operating means 2A and indicator 2B are connected. The operating means 2A includes various operating switches provided, for example, in relation to an instrument panel or a steering wheel.
さらに、マスタMPU10には、自動車の適宜
の箇所に設けられた端末制御部の一例の端末プロ
セツサ(以下端末MPU)20A〜20Dがケー
ブル30A〜30Dを介して接続される。各端末
MPU20A〜20Dには、複数の制御対象およ
び/または検出対象(以下これらを総称する場合
は制御対象群という)40A〜40Dが接続され
る。ここで、制御対象とは、後述の第2A図〜第
2D図を参照して説明するように、各種のランプ
やワイパなどの自動車に装備される電装部品をい
う。検出対象とは、各種のセンサ類であつて、自
動車のインストルメントパネルに含まれる各種指
示器の対象となるものを検出するものである。こ
れらの制御対象群40A〜40Dは、複数の制御
対象を配置位置の近いものでグループ化したもの
であつて、各グループに対応する端末MPU20
A〜20Dによつて制御されるものである。ここ
で、図示では、端末MPUが4個の場合を示して
いるが、これは自動車の前後および左右に各種制
御対象を分けてグループ化した場合を表わすため
である。その目的で、制御対象群40Aは自動車
の前左部分に設けられる各種制御対象を含み、端
末MPU20Aは自動車の前左側部分に近い位置
に設けられる。同様にして、制御対象群40B,
40Cおよび40Dは自動車の前右側部分、後左
側部分および後右側部分にそれぞれ関連的に設け
られ、それに対応して端末MPU20B,20C
および20Dが設けられる。 Furthermore, terminal processors (hereinafter referred to as terminal MPUs) 20A to 20D, which are examples of terminal control units provided at appropriate locations in the automobile, are connected to the master MPU 10 via cables 30A to 30D. Each terminal
A plurality of control objects and/or detection objects (hereinafter collectively referred to as a group of control objects) 40A to 40D are connected to the MPUs 20A to 20D. Here, the controlled object refers to electrical components such as various lamps and wipers that are installed in an automobile, as will be explained with reference to FIGS. 2A to 2D, which will be described later. Detection targets are various sensors that are detected by various indicators included in the instrument panel of an automobile. These control object groups 40A to 40D are a plurality of control objects grouped according to their arrangement positions, and each group has a corresponding terminal MPU 20.
It is controlled by A to 20D. Here, although the illustration shows a case where there are four terminal MPUs, this is to represent a case where various control objects are divided and grouped on the front, rear, left and right sides of the automobile. For this purpose, the controlled object group 40A includes various controlled objects provided at the front left portion of the automobile, and the terminal MPU 20A is provided at a position close to the front left portion of the automobile. Similarly, the controlled object group 40B,
40C and 40D are provided in relation to the front right part, the rear left part, and the rear right part of the automobile, respectively, and the terminals MPU 20B, 20C are connected thereto.
and 20D are provided.
第2A図〜第2D図は各端末MPU20A〜2
0Dの出力端子または入力端子に関連的に接続さ
れる制御対象または検出対象の一例を図解的に示
した図である。したがつて、各出力端子には、図
示している各種の制御対象の信号線またはこれら
の制御対象を動作状態にさせるためのスイツチが
関連的に接続されるものである。図示から明らか
なように、各端末MPU20A〜20Dの出力端
子および入力端子は、それぞれ一定ビツト数(た
とえば8ビツト)からなり、1つのビツトから出
力される論理状態によつて制御対象の動作状態を
制御するものである。なお、第2B図および第2
C図に示すように、端末MPU20B,20Cの
それぞれに入力されるデータは、検出対象の一例
の水温を検出するためのセンサまたはガソリン量
を検出するためのセンサによつて検出された値で
ある。 Figures 2A to 2D show each terminal MPU20A to 2.
FIG. 2 is a diagram schematically showing an example of a controlled object or a detected object connected to an output terminal or an input terminal of 0D. Therefore, each output terminal is connected to a signal line for the various control objects shown in the figure or a switch for activating these control objects. As is clear from the illustration, the output terminal and input terminal of each terminal MPU 20A to 20D each consist of a fixed number of bits (for example, 8 bits), and the operating state of the controlled object is determined by the logic state output from one bit. It is something to control. In addition, Figure 2B and Figure 2
As shown in Figure C, the data input to each of the terminal MPUs 20B and 20C is a value detected by a sensor for detecting the water temperature or a sensor for detecting the amount of gasoline, which is an example of the detection target. .
さらに、第2A図〜第2D図では図示を省略し
ているが、各端末MPU20A〜20Dのそれぞ
れには各制御対象の検出電流が入力される。 Further, although not shown in FIGS. 2A to 2D, the detected current of each controlled object is input to each terminal MPU 20A to 20D, respectively.
また、この実施例では、マスタMPU10自体
も端末としての機能を有しており、その入力端子
には第2E図に示すような主として操作手段(ス
イツチ手段)や指示器類が接続されている。図示
のように操作手段の数が1バイト(たとえば8ビ
ツト)よりも多い場合であれば、複数バイトです
べての操作手段の出力を入力として受ける。 Furthermore, in this embodiment, the master MPU 10 itself has a function as a terminal, and its input terminals are mainly connected to operating means (switch means) and indicators as shown in FIG. 2E. If the number of operating means is more than 1 byte (for example, 8 bits) as shown in the figure, the outputs of all the operating means are received as input using a plurality of bytes.
これらの各端末MPU20A〜20Dおよびマ
スタMPU10に接続される制御対象および検出
対象の種類は、一例を示したのにすぎず、自動車
の機種や車種によつて異なるものである。 The types of objects to be controlled and objects to be detected connected to each of these terminal MPUs 20A to 20D and the master MPU 10 are merely examples, and differ depending on the model and type of vehicle.
第3図はケーブル30A〜30Dの具体的な構
成を示す断面図である。ケーブル30A〜30D
は、その中心部に電源ラインの一例のパワーライ
ン31を含む。パワーライン31の周囲部分に
は、1組のシステム電源用ライン32および1組
の光フアイバ331,332を含むデータ伝送ラ
イン33が配置される。各ラインまたは光バツフ
アの周囲部分が絶縁物34で被覆される。 FIG. 3 is a sectional view showing the specific structure of cables 30A to 30D. Cable 30A~30D
includes a power line 31, which is an example of a power supply line, in its center. A data transmission line 33 including a set of system power lines 32 and a set of optical fibers 331 and 332 is arranged around the power line 31 . The peripheral portion of each line or optical buffer is covered with an insulator 34.
第4図はこの発明の特徴となる集約配線システ
ムにおけるモニタ装置の一実施例の具体的な回路
図である。なお、図示の実施例では、マスタ
MPU10と1つの端末MPU(例えば20A)と
の関係を示す。 FIG. 4 is a specific circuit diagram of an embodiment of a monitor device in an integrated wiring system, which is a feature of the present invention. Note that in the illustrated embodiment, the master
The relationship between the MPU 10 and one terminal MPU (for example, 20A) is shown.
構成において、マスタMPU10は、中央処理
装置(以下CPU)11を含む。CPU11には、
バスライン12を介してプログラム記憶用メモリ
(以下ROM)13、データ記憶用メモリ(以下
RAM)14、伝送制御回路15および入出力イ
ンタフエース16が接続される。また、マスタ
MPU10には、各部に電力を供給するためのシ
ステム電源回路17が接続される。RAM14に
は、その記憶内容を外部からダイレクトアクセス
で読出すためのソケツト18が接続される。入出
力インタフエース16には、各端末MPU20A
〜20Dに対応する複数の制御対象の動作状態を
指示または選択するための操作手段2Aおよび各
種指示器2Bが接続される。操作手段2Aには、
複数の操作スイツチ2a〜2nが含まれる。 In the configuration, the master MPU 10 includes a central processing unit (hereinafter referred to as CPU) 11. CPU11 has
A program storage memory (hereinafter referred to as ROM) 13 and a data storage memory (hereinafter referred to as ROM) are connected via a bus line 12.
RAM) 14, transmission control circuit 15, and input/output interface 16 are connected. Also, the master
A system power supply circuit 17 for supplying power to each part is connected to the MPU 10. A socket 18 is connected to the RAM 14 for reading the stored contents from the outside by direct access. The input/output interface 16 has an MPU 20A for each terminal.
An operating means 2A and various indicators 2B for instructing or selecting the operating states of a plurality of controlled objects corresponding to 20D are connected. The operating means 2A includes
A plurality of operation switches 2a to 2n are included.
伝送制御回路15には、各ケーブル30A〜3
0D(図示では30Aのみを示す)に含まれる1
対の光フアイバ331,332に対応して、送信
バツフアアンプ51a〜51dおよび受信バツフ
アアンプ58a〜58dが接続される。 The transmission control circuit 15 includes each cable 30A to 3.
1 included in 0D (only 30A is shown in the diagram)
Transmitting buffer amplifiers 51a-51d and receiving buffer amplifiers 58a-58d are connected to the paired optical fibers 331, 332.
端末MPU(たとえば20A)は、CPU21を
含み、バスライン22を介してCPU21に接続
されるROM23、RAM24、伝送制御回路2
5および入出力インタフエース26を含む。さら
に端末MPU20Aは、各部に電力を供給するた
めのシステム電源回路27を含む。伝送制御回路
25には、受信バツフアアンプ54aおよび送信
バツフアアンプ55aが接続される。送信バツフ
アアンプ51aと受信バツフアアンプ54aと
は、光結合器52a、光フアイバ331および光
結合器53aを介して接続される。送信バツフア
55aと受信バツフア58aとは、光結合器56
a、光フアイバ332、光結合器57aを介して
接続される。システム電源回路27は、システム
電源ライン32を介して蓄電池1に接続される。 The terminal MPU (for example, 20A) includes a CPU 21, and a ROM 23, a RAM 24, and a transmission control circuit 2 connected to the CPU 21 via a bus line 22.
5 and an input/output interface 26. Furthermore, the terminal MPU 20A includes a system power supply circuit 27 for supplying power to each part. A reception buffer amplifier 54a and a transmission buffer amplifier 55a are connected to the transmission control circuit 25. The transmitting buffer amplifier 51a and the receiving buffer amplifier 54a are connected via an optical coupler 52a, an optical fiber 331, and an optical coupler 53a. The transmitting buffer 55a and the receiving buffer 58a are connected to an optical coupler 56.
a, an optical fiber 332, and an optical coupler 57a. System power supply circuit 27 is connected to storage battery 1 via system power supply line 32 .
制御対象群40Aに含まれる複数の制御対象、
たとえば前照灯410とワイパ415に関連し
て、駆動回路が設けられる。この駆動回路には、
前照灯410に直列接続されるパワースイツチ4
30およびダイオード441と、ワイパ415に
直列接続されるパワースイツチ435およびダイ
オード445などが含まれる。これらのパワース
イツチ430…435は、パワーライン31を介
して蓄電池1の+極端子に接続される。CPU2
1の出力で各パワースイツチ430…435を選
択的にオンまたはオフ動作させるために、ドライ
バ42が設けられる。 A plurality of controlled objects included in the controlled object group 40A,
For example, a drive circuit is provided in connection with headlight 410 and wiper 415. This drive circuit includes
Power switch 4 connected in series to headlight 410
30 and a diode 441, a power switch 435 and a diode 445 connected in series to the wiper 415, and the like. These power switches 430...435 are connected to the positive terminal of the storage battery 1 via the power line 31. CPU2
A driver 42 is provided to selectively turn each power switch 430...435 on or off with a single output.
なお、その他の端末MPU20B〜20Dは、
20Aと同様に回路構成され、接続される制御対
象群が異なるのみであるので、その詳細な構成を
省略する。 In addition, other terminals MPU20B to 20D are
The circuit configuration is the same as that of 20A, and the only difference is the group of controlled objects to be connected, so the detailed configuration will be omitted.
さらに、マスタMPU10には、この発明の特
徴となる動作状態のモニタ装置50が関連的に接
続される。この動作状態モニタ装置50は、通常
サービスステーシヨンなどのような自動車から離
れた場所に設けられるものであつて、自動車が保
守点検などでサービスステーシヨンへ来たとき、
マスタMPU10に関連的に接続されて、RAM
14の記憶内容を読取り、その記憶内容に基づい
て各端末MPU20A〜20Dの異常の有無、お
よび各端末MPU20A〜20Dに関連的に接続
された制御対象群40A〜40Dの動作異常を判
断して、その判断結果をモニタするものである。 Further, the master MPU 10 is connected to an operating state monitor device 50, which is a feature of the present invention. This operating state monitoring device 50 is usually installed at a location away from the vehicle, such as a service station, and when the vehicle comes to the service station for maintenance or inspection,
RAM connected to the master MPU 10
14, and based on the stored content, determine the presence or absence of an abnormality in each terminal MPU 20A to 20D, and the abnormal operation of the controlled object group 40A to 40D connected to each terminal MPU 20A to 20D, The judgment results are monitored.
より具体的には、動作状態モニタ装置50は、
CPU51を含む。このCPU51には、バスライ
ン52を介してプログラム記憶用メモリ
(ROM)53および出力駆動手段の一例の表示
駆動回路55が接続されるとともに、必要に応じ
てデータ記憶用メモリ(RAM)54が接続され
る。表示駆動回路55には、出力手段の一例の数
字表示器56および複数の表示部571〜57n
が接続される。この数字表示器56は、各端末
MPU別の複数の制御対象の動作異常のあつたも
のを複数桁のコードで表示するのに用いられる。
複数の表示部571〜57nは、発光ダイオード
または表示ランプ等が用いられ、各端末MPU別
の各制御対象(負荷)に対応して設けられる。そ
のため、必要に応じて、各表示部571〜57n
には対応する制御対象を示す識別情報(負荷番
号)が関連的に付けられる。また、表示部571
〜57nが1つの端末MPUに含まれる制御対象
の最大数(たとえば7個)設けられる場合は、数
字表示器56でどの端末MPUに対応するかを表
示することにより、数字表示器56と表示部57
1〜57nとの表示状態との組合せによつて動作
異常のある制御対象を表示するようにしてもよ
い。 More specifically, the operating state monitoring device 50 includes:
Includes CPU51. A program storage memory (ROM) 53 and a display drive circuit 55, which is an example of an output drive means, are connected to the CPU 51 via a bus line 52, and a data storage memory (RAM) 54 is connected as necessary. be done. The display drive circuit 55 includes a numeric display 56, which is an example of an output means, and a plurality of display sections 571 to 57n.
is connected. This number display 56 is
It is used to display malfunctions of multiple control targets for each MPU as a multi-digit code.
The plurality of display sections 571 to 57n use light emitting diodes, display lamps, or the like, and are provided corresponding to each control target (load) of each terminal MPU. Therefore, each display section 571 to 57n may be
Identification information (load number) indicating the corresponding controlled object is associated with the load number. In addition, the display section 571
~57n is the maximum number of control objects included in one terminal MPU (for example, seven), by displaying which terminal MPU corresponds to the number display 56, the number display 56 and the display section 57
A controlled object having an operational abnormality may be displayed by a combination of display states 1 to 57n.
なお、視覚的態様で各制御対象の動作異常を知
らせる他の例として、CRTデイスプレイに異常
のある制御対象の具体的な名称を表示させたり、
印字手段の一例のプリンタを設けておきプリンタ
で印字記録してもよい。 In addition, as another example of notifying the abnormal operation of each controlled object in a visual manner, displaying the specific name of the abnormal controlled object on the CRT display,
A printer, which is an example of a printing means, may be provided and the information may be printed and recorded.
データバス52には、プラグ58が接続され
る。このプラグ58は、RAM14の記憶内容を
収集する際に、ソケツト18に接続されて、
RAM14の記憶内容をダイレクトアクセスによ
つて読出してデータ収集するのに用いられる。 A plug 58 is connected to the data bus 52. This plug 58 is connected to the socket 18 when collecting the memory contents of the RAM 14.
It is used to read the storage contents of the RAM 14 by direct access and collect data.
第5A図はマスタMPU10に含まれるRAM
14の記憶領域を図解的に示した図である。
RAM14は、各端末MPU20A〜20Dの動
作状態やそれぞれの制御対象群の動作状態をテス
トするのに用いられる記憶領域14a〜14dを
含む。各記憶領域14a〜14dは、それぞれ端
末MPU20A〜20Dに対応して少なくとも各
端末MPUごとに3バイトの記憶エリア(以下エ
リア)M11〜M43を含む。ここで、エリアM
12,M13,M22,M23,M32,M3
3,M42およびM43は、各端末MPU20A
〜20Dへ伝送すべきテストデータ、たとえば送
受信データ一致チエツクデータを記憶するのに用
いられる。エリアM11,M21,M31および
M41は、各端末MPU20A〜20Dから送信
されたデータを一時記憶するのに用いられる。 Figure 5A shows the RAM included in the master MPU 10.
14 is a diagram schematically showing fourteen storage areas. FIG.
The RAM 14 includes storage areas 14a to 14d used to test the operating states of each terminal MPU 20A to 20D and the operating states of each control target group. Each of the storage areas 14a to 14d includes at least 3-byte storage areas (hereinafter referred to as areas) M11 to M43 for each terminal MPU, corresponding to the terminals MPUs 20A to 20D, respectively. Here, area M
12, M13, M22, M23, M32, M3
3. M42 and M43 are each terminal MPU20A
It is used to store test data to be transmitted to 20D, for example, transmission/reception data matching check data. Areas M11, M21, M31, and M41 are used to temporarily store data transmitted from each terminal MPU 20A to 20D.
第5B図は各端末MPU20A〜20Dにそれ
ぞれ含まれるRAM24の記憶領域の一部を図解
的に示した図である。図において、各端末MPU
20A〜20Dに含まれるRMA24は、マスタ
MPU10からの受信データを一時記憶し、また
はマスタMPU10へ送信すべきデータを一時記
憶するためのエリア(レジスタ)R1〜R4を含
む。各レジスタR1〜R4は、各端末MPU20
A〜20Dに対応して設けられた制御対象(すな
わち負荷L10〜L17、負荷L20〜L27、
負荷L30〜L37、負荷L40〜L47)に対
応するビツトを含む。 FIG. 5B is a diagram schematically showing a part of the storage area of the RAM 24 included in each terminal MPU 20A to 20D. In the figure, each terminal MPU
RMA24 included in 20A to 20D is the master
It includes areas (registers) R1 to R4 for temporarily storing data received from the MPU 10 or data to be transmitted to the master MPU 10. Each register R1 to R4 is stored in each terminal MPU20.
Control objects provided corresponding to A to 20D (i.e., loads L10 to L17, loads L20 to L27,
It includes bits corresponding to loads L30 to L37 and loads L40 to L47).
第6図はテストモードの動作を説明するための
タイムチヤートである。特に、図示では、テスト
項目として、送受信データ一致チエツクおよび各
端末の負荷断線チエツク別のマスタMPU10、
端末MPU20A〜20D(これらの端末MPU2
0A〜20Dを端末番号としてRS#1〜RS#4
で示す)別のデータ送信期間を示す。ここで、テ
ストモードにおいて行なわれる各種のテストまた
はチエツク動作としては、各端末MPU20A〜
20Dの動作状態および光フアイバ331,33
2の断線状態のチエツクを行なうための送受信デ
ータ一致チエツク、ならびに各端末MPU20A
〜20Dに接続されている制御対象すなわち負荷
断線チエツクなどである。これらのチエツクは電
源投入直後であつて、通常の動作ルーチンに入る
前に行なわれる。この場合、チエツク動作手順
は、マスタMPU10から端末MPU20A(RS
#1)へチエツクデータを送信し、端末MPU2
0Aが受信データに応答して確認した後それをマ
スタMPU10へ送信し、以後同様にして端末
MPU20B(RS#2),20C(RS#3),20
d(RS#4)の順序で順次繰返して行なわれる。
なお、送受信データとしては、たとえば4バイト
のデータ長からなり、最初の1バイトでマスタ
MPU10からデータを伝送すべき送信先の端末
MPUのドートまた端末番号を示すデータ
(SDA)を表わし、次の1バイトで送信した端末
(その場合はマスタMPU10)の端末番号を表わ
すデータ(SSA)を示し、残りの2バイトで制
御またはテストデータを示す。 FIG. 6 is a time chart for explaining the operation in the test mode. In particular, in the diagram, the test items include a transmission/reception data match check and a load disconnection check for each terminal.
Terminal MPU20A to 20D (These terminal MPU2
RS#1 to RS#4 with 0A to 20D as terminal number
) indicates another data transmission period. Here, various tests or check operations performed in the test mode include each terminal MPU 20A to
Operating status of 20D and optical fibers 331, 33
2. Sending and receiving data matching check to check for disconnection status, and each terminal MPU 20A
- 20D, ie, a load disconnection check. These checks are performed immediately after power-up and before entering the normal operating routine. In this case, the check operation procedure is from the master MPU 10 to the terminal MPU 20A (RS
#1) Send check data to terminal MPU2
After 0A responds and confirms the received data, it sends it to the master MPU 10, and from then on, the terminal
MPU20B (RS#2), 20C (RS#3), 20
The process is repeated in sequence in the order of d (RS#4).
Note that the transmitted/received data is, for example, 4 bytes long, and the first byte is the master data.
Destination terminal to which data should be transmitted from MPU10
The dot of the MPU also indicates data (SDA) indicating the terminal number, the next 1 byte indicates data (SSA) indicating the terminal number of the transmitted terminal (in that case, master MPU 10), and the remaining 2 bytes indicate control or test. Show data.
第7A図および第7B図はテストモードの一例
の送受信データの一致チエツク動作を示すフロー
チヤートであり、特に第7A図はマスタ側の動作
フローを示し、第7B図は端末側の一例としての
MPU20Aの動作フローを示す。 7A and 7B are flowcharts showing the operation of checking the coincidence of transmitted and received data as an example of the test mode. In particular, FIG. 7A shows the operation flow on the master side, and FIG. 7B shows the operation flow on the terminal side as an example.
The operation flow of MPU20A is shown.
次に、第1図ないし第7B図を参照して、送受
信データの一致チエツク動作について説明する。 Next, referring to FIGS. 1 to 7B, the operation of checking the coincidence of transmitted and received data will be described.
電源投入直後において、マスタMPU10に含
まれるCPU11はステツプ11において送受信
データ一致チエツクのための初期設定を行なう。
この動作は、より具体的には、記憶エリア14a
〜14dのそれぞれの3バイトのエリアM11,
M12,M13〜M41,M42,M43のすべ
てのビツトに論理「1」を設定記憶させることに
よつて行なわれる。その後、ステツプ12〜16にお
いて、端末MPU20Aについて、送受信データ
一致チエツツ動作が行なわれる。すなわち、ステ
ツプ12において、CPU11は、端末MPU20A
を指定するために、SDAを端末番号#1としか
つ2バイトの全ビツトが論理「1」のテストデー
タ(M12,M13に設定したデータ)を伝送制
御回路15に与える。伝送制御回路15は、端末
MPU20Aを選択すべきタイミングにおいて、
端末MPU20Aを選択する送信先データ(SDA
=#1)および2バイトの全ビツトが論理「1」
のテストデータを送信バツフアアンプ51a〜5
1dに与える。このデータは、各ケーブル30A
〜30Dに含まれる光フアイバ331を介して各
端末MPU20A〜20Dに含まれる伝送制御回
路25に与えられる。このとき、端末MPU20
のCPU21は、ステツプ21においてマスタ
MPU10からのデータを受信している。そして、
ステツプ22において、送信先データSDAが自
己の端末を指定するデータ(#1)か否かを判断
し、自己が指定されていることを判断するとステ
ツプ23の動作を行なう。すなわち、ステツプ2
3において、CPU21は受信した2バイトのデ
ータをそのまま送信バツフア50a、光結合器5
6a,光フアイバ332、光結合器57a、受信
バツフア58aを介して伝送制御回路15へ送信
する。 Immediately after the power is turned on, the CPU 11 included in the master MPU 10 performs initial settings for checking transmission/reception data consistency in step 11.
More specifically, this operation is performed in the storage area 14a.
~14d each 3-byte area M11,
This is done by setting and storing logic "1" in all bits of M12, M13 to M41, M42, and M43. Thereafter, in steps 12 to 16, a transmission/reception data matching check operation is performed for the terminal MPU 20A. That is, in step 12, the CPU 11 uses the terminal MPU 20A.
In order to specify this, SDA is set to terminal number #1 and test data (data set in M12 and M13) in which all bits of 2 bytes are logic "1" is given to the transmission control circuit 15. The transmission control circuit 15 is a terminal
At the timing when MPU20A should be selected,
Destination data (SDA) to select terminal MPU20A
= #1) and all bits of 2 bytes are logic “1”
Buffer amplifiers 51a to 5 transmit test data of
Give to 1d. This data is for each cable 30A
It is applied to the transmission control circuit 25 included in each terminal MPU 20A-20D via an optical fiber 331 included in MPU 20A-30D. At this time, terminal MPU20
In step 21, the CPU 21 of
Data is being received from MPU10. and,
In step 22, it is determined whether the destination data SDA is data (#1) specifying the own terminal, and if it is determined that the own terminal is specified, the operation of step 23 is performed. That is, step 2
3, the CPU 21 sends the received 2-byte data as it is to the transmission buffer 50a and the optical coupler 5.
6a, the optical fiber 332, the optical coupler 57a, and the receiving buffer 58a.
一方、CPU11は、ステツプ12においてテス
トデータを送信した後、ステツプ13において受信
待機状態となる。そして、もしいずれかの端末
MPUから応答データが送信されると、応答デー
タの送信元データSSAが端末MPU20Aを特定
する端末番号#1か否かを判断する。もし、端末
MPU20Aからのデータであることが判断され
ると、ステツプ15へ進む。ステツプ15において、
CPU11は受信データが2バイトの全ビツトが
論理「1」か否かを判断する。もし、全ビツト論
理「1」であれば、テストデータとして送信した
データがそのまま返送されているので、データ伝
送エラーのないことすなわち送受信データが一致
したことを判断して、次の端末MPU20Bの送
受信データ一致チエツク動作へ進む。一方、受信
データのうち2バイトの全ビツトが論理「1」で
なければ、データ伝送エラーが発生していること
を判断して、ステツプ16へ進む。 On the other hand, after transmitting the test data in step 12, the CPU 11 enters a reception standby state in step 13. And if any terminal
When response data is transmitted from the MPU, it is determined whether the transmission source data SSA of the response data is terminal number #1 that specifies the terminal MPU 20A. If the terminal
If it is determined that the data is from the MPU 20A, the process advances to step 15. In step 15,
The CPU 11 determines whether all bits of the 2 bytes of received data are logical "1". If all bits are logic 1, the data sent as test data has been returned as is, so it is determined that there is no data transmission error, that is, the sent and received data match, and the next terminal MPU 20B sends and receives the data. Proceed to data match check operation. On the other hand, if all bits of 2 bytes of the received data are not logical "1", it is determined that a data transmission error has occurred, and the process proceeds to step 16.
ここで判断されるデータ伝送エラーとは、端末
MPU20Aが正常に動作できないこと、または
ケーブル30Aに含まれる光フアイバ331,3
32のいずれかに断線が発生していることなどで
ある。そして、ステツプ16において、受信した2
バイトのデータがエリアM12,M13に記憶さ
れる。 The data transmission error determined here is the
The MPU20A cannot operate normally, or the optical fibers 331, 3 included in the cable 30A
For example, a disconnection has occurred in one of 32. Then, in step 16, the received 2
Byte data is stored in areas M12 and M13.
なお、端末MPU20B,20Cおよび20D
の送受信データ一致チエツク動作は、ステツプ
12、14における端末番号が2,3または4である
点を除いて、端末MPU20Aの場合の動作と同
様であるので、その詳細な説明を省略する。 In addition, terminal MPU20B, 20C and 20D
The sending/receiving data matching check operation is a step-by-step process.
Since the operation is similar to that of the terminal MPU 20A except that the terminal numbers 12 and 14 are 2, 3, or 4, detailed explanation thereof will be omitted.
このようにして、各端末MPU20A〜20D
ごとに順次送受信データの一致チエツクが行なわ
れると、後述の第8A図および第8B図に示す負
荷断線チエツクルーチンへ進む。 In this way, each terminal MPU20A~20D
After checking the consistency of the transmitted and received data in each case, the program proceeds to a load disconnection check routine shown in FIGS. 8A and 8B, which will be described later.
第8A図および第8B図はその発明の特徴とな
る負荷断線チエツクルーチンのフローチヤートで
あり、特に第8A図はマスタMPU10側の動作
フローを示し、第8B図は端末MPU(たとえば2
0A)側の動作フローを示す。次に、第1図〜第
6図、第8A図および第8B図を参照して、負荷
断線チエツクを行なう場合の動作を説明する。こ
こで、負荷の断線とは、制御対象がランプであれ
ばランプ切れやランプとパワースイツチとを結ぶ
電線の断線などを意味する。 8A and 8B are flowcharts of the load disconnection check routine, which is a feature of the invention. Particularly, FIG. 8A shows the operation flow on the master MPU 10 side, and FIG. 8B shows the operation flow on the terminal MPU (for example, the
0A) side operation flow is shown. Next, with reference to FIGS. 1 to 6, FIGS. 8A and 8B, the operation when performing a load disconnection check will be described. Here, the disconnection of the load means, if the object to be controlled is a lamp, a burnout of the lamp or a disconnection of the electric wire connecting the lamp and the power switch.
ステツプ31〜34では、端末MPU20Aの負荷
断線チエツクを行なうためのCPU11の動作を
示す。すなわち、CPU11は、ステツプ31にお
いて、端末MPU20Aを選択してすべての負荷
をオン指令するデータ(たとえばエリアM11に
ストアされている全ビツト論理「1」)を送信す
る。一方、端末MPU20A側のCPU21は、ス
テツプ41において初期設定(たとえばレジスタR
1の全ビツトに論理「1」を設定記憶)する。そ
して、ステツプ42において、受信待機状態とな
る。続いて、CPU21はマスタMPU10から送
信されたデータを受信すると、ステツプ43におい
てその受信データに含まれるデータSDAが#1
か否かを判断する。もし、SDA=#1であるこ
とを判断すると、ステツプ44〜47において、第2
A図に示す第0ビツトに対応する負荷(制御対
象)の断線検出動作を行なう。すなわち、ステツ
プ44において、CPU21は第0ビツトに対応す
る負荷(L10;たとえば前照灯410)をオン
させるための信号を入出力インターフエース26
を介してドライバ42に与えて、パワースイツチ
430をオンさせる。続いて、ステツプ45におい
て、第0ビツトに対応する負荷の電流が検出され
る。この負荷電流は、たとえば前照灯410と接
地との間に接続された抵抗の端子電圧に基づいて
検出される。ステツプ46において、検出電流が0
が否かが判断される。もし、検出電流が0である
ことを判断した場合は、第0ビツトに反応する負
荷が断線していることを判断してステツプ47へ進
む。ステツプ47において、CPU11はレジスタ
R1の第0ビツトに論理「0」を書込む。 Steps 31 to 34 show the operation of the CPU 11 for checking the load disconnection of the terminal MPU 20A. That is, in step 31, the CPU 11 selects the terminal MPU 20A and transmits data (for example, all bit logic "1" stored in area M11) instructing to turn on all loads. On the other hand, the CPU 21 on the terminal MPU 20A side performs initial settings (for example, register R) in step 41.
Logic ``1'' is set and stored in all bits of 1). Then, in step 42, it enters a reception standby state. Next, when the CPU 21 receives the data transmitted from the master MPU 10, the data SDA included in the received data is #1 in step 43.
Determine whether or not. If it is determined that SDA=#1, in steps 44 to 47, the second
A disconnection detection operation for the load (controlled object) corresponding to the 0th bit shown in Figure A is performed. That is, in step 44, the CPU 21 sends a signal to the input/output interface 26 to turn on the load (L10; for example, the headlight 410) corresponding to the 0th bit.
to the driver 42 to turn on the power switch 430. Subsequently, in step 45, the current of the load corresponding to the 0th bit is detected. This load current is detected, for example, based on the terminal voltage of a resistor connected between headlamp 410 and ground. In step 46, the detected current is 0.
It is determined whether or not. If it is determined that the detected current is 0, it is determined that the load that responds to the 0th bit is disconnected, and the process proceeds to step 47. In step 47, CPU 11 writes a logic "0" to the 0th bit of register R1.
一方、検出電流が0でないことが判断される
と、第0ビツトに対応する負荷が断線でないの
で、第1ビツトに対応する負荷の断線検出動作が
行なわれる。この動作は、ステツプ44〜47の動作
においてテスト対象とされる負荷の番号および異
常を検出したときに論理「1」を書込むべきレジ
スタR1のビツトが異なるのみであり、それ以外
の動作はほぼ同様であるので省略する。以後同様
にして、負荷番号2〜7(L12〜L17)のそ
れぞれについて、断線検出動作が行なわれる。そ
して、端末MPU20Aに対応する複数の負荷の
断線検出動作が終了すると、ステツプ48へ進む。
ステツプ48において、データSSAを#1としか
つレジスタR1の内容をマスタMPU10へ送信
する。その後、端末MPU20AのCPU21は、
通常の動作モードヘ進む。 On the other hand, if it is determined that the detected current is not 0, the load corresponding to the 0th bit is not disconnected, so a disconnection detection operation for the load corresponding to the 1st bit is performed. This operation differs from the operations in steps 44 to 47 only in the number of the load to be tested and the bit of register R1 to which logic ``1'' is written when an abnormality is detected; other than that, the operations are almost the same. Since they are similar, they will be omitted. Thereafter, the disconnection detection operation is similarly performed for each of load numbers 2 to 7 (L12 to L17). When the disconnection detection operation of the plurality of loads corresponding to the terminal MPU 20A is completed, the process advances to step 48.
At step 48, data SSA is set to #1 and the contents of register R1 are transmitted to master MPU 10. After that, the CPU 21 of the terminal MPU 20A,
Proceed to normal operating mode.
一方、マスタMPU10に含まれるCPU11
は、ステツプ32において各端末MPU20A〜2
0Dからの送信データを受信している。そして、
ステツプ33において、データSSAが#1である
ことを判断すると、ステツプ34へ進む。ステツプ
34において、端末MPU20Aからの受信データ
がエリアM11へ書込まれる。 On the other hand, CPU 11 included in master MPU 10
In step 32, each terminal MPU20A~2
Transmission data from 0D is being received. and,
If it is determined in step 33 that the data SSA is #1, the process advances to step 34. step
At 34, the received data from the terminal MPU 20A is written to the area M11.
以後同様にして、CPU11は端末MPU20
B,20C,20Dの断線をチエツクするための
動作を順次行なう。この動作は、指定すべき端末
MPUが端末番号2〜4である点を除いて、ステ
ツプ30〜34の動作とほぼ同様であるので、その詳
細な説明を省略する。その後、CPU11は、後
述の第9図に示す故障処理ルーチンへ進む。 After that, in the same way, CPU 11 is set to terminal MPU 20.
The operation for checking wires B, 20C, and 20D for disconnection is performed in sequence. This behavior is based on the terminal that should be specified.
Since the operations are almost the same as those in steps 30 to 34 except that the MPUs are terminal numbers 2 to 4, detailed explanation thereof will be omitted. Thereafter, the CPU 11 proceeds to a failure handling routine shown in FIG. 9, which will be described later.
第9図はマスタMPU10側で故障処理を行な
うためのフローチヤートである。次に、故障処理
ルーチンの動作を説明する。 FIG. 9 is a flowchart for handling a failure on the master MPU 10 side. Next, the operation of the failure handling routine will be explained.
ステツプ51において、CPU11はエリアM1
2,M13のすべてのビツトが論理「1」か否か
を判断する。もし、いずれかのビツトに論理
「0」が記憶されていれば、端末MPU20A自体
またはこれに対応するケーブル30A等の伝送系
に何らかの異常があるので、ステツプ52へ進む。
ステツプ52において、端末MPU20Aの切り離
し処理が行なわれる。この処理は、たとえば操作
手段2Aに含まれる各種スイツチが操作されて
も、そのスイツチの操作状態に基づいて作動させ
るべき制御対象の動作を禁止するために、端末
MPU20Aに作動指令信号を与えないようにす
る。ステツプ52の後、またはステツプ51において
エリアM12,M13のすべてのビツトに論理
「1」が記憶されていることを判断した後、ステ
ツプ53へ進む。そして、ステツプ53において、エ
リアM22,M23のすべてのビツトに論理
「1」が記憶されているか否かが判断される。も
しエリアM22,M23のすべてのビツトに論理
「1」が記憶されていないことを判断した場合は、
ステツプ54において端末MPU20Bの切り離し
処理が行なわれる。以後同様にして、ステツプ
55、57において端末MPU20C,20Dのそれ
ぞれに含まれる制御対象に異常があつたか否かの
判断が行なわれ、異常のある制御対象に対応する
端末MPU20Cまたは20Dの切り離しがステ
ツプ56、58で行なわれる。その後、通常動作モー
ドへ進む。なお、通常動作モードは、この発明の
要旨ではないのでその説明を省略する。 In step 51, the CPU 11
2. Determine whether all bits of M13 are logical "1". If logic "0" is stored in any of the bits, there is some kind of abnormality in the terminal MPU 20A itself or the transmission system such as the corresponding cable 30A, so the process proceeds to step 52.
At step 52, a disconnection process for the terminal MPU 20A is performed. This process is performed to prohibit the operation of a controlled object that should be operated based on the operating state of the switch, even if various switches included in the operating means 2A are operated.
Do not give an operation command signal to MPU20A. After step 52 or after determining in step 51 that logic "1" is stored in all bits in areas M12 and M13, the process advances to step 53. Then, in step 53, it is determined whether logic "1" is stored in all bits of areas M22 and M23. If it is determined that logic "1" is not stored in all the bits in areas M22 and M23,
At step 54, the terminal MPU 20B is disconnected. Follow the same steps from now on.
In steps 55 and 57, it is determined whether or not there is an abnormality in the controlled object included in each of the terminal MPUs 20C and 20D, and in steps 56 and 58, the terminal MPU 20C or 20D corresponding to the abnormal controlled object is disconnected. . Thereafter, the process proceeds to normal operation mode. Note that the normal operation mode is not the gist of the present invention, so a description thereof will be omitted.
第10A図はROM53の記憶領域を図解的に
示した図である。ROM53は、後述の第11図
に示すような、端末MPU別でありかつ制御対象
別の動作異常を判断するためのプログラムを予め
設定記憶しているとともに、次のようなテーブル
を含む。すなわち、ROM53は、各端末MPU
20A〜20Dに対応する制御対象(負荷)ごと
のコード(または番号)を設定記憶している。た
とえば、第5B図に示すような各端末MPU20
A〜20Dに対応する制御対象(負荷)L10〜
L17,…L40〜L47ごとのコードが設定記
憶される。 FIG. 10A is a diagram schematically showing the storage area of the ROM 53. The ROM 53 stores in advance a program for determining operational abnormalities for each terminal MPU and for each controlled object, as shown in FIG. 11, which will be described later, and also includes the following table. In other words, the ROM 53 is the MPU of each terminal.
Codes (or numbers) for each controlled object (load) corresponding to 20A to 20D are set and stored. For example, each terminal MPU 20 as shown in FIG. 5B
Controlled object (load) L10~ corresponding to A~20D
Codes for each of L17, . . . L40 to L47 are set and stored.
第10B図はRAM54の記憶領域を図解的に
示した図である。RAM54は、複数のワーキン
グエリアを含み、異常のあつた端末MPUの端末
番号または各端末MPU別の異常のあつた制御対
象のコードを順次記憶するのに用いられる。 FIG. 10B is a diagram schematically showing the storage area of the RAM 54. The RAM 54 includes a plurality of working areas and is used to sequentially store the terminal number of the terminal MPU in which the abnormality occurred or the code of the control object in which the abnormality occurred for each terminal MPU.
第11図はサービスステーシヨンに設けられる
動作状態モニタ装置50に含まれるCPU51の
動作を説明するためのフローチヤートである。次
に、第4図、第10図〜第11図を参照して、動
作状態モニタ装置50の具体的な動作を説明す
る。 FIG. 11 is a flowchart for explaining the operation of the CPU 51 included in the operating state monitor device 50 provided in the service station. Next, the specific operation of the operating state monitoring device 50 will be described with reference to FIGS. 4 and 10 to 11.
自動車がサービスステーシヨンへ来たとき、係
員は動作状態モニタ装置50のプラグ58を自動
車のマスタMPU10に含まれるソケツト18に
差込んで、RAM14の読出を可能にする。この
状態において、CPU51は第11図のフローチ
ヤートに沿つてメモリ14の記憶内容に基づく異
常の有無の点検またはモニタ処理を開始する。 When the vehicle arrives at the service station, an attendant inserts the plug 58 of the operating condition monitoring device 50 into the socket 18 included in the vehicle's master MPU 10 to enable reading of the RAM 14. In this state, the CPU 51 starts checking or monitoring the presence or absence of an abnormality based on the stored contents of the memory 14 in accordance with the flowchart of FIG.
すなわち、ステツプ61において、RAM14の
エリアM12,M13の内容が読出され、エリア
M12,M13の全てのビツトに論理「1」が書
込まれているか否かを判断することによつて、マ
スタMPU10と端末MPU20Aとの間における
データ伝送異常の有無が判断される。もし、エリ
アM12,M13の全てのビツトに論理「1」が
書込まれていなければ、前述のステツプ16におい
て異常のあつたことを表わす受信データが書込ま
れているので、それを判断してステツプ62へ進
む。ステツプ62において、端末MPU20Aとマ
スタMPU10との間でデータ伝送異常のあつた
ことを知らせるために、それに対応する表示部が
点灯表示される。 That is, in step 61, the contents of areas M12 and M13 of the RAM 14 are read, and by determining whether logic "1" is written in all bits of areas M12 and M13, the master MPU 10 and It is determined whether there is an abnormality in data transmission with the terminal MPU 20A. If logic ``1'' is not written in all the bits in areas M12 and M13, the reception data indicating that an abnormality has occurred has been written in step 16, and this can be determined. Proceed to step 62. At step 62, in order to notify that a data transmission abnormality has occurred between the terminal MPU 20A and the master MPU 10, the corresponding display section lights up.
ステツプ62の処理が行なわれた後、またはステ
ツプ61においてデータ伝送異常のないことが判断
されると、ステツプ63へ進む。ステツプ63におい
て、RAM14のエリアM22,M23の内容が
アドレス指定されて、CPU51へ読込まれる。
そして、エリアM22,M23の記憶内容の全て
のビツトが論理「1」か否かが判断される。も
し、全てのビツトが論理「1」でなければ、マス
タMPU10と端末MPU20Bとの間でデータ伝
送異常のあつたことが判断されて、ステツプ64へ
進む。ステツプ64において、マスタMPU10と
端末MPU20Bとの間でデータ伝送異常のあつ
たことを知らせるための表示部が点灯表示され
る。 After the process in step 62 has been performed, or if it is determined in step 61 that there is no abnormality in data transmission, the process advances to step 63. In step 63, the contents of areas M22 and M23 of RAM 14 are addressed and read into CPU 51.
Then, it is determined whether all bits of the storage contents of areas M22 and M23 are logical "1". If all the bits are not logical "1", it is determined that a data transmission error has occurred between the master MPU 10 and the terminal MPU 20B, and the process proceeds to step 64. At step 64, a display section lights up to notify that a data transmission abnormality has occurred between the master MPU 10 and the terminal MPU 20B.
以後同様にして、ステツプ65、67において、マ
スタMPU10と端末MPU20Cまたは20Dと
の間におけるデータ伝送異常の有無が判断され、
異常のあることが判断されるとステツプ66また68
においてそれに対応する表示部が点灯表示され
る。このようにして、RAM14のエリアM1
2,M13,M22,M23,M32,M33,
M42,M43の内容に基づいて、マスタMPU
10と各端末MPU20A〜20Dとの間におけ
るデータ伝送異常の有無が判断される。 Thereafter, in steps 65 and 67, it is determined whether there is an abnormality in data transmission between the master MPU 10 and the terminal MPU 20C or 20D.
If it is determined that there is an abnormality, step 66 or 68
The corresponding display section is displayed by lighting up. In this way, area M1 of RAM14
2, M13, M22, M23, M32, M33,
Based on the contents of M42 and M43, the master MPU
10 and each of the terminal MPUs 20A to 20D is judged to be abnormal in data transmission.
続いて、ステツプ69において、制御対象を指定
するためのレジスタ(またはカウンタ;図示せ
ず)Nがクリアされる。このレジスタNの内容
(数値)と各制御対象との対応関係は、第5B図
に示す各制御対象または負荷を示すL10〜L1
7,…L40〜L47のそれぞれの一の位の値に
対応する。ステツプ70において、RAM14のエ
リアM11の内容が読出され、エリアM11の記
憶内容のうちレジスタNの値に対応するビツトの
論理状態に基づいてそのビツトに対応する負荷の
動作異常の有無が判断される。より具体的には、
レジスタNの値に対応するビツトに論理「1」が
記憶されていなければ、前述のステツプ47におい
て断線を表わす論理「0」が書込まれていること
になる。そこで、ステツプ71において、その負荷
のコードがRAM54の或るエリアに書込まれ
る。ステツプ71の後、またはステツプ70において
動作異常のないことが判断されると、ステツプ72
へ進む。ステツプ72において、レジスタNの値に
1が加算される。これによつて、次に動作異常の
有無を判断すべき負荷の番号が進歩されたことに
なる。ステツプ73において、レジスタNの値が8
か否かが判断される。このとき、端末MPU20
Aの制御対象となる全ての負荷(8個)につい
て、異常の有無を判断していなければ、レジスタ
Nの値が8以下であるので、それが判断されてス
テツプ70へ戻る。 Subsequently, in step 69, a register (or counter; not shown) N for specifying the controlled object is cleared. The correspondence between the contents (numerical values) of this register N and each controlled object is L10 to L1 indicating each controlled object or load shown in FIG. 5B.
7, . . . corresponds to the one's digit values of L40 to L47. In step 70, the contents of area M11 of the RAM 14 are read out, and based on the logic state of the bit corresponding to the value of register N among the stored contents of area M11, it is determined whether or not there is an abnormal operation of the load corresponding to that bit. . More specifically,
If a logic "1" is not stored in the bit corresponding to the value of register N, a logic "0" indicating a wire break has been written in step 47 described above. Therefore, in step 71, the code for that load is written to a certain area of the RAM 54. After step 71 or if it is determined in step 70 that there is no abnormality in operation, step 72 is performed.
Proceed to. In step 72, one is added to the value of register N. As a result, the number of the load to be judged next for the presence or absence of abnormal operation has been advanced. In step 73, the value of register N is 8.
It is determined whether or not. At this time, terminal MPU20
If the presence or absence of an abnormality has not been determined for all the loads (8) to be controlled by A, since the value of register N is 8 or less, this is determined and the process returns to step 70.
このようにして、ステツプ70〜73の動作が各負
荷ごとに行なわれる。 In this way, the operations of steps 70-73 are performed for each load.
その後、ステツプ69〜73と同様にして、他の端
末MPU20B〜20Dに対応する制御対象(負
荷)の動作異常の有無が判断される。その場合の
動作フローは、ステツプ69〜73とほぼ同様であ
り、ステツプ70において判断されるRAM14の
エリアがM11に代えてM21またはM31もし
くはM41となる。したがつて、図示では他の端
末MPU20B〜20Dに対応する制御対象ごと
の動作異常の有無の判断ステツプを省略して示
す。 Thereafter, in the same manner as steps 69-73, it is determined whether or not there is an abnormality in the operation of the controlled objects (loads) corresponding to the other terminal MPUs 20B-20D. The operation flow in this case is almost the same as steps 69 to 73, and the area of the RAM 14 determined in step 70 is M21, M31, or M41 instead of M11. Therefore, in the illustration, the step of determining whether or not there is an operational abnormality for each controlled object corresponding to the other terminal MPUs 20B to 20D is omitted.
そして、端末MPU20A〜20Dの各制御対
象(負荷)ごとの動作異常の有無が判断される
と、ステツプ74においてRAM54の各エリアに
記憶されている動作異常のあつた負荷番号が順次
読出され、その負荷番号に対応する表示部が点灯
表示される。これによつて、サービスステーシヨ
ンの係員は、表示部571〜57nの点灯表示状
態を見て、どの負荷が動作異常であるか、および
どの端末MPUがデータ伝送異常を生じているか
などを容易に知ることのできる利点がある。 Then, when it is determined whether or not there is an operational abnormality for each controlled object (load) of the terminal MPU 20A to 20D, the load number where the operational abnormality occurred stored in each area of the RAM 54 is sequentially read out in step 74. The display section corresponding to the load number is displayed by lighting. As a result, the service station staff can easily know which load is operating abnormally and which terminal MPU is causing data transmission abnormality by looking at the lighting display state of the display units 571 to 57n. It has the advantage of being able to
また、動作異常の判断結果の表示は、サービス
ステーシヨンに備え付けられた動作状態モニタ装
置50側で表示しているので、この動作状態モニ
タ装置50を各自動車に搭載する場合に比べて構
成を簡略化できるとともに、安価に製作でき、し
かも運転者が表示内容を誤つて判断するのを防止
できるなどの利点もある。 In addition, the display of the determination result of abnormal operation is displayed on the operational status monitoring device 50 installed in the service station, so the configuration is simplified compared to the case where this operational status monitoring device 50 is installed in each vehicle. It also has the advantage of being inexpensive to manufacture and preventing the driver from misjudging the displayed content.
以上のように、この発明によれば、自動車に装
備される複数の制御対象を集約配線したシステム
において、中央制御部または端末制御部の異常ま
たはデータ伝送ラインの異常や、各端末制御部に
含まれる制御対象の動作異常などを正確に検出で
き、点検修理に際して異常箇所の検出を目的とす
るテストなどを必要とせず、迅速な修理を行なえ
るなどの特有の効果が奏される。また、異常状態
を視覚的に認識可能な態様で表示するための手段
が自動的とは離れたサービスステーシヨンなどの
所定の場所に設けられているので、自動車のイン
ストルメントパネルに多くの表示部を設ける必要
がなく、構成を簡略化でき、安価に製作でき、表
示内容を運転者が誤つて判断するのを防止できる
効果もある。 As described above, according to the present invention, in a system in which a plurality of control objects installed in an automobile are centrally wired, an abnormality in the central control unit or terminal control unit or an abnormality in the data transmission line, It is possible to accurately detect abnormalities in the operation of the controlled object, and it has unique effects such as being able to perform repairs quickly without the need for tests to detect abnormalities during inspection and repair. In addition, since the means for displaying abnormal conditions in a visually recognizable manner is provided at a predetermined location, such as a service station, away from the automatic display, many display sections are installed on the vehicle's instrument panel. There is no need to provide such a device, the configuration can be simplified, it can be manufactured at low cost, and it also has the effect of preventing the driver from misjudging the displayed content.
第1図はこの発明が適用される自動車の集約配
線システムの概略を示すブロツク図である。第2
A図〜第2D図は端末制御部の一例の端末MPU
とそれに接続される制御対象の一例を図解的に示
した図であり、第2E図はマスタMPUの入出力
端子と各制御対象との関係を示す図である。第3
図はケーブルの詳細を示す断面図である。第4図
はこの発明の一実施例の具体的な回路図である。
第5A図および第5B図はRAM14および
RAM24の記憶領域の一部を図解的に示した図
である。第6図はテストモードにおけるタイムチ
ヤートを示す。第7A図および第7B図はテスト
モードの一例の送受信データの一致チエツク動作
を説明するためのマスタMPU側と端末MPU側の
フローチヤートを示す。第8A図および第8B図
はテストモードの他の例の負荷断線・短絡チエツ
ク動作のマスタMPUと端末MPU別のフローチヤ
ートを示す。第9図は故障処理ルーチンのフロー
チヤートを示す。第10A図および第10B図は
動作状態モニタ装置50に含まれるROM53,
RAM54の記憶領域の一部を図解的に示した図
である。第11図はこの発明の特徴となる動作状
態モニタ装置の動作を説明するためのフローチヤ
ートである。
図において、10はマスタMPU、20A〜2
0Dは端末MPU、40A〜40Dは制御対象群、
50は動作状態モニタ装置を示す。
FIG. 1 is a block diagram schematically showing an integrated wiring system for an automobile to which the present invention is applied. Second
Figures A to 2D are terminal MPUs that are examples of terminal control units.
FIG. 2E is a diagram schematically showing an example of a control object connected thereto, and FIG. 2E is a diagram showing the relationship between the input/output terminal of the master MPU and each control object. Third
The figure is a sectional view showing details of the cable. FIG. 4 is a specific circuit diagram of an embodiment of the present invention.
Figures 5A and 5B show RAM 14 and
3 is a diagram schematically showing a part of the storage area of the RAM 24. FIG. FIG. 6 shows a time chart in test mode. FIGS. 7A and 7B are flowcharts on the master MPU side and the terminal MPU side for explaining the matching check operation of transmitted and received data in an example of the test mode. FIGS. 8A and 8B show flowcharts of the load disconnection/short circuit checking operation for the master MPU and terminal MPU in another example of the test mode. FIG. 9 shows a flowchart of the failure handling routine. 10A and 10B show the ROM 53 included in the operating state monitor device 50,
5 is a diagram schematically showing a part of the storage area of the RAM 54. FIG. FIG. 11 is a flowchart for explaining the operation of the operating state monitoring device, which is a feature of the present invention. In the figure, 10 is the master MPU, 20A to 2
0D is the terminal MPU, 40A to 40D are the control target group,
50 indicates an operating state monitoring device.
Claims (1)
配置位置の近いものでグループ化し、各グループ
に含まれる或る数の制御対象をグループごとに集
約配線したシステムにおいて、動作異常を検出し
てモニタする装置であつて、 前記各グループごとに設けられる端末制御部2
0A,20B,20C,20D、 前記各端末制御部に含まれる複数の制御対象の
うちの或る制御対象の動作状態を選択するための
操作手段2A、 前記各端末制御部に共通的に接続され、各端末
制御部に対応する制御対象の動作状態を前記操作
手段の操作状態に基づいて制御するための制御信
号を導出して、各制御対象を遠隔的に制御する中
央制御部10、 前記各端末制御部と前記中央制御部との間にそ
れぞれ接続され、それぞれが少なくともデータ伝
送ラインを含む複数のケーブル30A,30B,
30C,30D、および 前記自動車から離れた予め定める場所に設けら
れ、動作異常状態を出力するための動作状態モニ
タ手段50を備え、 前記中央制御部は 前記操作手段の操作状態にかかわらず、前記各
端末制御部に含まれる複数の制御対象を作動指令
するためのテスト信号を発生するテスト信号発生
手段11,13と、 前記操作手段の操作状態に基づく制御信号また
は前記テスト信号発生手段出力のテスト信号を、
前記或る端末制御部を指定する端末指定データと
ともに前記データ伝送ラインを介して各端末制御
部へ伝送し、かつ各端末制御部からの伝送データ
を受信する第1の伝送制御手段15と、 前記各端末制御部別の複数の制御対象のそれぞ
れに対応する記憶エリアを有する記憶手段14と
を含み、 前記各端末制御部は、 前記制御信号に応答して対応の制御対象の動作
状態を制御し、前記テスト信号に応答して同一グ
ループの対応する制御対象を作動する駆動手段4
30,440と、 前記テスト信号が与えられたとき、対応するグ
ループの各制御対象の動作状態を検出する動作状
態検出手段21と、 前記制御信号または前記テスト信号を受信し、
かつ前記作動状態検出手段の出力信号を前記デー
タ伝送ラインを介して前記中央制御部へ送信する
第2の伝送制御手段25とを含み、 前記記憶手段は、各端末制御部から受信した動
作状態検出手段の出力信号を対応の記憶エリアへ
記憶し、 さらに、前記記憶手段の記憶内容に基づいて動
作異常を判断する際に、前記中央制御部と前記動
作状態モニタ手段との間に接続される接続手段1
8,58を備え、 前記作動状態モニタ手段50は、 前記各端末制御部別の複数の制御対象の動作異
常を視覚的に識別可能な態様で出力する出力手段
56と、 前記接続手段を介して前記記憶手段の記憶内容
を読出して、各端末制御部ごとの動作状態検出手
段の出力信号に基づいて、各端末制御部別の複数
の制御対象の動作異常を判断する制御手段51
と、 前記制御手段の判断結果を前記出力手段に与え
て視覚的に識別可能な態様で出力させる出力駆動
手段55とを含む、自動車の集約配線システムに
おけるモニタ装置。 2 前記動作状態モニタ手段は、前記中央制御部
の記憶手段の記憶内容を収集記憶する収集データ
記憶手段54をさらに含み、 前記制御手段は、 前記接続手段を介して前記記憶手段の記憶内容
を読出して前記収集データ記憶手段へ書込む読
出/書込手段51と、 前記収集データ記憶手段に記憶されている各端
末制御部ごとの動作状態検出手段の出力信号に基
づいて、各端末制御部別の複数の制御対象の動作
異常を判断する判断手段51とを含む、特許請求
の範囲第1項記載の自動車の集約配線システムに
おけるモニタ装置。 3 前記出力手段は、表示手段56である、特許
請求の範囲第1項記載の自動車の集約配線システ
ムにおけるモニタ装置。 4 前記表示手段は、前記各端末制御部の制御対
象ごとに設けられる複数の表示部571〜57n
を含む、特許請求の範囲請求の範囲第3項記載の
自動車の集約配線システムにおけるモニタ装置。 5 前記出力手段は、印字手段である、特許請求
の範囲第1項記載の自動車の集約配線システムに
おけるモニタ装置。[Scope of Claims] 1. In a system in which a plurality of various control objects installed in an automobile are grouped based on those that are located close to each other, and a certain number of control objects included in each group are consolidated and wired for each group, A device for detecting and monitoring abnormalities, comprising a terminal control unit 2 provided for each group.
0A, 20B, 20C, 20D, operating means 2A for selecting the operating state of a certain controlled object among the plurality of controlled objects included in each of the terminal control sections, commonly connected to each of the terminal control sections; , a central control unit 10 that remotely controls each control target by deriving a control signal for controlling the operating state of the control target corresponding to each terminal control unit based on the operation state of the operating means; a plurality of cables 30A, 30B, each connected between the terminal control unit and the central control unit, each including at least a data transmission line;
30C, 30D, and an operating state monitor means 50 that is provided at a predetermined location away from the vehicle and outputs an abnormal operating state; Test signal generation means 11 and 13 that generate test signals for instructing the operation of a plurality of control objects included in the terminal control unit; and a control signal based on the operation state of the operation means or a test signal output from the test signal generation means. of,
a first transmission control means 15 that transmits terminal designation data specifying the certain terminal control unit to each terminal control unit via the data transmission line and receives transmission data from each terminal control unit; a storage means 14 having a storage area corresponding to each of a plurality of control objects for each terminal control section, and each terminal control section controls the operating state of the corresponding control object in response to the control signal. , driving means 4 for operating corresponding control objects of the same group in response to the test signal.
30, 440; operating state detection means 21 for detecting the operating state of each controlled object in the corresponding group when the test signal is applied; and receiving the control signal or the test signal;
and a second transmission control means 25 for transmitting an output signal of the operating state detection means to the central control unit via the data transmission line, and the storage means is configured to store the operating state detection data received from each terminal control unit. a connection connected between the central control unit and the operating state monitoring means when storing an output signal of the means in a corresponding storage area, and determining an operational abnormality based on the stored contents of the storage means; Means 1
8, 58, and the operating state monitoring means 50 includes: an output means 56 for outputting operational abnormalities of a plurality of controlled objects for each of the terminal control units in a visually discernable manner; a control means 51 that reads out the storage contents of the storage means and determines abnormal operation of a plurality of control objects for each terminal control section based on the output signal of the operation state detection means for each terminal control section;
and an output drive means 55 for giving the determination result of the control means to the output means and outputting it in a visually discernible manner. 2. The operating state monitoring means further includes a collected data storage means 54 that collects and stores the storage contents of the storage means of the central control unit, and the control means reads out the storage contents of the storage means via the connection means. read/write means 51 for writing data into the collected data storage means; and a read/write means 51 for writing data into the collected data storage means, based on the output signal of the operating state detection means for each terminal control part stored in the collected data storage means. 2. A monitoring device in an automobile integrated wiring system according to claim 1, further comprising determining means 51 for determining abnormal operation of a plurality of control objects. 3. A monitor device in an automobile integrated wiring system according to claim 1, wherein the output means is a display means 56. 4. The display means includes a plurality of display sections 571 to 57n provided for each control target of each terminal control section.
A monitor device in an automobile centralized wiring system according to claim 3, comprising: 5. A monitor device in an automobile integrated wiring system according to claim 1, wherein the output means is a printing means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57204257A JPS5994080A (en) | 1982-11-19 | 1982-11-19 | Monitor apparatus in intensive wiring system of automobile |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57204257A JPS5994080A (en) | 1982-11-19 | 1982-11-19 | Monitor apparatus in intensive wiring system of automobile |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5994080A JPS5994080A (en) | 1984-05-30 |
| JPH0413666B2 true JPH0413666B2 (en) | 1992-03-10 |
Family
ID=16487460
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57204257A Granted JPS5994080A (en) | 1982-11-19 | 1982-11-19 | Monitor apparatus in intensive wiring system of automobile |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5994080A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6337783A (en) * | 1986-07-31 | 1988-02-18 | Nec Home Electronics Ltd | Screen display device for manufacturer's serial number |
| JP2940918B2 (en) * | 1988-07-19 | 1999-08-25 | マツダ株式会社 | Vehicle failure diagnosis device |
-
1982
- 1982-11-19 JP JP57204257A patent/JPS5994080A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5994080A (en) | 1984-05-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6114952A (en) | Diagnostic communication interface unit for an adaptive braking system | |
| JP2608741B2 (en) | Device for diagnosing abnormalities or failures of multiple types of electronic control systems installed in automobiles | |
| CA2282881C (en) | Electrical control apparatus including a plurality of programmable modules | |
| US5003477A (en) | Diagnosis system for a motor vehicle | |
| JP3909609B2 (en) | Vehicle control communication network and diagnostic method thereof | |
| US4817040A (en) | Vehicle condition monitoring system | |
| JPH10161735A (en) | Distribution control system of heavy equipment | |
| GB2224372A (en) | Diagnostic system for a motor vehicle | |
| GB2213609A (en) | An engine fault diagnosis system | |
| GB2210999A (en) | Diagnostic system for vehicles | |
| JPH08136413A (en) | Failure diagnostic equipment | |
| US6744735B1 (en) | Diagnostic device, diagnostic method, and network system having diagnostic facility | |
| USRE33692E (en) | Fault diagnosis system for electronic device on automobiles | |
| CZ288586B6 (en) | Diagnostic system for sensing and displaying functions of a motor vehicle heating apparatus | |
| US5805793A (en) | Stand-alone test device for testing command-response remote terminals | |
| JPH0413666B2 (en) | ||
| EP0033664A1 (en) | Vehicle wiring system | |
| US4901025A (en) | Fault diagnosis system for electronic devices on automobiles | |
| US4910678A (en) | Failure memory device | |
| JPH039517B2 (en) | ||
| JPS62214254A (en) | Engine controlling device | |
| JPH0374557B2 (en) | ||
| JPH0617405Y2 (en) | Anomaly detection device in automobile integrated wiring system | |
| JPH0511331Y2 (en) | ||
| CN209945396U (en) | Instrument test system |