JPH0715446A - Communication control system - Google Patents
Communication control systemInfo
- Publication number
- JPH0715446A JPH0715446A JP5143207A JP14320793A JPH0715446A JP H0715446 A JPH0715446 A JP H0715446A JP 5143207 A JP5143207 A JP 5143207A JP 14320793 A JP14320793 A JP 14320793A JP H0715446 A JPH0715446 A JP H0715446A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- job
- communication control
- option
- control system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
(57)【要約】
【目的】 簡単な構成で,装置コストを上昇させること
なく,オプションユニットが接続されていない場合にお
ける必要のない故障表示や,必要のないフェールセーフ
動作の実行を回避できるようにする。
【構成】 オプションユニットが接続されていない通信
線端子に,それぞれ異なる抵抗値で,かつ,互いに他の
抵抗値を組み合わせた値と一致しない抵抗値を有した抵
抗器を内蔵したオプションユニット接続判別用キャップ
B103或いはオプションユニット接続判別用キャップ
C104を取り付けて接地し,マネージメントユニット
101の通信線に流れる電流値の推移を検出して,オプ
ションユニットの有無を判別する。
(57) [Summary] [Purpose] With a simple configuration, avoiding unnecessary failure display and unnecessary fail-safe operation when the option unit is not connected, without increasing the device cost. To [Structure] For connection judgment of an option unit that has a built-in resistor with a resistance value that is different from each other and does not match the combined resistance value of the communication line terminals to which the option unit is not connected The cap B103 or the optional unit connection determination cap C104 is attached and grounded, and the transition of the current value flowing through the communication line of the management unit 101 is detected to determine the presence or absence of the optional unit.
Description
【0001】[0001]
【産業上の利用分野】本発明は,マネージメントユニッ
ト(親局)と複数のジョブユニット(子局)が接続可能
なローカルエリアネットワーク(LAN)の通信制御を
行う通信制御システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control system for controlling communication of a local area network (LAN) to which a management unit (master station) and a plurality of job units (slave stations) can be connected.
【0002】[0002]
【従来の技術】従来の通信制御システムとして,例え
ば,マネージメントユニット(親局)と複数のジョブユ
ニット(子局)が接続可能なローカルエリアネットワー
ク(LAN)の通信制御を行う通信制御システムがあ
る。一般に,このような通信制御システムでは,マネー
ジメントユニットが信号SM(送信指令信号)を各ジョ
ブユニットに出力し,信号SMを受けたジョブユニット
が送信動作を行う。2. Description of the Related Art As a conventional communication control system, for example, there is a communication control system for controlling communication of a local area network (LAN) to which a management unit (master station) and a plurality of job units (slave stations) can be connected. Generally, in such a communication control system, the management unit outputs a signal SM (transmission command signal) to each job unit, and the job unit receiving the signal SM performs a transmission operation.
【0003】また,いずれかのジョブユニットの動作に
異常が発生した場合には,マネージメントユニットが異
常を検出して,異常ユニットを除く他のジョブユニット
が送信動作を行うように指令し,さらに,所定の故障表
示手段を介して運転者に異常を通知する。ここで,マネ
ージメントユニットが異常を検出する場合としては,例
えば,異常ユニット自体から異常である旨の信号を受け
た場合,あるいはマネージメントユニットからの信号S
Mに対して,ジョブユニットから正しい応答がなかった
場合等にジョブユニットの異常を検出する。このような
通信制御システムとしては,例えば,車両等に搭載され
た移動体多重通信装置がある。When an abnormality occurs in the operation of any of the job units, the management unit detects the abnormality and commands the other job units except the abnormal unit to perform the transmission operation. The driver is notified of the abnormality via a predetermined failure display means. Here, when the management unit detects an abnormality, for example, when a signal indicating the abnormality is received from the abnormality unit itself, or the signal S from the management unit is received.
An error in the job unit is detected when the job unit does not respond to M correctly. An example of such a communication control system is a mobile multiplex communication device mounted on a vehicle or the like.
【0004】一方,自動車等の車両では,各種サブ機能
がオプション設定となっており,顧客が自由に選択でき
るようになっていることが多い。従って,このような場
合にオプション設定に従って,ローカルエリアネットワ
ークに接続されるオプションユニット(すなわち,ジョ
ブユニット)の数および種類に相違が発生する。また,
車両を購入後にオプションユニットをディーラー等で別
途購入し,接続することもある。ただし,オプションユ
ニットの有無に関わらずマネージメントユニットが必ず
接続されているのは勿論である。On the other hand, in vehicles such as automobiles, various sub-functions are optional settings, and in many cases, customers can freely select them. Therefore, in such a case, the number and types of option units (that is, job units) connected to the local area network differ according to the option setting. Also,
After purchasing the vehicle, an optional unit may be purchased separately at a dealer or the like and connected. However, it goes without saying that the management unit is always connected regardless of the presence or absence of the option unit.
【0005】[0005]
【発明が解決しようとする課題】しかしながら,上記従
来の通信制御システムを車両に搭載した場合,マネージ
メントユニットからの信号SMに対して,オプションユ
ニットから正しい応答がなかった場合に異常を検出する
ため,オプションユニットが接続されていない場合にも
オプションユニットが故障していると判断され,必要の
ない故障表示や,必要のないフェールセーフ動作を実行
してしまう可能性があるという問題点があった。However, when the above-mentioned conventional communication control system is installed in a vehicle, an abnormality is detected when the option unit does not correctly respond to the signal SM from the management unit. Even when the option unit is not connected, it is determined that the option unit is out of order, and there is a possibility that unnecessary failure display or unnecessary fail-safe operation may be executed.
【0006】また,必要のない故障表示や,必要のない
フェールセーフ動作を実行しないようにするには,単純
に,存在しないオプションユニットとの通信を実行しな
いだけで良いが,オプションユニットの存在の有無を予
め設定(あるいは,入力)する手段が必要となるため,
装置構成が複雑になるという問題点や,装置コストが上
昇するという問題点があった。或いは,単純にマネージ
メントユニットの一部を取り替える方法も考えられる
が,マネージメントユニットの変更という点で同様に装
置構成が複雑になるという問題点や,装置コストが上昇
するという問題点があった。Further, in order to prevent unnecessary failure display and unnecessary fail-safe operation, it suffices not to execute communication with an optional unit that does not exist. Since a means to set (or input) the presence or absence in advance is required,
There were problems that the device configuration became complicated and that the device cost increased. Alternatively, a method of simply replacing a part of the management unit can be considered, but there is a problem in that the device configuration is similarly complicated in terms of changing the management unit and a device cost is increased.
【0007】本発明は上記に鑑みてなされたものであっ
て,簡単な構成で,装置コストを上昇させることなく,
オプションユニットが接続されていない場合における必
要のない故障表示や,必要のないフェールセーフ動作の
実行を回避できるようにすることを目的とする。The present invention has been made in view of the above, and has a simple structure without increasing the device cost.
The purpose is to prevent unnecessary failure display and execution of unnecessary fail-safe operation when the option unit is not connected.
【0008】[0008]
【課題を解決するための手段】本発明は上記の目的を達
成するために,マネージメントユニット(親局)と複数
のジョブユニット(子局)が接続可能なローカルエリア
ネットワーク(LAN)の通信制御を行う通信制御シス
テムにおいて,ローカルエリアネットワークの通信線端
子のうちジョブユニットが接続されていない通信線端子
を,ジョブユニット毎にそれぞれ異なる抵抗値で,か
つ,互いに他の抵抗値を組み合わせた値と一致しない抵
抗値を有した抵抗器を介して接地する通信線端子接地手
段を備えた通信制御システムを提供するものである。In order to achieve the above object, the present invention provides communication control of a local area network (LAN) to which a management unit (master station) and a plurality of job units (slave stations) can be connected. In the communication control system, the communication line terminals to which the job unit is not connected among the communication line terminals of the local area network have different resistance values for each job unit and match with a value obtained by combining other resistance values. (EN) A communication control system provided with a communication line terminal grounding means for grounding via a resistor having a resistance value.
【0009】また,本発明は上記の目的を達成するため
に,前述した構成に加えて,電源投入後に,電圧を通信
線に印加し,その時に流れる電流値の推移に基づいて,
接続されていないジョブユニットを判別するジョブユニ
ット接続判別手段を備えた通信制御システムを提供する
ものである。In order to achieve the above object, the present invention, in addition to the above-mentioned configuration, applies a voltage to a communication line after power is turned on, and based on the transition of the current value flowing at that time,
It is intended to provide a communication control system including a job unit connection discriminating means for discriminating unconnected job units.
【0010】また,本発明は上記の目的を達成するため
に,前述した構成に加えて,接続されていないジョブユ
ニットと判別された場合に,そのジョブユニットを通信
制御および故障診断の対象外とするジョブユニット非接
続時制御手段を備えた通信制御システムを提供するもの
である。Further, in order to achieve the above object, the present invention, in addition to the above-described configuration, makes a job unit not subject to communication control and failure diagnosis when it is determined that it is not connected. The present invention provides a communication control system including a job unit non-connection control means.
【0011】[0011]
【作用】本発明の通信制御システムは,ジョブユニット
が接続されていない通信線端子に通信線端子接地手段を
取り付け,ジョブユニット毎にそれぞれ異なる抵抗値
で,かつ,互いに他の抵抗値を組み合わせた値と一致し
ない抵抗値を有した抵抗器を介して接地し,ジョブユニ
ットが接続されていないことを明確にする。In the communication control system of the present invention, the communication line terminal grounding means is attached to the communication line terminal to which the job unit is not connected, and the resistance value is different for each job unit and the other resistance values are combined with each other. Ground through a resistor with a resistance that does not match the value to clarify that the job unit is not connected.
【0012】また,ジョブユニット接続判別手段で,電
源投入後に電圧を通信線に印加し,その時に流れる電流
値の推移に基づいて,接続されていないジョブユニット
を判別する。Further, the job unit connection determining means applies a voltage to the communication line after the power is turned on, and determines the unconnected job units based on the transition of the current value flowing at that time.
【0013】また,ジョブユニット非接続時制御手段
で,該当するジョブユニットを通信制御および故障診断
の対象外とする。Further, the job unit non-connection control means excludes the corresponding job unit from the targets of communication control and failure diagnosis.
【0014】[0014]
【実施例】以下,本発明の通信制御システムの一実施例
について,図面を参照して詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the communication control system of the present invention will be described below in detail with reference to the drawings.
【0015】図1は,本発明の一実施例の構成を示す。
本実施例では,3台のジョブユニットがオプションユニ
ットとして選択的に接続可能であり,ここでは,1台の
ジョブユニットがオプションユニットAとして接続され
ている例を示している。FIG. 1 shows the configuration of an embodiment of the present invention.
In the present embodiment, three job units can be selectively connected as optional units, and here, an example is shown in which one job unit is connected as an optional unit A.
【0016】図において,101はローカルエリアネッ
トワーク(LAN)に接続されたマネージメントユニッ
ト(親局)であり,常設されるものである。マネージメ
ントユニット101は,マイクロプロセッサ101a,
通信制御用IC101b,オプション判別用送信線切換
回路101c,および電流検出回路101dで構成され
ている。ここで,マイクロプロセッサ101aは,主に
通信制御用IC101bへのデータ受け渡しと,コント
ロールを行うが,そのほかに電源投入直後のイニシャラ
イズ時にオプションユニットの接続状況判定も実行す
る。マイクロプロセッサ101aおよび通信制御用IC
101bの両者は,アドレスバスおよびデータバスを介
してデータの転送を行う。オプション判別用送信線切換
回路101cは,通信制御用IC101bの送信端子,
基準電圧,GNDの何れかを通信線(すなわち,LA
N)に切り換え接続する回路であり,マイクロプロセッ
サ101aの出力によって動作する。電流検出回路10
1dは,例えばシャント抵抗に発生した電圧を差動増幅
するような回路である。また,通信制御システムにおけ
るGND浮きやノイズに対する信頼性を向上させるため
に,図示の如く,通信線にコンデンサC0および抵抗R
0を挿入して,コンデンサカップリングとしている。In the figure, 101 is a management unit (master station) connected to a local area network (LAN), which is permanently installed. The management unit 101 includes a microprocessor 101a,
It is composed of a communication control IC 101b, an option discrimination transmission line switching circuit 101c, and a current detection circuit 101d. Here, the microprocessor 101a mainly transfers and controls the data to and from the communication control IC 101b, but also executes the connection status determination of the option unit at the time of initialization immediately after the power is turned on. Microprocessor 101a and communication control IC
Both 101b transfer data via the address bus and the data bus. The transmission line switching circuit 101c for option discrimination is a transmission terminal of the communication control IC 101b,
Either the reference voltage or GND is used for the communication line (that is, LA
N), which is switched and connected, and operates by the output of the microprocessor 101a. Current detection circuit 10
1d is a circuit for differentially amplifying the voltage generated in the shunt resistor, for example. Further, in order to improve the reliability against GND floating and noise in the communication control system, as shown in the figure, the communication line is provided with a capacitor C0 and a resistor R.
0 is inserted for capacitor coupling.
【0017】102は,実際に接続されたオプションユ
ニットAである。オプションユニットA102は,マイ
クロプロセッサ102a,通信制御用IC102bで構
成されている。マイクロプロセッサ102aは,通信制
御用IC102bへのデータ受け渡しとコントロールを
行う。また,通信制御システムにおけるGND浮きやノ
イズに対する信頼性を向上させるために,図示の如く,
通信線にコンデンサC0および抵抗R0を挿入して,コ
ンデンサカップリングとしている。Reference numeral 102 is an option unit A that is actually connected. The option unit A102 includes a microprocessor 102a and a communication control IC 102b. The microprocessor 102a transfers data to and controls the communication control IC 102b. Further, in order to improve the reliability against the GND floating and noise in the communication control system, as shown in the figure,
A capacitor C0 and a resistor R0 are inserted in the communication line for capacitor coupling.
【0018】103および104は,オプションユニッ
トが接続されていない通信線端子に接続された通信線端
子接地手段であるオプションユニット接続判別用キャッ
プBおよびCである。オプションユニット接続判別用キ
ャップB103およびオプションユニット接続判別用キ
ャップC104は,図示の如く,所定の容量を持つコン
デンサC0と,所定の抵抗値を持つ抵抗Rb,Rcが直
列に接続され,かつ,抵抗Rb,Rcの一端を介して接
地されている。Reference numerals 103 and 104 denote option unit connection discriminating caps B and C which are communication line terminal grounding means connected to a communication line terminal to which an option unit is not connected. The optional unit connection determination cap B103 and the optional unit connection determination cap C104 are, as shown in the figure, a capacitor C0 having a predetermined capacitance and resistors Rb and Rc having a predetermined resistance value connected in series, and a resistor Rb. , Rc is grounded via one end.
【0019】図2は,オプションユニット接続判別用キ
ャップB103およびオプションユニット接続判別用キ
ャップC104の具体的な構成を示し,コネクタ本体2
01の端子202,203間に,前述した所定の容量を
持つコンデンサC0と,所定の抵抗値を持つ抵抗Rb,
Rcが直列に接続されており,回路全体は端子203を
介して接地されている。FIG. 2 shows a specific structure of the optional unit connection determination cap B103 and the optional unit connection determination cap C104.
Between the terminals 202 and 203 of 01, the capacitor C0 having the above-mentioned predetermined capacitance and the resistor Rb having the predetermined resistance value,
Rc is connected in series, and the entire circuit is grounded via a terminal 203.
【0020】以上の構成において,その動作を説明す
る。通信制御システムに電源が投入されると,マネージ
メントユニット101において,オプションユニット接
続判別ジョブの作動が開始される。このオプションユニ
ット接続判別ジョブは,マイクロプロセッサ101aで
10msec毎に実行されるルーチンであり,先ず,通
信制御用IC101bの送信端子を一定時間,オプショ
ン判別用送信線切換回路101cでGNDレベルに固定
することにより,通信線に設置された各コンデンサC0
に蓄積された電荷を一度初期化し,その後,オプション
判別用送信線切換回路101cで送信端子を基準電圧レ
ベルVccを印加し,そのときの電流値(後述する電流値
I)を計測しながら,各コンデンサC0が飽和して定常
状態となるまで,マネージメントユニット101から各
コンデンサC0に電流を流す。少なくともこの間は,オ
プションユニットの送信機能を不許可にしておけば,マ
ネージメントユニット101内の通信制御用IC101
bの受信端子および送信端子がすべてハイインピーダン
ス状態となり,電流の流れ込み,流れ出しを防ぐことが
できる。The operation of the above configuration will be described. When the communication control system is powered on, the management unit 101 starts the operation of the option unit connection determination job. This option unit connection discrimination job is a routine executed by the microprocessor 101a every 10 msec. First, the transmission terminal of the communication control IC 101b is fixed to the GND level by the option discrimination transmission line switching circuit 101c for a certain period of time. Each capacitor C0 installed in the communication line by
Initialize the electric charge accumulated in the circuit, then apply the reference voltage level Vcc to the transmission terminal by the option discriminating transmission line switching circuit 101c, measure the current value at that time (current value I described later), and Current is passed from the management unit 101 to each capacitor C0 until the capacitor C0 is saturated and is in a steady state. At least during this period, if the transmission function of the option unit is disabled, the communication control IC 101 in the management unit 101
All of the receiving terminal and the transmitting terminal of b are in a high impedance state, so that the inflow and outflow of current can be prevented.
【0021】従って,図1に示した本実施例の通信制御
システムにおいても,図3に示すような部分的な回路の
みに注目すれば充分である。マネージメントユニット1
01の送信端子から流れ出す電流値は,マネージメント
ユニットの受信端子,オプションユニットA102の受
信端子,オプションユニット接続判別用キャップB10
3,およびオプションユニット接続判別用キャップC1
04のそれぞれに組み込まれたコンデンサC0に流れ込
む電流値の和となる。例えば,図1の接続状態の場合,
図3に示すように,マネージメントユニット101の送
信端子から流れ出す電流値をI,マネージメントユニッ
ト101の受信端子のコンデンサC0に流れ込む電流値
をI1 ,オプションユニットA102の受信端子のコン
デンサC0に流れ込む電流値をI2 ,オプションユニッ
ト接続判別用キャップB103のコンデンサC0に流れ
込む電流値をI3 ,およびオプションユニット接続判別
用キャップC104のコンデンサC0に流れ込む電流値
をI4 とすると,次式のように記述できる。Therefore, even in the communication control system of this embodiment shown in FIG. 1, it is sufficient to pay attention only to the partial circuit shown in FIG. Management unit 1
The current value flowing out from the transmission terminal 01 is the reception terminal of the management unit, the reception terminal of the option unit A102, and the cap B10 for discriminating the connection of the option unit.
3, and optional unit connection discrimination cap C1
04 is the sum of the current values flowing into the capacitors C0 incorporated in each. For example, in the connection state of Fig. 1,
As shown in FIG. 3, the current value flowing from the transmitting terminal of the management unit 101 is I, the current value flowing into the capacitor C0 of the receiving terminal of the management unit 101 is I 1 , and the current value flowing into the capacitor C0 of the receiving terminal of the option unit A102. Let I 2 be the current value flowing into the capacitor C0 of the cap B103 for discriminating the connection of the option unit to I 3 , and the current value flowing into the capacitor C0 of the cap C104 for discriminating the connection of the option unit to be I 4 .
【0022】 I = I1 +I2 +I3 +I4 = 2/R0 (1− exp( −2t/C0・R0 ))Vcc + 2/R0 (1− exp( −2t/C0・R0 ))Vcc + 1/Rb (1− exp( −t/C0・Rb ))Vcc + 1/Rc (1− exp( −t/C0・Rc ))Vcc ただし,抵抗R0 ,Rb ,Rc の値を,任意の組み合わ
せについて,その和が一致しないように予め設定してお
く。例えば,以下のような抵抗値に設定することができ
る。I = I 1 + I 2 + I 3 + I 4 = 2 / R 0 (1-exp (−2t / C0 · R0)) Vcc + 2 / R0 (1-exp (−2t / C0 · R0)) Vcc + 1 / Rb (1-exp (-t / C0.Rb)) Vcc + 1 / Rc (1-exp (-t / C0.Rc)) Vcc However, the values of resistors R0, Rb, and Rc can be arbitrarily combined. Is set in advance so that the sum does not match. For example, the following resistance values can be set.
【0023】接続されたオプションユニットの受信回路
用分圧抵抗‥‥‥R0 =11kΩオプションユニット接
続判別用キャップB103の抵抗‥‥Rb =3kΩオプ
ションユニット接続判別用キャップC104の抵抗‥‥
Rc =7kΩなお,本実施例では,図1に示すようにオ
プションユニットA102が接続されている場合を例と
するが,オプションユニットA102を接続せずに,オ
プションユニット接続判別用キャップを取り付ける場合
には,例えば,この抵抗値をRa とすると,Ra =2k
Ωに設定すれば良い。Dividing resistor for receiving circuit of the connected option unit R0 = 11 kΩ Resistance of cap B103 for discriminating connection of option unit Rb = 3 kΩ Resistance of cap C104 for discriminating connection of option unit
Rc = 7 kΩ In this embodiment, the case where the option unit A102 is connected as shown in FIG. 1 is taken as an example. However, when the option unit connection determination cap is attached without connecting the option unit A102. For example, if this resistance value is Ra, Ra = 2k
You can set it to Ω.
【0024】この場合,図4の電流Iと時間tとの関係
による電流特性に示すように,オプションユニットA
なしの場合,オプションユニットBなしの場合,オ
プションユニットCなしの場合,オプションユニット
AおよびBなしの場合,オプションユニットAおよび
Cなしの場合,オプションユニットBおよびCなしの
場合の任意の接続組み合わせにおいても,互いにその電
流特性が一致することがない。従って,それらの特性を
予めマネージメントユニット101のマイクロプロセッ
サ101a内のメモリ(図示せず)に記憶しておき,電
流検出回路101dで検知した電流値Iと比較すること
により,どのオプションユニットが接続されていないか
を判別できる。ただし,オプションユニットBおよびC
は,それぞれオプションユニット接続判別用キャップB
103およびオプションユニット接続判別用キャップC
104の位置に接続可能なオプションユニットを示すも
のとする。In this case, as shown in the current characteristic by the relationship between the current I and the time t in FIG.
In the case of no connection, without option unit B, without option unit C, without option units A and B, without option units A and C, and with any connection combination without option units B and C However, their current characteristics do not match each other. Therefore, by storing those characteristics in a memory (not shown) in the microprocessor 101a of the management unit 101 in advance and comparing with the current value I detected by the current detection circuit 101d, which option unit is connected. Can determine whether or not. However, optional units B and C
Is the cap B for discriminating the connection of the optional unit.
103 and optional unit connection determination cap C
An optional unit connectable to the position 104 is shown.
【0025】なお,電流検出回路101dの電流検出用
シャント抵抗は,本実施例の場合,100Ω程度にすれ
ば,図4の電流特性に与える影響も小さくなり,その電
圧降下分を測定すれば,電流を検出することが可能であ
る。In the case of the present embodiment, if the current detecting shunt resistance of the current detecting circuit 101d is set to about 100Ω, the influence on the current characteristic of FIG. 4 becomes small, and if the voltage drop is measured, It is possible to detect current.
【0026】このオプションユニットの接続情報があれ
ば,接続されているオプションユニットと接続されてい
ないオプションユニットとが区別でき,接続されていな
いオプションユニットへは,信号が送信されないため,
マネージメントユニット101の信号処理速度が速くな
る。また,公知の方法を用いてオプションユニットの故
障判定を行った場合に,正確な故障判断ができることは
言うまでもない。If the connection information of this option unit is present, it is possible to distinguish between the connected option unit and the unconnected option unit, and no signal is transmitted to the unconnected option unit.
The signal processing speed of the management unit 101 is increased. Further, it is needless to say that accurate failure determination can be performed when the failure determination of the option unit is performed using a known method.
【0027】図5は,マイクロプロセッサ101aで1
0msec毎に実行されるオプションユニット接続判別
ジョブの具体的なフローチャートを示す。FIG. 5 shows a microprocessor 101a
The specific flowchart of the option unit connection determination job executed every 0 msec is shown.
【0028】ステップS501では,接続判別が終了し
たか否かを示す接続判別終了フラグをチェックして,
「0」(1:終了,0:接続判別未実行)ならば,ステ
ップS502へ進む,「0」でなければ,本ルーチンを
終了する。In step S501, a connection determination end flag indicating whether or not the connection determination is completed is checked,
If it is "0" (1: end, 0: connection determination is not executed), the process proceeds to step S502. If it is not "0", this routine is ended.
【0029】ステップS502では,初期化動作が終了
したか否かを示す初期化動作終了フラグをチェックし
て,「1」(1:終了,0:初期化処理未実行)なら
ば,ステップS507へ進み,「1」でなければ,ステ
ップS503へ進む。In step S502, the initialization operation end flag indicating whether or not the initialization operation has been completed is checked. If "1" (1: end, 0: initialization processing not executed), go to step S507. If it is not "1", the process proceeds to step S503.
【0030】ステップS503では,通信制御用IC1
01bの送信端子をGNDレベルに固定するようにオプ
ション判別用送信線切換回路101cへ指令する。In step S503, the communication control IC 1
The option determining transmission line switching circuit 101c is instructed to fix the transmission terminal of 01b to the GND level.
【0031】ステップS504では,タイマーT1をイ
ンクリメントする。ただし,タイマーT1は,本ルーチ
ンが実行される前に予めタイマー値「0」に初期化され
ているものとする。In step S504, the timer T1 is incremented. However, it is assumed that the timer T1 is initialized to the timer value "0" in advance before the execution of this routine.
【0032】ステップS505では,タイマーT1が所
定時間Tint を越えているか否か判定し,T1>Tint
であれば,ステップS506へ進み,T1>Tint でな
ければ,本ルーチンを終了する。In step S505, it is determined whether the timer T1 has exceeded the predetermined time Tint, and T1> Tint.
If so, the process proceeds to step S506, and if T1> Tint is not satisfied, this routine ends.
【0033】ステップS506では,初期化動作終了フ
ラグに「1」をセットする。In step S506, the initialization operation end flag is set to "1".
【0034】ステップS507では,通信制御用IC1
01bの送信端子を基準電圧レベル(Vcc)に固定する
ようにオプション判別用送信線切換回路101cへ指令
する。In step S507, the communication control IC 1
The option discriminating transmission line switching circuit 101c is instructed to fix the transmission terminal of 01b to the reference voltage level (Vcc).
【0035】ステップS508では,送信端子から流れ
出すピーク電流Ipeakを計測する。ステップS509で
は,ピーク電流Ipeakを予め記憶されている諸データ
(図4の電流特性)と比較して,接続されていないオプ
ションユニットの有無を判別する。In step S508, the peak current I peak flowing out from the transmission terminal is measured. In step S509, the peak current I peak is compared with various data stored in advance (current characteristics in FIG. 4) to determine the presence / absence of an unconnected option unit.
【0036】ステップS510では,接続判別終了フラ
グに「1」をセットする。In step S510, "1" is set to the connection determination end flag.
【0037】前述したように本実施例では,オプション
ユニット接続判別用キャップB103およびオプション
ユニット接続判別用キャップC104のように,ジョブ
ユニットが接続されていない通信線端子を所定の抵抗値
を有した抵抗を介して接地し,マネージメントユニット
101の通信線に流れる電流値の推移を検出して,オプ
ションユニットの有無を判別するので,簡単な構成で,
装置コストを上昇させることなく,オプションユニット
が接続されていない場合における必要のない故障表示
や,必要のないフェールセーフ動作の実行を回避でき
る。また,非接続オプションユニットへの通信アクセス
を停止できるので,通信の高速最適化を図ることができ
る。As described above, in the present embodiment, the communication line terminals to which the job unit is not connected, such as the optional unit connection determination cap B103 and the optional unit connection determination cap C104, have a resistance having a predetermined resistance value. It is grounded via, and the transition of the current value flowing in the communication line of the management unit 101 is detected to determine the presence or absence of the option unit.
It is possible to avoid unnecessary failure display and execution of unnecessary fail-safe operation when the option unit is not connected, without increasing the device cost. In addition, since the communication access to the non-connection option unit can be stopped, the communication speed can be optimized.
【0038】なお,前述した実施例では,最大でオプシ
ョンユニットが3個接続できる構成を例としたが,オプ
ションユニットの数はこれに限定されるものではなく,
例えば,7個或いは10個等のように増やすこともでき
る。ただし,各オプションユニット接続判別用キャップ
の抵抗値は,オプションユニット毎にそれぞれ異なる抵
抗値で,かつ,互いに他のユニットの抵抗値を組み合わ
せ値と一致しない抵抗値に予め設定して置く必要があ
る。また,各オプションユニット接続判別用キャップの
抵抗値と,各オプションユニットの取付端子との対応
が,予め決定されていなければならないのは勿論であ
る。In the above-described embodiment, the maximum number of option units that can be connected is three, but the number of option units is not limited to this.
For example, the number can be increased to 7 or 10. However, the resistance value of each option unit connection determination cap must be set differently for each option unit, and the resistance values of the other units must be set in advance so that they do not match the combined value. . Further, it is needless to say that the correspondence between the resistance value of each option unit connection determination cap and the mounting terminal of each option unit must be determined in advance.
【0039】[0039]
【発明の効果】以上説明したように,本発明によれば,
ジョブユニットが接続されていない通信線端子に通信線
端子接地手段を取り付け,ジョブユニット毎にそれぞれ
異なる抵抗値で,かつ,互いに他の抵抗値を組み合わせ
値と一致しない抵抗値を有した抵抗器を介して接地し,
電源投入後に電圧を通信線に印加し,その時に流れる電
流値の推移に基づいて,接続されていないジョブユニッ
トを判別するため,簡単な構成で,装置コストを上昇さ
せることなく,オプションユニットが接続されていない
場合における必要のない故障表示や,必要のないフェー
ルセーフ動作の実行を回避できる。また,非接続オプシ
ョンユニットへの通信アクセスを停止し,通信の高速最
適化を図ることができる。As described above, according to the present invention,
The communication line terminal grounding means is attached to the communication line terminal to which the job unit is not connected, and a resistor having a different resistance value for each job unit and a resistance value that does not match the combination of other resistance values with each other is used. Grounded through
A voltage is applied to the communication line after the power is turned on, and the job units that are not connected are identified based on the transition of the current value that flows at that time. Therefore, with a simple configuration, optional units can be connected without increasing the device cost. It is possible to avoid unnecessary failure display and execution of unnecessary fail-safe operation when not performed. In addition, communication access to the unconnected option unit can be stopped to optimize communication at high speed.
【図1】本発明の一実施例の構成例を示す説明図であ
る。FIG. 1 is an explanatory diagram showing a configuration example of an embodiment of the present invention.
【図2】オプションユニット接続判別用キャップの具体
的な構成図である。FIG. 2 is a specific configuration diagram of an optional unit connection determination cap.
【図3】図1の構成から説明に必要な部分を抽出した回
路図である。FIG. 3 is a circuit diagram in which parts necessary for explanation are extracted from the configuration of FIG.
【図4】電流Iと時間tとの関係による電流特性を示す
グラフである。FIG. 4 is a graph showing current characteristics according to the relationship between current I and time t.
【図5】オプションユニット接続判別ジョブのフローチ
ャートである。FIG. 5 is a flowchart of an option unit connection determination job.
101 マネージメントユニット(親局) 101a マイクロプロセッサ 101b 通
信制御用IC 101c オプション判別用送信線切換回路 101d 電流検出回路 102 オプションユニットA 102a マイクロプロセッサ 102b 通
信制御用IC 103 オプションユニット接続判別用キャップB 104 オプションユニット接続判別用キャップC C0 コンデンサ R0 ,Rb ,Rc 抵抗101 Management Unit (Master Station) 101a Microprocessor 101b Communication Control IC 101c Option Discrimination Transmission Line Switching Circuit 101d Current Detection Circuit 102 Option Unit A 102a Microprocessor 102b Communication Control IC 103 Option Unit Connection Discrimination Cap B 104 Option Unit Connection discrimination cap C C0 Capacitor R0, Rb, Rc Resistance
Claims (3)
のジョブユニット(子局)が接続可能なローカルエリア
ネットワーク(LAN)の通信制御を行う通信制御シス
テムにおいて,前記ローカルエリアネットワークの通信
線端子のうちジョブユニットが接続されていない通信線
端子を,ジョブユニット毎にそれぞれ異なる抵抗値で,
かつ,互いに他の抵抗値を組み合わせた値と一致しない
抵抗値を有した抵抗器を介して接地する通信線端子接地
手段を備えたことを特徴とする通信制御システム。1. A communication control system for controlling communication of a local area network (LAN), wherein a management unit (master station) and a plurality of job units (slave stations) can be connected, in a communication line terminal of the local area network. The communication line terminals to which job units are not connected have different resistance values for each job unit,
A communication control system, further comprising communication line terminal grounding means for grounding via a resistor having a resistance value that does not match a combined value of other resistance values.
その時に流れる電流値の推移に基づいて,接続されてい
ないジョブユニットを判別するジョブユニット接続判別
手段を備えたことを特徴とする請求項1記載の通信制御
システム。2. A voltage is applied to the communication line after the power is turned on,
2. The communication control system according to claim 1, further comprising a job unit connection discriminating means for discriminating a job unit that is not connected based on a transition of a current value flowing at that time.
判別された場合に,そのジョブユニットを通信制御およ
び故障診断の対象外とするジョブユニット非接続時制御
手段を備えたことを特徴とする請求項1記載の通信制御
システム。3. A non-connected job unit control means for excluding the job unit from communication control and failure diagnosis when it is determined that the job unit is not connected. 1. The communication control system according to 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5143207A JPH0715446A (en) | 1993-06-15 | 1993-06-15 | Communication control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5143207A JPH0715446A (en) | 1993-06-15 | 1993-06-15 | Communication control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0715446A true JPH0715446A (en) | 1995-01-17 |
Family
ID=15333378
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5143207A Pending JPH0715446A (en) | 1993-06-15 | 1993-06-15 | Communication control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0715446A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8112190B2 (en) | 2007-04-27 | 2012-02-07 | Yamaha Hatsudoki Kabushiki Kaisha | Boat control system and boat |
-
1993
- 1993-06-15 JP JP5143207A patent/JPH0715446A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8112190B2 (en) | 2007-04-27 | 2012-02-07 | Yamaha Hatsudoki Kabushiki Kaisha | Boat control system and boat |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6587968B1 (en) | CAN bus termination circuits and CAN bus auto-termination methods | |
| US5459660A (en) | Circuit and method for interfacing with vehicle computer | |
| US5572658A (en) | Network interface | |
| US6237113B1 (en) | Method of initializing a control unit connected to a diagnostic bus | |
| CN110892681B (en) | Transmitting/receiving device, bus system and method for identifying short circuit | |
| JP5071151B2 (en) | COMMUNICATION SYSTEM, ABNORMALITY ESTIMATION METHOD, AND INFORMATION READING DEVICE | |
| US6691056B2 (en) | Circuit arrangement for error recognition of a two-wire data bus | |
| US20200136860A1 (en) | Control area network (can) transceivers with automatic polarity detection | |
| US11584316B2 (en) | Communication system and vicarious inputting and outputting unit | |
| EP3550769A1 (en) | Communication circuitry integrity assessment | |
| JPH04219099A (en) | On-vehicle communication equipment | |
| DE10134584B4 (en) | Bus system and method for exchanging data | |
| EP0566139B1 (en) | Communications system for communications between an electronic control apparatus and a test apparatus | |
| JP4345502B2 (en) | Fault diagnosis method for vehicle communication network | |
| US5510775A (en) | Method of personalizing an electronic module and electronic circuit and module for implementing the method | |
| JPH0715446A (en) | Communication control system | |
| EP4116828B1 (en) | Communication circuit, communication control method, circuit board, and air conditioning system | |
| US12417691B2 (en) | Ground short failure detection device and node device | |
| JP3179037B2 (en) | Vehicle communication network system | |
| JP2667909B2 (en) | Elevator signal transmission method | |
| JP2726300B2 (en) | Fault diagnosis device | |
| JP3084858B2 (en) | Signal abnormality detection device for in-vehicle network | |
| JP2857655B2 (en) | Vehicle data transmission system | |
| JP3180457B2 (en) | Operation setting device of microcomputer of occupant protection device | |
| JP2770287B2 (en) | Vehicle data transmission system |