JPS61218242A - Aggregated wiring device - Google Patents

Aggregated wiring device

Info

Publication number
JPS61218242A
JPS61218242A JP60058438A JP5843885A JPS61218242A JP S61218242 A JPS61218242 A JP S61218242A JP 60058438 A JP60058438 A JP 60058438A JP 5843885 A JP5843885 A JP 5843885A JP S61218242 A JPS61218242 A JP S61218242A
Authority
JP
Japan
Prior art keywords
input
data
output
control
inputs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60058438A
Other languages
Japanese (ja)
Other versions
JPH0669237B2 (en
Inventor
Fumio Hamano
文夫 浜野
Akira Hasegawa
明 長谷川
Takanori Shibata
柴田 孝則
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60058438A priority Critical patent/JPH0669237B2/en
Priority to EP93115108A priority patent/EP0580189B1/en
Priority to EP92101627A priority patent/EP0487503B1/en
Priority to DE3588235T priority patent/DE3588235T2/en
Priority to EP85111861A priority patent/EP0192819A3/en
Priority to DE3588221T priority patent/DE3588221D1/en
Priority to CN85107028A priority patent/CN1007936B/en
Priority to KR1019860001238A priority patent/KR930009122B1/en
Publication of JPS61218242A publication Critical patent/JPS61218242A/en
Priority to US07/171,419 priority patent/US4855896A/en
Priority to US07/372,698 priority patent/US4969082A/en
Priority to US08/179,540 priority patent/US5438506A/en
Publication of JPH0669237B2 publication Critical patent/JPH0669237B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To miniaturize an aggregated wiring system by using a CCU to process many inputs being in AND condition existing in an automobile and inputs being in OR relation by means of software. CONSTITUTION:A control section consists of a synchronizing circuit 61 synchronizing reception data of a line 68 with a clock, a control circuit 62 using the said clock to apply control of shift of a shift register, control of interruption and transmission error control of data, and an address comparator 63 comparing the address given from a line 67 with an address representing destination included in the reception data. The interface section consists of a shift register 64 applying serial/parallel conversion, an A/D converter control circuit 65 controlling an A/D converter 3 for serial input/output and an input/output buffer whose input/output is changed by the address input of a line 67 and connected to the input/output interface 4. Thus, the relation between the output and input is controlled in terms of the software at each time.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、多重信号伝送システムに係り、特に自動車に
おける集約配線システムの負荷制御方式〔発明の背景〕 自動車には、各種ランプ、モータ、アクチュエータ、セ
ンサなどの電装品が多数装着されており、その数は増大
している。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a multiplex signal transmission system, and in particular, a load control method for an integrated wiring system in an automobile [Background of the Invention] An automobile has various lamps, motors, actuators, Many electrical components such as sensors are installed, and the number is increasing.

現在の自動車では、これらの電装品に対し、個別に配線
を行っている。このため電線の束(いわゆるワイヤハー
ネス)は、電装品の増加に伴い、複雑かつ大規模なもの
となってきており、大きな問題となってきている。すな
わち、コストの増大。
In current automobiles, these electrical components are individually wired. For this reason, bundles of electric wires (so-called wire harnesses) have become complex and large-scale as the number of electrical components increases, and this has become a major problem. In other words, increased costs.

重量の増加、配線空間の減少などである。さらに。These include an increase in weight and a decrease in wiring space. moreover.

近年のカーエレクトロニクスの進展により.マイクロコ
ンピユータをはじめとする電子機器が、多数塔載される
ようになり、ワイヤハーネスによって伝播される信号は
、単純な0N10FF信号だけでなく、複雑なデータも
多数存在しており、ノイズによりデータが反転し、誤動
作を引き起こす危険性もある。
Due to recent advances in car electronics. As more and more electronic devices such as microcomputers are installed, the signals propagated through wire harnesses are not only simple 0N10FF signals, but also contain a lot of complex data, and data can be distorted due to noise. There is also the danger that it may reverse and cause malfunction.

パ3・。Pa3.

V・これらの問題を解決するための方法の一つとしく・ で1通信の分野では既に確立している多重信号伝送の技
術を自動車においても適用し、少ない配線数で多数の信
号を伝送する方法が提案されている。
V. One method to solve these problems is to apply multiplex signal transmission technology, which has already been established in the field of communications, to automobiles, and transmit a large number of signals with a small number of wires. is proposed.

このような信号伝送システムでは、伝送路として。In such signal transmission systems, as a transmission line.

軽量で非誘導性である光フアイバケーブルが多く用いら
れている。例えば特開昭55−105490号がある。
Optical fiber cables are often used because they are lightweight and non-inductive. For example, there is Japanese Patent Application Laid-Open No. 55-105490.

ところで、自動車には、入力と出力とが1対1で対応し
ておらずに、複数の入力がONにならないと動作しない
もの(以下AND関係の入力と呼ぶ)、複数の入力の内
のいずれかがONすると動作するもの(以下OR関係の
入力と呼ぶ)、1つの入力のONで複数の負荷が動作す
るものがある。
By the way, there are some cars in which inputs and outputs do not have a one-to-one correspondence and do not operate unless multiple inputs are turned on (hereinafter referred to as AND-related inputs), and some cars do not have a one-to-one correspondence between inputs and outputs, and do not operate unless multiple inputs are turned on (hereinafter referred to as AND-related inputs). There are those that operate when one input is turned on (hereinafter referred to as OR-related inputs), and those that operate when one input is turned on.

一番目の例としては、リヤデフォツガやフォグランプな
どがある。リヤデフォツガは、キースイッチのIGNが
ONのときに、リヤデフォツガスイッチがONにならな
いと動作しない。フォグランプは、ライティングスイッ
チがONのときだけ。
The first example is rear defogger and fog lamps. The rear defogger does not operate unless the rear defogger switch is turned on when the key switch IGN is turned on. Fog lamps only come on when the lighting switch is on.

点灯できるようになっているものが多い、2番目のOR
関係の入力にはルームランプ、パーキングランプ、ハザ
ードウオーニングなどがある。3番目の例としては、ラ
イティングスイツチ,ハザードウオーニングスイッチな
どがある。第2図は、ルームランプとりャデフオツガの
配線例を示したものである。ルームランプ95は一方が
バッテリ90の十端子に接続しており、他方は各ドアに
設置されているドアスイッチ91.92に接続している
。リヤデフォツガは、キースイッチ93とリヤデフォツ
ガスイッチ94とリヤデフォツガ96が直列に結線され
ている。これらを前記の集約配線システムにおいて実現
する方法としては、ハードウェアによる方法とソフトウ
ェアによる方法とがあるが、ハードウェアによる方法は
、複数の入力のANDあるいはORをとらなければなら
ず。
The second OR, many of which can be lit.
Related inputs include room lamps, parking lamps, hazard warnings, etc. A third example is a lighting switch, a hazard warning switch, etc. FIG. 2 shows an example of wiring for a room lamp and a defogger. One end of the room lamp 95 is connected to the ten terminal of the battery 90, and the other end is connected to door switches 91 and 92 installed in each door. The rear defogger includes a key switch 93, a rear defogger switch 94, and a rear defogger 96 connected in series. Methods for realizing these in the above-mentioned aggregated wiring system include a hardware method and a software method, but the hardware method requires AND or OR of a plurality of inputs.

スイッチなどから電線を引き回すことになり、集約配線
システムを導入するメリットが半減してしまう、したが
って、ソフトウェアにより、これらの入力と負荷との関
係を実現する必要がある。さらに1機種の違いによる入
呂力点数の違いなどにも容易に対応できることが望まれ
ている。
Wires must be routed from switches, etc., which halves the benefits of introducing an integrated wiring system. Therefore, it is necessary to realize the relationship between these inputs and loads using software. Furthermore, it is desired to be able to easily deal with differences in bathing power scores due to differences in one model.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、以上の背景に基づき1問題点を解消し
、集約配線システムを用いて、1人力1出力、AND関
係の入力、OR関係の入力及び1人力多出力の制御を行
い、かつ、入出力関係の変化に容易に対応できる負荷制
御方式を提供することにある。
The purpose of the present invention is to solve one problem based on the above background, to control one output by one person, AND-related inputs, OR-related inputs, and multiple outputs by one person using an integrated wiring system, and The object of the present invention is to provide a load control method that can easily respond to changes in the input/output relationship.

〔発明の概要〕[Summary of the invention]

この目的を達成するため、本発明は、前記した出力と入
力の関係をその都度、ソフトウェア的に制御するように
し、特に、そのためにテーブルを用いるようにした点を
特徴とする。
In order to achieve this object, the present invention is characterized in that the relationship between the output and input described above is controlled by software each time, and in particular, a table is used for this purpose.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明による集約配線装置について、図示の実施
例により詳細に−明する。
Hereinafter, the integrated wiring device according to the present invention will be explained in detail with reference to illustrated embodiments.

第1図は1本発明による集約配線システムの実車搭載の
一実施例を示す実体配線図である。
FIG. 1 is an actual wiring diagram showing an embodiment of an integrated wiring system according to the present invention mounted on an actual vehicle.

CCUlと端末制御装置(以下LCUと呼ぶ)11〜1
7は、光ファイバ2で結ばれており、CCUlは、LC
U11〜17に接続しているスイッチなどの状態を入力
し、それに対して制御データを作成してLCUII〜1
7に送信し、負荷を制御している。ルームランプ95は
LCU15に接続しており、ドアスイッチ91.92は
、それぞれLCU15,13に接続している。キースイ
ッチ93はLCU13に、リヤデフォツガスイッチ94
はLCU14に、リヤデフォツガ96はLCU17に接
続している。CCUlは、LCU13からドアスイッチ
92がONあるいはLCU15からドアスイッチ91が
ONであることを受信すると、LCU15にルームラン
プ95を点灯するデータを送信する。リヤデフォツガの
場合には。
CCUl and terminal control unit (hereinafter referred to as LCU) 11-1
7 is connected with optical fiber 2, and CCU1 is connected to LC
Input the status of the switches etc. connected to U11-17, create control data for it, and
7 to control the load. The room lamp 95 is connected to the LCU 15, and the door switches 91 and 92 are connected to the LCUs 15 and 13, respectively. The key switch 93 is connected to the LCU 13, and the rear defogger switch 94
is connected to the LCU 14, and the rear defogger 96 is connected to the LCU 17. When the CCU1 receives from the LCU 13 that the door switch 92 is ON or that the door switch 91 is ON from the LCU 15, it transmits data to turn on the room lamp 95 to the LCU 15. In the case of Riyadefotsuga.

LCU13,14からキースイッチ93のACC及びI
GNがONであり、リヤデフォツガスイッチ94がON
であることを受信した時だけ。
ACC and I of key switch 93 from LCU13,14
GN is ON and rear defogger switch 94 is ON.
Only when received.

LCU17にリヤデフォツガを動作させるデータを送信
する。現状の自動車では、リヤデフォツガはキースイッ
チのIGNがONであれば動作可能となっているが、集
約配線システムを用いれば、ACCとIGNとりャデフ
オツガスイッチのANDを簡単にとることができるため
、エンジン始動時の無駄な電力消費を防止でき、スター
タなどでも勢いよく回すことが可能となる。なお、第2
図に参考の為に従来のワイヤーハーネスによる配線の一
部を示した。
Sends data to operate the rear defogger to the LCU 17. In current cars, the rear defogger can operate as long as the key switch IGN is ON, but if you use an integrated wiring system, you can easily AND the ACC and IGN rear defogger switches. , it is possible to prevent wasteful power consumption when starting the engine, and it is possible to turn the starter etc. vigorously. In addition, the second
The figure shows part of the wiring using a conventional wire harness for reference.

第3図は、CCU及びLCUの構成の一実施例を示すブ
ロック図である。CCUは高度の判断処理能力を必要と
するため.マイクロコンピユータ5を有している。信号
伝送制御回路(以下C工Mと呼ぶ)6は.マイクロコン
ピユータで生成したパラレル制御データをシリアル制御
データに変換して送信する。また、受信データに対して
は、シリアル/パラレル変換をし、エラーのないデータ
を受信すると.マイクロコンピユータ5に割込要求を出
力する機能を持っている。CCUは、どのLCUと伝送
するかを選択するためのマルチプレクサ8.光/電気の
変換を行う光電変換器21〜23、受信データや送信デ
ータなどを記憶しておくメモリ装置9で構成されている
FIG. 3 is a block diagram showing an example of the configuration of the CCU and LCU. This is because the CCU requires a high degree of judgment processing ability. It has a microcomputer 5. The signal transmission control circuit (hereinafter referred to as C/M) 6 is. Converts parallel control data generated by a microcomputer into serial control data and transmits it. In addition, the received data is serial/parallel converted and error-free data is received. It has a function of outputting an interrupt request to the microcomputer 5. The CCU has a multiplexer 8. for selecting which LCU to transmit with. It is composed of photoelectric converters 21 to 23 that perform optical/electrical conversion, and a memory device 9 that stores received data, transmitted data, and the like.

一方、LC:Uは、光電変換器24.CIM7゜入出力
インターフェース4.A/D変換器3等で構成され、ア
ナログセンサ121〜122.デジタル入出力111〜
112と接続している。
On the other hand, LC:U is the photoelectric converter 24. CIM7゜I/O interface 4. It is composed of an A/D converter 3 and the like, and analog sensors 121 to 122 . Digital input/output 111~
It is connected to 112.

第4図は、集約配線システムにおいて1重要な構成要素
である。CIMの回路構成を示すブロック図である。C
IMは、制御部とインタフェース部に大別することがで
きる。制御部は、ライン68の受信データとクロックを
同期させる同期回路61と、このクロックを用いてシフ
トレジスタのシフト動作の制御2割込関係の制御(CC
U内で用いる場合)やデータの伝送誤り制御などを行う
制御回路62.ライン67から与えられるアドレスと受
信データ中に含まれる行先を示すアドレスとを比較する
アドレス比較器63とで構成されている。インターフェ
ース部は、シリアル/パラレル変換を行うシフトレジス
タ64.シリアル入出力のA/D変換器3を制御するA
/D変換器制御回路65.ライン67のアドレス入力に
より入出力方向が変化し、入出力インターフェース4と
接続している入出力バッファ66で構成されている。ラ
イン68からデータを受信すると、シフトレジスタ64
でパラレルデータに変換される。受信中に、伝送誤りの
チェックが行われ、受信完了時には、ライン67からの
アドレス入力と受信データ内のアドレスとの比較が行わ
れ、ともに異常がなければ、受信データは人出力バツフ
ァ66に転送され、外部のデジタル入出力113〜11
5の出力部分を制御する。一方、データ送信時には。
FIG. 4 shows one important component in the centralized wiring system. FIG. 2 is a block diagram showing a circuit configuration of a CIM. C
The IM can be roughly divided into a control section and an interface section. The control section includes a synchronization circuit 61 that synchronizes the received data on line 68 and a clock, and control 2 of the shift operation of the shift register using this clock. 2 Interrupt-related control (CC
control circuit 62 for controlling data transmission errors (when used within U) and data transmission error control. It consists of an address comparator 63 that compares the address given from line 67 with the address included in the received data indicating the destination. The interface section includes a shift register 64. which performs serial/parallel conversion. A that controls the serial input/output A/D converter 3
/D converter control circuit 65. The input/output direction changes depending on the address input on the line 67, and the input/output buffer 66 is connected to the input/output interface 4. Upon receiving data from line 68, shift register 64
is converted to parallel data. During reception, a check is made for transmission errors, and when reception is complete, the address input from line 67 is compared with the address in the received data, and if there is no abnormality in both, the received data is transferred to human output buffer 66. External digital input/output 113-11
Controls the output part of 5. On the other hand, when sending data.

A/D変換器制御回路65内のデータおよび入出力バッ
ファ66内のデータがシフトレジスタ64な転送され、
制御回路62の発生するシフトクロックにより、ライン
69からCCUに向けて送信される。なお、この第4図
は、LCU内に使用されアナログデータを扱う場合のC
IMを示しているが、CIMはライン67から与えるア
ドレスによって、LCU内でデジタル入出力だけを扱う
CIMとしても、CCU内でマイクロコンピュータとイ
ンターフェースするCIMとしても使用できるようにな
っている。
The data in the A/D converter control circuit 65 and the data in the input/output buffer 66 are transferred to the shift register 64,
A shift clock generated by control circuit 62 is transmitted from line 69 toward CCU. In addition, this figure 4 shows the C when used in the LCU and handles analog data.
Although the IM is shown, the CIM can be used as a CIM that handles only digital input/output within the LCU, or as a CIM that interfaces with a microcomputer within the CCU, depending on the address given from line 67.

第5図は、LCU内で使われた場合のCIMの状態遷移
図である。リセットがかかると、アイドル状態になり、
データ受信待ち状態となる。ここで、データの先頭のス
タートビットを受信すると。
FIG. 5 is a state transition diagram of the CIM when used within the LCU. When a reset is applied, it goes into an idle state,
Waiting for data reception. Now, when we receive the start bit at the beginning of the data.

受信状態に移り、データを受信しながら伝送誤りの有無
とアドレスのチェックを行う、エラーがあれば、アイド
ルに戻り1次のデータの受信待ちとなる。エラーがなけ
れば、ゼロ送信に移り、伝送誤り検出に必要なビット数
の0”を送信する。
It moves to the reception state, and while receiving data, checks for transmission errors and addresses. If there is an error, it returns to the idle state and waits for the reception of the primary data. If there is no error, the process moves to zero transmission and transmits 0'', the number of bits required for transmission error detection.

次の送信状態で送信データを送信し、アイドルに戻り、
1回の伝送が終了する。
Send the transmit data in the next transmit state, return to idle,
One transmission ends.

第6図は、CCU内で使われた場合のCIMの状態遷移
図である。まず、リセットがかかりアイドル状態にある
。ここで.マイクロコンピユータがCIH内のシフトレ
ジスタ64にデータを書き込むと送信を開始するように
なっている。アイドルからゼロ送信、送信へ遷移し、デ
ータを送信しアイドルに戻り、送信データに対する返信
データ、の受信待ちとなる。返信データを受信すると受
信状態に移る。伝送誤りがあるとアイドルに戻る。
FIG. 6 is a state transition diagram of the CIM when used within the CCU. First, it is reset and in an idle state. here. Transmission is started when the microcomputer writes data to the shift register 64 in the CIH. Transitions from idle to zero transmission, to transmission, transmits data, returns to idle, and waits to receive reply data to the transmitted data. When the reply data is received, it changes to the receiving state. If there is a transmission error, it returns to idle.

CCU内のCIMでは、受信データは送信データに対す
る返答であるため、アドレスチェックは行っていない。
In the CIM in the CCU, since the received data is a response to the transmitted data, no address check is performed.

エラーのないデータを受信すると、マイクロコンピュー
タに対する割込要求フラグをたて、アイドルに戻り、1
回の伝送が終了する。
When error-free data is received, it sets an interrupt request flag for the microcomputer, returns to idle, and returns to 1.
transmission ends.

割込要求は、ソフトウェアによってマスクすることもで
きるようになっている。
Interrupt requests can also be masked by software.

第7図は、このようなCCU及びLCUを有し、第1図
に示すようなスター状ネットワーク構成の集約配線シス
テムにおける制御方法のフローチャートである。メイン
ルーチンでは、まず、メモリやタイマなどのイニシャラ
イズを行い、伝送を起動、すなわち1番目のCIMにデ
ータを送信する。
FIG. 7 is a flowchart of a control method in an aggregate wiring system having such a CCU and LCU and having a star network configuration as shown in FIG. In the main routine, first, the memory, timer, etc. are initialized, and transmission is started, that is, data is sent to the first CIM.

伝送起動後は、送信データを記憶しておく送信テーブル
の更新を繰り返し行っている。送信データに対する受信
データの処理は、IRQルーチンで行っている。CIM
がデータを受信した時に出力する割込要求フラグにより
IRQルーチンに制御が移る。IRQルーチンでは、受
信データを取り□込み、受信テーブルに記憶し、次のC
IMにデータを受信し、IRQルーチンからメインルー
チンに戻る。データが正常に伝送されていれば、メイン
ルーチンとIRQルーチンだけで、集約配線システムは
機能を果たすのだが、何らかの理由で送信あるいは受信
データにエラーが存在すると、伝送は停止してしまい、
伝送が再開されることはない、これを防止するためのも
のがタイマ割込ルーチンである。これは、LCU内のC
IMがデータを受信してから送信するまでの時間が一定
であることを利用し、タイマにその時間より長い時間を
セットしておき、CCUが送信してからの時間がセット
時間と一致したなら、タイマ割込ルーチンを実行するよ
うになっており、同CIMから2回連続してデータを受
信できない場合には、警報としてブザーやランプを動作
させる処理と次のCIHにデータを送信し、伝送を続行
させる処理とを行っている。
After starting transmission, the transmission table that stores transmission data is repeatedly updated. Processing of received data with respect to transmitted data is performed by an IRQ routine. C.I.M.
Control is transferred to the IRQ routine based on the interrupt request flag output when the data is received. In the IRQ routine, the received data is taken in, stored in the reception table, and then sent to the next C
The data is received in the IM and the IRQ routine returns to the main routine. If data is being transmitted normally, the central wiring system will function with just the main routine and IRQ routine, but if for some reason there is an error in the transmitted or received data, the transmission will stop.
The timer interrupt routine prevents the transmission from being restarted. This is the C in the LCU.
Taking advantage of the fact that the time from IM receiving data to transmitting data is constant, set a timer longer than that time, and if the time from CCU transmitting matches the set time. , a timer interrupt routine is executed, and if data cannot be received from the same CIM twice in a row, a buzzer or lamp is activated as an alarm, and the data is sent to the next CIH and transmitted. The process continues.

第8図は、第7図はメインルーチン中の送信テーブルの
更新の処理において用いる入力と出力の接続関係を記憶
しておくテーブルCCTRLの一実施例を示したもので
ある。1つの接続関係を示すために3バイトを割り当て
ている。第1バイトには、入力装置が接続しているCI
Mが何番目に伝送されるかの順番が入っている。第2バ
イトには、出力機器が何番目に伝送されるCIMに接続
されているかの順番が入っている。また、第2バイトの
ビット7、ビット6に入力がAND関係の入力であるか
、OR関係の入力であるかの情報を入れている。第3バ
イトは、上位4ビツトに入力装置がCIMの入出力端子
の何番目に接続されているか、下位4ビツトに出力機器
がCIMの入出力端子の何番目に接続されているかの情
報を持っている。
FIGS. 8 and 7 show an example of a table CCTRL that stores the connection relationship between inputs and outputs used in the process of updating the transmission table in the main routine. Three bytes are allocated to indicate one connection relationship. The first byte contains the CI to which the input device is connected.
Contains the order in which M is transmitted. The second byte contains the order in which the output device is connected to the CIM to be transmitted. Further, bits 7 and 6 of the second byte contain information as to whether the input is an AND-related input or an OR-related input. The third byte has information on the number of the input/output terminals of the CIM in which the input device is connected in the upper 4 bits, and the information on the number in the input/output terminals of the CIM in the lower 4 bits. ing.

されるCIMの入出力端子9に接続しているスイッチは
、5番目に伝送されるCIMの入出力端子3に接続して
いる装置を動作させることを示して送されるCIMの入
出力端子3に接続している出力機器は、複数の入力のA
ND条件が成立しないと動作しないことを示しており、
1番目に伝送されるCIMの入出力端子6に接続されて
いる入力は、その中の1つである。
The switch connected to the input/output terminal 9 of the CIM transmitted indicates that the device connected to the input/output terminal 3 of the CIM transmitted fifth is to be operated. The output device connected to the
This indicates that it will not operate unless the ND condition is met.
The input connected to the input/output terminal 6 of the CIM that is transmitted first is one of them.

第9図は、第8図で示した構成のテーブルを用いて送信
テーブルの更新を行うルーチンのフローチャートである
。送信テーブルを更新する方法としては、順番に入力の
状態をチェックし、1”であれば、対応する出力を“1
′″にし、“′0″であれば“0”にする方法が最も簡
単である。しかしながら、入力と出力の接続関係が多数
存在する場合には、応答時間の点で問題が生じてくる。
FIG. 9 is a flowchart of a routine for updating the transmission table using the table configured as shown in FIG. The method of updating the transmission table is to check the input status in order, and if it is "1", change the corresponding output to "1".
'', and if it is ``0'', then set it to ``0''.However, if there are many connection relationships between inputs and outputs, a problem arises in terms of response time.

このため、第9図のルーチンでは、集約配線システムが
一般配線系を対象とする場合、入力は前の状態を保って
いることが多く、変化することは希であることを利用し
、入力の変化の有無をチェックし、変化があった場合に
は、対応する出力の状態を反転するようにしている。ま
ず、最新のデータに入っている受信テーブルと前の入力
状態の入っている送信テーブルを比較し、入力の変化の
有無をチェックしている。変化がなければ、受信テーブ
ルのポインタを1進めて終了する。変化があった場合に
は、次回の変化の有無のチェックのために、送信テーブ
ルの変化があった入力ビットを反転させ、受信テーブル
と一致するようにしておく。
For this reason, the routine in Figure 9 takes advantage of the fact that when an aggregated wiring system targets a general wiring system, the input often maintains its previous state and rarely changes. The presence or absence of a change is checked, and if there is a change, the state of the corresponding output is inverted. First, the reception table containing the latest data is compared with the transmission table containing the previous input state to check for changes in input. If there is no change, the reception table pointer is incremented by 1 and the process ends. If there is a change, in order to check whether there will be a next change, the input bit that has changed in the transmission table is inverted so that it matches the reception table.

次に、変化のあった入力に対する接続関係をCCTBL
から捜し出し、ORビット、ANDビットを調べ。
Next, change the connection relationship for the changed input into CCTBL.
Find it and check the OR bit and AND bit.

“1”になっていれば、それぞれの処理を行う。If it is "1", the respective processing is performed.

0”であれば、今、 CCTBLから捜し出した接続デ
ータにもとづき、送信データの出力ビットを反転させる
。変化のあった入力に対する出力の接続関係は1つとは
限らないから、再びCCTBLから接続関係を捜し出し
、同様の処理を行う、 CCTBLに変化のあった入力
に対する接続データが存在しな。
0", the output bit of the transmission data is inverted based on the connection data found from the CCTBL. Since there is not necessarily one connection relationship between the output and the changed input, the connection relationship is again retrieved from the CCTBL. Find and perform the same processing if there is no connection data for the input that has changed in CCTBL.

くなったなら、受信テーブルのポインタを1進めて終了
する。
If it does, advance the reception table pointer by 1 and exit.

OR関係入力の処理方法を示しているのが第10図であ
る。この処理には、CCTRLの中でORビットが1”
である接続関係だけを集めてテーブルとした0RTBL
を用いている。 0RTBLの構成は、第8図のCCT
RLの構成において、ORビット及びANDビットを0
”としたものと同じである。
FIG. 10 shows a method for processing OR-related inputs. This process requires the OR bit to be 1” in CCTRL.
0RTBL which collects only the connection relationships and makes a table
is used. The configuration of 0RTBL is the CCT in Figure 8.
In the RL configuration, set the OR bit and AND bit to 0.
”.

変化のあった入力に対する出力に着目し、その出力に関
する接続データを0RTBLから捜し出し、その接続デ
ータが示している入力状態を調べ、′1”なら送信テー
ブルの出力機器に対応するビットを“1”にして終了す
る。′O”なら、 0RTBLから次の接続データを捜
し出し、同様の処理を行う。
Focusing on the output for the input that has changed, search the connection data related to that output from 0RTBL, check the input state indicated by the connection data, and if it is '1', set the bit corresponding to the output device in the transmission table to '1'. If it is 'O', the next connection data is searched from 0RTBL and the same process is performed.

出力に対する接続データを0RTBLから捜し出せなく
なったら、送信テーブルの中で出力機器に対応するビッ
トを“0”にして終了する。
When the connection data for the output cannot be found from 0RTBL, the bit corresponding to the output device in the transmission table is set to "0" and the process ends.

第11図は、AND関係の入力を処理するルーチンのフ
ローチャートである。これは、第10図のORの関係の
入力の処理ルーチンにおいて。
FIG. 11 is a flowchart of a routine for processing AND-related inputs. This is done in the input processing routine for the OR relationship shown in FIG.

“1”と“O”を置きかえたものとほぼ同じであり、変
化のあった入力に対応する接続データ(CCTBL内)
の出力光に着目し、^NDTBLからAND関係になっ
ている入力を捜し出し、値が“O”であるかどうかをチ
ェックしている。1つでも“0”であれば、送信テーブ
ルに0”を書き込み、全入力が“1”であるときに限り
、送信テーブルに1′1”を書き込むようになっている
It is almost the same as replacing “1” and “O”, and the connection data corresponding to the changed input (in CCTBL)
Focusing on the output light of , the input that is in an AND relationship is searched for from ^NDTBL, and it is checked whether the value is "O" or not. If even one input is "0", 0" is written in the transmission table, and only when all inputs are "1", 1'1" is written in the transmission table.

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

本発明による集約配線システムによれば、自動車内に多
数存在するAND関係になっている入力やOR関係にな
っている入力の処理を、CCUにおいてソフトウェアで
行っているため、離れているスイッチであっても、それ
ぞれ最も近いLCUに接続すればよく、ハードウェアの
追加なく実現できるため、集約配線システムを小型化す
ることができる。また、これらの制御は、テーブルを用
いた制御方式で行えるため1機種の変更などによる入出
力の接続関係の違いに対しては、テーブルを変更するだ
けで、容易に対応できるという効果がある。
According to the integrated wiring system according to the present invention, the processing of the many AND-related inputs and OR-related inputs that exist in a car is performed by software in the CCU, so it is not necessary to use remote switches. However, it is only necessary to connect each to the nearest LCU, and this can be realized without adding any hardware, so the integrated wiring system can be downsized. Furthermore, since these controls can be performed using a control method using tables, differences in input/output connection relationships due to changes in one model can be easily accommodated by simply changing the table.

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

第1図は本発明の集約配線システムを実車に搭載した場
合の実体図、第2図漿従来のワイヤハーネスによる配線
の一構成例を示す説明図、第3図は集約配線システムの
一構成例を示すブロック図。 第4図はCIMの回路構成図、第5図、第6図はCIM
の状態遷移図、第7図は動作説明用のフローチャート、
第8図はCCTRLCTR用の構成を示す説明用、第9
図、第10図、第11図は動作説明用のフローチャート
である。 1・・・CCU、2・・・光ファイバ、3・・・A/D
変換器。 4・・・入出力インターフェース、5・・・マイクロコ
ンピュータ、6,7・・・CIM、8・−・マルチプレ
クサ、9・・・メモリ装置、21〜24・・・光電変換
装置。 61・−・同期回路、62・・・制御回路、63・・・
アドレス比較器、64・・・シフトレジスタ、65・・
・A/D変換器制御回路、66・・・入出力バッファ。
Fig. 1 is an actual diagram of the integrated wiring system of the present invention installed in an actual vehicle, Fig. 2 is an explanatory diagram showing an example of a wiring configuration using a conventional wire harness, and Fig. 3 is an example of the arrangement of an integrated wiring system. Block diagram showing. Figure 4 is a circuit configuration diagram of CIM, Figures 5 and 6 are CIM
7 is a flowchart for explaining the operation,
Figure 8 is for explanation showing the configuration for CCTRLCTR;
10 and 11 are flowcharts for explaining the operation. 1...CCU, 2...Optical fiber, 3...A/D
converter. 4... Input/output interface, 5... Microcomputer, 6, 7... CIM, 8... Multiplexer, 9... Memory device, 21-24... Photoelectric conversion device. 61... Synchronous circuit, 62... Control circuit, 63...
Address comparator, 64...Shift register, 65...
- A/D converter control circuit, 66... input/output buffer.

Claims (3)

【特許請求の範囲】[Claims] 1.マイクロコンピユータを有し、システムの監視,デ
ータの収集,送信データの作成及び送信を行う中央制御
装置と、スイツチ,センサ,モータなどと接続しており
、前記中央制御装置から送信されたデータを受信し、前
記受信データにもとづいて、モータ類を制御するととも
に、前記スイツチ、センサのデータを前記中央制御装置
に送信する機能を有している端末制御装置と多重信号伝
送路とで構成されている集約配線システムにおいて、前
記中央制御装置及び端末制御装置のいずれかの1つの出
力に対していずれかの複数の入力が対応するアンド関係
入力と、オア関数入力とに対する制御手段を設けたこと
を特徴とする集約配線装置。
1. It has a microcomputer and is connected to a central control unit that monitors the system, collects data, creates and sends data, and switches, sensors, motors, etc., and receives data sent from the central control unit. The controller is comprised of a terminal control device and a multiplex signal transmission line, which has the function of controlling motors based on the received data and transmitting data from the switches and sensors to the central control device. The integrated wiring system is characterized by providing control means for an AND relationship input and an OR function input in which any one of a plurality of inputs corresponds to one output of either the central control device or the terminal control device. Centralized wiring device.
2.特許請求の範囲第1項において、前記制御手段がソ
フトウエアで構成されていることを特徴とする集約配線
装置。
2. The integrated wiring device according to claim 1, wherein the control means is configured by software.
3.特許請求の範囲第2項において、前記ソフトウエア
が、前記アンド関係入力に関係した情報とオア関係入力
に関係した情報、それにこれら以外の入力に関する情報
が記述されたテーブル検索を含むように構成されている
ことを特徴とする集約配線装置。
3. In claim 2, the software is configured to include a table search in which information related to the AND relationship input, information related to the OR relationship input, and information related to inputs other than these are described. An integrated wiring device characterized by:
JP60058438A 1985-02-23 1985-03-25 Control method for integrated wiring system of automobile Expired - Fee Related JPH0669237B2 (en)

Priority Applications (11)

Application Number Priority Date Filing Date Title
JP60058438A JPH0669237B2 (en) 1985-03-25 1985-03-25 Control method for integrated wiring system of automobile
EP93115108A EP0580189B1 (en) 1985-02-23 1985-09-19 Collective wiring system for an automobile and control method for the wiring system
EP92101627A EP0487503B1 (en) 1985-02-23 1985-09-19 Collective wiring system and method of control thereof
DE3588235T DE3588235T2 (en) 1985-02-23 1985-09-19 Collective wiring system for a vehicle and control method for the wiring system
EP85111861A EP0192819A3 (en) 1985-02-23 1985-09-19 Collective wiring system and method of control thereof
DE3588221T DE3588221D1 (en) 1985-02-23 1985-09-19 Collective cabling system and method for controlling the system
CN85107028A CN1007936B (en) 1985-02-23 1985-09-19 Data transmission system and control method
KR1019860001238A KR930009122B1 (en) 1985-02-23 1986-02-21 Collective wiring system and method of control thereof
US07/171,419 US4855896A (en) 1985-02-23 1988-03-21 Collective wiring system and method of control thereof
US07/372,698 US4969082A (en) 1985-02-23 1989-06-28 Control method for a collective wiring system
US08/179,540 US5438506A (en) 1985-02-23 1994-01-10 Collective wiring system and method of control thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60058438A JPH0669237B2 (en) 1985-03-25 1985-03-25 Control method for integrated wiring system of automobile

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP31149093A Division JPH0716266B2 (en) 1993-12-13 1993-12-13 Centralized wiring equipment for automobiles

Publications (2)

Publication Number Publication Date
JPS61218242A true JPS61218242A (en) 1986-09-27
JPH0669237B2 JPH0669237B2 (en) 1994-08-31

Family

ID=13084402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60058438A Expired - Fee Related JPH0669237B2 (en) 1985-02-23 1985-03-25 Control method for integrated wiring system of automobile

Country Status (1)

Country Link
JP (1) JPH0669237B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0564005U (en) * 1992-02-12 1993-08-24 住友電装株式会社 Automotive optical multiplex transmission system
WO1996026570A1 (en) * 1995-02-21 1996-08-29 Hitachi, Ltd. Device and method for supplying power to a vehicle, semi-conductor circuit device for use in the same and collective wiring device for a vehicle or an automobile

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6053352A (en) * 1983-09-02 1985-03-27 Honda Motor Co Ltd Multiplex communication equipment for mobile body

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6053352A (en) * 1983-09-02 1985-03-27 Honda Motor Co Ltd Multiplex communication equipment for mobile body

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0564005U (en) * 1992-02-12 1993-08-24 住友電装株式会社 Automotive optical multiplex transmission system
WO1996026570A1 (en) * 1995-02-21 1996-08-29 Hitachi, Ltd. Device and method for supplying power to a vehicle, semi-conductor circuit device for use in the same and collective wiring device for a vehicle or an automobile

Also Published As

Publication number Publication date
JPH0669237B2 (en) 1994-08-31

Similar Documents

Publication Publication Date Title
KR930009122B1 (en) Collective wiring system and method of control thereof
JPS60551A (en) Central processor of data transmitting system
JPS61218242A (en) Aggregated wiring device
JPS6065645A (en) Terminal processing device
JPS61218243A (en) Aggregated wiring system
JP3451628B2 (en) 4-wire synchronous serial communication system
JPS5870657A (en) Multiple signal transmission system for car
JPH04239836A (en) Multiplex communication network system
JPH11175126A (en) Function adding method for cnc device
JPH0453359B2 (en)
JP2000083287A (en) Remote control system
JPS61194942A (en) Control system for centralized wiring system
JP2000222347A (en) Bus protocol converter
JPH0716266B2 (en) Centralized wiring equipment for automobiles
JP2764857B2 (en) Circuit elements for communication processing
JPS63262995A (en) Power control system for concentrated wiring system
JPS6248836A (en) Wiring system for vehicle
JPS61208199A (en) Data transmission system for intensive wiring system
JPH059840B2 (en)
JPS62143102A (en) Fail-safe system for intensive wiring
JPS63144690A (en) Summerrized wiring system
JPS63141497A (en) Control system for concentrated wiring system
JPH01103033A (en) Power line carrier system
JPS62208738A (en) Communication interruption method in multiplex communication
JPS58137025A (en) Terminal processor

Legal Events

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