JP2016082351A - Communications system - Google Patents
Communications system Download PDFInfo
- Publication number
- JP2016082351A JP2016082351A JP2014210790A JP2014210790A JP2016082351A JP 2016082351 A JP2016082351 A JP 2016082351A JP 2014210790 A JP2014210790 A JP 2014210790A JP 2014210790 A JP2014210790 A JP 2014210790A JP 2016082351 A JP2016082351 A JP 2016082351A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- slave device
- microcomputer
- terminal
- reset
- 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
Images
Landscapes
- Communication Control (AREA)
Abstract
Description
本発明は、主装置と従装置との間で通信を行い主装置が従装置をリセットする通信システムに関する。 The present invention relates to a communication system in which communication is performed between a master device and a slave device, and the master device resets the slave device.
従来より、システム全体を司る主装置と周辺機能を司る従装置を備え、各装置に搭載されたマイコン間で通信を行う通信システムが知られている。このように構成された通信システムでは、主装置が従装置のマイコンをリセットするためにリセット用の通信線が必要となるため、システム構成が複雑になり、通信線が増えることによるコストが増加するという課題があった。 2. Description of the Related Art Conventionally, there is known a communication system that includes a master device that controls the entire system and a slave device that controls peripheral functions, and performs communication between microcomputers mounted on each device. In the communication system configured as described above, a reset communication line is necessary for the main apparatus to reset the microcomputer of the slave apparatus, so that the system configuration becomes complicated and the cost due to the increase in the communication lines increases. There was a problem.
このような課題の対策として特許文献1に示される従来の通信システムでは、従装置のマイコンをリセットする際、主装置内の禁止手段により、データ通信線を介して主装置から従装置へ送信されていたデータの送信が禁止され、主装置内のリセット信号送出手段によりデータ通信線に対してリセット信号が送出され、従装置内の検出手段によりリセット信号が検出され、検出手段でリセット信号が検出されることで従装置内のリセット手段が従装置をリセットする。このようにリセット信号はデータ通信線で伝送されるため、リセット信号を送出するための専用線であるリセット通信線を設けることなく従装置のリセットが可能となる。
In the conventional communication system disclosed in
しかしながら、特許文献1に示すシステムでは、データ送信用のポート以外にもリセット信号を出力するための専用のポートを主装置内のマイコンに割り当てる必要があるため、システム構成を簡略化して更なるコスト低減を図ることが困難であった。
However, in the system shown in
本発明は、上記に鑑みてなされたものであって、システム構成を簡略化して更なるコスト低減を図ることができる通信システムを得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a communication system capable of simplifying the system configuration and further reducing the cost.
上述した課題を解決し、目的を達成するために、本発明は、通信線を介して主装置と従装置とが相互に通信信号の伝送を行う通信システムであって、前記主装置は、前記従装置に送信した通信信号に対する前記従装置からの返信の有無により前記従装置との通信が不能と判断したとき、前記従装置へ通信信号を送信する出力レベルを、前記従装置との通信が可能な状態のときの通信を行わないタイミングの出力レベルとは異なる出力レベルに切り替え、前記従装置は、前記主装置で切り替えられた出力レベルが一定時間継続したときに前記従装置をリセットすることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a communication system in which a master device and a slave device transmit communication signals to each other via a communication line, and the master device includes: When it is determined that communication with the slave device is impossible due to the presence or absence of a reply from the slave device with respect to the communication signal transmitted to the slave device, the output level at which the communication signal is transmitted to the slave device is set to the communication with the slave device. Switch to an output level different from the output level at the timing when communication is not performed in a possible state, and the slave device resets the slave device when the output level switched by the master device continues for a certain period of time. It is characterized by.
本発明によれば、システム構成を簡略化して更なるコスト低減を図ることができるという効果を奏する。 According to the present invention, it is possible to simplify the system configuration and further reduce the cost.
以下に、本発明の実施の形態にかかる通信システムを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a communication system according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態.
図1は本発明の実施の形態に係る通信システムの全体構成を表す図である。通信システムは、主装置10と従装置20を有し、主装置10と従装置20は通信線30と電源線31で接続され相互に接続されている。主装置10は主装置用マイコン11および送受信号合成回路12を有し、従装置20は従装置用マイコン21、送受信号合成回路22、遅延回路23、およびリセット回路24を有して構成される。
Embodiment.
FIG. 1 is a diagram showing the overall configuration of a communication system according to an embodiment of the present invention. The communication system includes a master device 10 and a slave device 20, and the master device 10 and the slave device 20 are connected to each other by a
主装置用マイコン11は、主装置10から従装置20へ送信する通信信号の出力ポートであるTx端子と、従装置20から主装置10へ送信された通信信号の入力ポートであるRx端子とを有する。主装置用マイコン11のTx端子とRx端子は送受信号合成回路12に接続されている。従装置用マイコン21は、従装置20から主装置10へ送信する通信信号の出力ポートであるTx端子と、主装置10から従装置20へ送信された通信信号の入力ポートであるRx端子と、Reset端子とを有する。従装置用マイコン21のTx端子とRx端子には送受信号合成回路22が接続され、Reset端子には遅延回路23およびリセット回路24が接続される。送受信号合成回路12と送受信号合成回路22は通信線30で接続されている。図1ではTx端子を「Tx」、Rx端子を「Rx」、Reset端子を「Reset」と表記している。
The main device microcomputer 11 has a Tx terminal that is an output port of a communication signal transmitted from the main device 10 to the slave device 20, and an Rx terminal that is an input port of a communication signal transmitted from the slave device 20 to the main device 10. Have. The Tx terminal and the Rx terminal of the main device microcomputer 11 are connected to the transmission / reception
図2は送受信号合成回路12,22の構成例を表す図である。送受信号合成回路12,22は、ベースにTx端子が接続されるトランジスタ201と、ベースにトランジスタ201のコレクタが接続されるトランジスタ202とを有して構成されている。
FIG. 2 is a diagram illustrating a configuration example of the transmission / reception
図2に示す送受信号合成回路の動作を説明する。ここでは説明を簡単化するため主装置用マイコン11から従装置用マイコン21に通信信号が送信される場合の動作を説明する。主装置用マイコン11が従装置用マイコン21との通信を行わないとき、または主装置用マイコン11が従装置用マイコン21に対する送信データ1を出力するとき、主装置用マイコン11のTx端子から出力される通信信号の出力レベルはHighレベルである。このときトランジスタ201およびトランジスタ202はオフとなるため、送受信号合成回路12,22の信号出力のレベルはHighレベルとなる。
The operation of the transmission / reception signal combining circuit shown in FIG. 2 will be described. Here, in order to simplify the description, an operation when a communication signal is transmitted from the main device microcomputer 11 to the
一方、主装置用マイコン11が従装置用マイコン21に対する送信データ0を出力するとき、主装置用マイコン11のTx端子から出力される通信信号の出力レベルは、Lowレベルとなり、トランジスタ201およびトランジスタ202はオンとなる。そのため、送受信号合成回路12の信号出力のレベルはLowレベルとなり、主装置用マイコン11のRx端子にはトランジスタ202の信号出力のレベルが入力される。なお、送受信号合成回路12と送受信号合成回路22は、各々のトランジスタ202のオープンコレクタ出力が接続されるため、一方のマイコンが送信を行うタイミングでTx端子の出力がLowレベルの時、他方のマイコンが受信するタイミングでTx端子の出力はHighレベルであるが、このHighレベル出力が短絡状態となって他方マイコンのTx端子を過電流で故障させることはない。
On the other hand, when the main device microcomputer 11 outputs the transmission data 0 to the
図3は送受信号合成回路の別の構成例を表す図である。送受信号合成回路12Aは、トランジスタ303と、1次側にTx端子が接続され2次側にトランジスタ303のベースが接続されたフォトカプラ301と、1次側にトランジスタ303が接続され2次側にRx端子が接続されたフォトカプラ302とを有して構成されている。図3の送受信号合成回路12Aを主装置10に用い、図2の送受信号合成回路22を従装置20に用いることで、主装置10と従装置20の相互間の絶縁が図られる。なお、図3の送受信号合成回路12Aは従装置20の送受信号合成回路22の代わりに用いてもよい。
FIG. 3 is a diagram illustrating another configuration example of the transmission / reception signal synthesis circuit. The transmission / reception
図3に示す送受信号合成回路12Aの動作を説明する。ここでは説明を簡単化するため主装置用マイコン11から従装置用マイコン21に通信信号が送信される場合の動作を説明する。主装置用マイコン11が従装置用マイコン21との通信を行わないとき、または主装置用マイコン11が従装置用マイコン21に対する送信データ1を出力するとき、主装置用マイコン11のTx端子から出力される通信信号の出力レベルはHighレベルである。このときフォトカプラ301の1次側が非導通となるため、フォトカプラ301の二次側はオフとなり、送受信号合成回路12Aの信号出力のレベルはHighレベルとなる。
The operation of the transmission / reception
一方、主装置用マイコン11が従装置用マイコン21に対する送信データ0を出力するとき、主装置用マイコン11のTx端子から出力される通信信号の出力レベルは、Lowレベルとなる。そのため、フォトカプラ301の1次側が導通し、フォトカプラ301の二次側はオンとなり、送受信号合成回路12Aの信号出力のレベルはLowレベルとなる。
On the other hand, when the main apparatus microcomputer 11 outputs transmission data 0 to the
逆に主装置用マイコン11が受信する場合においては、送受信号合成回路12Aの通信信号出力に従装置用マイコン21からの信号が入力される。従装置用マイコン21が主装置用マイコン11に対する送信データ1を出力するとき、通信信号出力はHighレベルとなりトランジスタ303はオフとなる。トランジスタ303はオフとなるため、フォトカプラ302の1次側が非導通となり、フォトカプラ302の二次側がオフとなって、主装置用マイコン11のRx端子にはHighレベルの電圧が印加される。
Conversely, when the main device microcomputer 11 receives the signal, the signal from the
一方、従装置用マイコン21が主装置用マイコン11に対する送信データ0を出力するとき、通信信号出力はLowレベルである。そのため、フォトカプラ301の1次側が導通し、フォトカプラ301の二次側はオンとなり、主装置用マイコン11のRx端子にはLowレベルの電圧が印加される。
On the other hand, when the
図4は遅延回路23の構成例を示す図である。図4には従装置20を構成する従装置用マイコン21、遅延回路23、およびリセット回路24が示され、従装置用マイコン21のReset端子とリセット回路24との接続端に遅延回路23が接続されている。
FIG. 4 is a diagram illustrating a configuration example of the
遅延回路23は、ベースが図1の通信線30を介して主装置10から送信される通信信号が入力されるトランジスタ401と、一端がトランジスタ401に接続され他端が接地されるコンデンサ404と、ベースがトランジスタ401とコンデンサ404との接続端に接続されるトランジスタ402と、ベースがトランジスタ402のコレクタに接続され、コレクタがリセット回路24の出力端と従装置用マイコン21のReset端子との接続端に接続されたトランジスタ403とを有して構成されている。
The
図4に示す遅延回路23を用いた通信システムの動作を説明する。ここでは説明を簡単化するため図1に示す主装置用マイコン11から従装置用マイコン21に通信信号が送信される場合の動作を説明する。図1に示す主装置10の主装置用マイコン11が従装置用マイコン21との通信を行わないとき、または主装置用マイコン11が従装置用マイコン21に対する送信データ1を出力するとき、主装置用マイコン11のTx端子から出力される通信信号の出力レベルはHighレベルである。これにより図4に示すトランジスタ401はオンとなるため、コンデンサ404が充電され、かつ、トランジスタ402がオンとなる。従ってトランジスタ403のベース電位がLowレベルとなり、トランジスタ403はオフとなる。その結果、従装置20の従装置用マイコン21のReset端子の入力レベルはHighレベルとなり、リセット解除状態となる。
The operation of the communication system using the
一方、図1に示す主装置10の主装置用マイコン11が従装置用マイコン21に対する送信データ0を出力するとき、主装置用マイコン11のTx端子から出力される通信信号の出力レベルはLowレベルとなる。これによって図4に示すトランジスタ401はオフとなる。このときコンデンサ404に蓄えられた電荷が放電される。トランジスタ402をオン状態に維持できる期間、すなわちコンデンサ404に蓄えられた電荷が放電される期間をT1と仮定したとき、期間T1が経過するまでは、トランジスタ402はオン状態に維持される。従って、期間T1が経過するまではトランジスタ403のベース電位はLowレベルであり、トランジスタ403はオフの状態となる。その結果、従装置20の従装置用マイコン21のReset端子の入力レベルはHighレベルとなり、リセット解除状態となる。
On the other hand, when the main unit microcomputer 11 of the main unit 10 shown in FIG. 1 outputs the transmission data 0 to the
送受信号合成回路12の信号出力がLowレベルとなっている期間が期間T1よりも長い場合、期間T1が経過した時点でコンデンサ404に蓄えられた電荷が無くなるためトランジスタ402はオフになり、トランジスタ403のベース電位が上昇してトランジスタ403はオンとなる。従装置用マイコン21のReset端子の入力レベルはLowレベルとなり、リセット状態となる。なお、遅延回路23の動作はリセット回路24の動作を妨げるものではなく、従装置用マイコン21のリセット状態またはリセット解除状態はリセット回路24のみで制御することも可能である。
When the period during which the signal output of the transmission / reception
図5は主装置用マイコンのTx端子から出力される通信信号の波形とReset端子の入力レベルとの関係を説明するための図である。 FIG. 5 is a diagram for explaining the relationship between the waveform of the communication signal output from the Tx terminal of the microcomputer for the main apparatus and the input level of the Reset terminal.
(1)は主装置用マイコンのTx端子から出力される通信信号の波形を表す。前述したように主装置用マイコン11のTx端子から出力される通信信号の出力レベルは、主装置用マイコン11が従装置用マイコン21との通信を行わないとき、または主装置用マイコン11が従装置用マイコン21に対する送信データ1を出力するときにはHighレベルであり、従装置用マイコン21に対する送信データ0を出力するときにはLowレベルとなる。符号Aで示すパルス状の波形は主装置用マイコン11から従装置用マイコン21へ送信される送信データを表す。(2)は主装置用マイコン11のRx端子に入力される通信信号の波形を表す。図示例では2種類のパルス状の波形が示され、一方の波形は、主装置用マイコン11のTx端子から送信される送信データを表し、符号Bで示す他方の波形は、送信データが従装置用マイコン21に到達したときに従装置用マイコン21から返信される返信データの波形である。(3)は通信線30の電圧レベルと通信線30に伝送される通信信号の波形を表す。(4)は従装置用マイコン21のReset端子の入力レベルを表す。
(1) represents the waveform of the communication signal output from the Tx terminal of the microcomputer for the main apparatus. As described above, the output level of the communication signal output from the Tx terminal of the main device microcomputer 11 is determined when the main device microcomputer 11 does not communicate with the
期間T1はコンデンサ404に蓄えられた電荷が放電されるまでの時間である。期間T2は期間T1よりも長く、かつ、主装置用マイコン11が従装置用マイコン21に対して送信データ0を出力するときの出力レベルであるLowレベルを継続する時間よりも長い時間である。期間T2は主装置用マイコン11に設定されている。期間T3は従装置用マイコン21のリセットが解除された時点から従装置用マイコン21の初期化が完了するまでの時間である。
A period T1 is a time until the electric charge stored in the
通信システムの動作を図中の符号A〜Gと関連付けて説明する。(A)主装置用マイコン11のTx端子より送信データが出力され、(B)送信データが従装置用マイコン21に到達したとき、従装置用マイコン21は送信データに対して返信データを送信し、返信データは主装置用マイコン11のRx端子に伝達される。図1に示す回路構成では主装置用マイコン11のTx端子から出力された送信データ1は主装置用マイコン11のRx端子にも入力される。そのため、主装置用マイコン11のRx端子には、主装置用マイコン11のTx端子から出力された送信データ1と従装置用マイコン21から出力される返信データとが入力される。(C)このとき従装置用マイコン21のReset端子の入力レベルは、遅延回路23によりHighレベルを維持している。そのため、従装置用マイコン21はリセット解除状態を維持する。
The operation of the communication system will be described in association with symbols A to G in the figure. (A) When transmission data is output from the Tx terminal of the microcomputer 11 for the main apparatus, and (B) when the transmission data reaches the
(D)従装置20に何らかの異常が発生して従装置用マイコン21からの返信データが途絶えたとき、(E)主装置用マイコン11は、Tx端子の機能を通信用出力から汎用出力に切り替える。更に汎用出力に切り替えたTX端子からLowレベルを出力する。すなわち主装置用マイコン11は、従装置用マイコン21との通信が不能と判断したとき、通信が可能な状態で通信を実施していないタイミングのレベルとは異なるレベルの出力を行う。図示例では、主装置用マイコン11が従装置用マイコン21との通信を行わないとき、または主装置用マイコン11が従装置用マイコン21に対する送信データ1を出力するときの出力レベルであるHighレベルから、異なるレベルのLowレベルに切り替えられている。これにより通信線30にはLowレベルの信号が伝送される。主装置用マイコン11は、期間T2が経過するまで信号出力のレベルをLowレベルに維持する。一方、遅延回路23の出力レベルは、期間T1が経過するまでHighレベルであるため、従装置用マイコン21のReset端子の入力レベルは、期間T1が経過するまでHighレベルである。そして、期間T1が経過したとき遅延回路23の出力レベルはLowレベルになる。すなわち期間T1が経過したときに従装置用マイコン21のReset端子にリセット信号が入力された状態となり、従装置用マイコン21はリセット状態となる。
(D) When any abnormality occurs in the slave device 20 and the reply data from the
(F)期間T2が経過したとき、主装置用マイコン11は、主装置用マイコン11のTx端子の機能を汎用出力から通信用出力に切り替える。この切り替えによりTx端子の出力レベルは、従装置用マイコン21との通信を行わないときの出力レベル、または主装置用マイコン11が従装置用マイコン21に対する送信データ1を出力するときの出力レベルに切り替える。図示例では、Tx端子から出力される通信信号の出力レベルは、LowレベルからHighレベルに切り替えられている。これにより通信線30にはHighレベルの信号が伝送され、従装置用マイコン21のリセットが解除された状態となる。
(F) When the period T2 elapses, the main device microcomputer 11 switches the function of the Tx terminal of the main device microcomputer 11 from the general-purpose output to the communication output. By this switching, the output level of the Tx terminal becomes the output level when communication with the
(G)主装置用マイコン11は、従装置用マイコン21のリセットが解除された時点から従装置用マイコン21の初期化が完了するまでの期間T3が経過するまで待機した後、送信データの送信を再開する。(H)送信データが従装置用マイコン21に到達したとき、従装置用マイコン21は送信データに対して返信データの送信を再開し、返信データは主装置用マイコン11のRx端子に伝達される。
(G) The master device microcomputer 11 waits until a period T3 from when the reset of the
なお本実施の形態では遅延回路23を用いた通信システムの構成例を説明したが、通信システムは以下のように構成してもよい。例えば遅延回路23の代わりに初期化信号判定部を設け、初期化信号判定部には前述した期間T1が設定され、初期化信号判定部は、主装置用マイコン11のTx端子からの初期化信号として主装置用マイコン11が従装置用マイコン21との通信を行わないとき、または主装置用マイコン11が従装置用マイコン21に対する送信データ1を出力するときの出力レベルと異なるレベルの継続時間と期間T1とを比較し、初期化信号の継続時間が期間T1を超えるまではReset端子の入力レベルをHighレベルとし、初期化信号の継続時間が期間T1を超えたときにReset端子の入力レベルをLowレベルにする。すなわち期間T1が経過したときに従装置用マイコン21のReset端子にはリセット信号が入力された状態となり従装置用マイコン21がリセット状態となる。このように構成しても遅延回路23を用いた場合と同様の動作を実現できる。また既存のリセット回路24を改良し、例えば初期化信号の継続時間が期間T1を超えるまではReset端子の入力レベルをHighレベルとし、初期化信号の継続時間が期間T1を超えたときにReset端子の入力レベルをLowレベルにする構成でもよい。
In the present embodiment, the configuration example of the communication system using the
また本実施の形態の通信システムには送受信号合成回路12と送受信号合成回路22が用いられているが通信システムの構成はこれに限定されるものではなく、主装置用マイコン11のTx端子と従装置用マイコン21のRx端子とを通信線30で接続し、主装置用マイコン11のRx端子と従装置用マイコン21のTx端子とを通信線30で接続する構成でもよい。
In addition, although the transmission / reception
以上に説明したように本実施の形態に係る通信システムは、通信線を介して主装置と従装置とが相互に通信信号の伝送を行う通信システムであって、主装置は、前記従装置に送信した通信信号に対する前記従装置からの返信の有無により前記従装置との通信が不能と判断したとき、前記従装置へ通信信号を送信する出力レベルを、前記従装置との通信が可能な状態のときの通信を行わないタイミングの出力レベルとは異なる出力レベルに切り替え、前記従装置は、前記主装置で切り替えられた出力レベルが一定時間継続したときに前記従装置をリセットする。この構成により、主装置10内のデータ送信用のポートであるTx端子で従装置20をリセットするための信号の出力を行うことができる。上記の特許文献1に示される従来技術では、データ送信用のポート以外にもリセット信号を出力するための専用のポートを主装置内のマイコンに割り当てる必要があるため、システム構成を簡略化して更なるコスト低減を図ることが困難であった。これに対して本実施の形態に係る通信システムでは、リセット信号を出力するための専用のポートを設ける必要がないため、リセット信号を出力するための構成変更に伴うコストが不要である。またデータ送信用のポート以外のポートを他の用途に割り当てることができるため、コストの増加を招くことなくシステムのリソースを有効に活用することができる。
As described above, the communication system according to the present embodiment is a communication system in which a master device and a slave device transmit communication signals to each other via a communication line, and the master device is connected to the slave device. When it is determined that communication with the slave device is impossible due to the presence or absence of a reply from the slave device to the transmitted communication signal, the output level for transmitting the communication signal to the slave device is in a state where communication with the slave device is possible In this case, the slave device is switched to an output level different from the output level at the timing when communication is not performed, and the slave device resets the slave device when the output level switched by the master device continues for a predetermined time. With this configuration, it is possible to output a signal for resetting the slave device 20 at the Tx terminal which is a data transmission port in the master device 10. In the prior art disclosed in
また本実施の形態に係る主装置は、前記従装置に送信する通信信号と前記従装置から送信される通信信号とを合成する送受信号合成回路を備え、前記従装置は、前記主装置に送信する通信信号と前記主装置から送信される通信信号とを合成する送受信号合成回路を備える。この構成により、リセット用の信号を送信するための通信線を設けることなく、更に主装置と従装置との間の送受信の信号も合成されるため、1本の通信線30のみでシステムを構築することができる。従って通信線30の設置に伴うコストを低減することができる。
In addition, the master device according to the present embodiment includes a transmission / reception signal synthesis circuit that synthesizes a communication signal transmitted to the slave device and a communication signal transmitted from the slave device, and the slave device transmits to the master device. A transmission / reception signal combining circuit that combines a communication signal to be transmitted and a communication signal transmitted from the main apparatus. With this configuration, a transmission / reception signal between the main device and the slave device is also synthesized without providing a communication line for transmitting a reset signal, so a system is constructed with only one
また本実施の形態に係る従装置は、前記主装置で切り替えられた出力レベルを一定時間保持し、前記一定時間が経過したときに前記従装置をリセットするリセット信号を出力する遅延回路を備える。この構成により、従装置用マイコン21およびリセット回路24を改修することなく上記の効果を得ることができる。
In addition, the slave device according to the present embodiment includes a delay circuit that holds the output level switched by the master device for a certain time and outputs a reset signal that resets the slave device when the certain time has elapsed. With this configuration, the above effect can be obtained without modifying the
また本実施の形態に係る通信システムでは、前記通信線と前記主装置との間がフォトカプラにより絶縁され、または前記通信線と前記主装置との間がフォトカプラにより絶縁されている。これにより例えば従装置が使用者が触れる機会が多い操作部などであった場合に、従装置の電源を主装置の電源とは独立した安全な対地電位の電源から供給するすることができ、安全性を高めることができる。 In the communication system according to the present embodiment, the communication line and the main device are insulated by a photocoupler, or the communication line and the main device are insulated by a photocoupler. As a result, for example, when the slave device is an operation unit that is frequently touched by the user, the power of the slave device can be supplied from a safe ground potential power source independent from the power source of the master device. Can increase the sex.
以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
10 主装置、11 主装置用マイコン、12,12A 送受信号合成回路、20 従装置、21 従装置用マイコン、22 送受信号合成回路、23 遅延回路、24 リセット回路、30 通信線、31 電源線、201,202 トランジスタ、301,302 フォトカプラ、303 トランジスタ、401,402,403 トランジスタ、404 コンデンサ。 10 main device, 11 microcomputer for main device, 12, 12A transmission / reception signal synthesis circuit, 20 slave device, 21 slave device microcomputer, 22 transmission / reception signal synthesis circuit, 23 delay circuit, 24 reset circuit, 30 communication line, 31 power line, 201, 202 Transistor, 301, 302 Photocoupler, 303 Transistor, 401, 402, 403 Transistor, 404 Capacitor.
Claims (6)
前記主装置は、前記従装置に送信した通信信号に対する前記従装置からの返信の有無により前記従装置との通信が不能と判断したとき、前記従装置へ通信信号を送信する出力レベルを、前記従装置との通信が可能な状態のときの通信を行わないタイミングの出力レベルとは異なる出力レベルに切り替え、
前記従装置は、前記主装置で切り替えられた出力レベルが一定時間継続したときに前記従装置をリセットすることを特徴とする通信システム。 A communication system in which a master device and a slave device transmit communication signals to each other via a communication line,
When the master device determines that communication with the slave device is impossible due to the presence or absence of a reply from the slave device to the communication signal transmitted to the slave device, the output level for transmitting the communication signal to the slave device is Switch to an output level different from the output level at the timing when communication is not performed when communication with a slave device is possible,
The slave device resets the slave device when the output level switched by the master device continues for a predetermined time.
前記従装置は、前記主装置に送信する通信信号と前記主装置から送信される通信信号とを合成する送受信号合成回路を備えることを特徴とする請求項1に記載の通信システム。 The master device includes a transmission / reception signal combining circuit that combines a communication signal transmitted to the slave device and a communication signal transmitted from the slave device,
The communication system according to claim 1, wherein the slave device includes a transmission / reception signal combining circuit that combines a communication signal transmitted to the master device and a communication signal transmitted from the master device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014210790A JP2016082351A (en) | 2014-10-15 | 2014-10-15 | Communications system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014210790A JP2016082351A (en) | 2014-10-15 | 2014-10-15 | Communications system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2016082351A true JP2016082351A (en) | 2016-05-16 |
Family
ID=55956534
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014210790A Pending JP2016082351A (en) | 2014-10-15 | 2014-10-15 | Communications system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2016082351A (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6394394A (en) * | 1986-10-08 | 1988-04-25 | 富士電機株式会社 | Controller for master slave type vending machine |
| JPH05265596A (en) * | 1992-03-16 | 1993-10-15 | Fujitsu Ltd | Device initializing system |
| JPH0621999A (en) * | 1992-07-03 | 1994-01-28 | Toshiba Corp | Serial communication equipment |
| JPH0629244U (en) * | 1992-09-16 | 1994-04-15 | 株式会社沖情報システムズ | Reset signal transmission circuit in serial transmission line |
| JP2002351753A (en) * | 2001-05-28 | 2002-12-06 | Canon Inc | Serial communication device |
| JP2004005150A (en) * | 2002-05-31 | 2004-01-08 | Fms Audio Sdn Bhd | Microcomputer automatic reset system for audio system |
| US20110208885A1 (en) * | 2010-02-25 | 2011-08-25 | Panasonic Corporation | Data bus control method and apparatus |
| JP2014072832A (en) * | 2012-10-01 | 2014-04-21 | Azbil Corp | Digital transmission module |
-
2014
- 2014-10-15 JP JP2014210790A patent/JP2016082351A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6394394A (en) * | 1986-10-08 | 1988-04-25 | 富士電機株式会社 | Controller for master slave type vending machine |
| JPH05265596A (en) * | 1992-03-16 | 1993-10-15 | Fujitsu Ltd | Device initializing system |
| JPH0621999A (en) * | 1992-07-03 | 1994-01-28 | Toshiba Corp | Serial communication equipment |
| JPH0629244U (en) * | 1992-09-16 | 1994-04-15 | 株式会社沖情報システムズ | Reset signal transmission circuit in serial transmission line |
| JP2002351753A (en) * | 2001-05-28 | 2002-12-06 | Canon Inc | Serial communication device |
| JP2004005150A (en) * | 2002-05-31 | 2004-01-08 | Fms Audio Sdn Bhd | Microcomputer automatic reset system for audio system |
| US20110208885A1 (en) * | 2010-02-25 | 2011-08-25 | Panasonic Corporation | Data bus control method and apparatus |
| JP2014072832A (en) * | 2012-10-01 | 2014-04-21 | Azbil Corp | Digital transmission module |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| MY181878A (en) | Power and data transmission system and method | |
| RU2015143957A (en) | SURGICAL INSTRUMENT MANAGEMENT SYSTEMS | |
| WO2014100843A3 (en) | Interface circuit for signal transmission | |
| SG11201906396YA (en) | Method for determining a discontinuous reception state, terminal device and network device | |
| TW201614405A (en) | Voltage generating circuit | |
| RU2015102791A (en) | METHOD FOR ACTIVATING A REMOTE DEVICE FROM A LOCAL DEVICE | |
| JP2017059894A5 (en) | ||
| JP2019071535A5 (en) | ||
| WO2014133864A3 (en) | A machine communication system and a communication unit | |
| JP2016082351A (en) | Communications system | |
| EP2753040B1 (en) | Terminating resistance generation device for differential input mode communication and differential input mode communication device | |
| US20120260018A1 (en) | Kvm switcher with ability to extend universal serial bus (usb) host interface via serial peripherial interface (spi) | |
| CN104182315B (en) | A kind of circuit, electronic equipment and its corresponding commissioning device of control debugging function | |
| US10212383B2 (en) | Standby control circuit and display device | |
| WO2011153100A3 (en) | Multi-use input | |
| KR100770856B1 (en) | Apparatus and method for performing multi-function through single port in mobile terminal | |
| MX2017011356A (en) | Outlet control system. | |
| US9438339B1 (en) | Automatic detection of infrared extender or blaster | |
| CN102693117A (en) | Interface circuit and electronic device with same | |
| JP2016012827A (en) | Optical transceiver | |
| WO2020032889A3 (en) | A gateway and a communication network comprising said gateway | |
| KR20150133968A (en) | Asynchronous receiver-transmitter circuit and washing machine including the same | |
| JP2015092657A5 (en) | ||
| JP3616559B2 (en) | Communication device | |
| CN102637005A (en) | Remote control switch |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170719 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180427 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180508 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180626 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181030 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181207 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190312 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20191001 |