JP2001086579A - Two-wire type communication system - Google Patents

Two-wire type communication system

Info

Publication number
JP2001086579A
JP2001086579A JP25836399A JP25836399A JP2001086579A JP 2001086579 A JP2001086579 A JP 2001086579A JP 25836399 A JP25836399 A JP 25836399A JP 25836399 A JP25836399 A JP 25836399A JP 2001086579 A JP2001086579 A JP 2001086579A
Authority
JP
Japan
Prior art keywords
data
unit
transmission
remote controller
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25836399A
Other languages
Japanese (ja)
Inventor
Kazumi Honda
和美 本多
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.)
INKUSU KK
Original Assignee
INKUSU KK
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 INKUSU KK filed Critical INKUSU KK
Priority to JP25836399A priority Critical patent/JP2001086579A/en
Publication of JP2001086579A publication Critical patent/JP2001086579A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a two-wire type communication system that can read data intermittently received in timing surely matched with the data transmission time and can be configured at a low cost. SOLUTION: In the two-wire type communication system where a main body device 2 supplies operating power to a remote commander 3 and transmits data thereto, the main body device 2 is provided with a power supply means 10 that supplies the operating power for a 1st prescribed time, a forced OFF means 11 that stops supply of the operating power and transmission of data for a 2nd prescribed time, and a data transmission means 12 that transmits the data in the unit of one bit for a 3rd prescribed time. The remote commander 3, on the other hand, is provided with a state change detection section 22 that detects stop of the operating power and a data reception means 23 that reads the data after a lapse of a 4th prescribed time from that point of time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、二線式通信方式に
関するものであり、特に、本体装置からリモートコント
ローラに作動用電力を供給するとともに、データの送受
信を行うことができる二線式通信方式に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-wire communication system, and more particularly to a two-wire communication system capable of supplying operating power from a main unit to a remote controller and transmitting and receiving data. It is about.

【0002】[0002]

【従来の技術】例えば、給湯装置においては、屋外等に
据付けられた給湯器本体と、その給湯器本体を遠隔操作
するためのリモートコントローラ(以下、「リモコン」
と称す)とから構成されており、リモコンで設定された
給湯温度や湯張水量が指示情報として給湯器本体に送信
されるとともに、給湯器本体の作動状態等が運転情報と
してリモコンに送信される。給湯器本体では、リモコン
から送信された指示情報に基づいて加熱量や水量を制御
し、一方リモコンでは、給湯器本体から送信された運転
情報に基づいて表示が行われている。
2. Description of the Related Art For example, in a hot water supply apparatus, a water heater main body installed outdoors or the like and a remote controller for remotely controlling the water heater main body (hereinafter, "remote control")
The hot water temperature and the amount of hot water set by the remote controller are transmitted to the water heater main unit as instruction information, and the operating state of the water heater main unit is transmitted to the remote controller as operation information. . In the water heater main body, the amount of heating and the amount of water are controlled based on the instruction information transmitted from the remote controller. On the other hand, in the remote controller, the display is performed based on the operation information transmitted from the water heater main body.

【0003】給湯器本体とリモコンとの通信方式とし
て、様々な方式のものが提案されているが、その1つと
して、給湯器本体とリモコンとを二線式の通信線で接続
し、この通信線を介して、リモコンに作動用電力を短い
周期で間欠的に供給するとともに、その間、すなわち電
力が供給されない期間に、データを1ビットまたは数ビ
ットずつ送信するものが知られている(例えば、特開平
9−247768号)。これによれば、リコモン内の制
御手段や表示手段を動作させるための電力は給湯器本体
から供給されるため、例えば浴室等、コンセントがない
場所においてもリモコンを配設することが可能である。
なお、上記の説明では、給湯装置を例として説明した
が、空調装置の場合も同様である。
[0003] Various communication systems have been proposed as a communication system between the water heater main body and the remote controller. One of the communication systems is to connect the water heater main body and the remote controller with a two-wire communication line. It is known that an operation power is intermittently supplied to a remote controller via a line in a short cycle and data is transmitted one bit or several bits at a time during the period, that is, during a period in which power is not supplied (for example, JP-A-9-247768). According to this, since electric power for operating the control means and the display means in the recommon is supplied from the water heater main body, it is possible to arrange the remote control even in a place where there is no outlet such as a bathroom.
In the above description, a hot water supply device has been described as an example, but the same applies to an air conditioner.

【0004】続いて、従来の通信方式の一例を、図6及
び図7に基づき具体的に説明する。図6は、従来から使
用されている通信回路を示す電気回路図であり、図7
は、従来の通信方式の動作を説明するための説明図であ
る。図6に示すように、装置30は、本体装置31(例
えば給湯器本体)と、リモコン32とからなり、二線か
らなる無極性の通信線33によって接続されている。
Next, an example of a conventional communication system will be specifically described with reference to FIGS. FIG. 6 is an electric circuit diagram showing a communication circuit conventionally used, and FIG.
FIG. 3 is an explanatory diagram for explaining an operation of a conventional communication system. As shown in FIG. 6, the apparatus 30 includes a main body apparatus 31 (for example, a water heater main body) and a remote controller 32, and is connected by a two-polarity non-polar communication line 33.

【0005】本体装置31は、マイクロコンピュータ3
4を備えており、電源制御部35、信号送信制御部3
6、及び信号受信制御部37等の各機能を有している。
電源制御部35は、抵抗やトランジスタから構成された
スイッチ回路38を制御することにより、外部の商用電
源に接続された電源回路39からリモコン32への電力
の供給を制御するものである。また、信号送信制御部3
6は、運転情報に関するデータを、本体装置31からリ
モコン32へ送信するための処理を行うものであり、信
号受信制御部37は、リモコン32から送られた指示情
報に関するデータを処理するものである。
The main unit 31 includes a microcomputer 3
4, a power supply control unit 35, a signal transmission control unit 3
6, and each function of the signal reception control unit 37 and the like.
The power supply control unit 35 controls the supply of power to the remote controller 32 from a power supply circuit 39 connected to an external commercial power supply by controlling a switch circuit 38 including a resistor and a transistor. The signal transmission control unit 3
Reference numeral 6 denotes processing for transmitting data relating to operation information from the main unit 31 to the remote controller 32, and the signal reception controller 37 processes data relating to instruction information transmitted from the remote controller 32. .

【0006】リモコン32は、本体装置31と同様に、
マイクロコンピュータ40を備えており、信号送信制御
部41、及び信号受信制御部42等の各機能を有してい
る。信号送信制御部41は、指示情報に関するデータ
を、リモコン32から本体装置31へ送信するための処
理を行うものであり、信号受信制御部42は、本体装置
31から送られた運転情報に関するデータを処理するも
のである。また、リモコン32には、本体装置31から
供給された電力を整流するブリッジ回路43と、供給さ
れた電力をリモコン32の作動用電力とする電源回路4
4とが備えられている。
The remote controller 32 is, like the main unit 31,
A microcomputer 40 is provided, and has functions such as a signal transmission control unit 41 and a signal reception control unit 42. The signal transmission control unit 41 performs a process for transmitting data relating to the instruction information from the remote controller 32 to the main unit 31. The signal reception control unit 42 transmits the data relating to the driving information transmitted from the main unit 31. To be processed. The remote controller 32 includes a bridge circuit 43 for rectifying the power supplied from the main unit 31, and a power supply circuit 4 that uses the supplied power for operating the remote controller 32.
4 are provided.

【0007】図7は本体装置31からリモコン32にデ
ータを送信する際の波形を示している。図7において、
(a)は本体装置31の電源制御部35からの出力波
形、すなわち電力の供給状態を示す波形である。ここで
は、2mSecのオフ状態(スタートビット)の後、1
mSec毎、オン状態とオフ状態が交互に繰返されてい
る。
FIG. 7 shows a waveform when data is transmitted from the main unit 31 to the remote controller 32. In FIG.
(A) is an output waveform from the power supply control unit 35 of the main body device 31, that is, a waveform indicating a power supply state. Here, after the 2 mSec off state (start bit), 1
The on state and the off state are alternately repeated every mSec.

【0008】また、図7において(b)は本体装置31
の信号送信制御部36からの出力波形、すなわちデータ
の出力状態を示す波形である。信号送信制御部36は、
複数ビットからなるデータを1ビット単位で送信するも
のであり、電源制御部35による電力の供給がオフ状態
のときにデータが1ビットずつ送信される。すなわち、
電力の供給、及びデータ(1ビット)の送信が、一連の
送信動作として順次行われるとともに、複数ビットのデ
ータが全て送信されるまでこの送信動作が繰返されるも
のである。なお、図7の(b)では、複数のビットが全
てHiであるデータを示している。そして、作動用電力
の波形(a)とデータの波形(b)とを合成したものが
通信線33を介してリモコン32に送信される。
FIG. 7B shows a main unit 31.
Is an output waveform from the signal transmission control unit 36, that is, a waveform indicating a data output state. The signal transmission control unit 36
The multi-bit data is transmitted in units of one bit. When the power supply by the power supply control unit 35 is off, the data is transmitted one bit at a time. That is,
The supply of power and the transmission of data (1 bit) are sequentially performed as a series of transmission operations, and this transmission operation is repeated until all data of a plurality of bits are transmitted. FIG. 7B shows data in which a plurality of bits are all Hi. Then, a composite of the waveform (a) of the operating power and the waveform (b) of the data is transmitted to the remote controller 32 via the communication line 33.

【0009】一方、図7において(c)は、リモコン3
2の信号受信制御部42に入力されるデータの波形であ
る。ところで、上記のような通信方式では、データの送
受信を確実に行うために、通信の同期を取る必要があ
る。そこで、従来の通信方式では、リモコン32は、本
体装置31から送信されるスタートビットを検知すると
ともに、スタートビット検知時点から計時を開始し、予
め定められた所定時間毎にデータを読込むようにしてい
る。具体的には、図7の(c)及び(d)に示すよう
に、リモコン32の信号受信制御部42において、入力
信号がHi状態であることが1.5mSec継続して検
知されたとき、受信のスタートビットであると認識し、
その時点から2mSec毎にデータを読込むようにして
いる。
On the other hand, FIG.
2 is a waveform of data input to the second signal reception control unit 42. By the way, in the communication method as described above, it is necessary to synchronize communication in order to surely transmit and receive data. Therefore, in the conventional communication method, the remote controller 32 detects the start bit transmitted from the main unit 31 and starts counting the time from the start bit detection time, and reads data at a predetermined time. Specifically, as shown in FIGS. 7C and 7D, when the signal reception control unit 42 of the remote controller 32 continuously detects that the input signal is in the Hi state for 1.5 mSec, Recognizing that it is the start bit of reception,
From that point, data is read every 2 mSec.

【0010】[0010]

【発明が解決しようとする課題】しかし、上記のリモコ
ン32は、本体装置31から送信されたスタートビット
の検知時点を基準として、所定時間毎にデータを読込む
ようにしているため、確実に同期を取れるのはスタート
ビットの検知時点、すなわち基準点のみであった。つま
り、実際にデータを読込む際には、本体装置31に備え
られた高周波発振子の精度と、リモコン32に備えられ
た高周波発振子の精度の影響を受けていた。そして、そ
の誤差の大きさはデータの長さが長くなる程大きくなっ
ていた。したがって、従来の方式では、データの長さが
比較的長くなると、データの送信のタイミングと、デー
タの読込みのタイミングとが合致せず、送信データを認
識できない場合が生じていた。
However, since the remote controller 32 reads data at predetermined time intervals based on the detection time point of the start bit transmitted from the main unit 31, the remote controller 32 can be reliably synchronized. Is the start bit detection time, that is, only the reference point. That is, when data is actually read, the accuracy of the high-frequency oscillator provided in the main unit 31 and the accuracy of the high-frequency oscillator provided in the remote controller 32 are affected. The magnitude of the error increases as the length of the data increases. Therefore, in the conventional method, when the length of the data is relatively long, the timing of transmitting the data and the timing of reading the data do not match, and the transmission data may not be recognized.

【0011】なお、本体装置31及びリモコン32の高
周波発振子として、発振周波数が極めて安定したものを
使用することにより、時間のずれをある程度減少させる
ことができるものの、そのような高周波発振子は非常に
高価であり、製品コストを大幅に増加させることから実
用的ではなかった。
The use of a high-frequency oscillator having a very stable oscillation frequency as the high-frequency oscillator of the main unit 31 and the remote controller 32 can reduce the time lag to some extent. And it was not practical because it greatly increased product costs.

【0012】そこで、本発明は、間欠的に送信されるデ
ータに対して、確実に合致するタイミングで読込むこと
ができ、しかも安価に構成することができる二線式通信
方式の提供を課題とするものである。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a two-wire communication system that can read data transmitted intermittently at a timing that matches the data reliably and can be configured at low cost. Is what you do.

【0013】[0013]

【課題を解決するための手段】請求項1の発明にかかる
二線式通信方式は、二線式の通信線を用いて、本体装置
からリモートコントローラに、作動用電力の供給、及び
データの送信を行う二線式通信方式である。そして、前
記本体装置は、第1所定時間の間、前記作動用電力を供
給させる電力供給手段と、第2所定時間の間、前記作動
用電力の供給及び前記データの送信を停止させる強制オ
フ手段と、第3所定時間の間、複数ビットから構成され
る前記データを1ビット単位で送信するデータ送信手段
と、前記電力供給手段、前記強制オフ手段、及び前記デ
ータ送信手段を、一連の送信動作として順次動作させる
とともに、複数ビットの前記データが全て送信されるま
で前記送信動作を繰返す本体側通信制御手段とを備え
る。また、前記リモートコントローラは、前記作動用電
力の供給が停止されたことを検知する状態変化検知手段
と、前記作動用電力の供給が停止された時点から第4所
定時間が経過した後に、前記データ送信手段から送信さ
れる前記データを読込むデータ受信手段と、前記状態変
化検知手段及び前記データ受信手段を、一連の受信動作
として順次動作させるとともに、前記データが全て受信
されるまで前記受信動作を繰返すリモコン側通信制御手
段とを備える。
The two-wire communication system according to the first aspect of the present invention uses a two-wire communication line to supply operating power and transmit data from a main unit to a remote controller. This is a two-wire communication system that performs And a power supply unit configured to supply the operating power for a first predetermined time; and a forced off unit configured to stop supplying the operating power and transmitting the data for a second predetermined time. A data transmission unit for transmitting the data composed of a plurality of bits in units of one bit during a third predetermined time; and a power transmission unit, the forcible off unit, and the data transmission unit. And a main body side communication control means for repeating the transmission operation until all the data of a plurality of bits are transmitted. The remote controller may further include a state change detecting unit configured to detect that the supply of the operation power has been stopped, and the data change after a fourth predetermined time has elapsed since the supply of the operation power was stopped. The data receiving means for reading the data transmitted from the transmitting means, the state change detecting means and the data receiving means are sequentially operated as a series of receiving operations, and the receiving operation is performed until all the data is received. And a remote-control-side communication control means that is repeated.

【0014】したがって、請求項1の発明の二線式通信
方式によれば、本体装置では、まず、電力供給手段が動
作して、第1所定時間の間、作動用電力をリモートコン
トローラに供給する。次に、強制オフ手段により、第2
所定時間の間、作動用電力の供給とデータの送信とを停
止する。これにより、リモートコントローラへの信号
は、確実に、電力供給状態(オン状態)から電力停止状
態(オフ状態)に変化する。第2所定時間の経過後、デ
ータ送信手段が動作し、データを1ビットだけ送信す
る。そして、この一連の送信動作、すなわち、作動用電
力の供給、停止、及びデータの送信からなる動作を繰返
し行い、複数ビットからなるデータを全て送信する。
Therefore, according to the two-wire communication system of the first aspect of the present invention, in the main unit, first, the power supply means operates to supply operating power to the remote controller for the first predetermined time. . Next, by the forced off means, the second
The supply of the operating power and the transmission of data are stopped for a predetermined time. This ensures that the signal to the remote controller changes from the power supply state (ON state) to the power stop state (OFF state). After the lapse of the second predetermined time, the data transmitting means operates and transmits one bit of data. Then, this series of transmission operations, that is, the operations of supplying and stopping the power for operation, and transmitting data are repeatedly performed, and all data including a plurality of bits are transmitted.

【0015】一方、本体装置に接続されたリモートコン
トローラでは、作動用電力の供給が停止されたことが、
状態変化検知手段によって検知されると、データ受信手
段が動作し、その検知された時点から第4所定時間が経
過した後に、データを読込んで、本体装置のデータ送信
手段から送信されたデータとして認識する。
On the other hand, in the remote controller connected to the main unit, the supply of the operating power is stopped.
When the data is detected by the state change detecting means, the data receiving means operates, and after a lapse of a fourth predetermined time from the detection, the data is read and recognized as data transmitted from the data transmitting means of the main unit. I do.

【0016】つまり、作動用電力の供給が停止された時
点を基準として、その一定時間後に1ビットのデータが
読込まれる。換言すれば、リモートコントローラは、デ
ータを1ビット受信する毎に、本体装置に対して通信の
同期を取ることになる。したがって、本体装置から送信
されるデータは、そのデータの長さに拘らず、常に合致
したタイミングで読込まれる。
That is, 1-bit data is read after a certain period of time from when the supply of the operating power is stopped. In other words, the remote controller synchronizes communication with the main unit every time it receives one bit of data. Therefore, the data transmitted from the main unit is always read at the same timing regardless of the length of the data.

【0017】請求項2の発明にかかる二線式通信方式
は、二線式の通信線を用いて、本体装置からリモートコ
ントローラに作動用電力の供給を行うとともに、前記リ
モートコントローラから前記本体装置にデータの送信を
行う二線式通信方式である。そして、前記本体装置は、
第1所定時間の間、前記作動用電力を供給させる電力供
給手段と、第2所定時間の間、前記作動用電力の供給を
停止させる強制オフ手段と、前記作動用電力の供給が停
止された時点から第3所定時間が経過した後に、後述す
るデータ送信手段から送信される前記データを読込むデ
ータ受信手段と、前記電力供給手段、前記強制オフ手
段、及び前記データ受信手段を、一連の受信動作として
順次に動作させるとともに、前記データが全て受信され
るまで前記受信動作を繰返す本体側通信制御手段とを備
える。また、前記リモートコントローラは、前記作動用
電力の供給が停止されたことを検知する状態変化検知手
段と、前記作動用電力の供給が停止された時点から第4
所定時間が経過した後に、複数ビットから構成される前
記データを1ビット単位で第5所定時間の間送信するデ
ータ送信手段と、前記状態変化検知手段、及び前記デー
タ送信手段を、一連の送信動作として順次動作させると
ともに、複数ビットの前記データが全て送信されるまで
前記送信動作を繰返すリモコン側通信制御手段とを備え
る。
The two-wire communication system according to the second aspect of the present invention supplies power for operation from a main unit to a remote controller using a two-wire communication line, and transmits power from the remote controller to the main unit. This is a two-wire communication system for transmitting data. And the main unit is:
Power supply means for supplying the operating power for a first predetermined time, forced off means for stopping supply of the operating power for a second predetermined time, and supply of the operating power are stopped After a lapse of a third predetermined time from the point in time, a data receiving unit that reads the data transmitted from the data transmitting unit described later, the power supply unit, the forcible off unit, and the data receiving unit are sequentially received. And a main body side communication control unit that operates sequentially as an operation and repeats the reception operation until all the data is received. The remote controller may further include a state change detecting unit configured to detect that the supply of the operating power is stopped, and a fourth state control unit that determines whether the supply of the operating power is stopped.
A data transmission unit that transmits the data composed of a plurality of bits in a unit of one bit for a fifth predetermined time after a predetermined time has elapsed, a state change detection unit, and the data transmission unit, the data transmission unit comprising: And a remote-control-side communication control unit that repeats the transmission operation until all the data of a plurality of bits are transmitted.

【0018】したがって、請求項2の発明の二線式通信
方式によれば、本体装置では、まず、電力供給手段が動
作して、第1所定時間の間、作動用電力をリモートコン
トローラに供給する。次に、強制オフ手段により、第2
所定時間の間、作動用電力の供給を停止する。これによ
り、リモートコントローラへの信号は、確実に、電力供
給状態(オン状態)から電力停止状態(オフ状態)に変
化する。作動用電力の供給が停止された時点から第3所
定時間の経過後、データ受信手段により、リモートコン
トローラから送信される1ビットのデータを読込み、デ
ータ送信手段から送信されたデータとして認識する。そ
して、この一連の受信動作、すなわち、作動用電力の供
給、停止、及びデータの受信からなる動作を繰返し行
い、送信されるデータを全て受信する。
Therefore, according to the two-wire communication system of the second aspect of the invention, in the main unit, first, the power supply means operates to supply operating power to the remote controller for the first predetermined time. . Next, by the forced off means, the second
The supply of the operating power is stopped for a predetermined time. This ensures that the signal to the remote controller changes from the power supply state (ON state) to the power stop state (OFF state). After a lapse of a third predetermined time from when the supply of the operating power is stopped, the data receiving unit reads 1-bit data transmitted from the remote controller, and recognizes the data as data transmitted from the data transmitting unit. Then, the series of receiving operations, that is, the operations of supplying and stopping the operation power and receiving data are repeatedly performed, and all transmitted data is received.

【0019】一方、本体装置に接続されたリモートコン
トローラでは、作動用電力の供給が停止されたことが、
状態変化検知手段によって検知されると、データ送信手
段が動作し、その検知された時点から第4所定時間が経
過した後に、複数ビットから構成されるデータのうち1
ビットだけを第5所定時間の間送信する。そして、この
一連の送信動作、すなわち、状態変化の検知、及びデー
タの送信からなる動作を繰返し行い、複数ビットからな
るデータを全て送信する。
On the other hand, in the remote controller connected to the main unit, the supply of the operating power is stopped.
When detected by the state change detecting means, the data transmitting means operates, and after a lapse of a fourth predetermined time from the detected time, one of the data composed of a plurality of bits is output.
Only bits are transmitted for a fifth predetermined time. Then, the series of transmission operations, that is, the operations of detecting a state change and transmitting data are repeatedly performed, and all data including a plurality of bits are transmitted.

【0020】つまり、作動用電力の供給が停止された時
点を基準として、リモートコントローラでは、一定時間
(第4所定時間)後に1ビットのデータが送信され、本
体装置では、一定時間(第3所定時間)後に1ビットの
データが読込まれる。換言すれば、データを1ビット送
受信する毎に、本体装置とリモートコントローラとの間
で通信の同期が取られる。したがって、第3所定時間、
第4所定時間、及び第5所定時間の長さを適宜設定する
ことにより、リモートコントローラから送信されるデー
タが、そのデータの長さに拘らず、常に合致したタイミ
ングで読込まれる。
That is, the remote controller transmits 1-bit data after a fixed time (fourth predetermined time) with respect to the time point when the supply of the operating power is stopped. After (time), 1-bit data is read. In other words, every time one bit of data is transmitted / received, communication between the main unit and the remote controller is synchronized. Therefore, the third predetermined time,
By appropriately setting the lengths of the fourth predetermined time and the fifth predetermined time, data transmitted from the remote controller is always read at the same timing regardless of the length of the data.

【0021】請求項3の発明にかかる二線式通信方式
は、二線式の通信線を用いて、本体装置からリモートコ
ントローラに作動用電力の供給、及び本体側データの送
信を行うとともに、前記リモートコントローラから前記
本体装置にリモコン側データの送信を行う二線式通信方
式である。そして、前記本体装置は、第1所定時間の
間、前記作動用電力を供給させる電力供給手段と、第2
所定時間の間、前記作動用電力の供給および前記本体側
データの送信を停止させる強制オフ手段と、第3所定時
間の間、複数ビットから構成される前記本体側データを
1ビット単位で送信することが可能な本体側データ送信
手段と、前記作動用電力の供給が停止されてから第4所
定時間が経過した後に、後述するリモコン側データ送信
手段から送信される前記リモコン側データを読込むこと
が可能な本体側データ受信手段と、前記電力供給手段、
前記強制オフ手段、及び前記本体側データ送信手段を、
一連の送信動作として順次動作させるとともに、複数ビ
ットの前記本体側データが全て送信されるまで前記送信
動作を繰返す本体側送信制御手段と、前記電力供給手
段、前記強制オフ手段、及び前記本体側データ受信手段
を、一連の受信動作として順次動作させるとともに、前
記リモコン側データが全て受信されるまで前記受信動作
を繰返す本体側受信制御手段とを備える。また、前記リ
モートコントローラは、前記作動用電力の供給が停止さ
れたことを検知する状態変化検知手段と、前記作動用電
力の供給が停止された時点から第5所定時間が経過した
後に、前記本体側送信手段から送信される前記本体側デ
ータを読込むことが可能なリモコン側データ受信手段
と、前記作動用電力の供給が停止された時点から第6所
定時間が経過した後に、複数ビットから構成される前記
リモコン用データを1ビット単位で第7所定時間の間送
信することが可能なリモコン側データ送信手段と、前記
状態変化検知手段、及び前記リモコン側データ受信手段
を、一連の受信動作として順次動作させるとともに、前
記本体側データが全て受信されるまで前記受信動作を繰
返すリモコン側受信制御手段と、前記状態変化検知手
段、及び前記リモコン側データ送信手段を、一連の送信
動作として順次動作させるとともに、複数ビットの前記
リモコン側データが全て送信されるまで前記送信動作を
繰返すリモコン側送信制御手段とを備える。
The two-wire communication system according to the third aspect of the present invention uses a two-wire communication line to supply operating power from a main unit to a remote controller and transmit main unit data, and This is a two-wire communication system in which remote controller-side data is transmitted from a remote controller to the main unit. And a power supply unit for supplying the operating power for a first predetermined time;
Forcibly turning off the supply of the operating power and transmission of the main body side data for a predetermined time, and transmitting the main body side data composed of a plurality of bits in 1-bit units for a third predetermined time. Main body data transmission means capable of reading the remote control data transmitted from the remote control data transmission means, which will be described later, after a lapse of a fourth predetermined time since the supply of the operating power is stopped. Body-side data receiving means, and the power supply means,
The forced off means, and the main body side data transmission means,
A body-side transmission control unit that operates sequentially as a series of transmission operations and repeats the transmission operation until all of the plurality of bits of the body-side data are transmitted, the power supply unit, the forcible off unit, and the body-side data And a main unit-side reception control unit that operates the reception unit sequentially as a series of reception operations and repeats the reception operation until all the remote control-side data is received. The remote controller may further include a state change detecting unit configured to detect that the supply of the operating power has been stopped, and a state change detecting unit configured to determine whether the supply of the operating power has been stopped. A remote control side data receiving unit capable of reading the main body side data transmitted from the side transmitting unit, and a plurality of bits after a sixth predetermined time has elapsed from the time when the supply of the operating power is stopped. The remote control data transmitting means, the state change detecting means, and the remote control data receiving means capable of transmitting the remote control data in a unit of one bit for a seventh predetermined time as a series of receiving operations. While operating sequentially, the remote control side reception control means that repeats the reception operation until all the main body side data is received, the state change detection means, and The serial remote controller data transmission means, causes the sequential operation as a series of transmission operations, and a remote control transmission control means for repeating the transmission operation until the remote control data of the plurality of bits are transmitted all.

【0022】したがって、請求項3の発明の二線式通信
方式によれば、本体装置からリモートコントローラにデ
ータを送信する場合には、請求項1の発明の二線式通信
方式の作用と同じように、リモートコントローラは、本
体装置からの作動用電力の供給が停止された時点を基準
として、その一定時間後に1ビットのデータを読込む。
すなわち、データを1ビット受信する毎に、本体装置に
対して同期を取る。
Therefore, according to the two-wire communication system of the third invention, when data is transmitted from the main unit to the remote controller, the operation is the same as that of the two-wire communication system of the first invention. Then, the remote controller reads 1-bit data a fixed time after the supply of the operating power from the main device is stopped.
That is, every time one bit of data is received, synchronization is established with the main unit.

【0023】また、逆にリモートコントローラから本体
装置にデータを送信する場合には、請求項2の発明の二
線式通信方式の作用と同じように、本体装置からの作動
用電力の供給が停止された時点を基準として、リモート
コントローラは一定時間後に1ビットのデータを送信
し、本体装置は一定時間後にそのデータを読込む。すな
わち、データを1ビット送受信する毎に、本体装置とリ
モートコントローラとが互いに同期を取合う。
Conversely, when data is transmitted from the remote controller to the main unit, the supply of operating power from the main unit is stopped in the same manner as in the operation of the two-wire communication system according to the second aspect of the present invention. The remote controller transmits 1-bit data after a predetermined time, and the main unit reads the data after a predetermined time, based on the time when the data is transmitted. That is, every time one bit of data is transmitted and received, the main unit and the remote controller synchronize with each other.

【0024】このように、本体装置とリモートコントロ
ーラとの間で双方向に通信する場合であっても、送信さ
れるデータは、そのデータの長さに拘らず、常に合致し
たタイミングで読込まれる。
As described above, even when bidirectional communication is performed between the main unit and the remote controller, data to be transmitted is always read at the same timing regardless of the length of the data. .

【0025】[0025]

【発明の実施の形態】以下、本発明の一実施形態である
二線式通信方式について、図1乃至図5に基づき説明す
る。図1は本発明の一実施形態である二線式通信方式の
構成を示すブロック図、図2及び図3はこの二線式通信
方式の動作を説明するための説明図、図4及び図5はこ
の二線式通信方式における動作の流れを示すフローチャ
ートである。本実施形態の二線式通信方式を採用した装
置1は、図1に示すように、本体装置2と、リモートコ
ントローラ3(以下、「リモコン3」と称す)とから構
成され、二線からなる無極性の通信線4によって接続さ
れている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A two-wire communication system according to an embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing a configuration of a two-wire communication system according to an embodiment of the present invention. FIGS. 2 and 3 are explanatory diagrams for explaining the operation of the two-wire communication system. Is a flowchart showing the flow of operation in this two-wire communication system. As shown in FIG. 1, the device 1 employing the two-wire communication system of the present embodiment includes a main body device 2 and a remote controller 3 (hereinafter, referred to as “remote controller 3”), and includes two wires. They are connected by a non-polar communication line 4.

【0026】本体装置2は、運転情報や指示情報の処
理、または各種信号の演算及び制御を行うマイクロコン
ピュータ6と、外部の商用電源に接続された電源回路7
と、抵抗やトランジスタから構成されたスイッチ回路8
と、コンデンサやコイルから構成されたノイズフィルタ
9等を具備している。
The main unit 2 includes a microcomputer 6 for processing operation information and instruction information, or calculating and controlling various signals, and a power supply circuit 7 connected to an external commercial power supply.
And a switch circuit 8 composed of resistors and transistors
And a noise filter 9 composed of a capacitor and a coil.

【0027】マイクロコンピュータ6は、電力供給手段
10、強制オフ手段11、本体側データ送信手段12、
本体側データ受信手段13、及び本体側通信制御手段1
4等の各機能を有している。電力供給手段10は、スイ
ッチ回路8をオン・オフ制御することにより、電源回路
7からリモコン3への電力の供給を制御するものであ
る。なお、リモコン3へ供給される電力は、12Vの直
流電源であり間欠的に供給される。また、強制オフ手段
11は、所定時間の間、リモコン3への電力の供給を停
止するとともに、データの送信を停止するものであり、
この動作により、リモコン3への信号を、電力供給状態
(オン状態)から電力停止状態(オフ状態)に変化させ
ることができる。
The microcomputer 6 comprises a power supply means 10, a forced off means 11, a main body side data transmission means 12,
Body-side data receiving means 13 and body-side communication control means 1
4 and so on. The power supply means 10 controls the supply of power from the power supply circuit 7 to the remote controller 3 by turning on / off the switch circuit 8. The power supplied to the remote controller 3 is a DC power supply of 12 V and is supplied intermittently. Further, the forced off means 11 stops the supply of power to the remote controller 3 and the data transmission for a predetermined time,
By this operation, the signal to the remote controller 3 can be changed from the power supply state (ON state) to the power stop state (OFF state).

【0028】また、本体側データ送信手段12は、運転
情報に関するデータを、本体装置2からリモコン3へ送
信するための処理を行うものである。このデータは複数
ビットから構成されているが、送信する際は1ビット単
位で送信される。本体側データ送信手段12の出力端は
npn形のトランジスタ15のベースに接続され、さら
にこのトランジスタ15のコレクタがスイッチ回路8と
ノイズフィルタ9との間に接続されている。つまり、本
体側データ送信手段12からHiレベルの信号が送信さ
れると、トランジスタ15が通電状態となり、通信線4
に印加される電圧がLoレベル(約0V)となる。ま
た、スイッチ回路8がオン状態であるときに、本体側デ
ータ送信手段12からLoレベルの信号が送信される
と、トランジスタ15が非通電状態となり、通信線4に
印加される電圧がHiレベル(約12V)となる。
The main body side data transmitting means 12 performs processing for transmitting data relating to the operation information from the main body device 2 to the remote controller 3. This data is composed of a plurality of bits, but is transmitted in 1-bit units when transmitted. The output terminal of the main body side data transmission means 12 is connected to the base of an npn transistor 15, and the collector of the transistor 15 is connected between the switch circuit 8 and the noise filter 9. That is, when a Hi-level signal is transmitted from the main body side data transmission unit 12, the transistor 15 is turned on and the communication line 4 is turned on.
Becomes Lo level (about 0 V). Further, when a low level signal is transmitted from the main body side data transmission means 12 while the switch circuit 8 is in the ON state, the transistor 15 is turned off and the voltage applied to the communication line 4 becomes Hi level ( About 12V).

【0029】本体側データ受信手段13は、リモコン3
から送られた指示情報に関するデータを処理するもので
ある。本体側データ受信手段13の入力端は、npn形
のトランジスタ16、及び分圧回路17等を介してスイ
ッチ回路8とノイズフィルタ9との間に接続されてい
る。つまり、リモコン3から送られるデータは、トラン
ジスタ16によって反転され、本体側データ受信手段1
3に入力される。
The main body side data receiving means 13 is
This is for processing the data relating to the instruction information sent from. An input terminal of the main body side data receiving means 13 is connected between the switch circuit 8 and the noise filter 9 via an npn-type transistor 16, a voltage dividing circuit 17, and the like. That is, the data sent from the remote controller 3 is inverted by the transistor 16, and
3 is input.

【0030】本体側通信制御手段14は、電力供給手段
10、強制オフ手段11、本体側データ送信手段12、
及び本体側データ受信手段13の動作を制御するための
ものである。具体的には、本体側通信制御手段14は、
送信モードのときに動作する送信制御部と、受信モード
のときに動作する受信制御部とを有しており、送信制御
部は、電力供給手段10、強制オフ手段11、及び本体
側データ送信手段12を、一連の送信動作として順次動
作させるとともに、複数ビットのデータが全て送信され
るまで送信動作を繰返し行うものである。一方、受信制
御部は、電力供給手段10、強制オフ手段11、及び本
体側データ受信手段13を、一連の受信動作として順次
動作させるとともに、リモコン3からのデータが全て受
信されるまで受信動作を繰返し行うものである。
The main body side communication control means 14 includes a power supply means 10, a forced off means 11, a main body side data transmission means 12,
And for controlling the operation of the main body side data receiving means 13. Specifically, the main body side communication control means 14
A transmission control unit that operates in a transmission mode; and a reception control unit that operates in a reception mode. The transmission control unit includes a power supply unit, a forced off unit, and a main body side data transmission unit. 12 are sequentially operated as a series of transmission operations, and the transmission operation is repeated until all data of a plurality of bits are transmitted. On the other hand, the reception control unit operates the power supply unit 10, the forcible off unit 11, and the main unit side data reception unit 13 sequentially as a series of reception operations, and performs the reception operation until all data from the remote controller 3 is received. This is to be repeated.

【0031】リモコン3は、指示情報や運転情報の処
理、または各種信号の演算及び制御を行うマイクロコン
ピュータ18と、本体装置2から供給された電力を整流
するブリッジ回路19と、この整流された電力をリモコ
ン3の作動用電源として、表示手段(図示しない)やマ
イクロコンピュータ18に供給するための電源回路20
と、コンデンサやコイルとから構成されたノイズフィル
タ21等を具備している。
The remote controller 3 includes a microcomputer 18 for processing instruction information and driving information, or calculating and controlling various signals, a bridge circuit 19 for rectifying power supplied from the main unit 2, and a rectified power. As a power supply for operating the remote controller 3, a power supply circuit 20 for supplying display means (not shown) and the microcomputer 18.
And a noise filter 21 composed of a capacitor and a coil.

【0032】マイクロコンピュータ18は、状態変化検
知手段22、リモコン側データ受信手段23、リモコン
側データ送信手段24、及びリモコン側通信制御手段2
5等の各機能を有している。状態変化検知手段22は、
本体装置2からの電力の供給が停止したこと、すなわ
ち、電力供給状態(オン状態)から電力停止状態(オフ
状態)への変化を検知するためのものであり、この検知
に基づいて、本体装置2とリモコン3との間で同期が取
られる。すなわち、変化の検知時点を基準点として、デ
ータの送信及び受信が行われる。なお、具体的な制御方
法については後述する。
The microcomputer 18 includes a state change detecting means 22, a remote control data receiving means 23, a remote control data transmitting means 24, and a remote control communication control means 2.
5 and the like. The state change detecting means 22 includes:
This is for detecting that the supply of power from the main unit 2 has stopped, that is, for detecting a change from the power supply state (on state) to the power stop state (off state). Synchronization is established between 2 and remote controller 3. That is, data transmission and reception are performed with the change detection time as a reference point. The specific control method will be described later.

【0033】リモコン側データ受信手段23は、本体装
置2から送られた運転情報に関するデータを処理するも
のである。リモコン側データ受信手段23の入力端、及
び状態変化検知手段22の入力端は、npn形のトラン
ジスタ26や、ダイオード27等を介してノイズフィル
タ21とブリッジ回路19との間に接続されている。つ
まり、本体装置2から送られるデータは、トランジスタ
26によって反転され、リモコン側データ受信手段23
及び状態変化検知手段22に入力される。
The remote controller-side data receiving means 23 processes data relating to driving information sent from the main unit 2. An input terminal of the remote controller side data receiving unit 23 and an input terminal of the state change detecting unit 22 are connected between the noise filter 21 and the bridge circuit 19 via an npn transistor 26, a diode 27, and the like. That is, the data sent from the main unit 2 is inverted by the transistor 26 and the data
And state change detection means 22.

【0034】また、リモコン側データ送信手段24は、
指示情報に関するデータを、リモコン3から本体装置2
へ送信するための処理を行うものである。なお、このデ
ータも複数ビットから構成されているが、送信する際は
1ビット単位で送信される。リモコン側データ送信手段
24の出力端はnpn形のトランジスタ28のベースに
接続され、さらにこのトランジスタ28のコレクタがダ
イオード27を介してノイズフィルタ21とブリッジ回
路19との間に接続されている。つまり、リモコン側デ
ータ送信手段24からHiレベルの信号が送信される
と、トランジスタ28が通電状態となり、通信線4に印
加される電圧がLoレベルとなる。また逆に、リモコン
側データ送信手段24からLoレベルの信号が送信され
ると、トランジスタ28が非通電状態となり、通信線4
に印加される電圧がHiレベルとなる。
The remote controller side data transmitting means 24
Data relating to the instruction information is transmitted from the remote controller 3 to the main unit 2.
It performs processing for transmission to the server. This data is also composed of a plurality of bits, but is transmitted in 1-bit units when transmitted. The output terminal of the remote controller side data transmitting means 24 is connected to the base of an npn transistor 28, and the collector of the transistor 28 is connected between the noise filter 21 and the bridge circuit 19 via the diode 27. That is, when a Hi-level signal is transmitted from the remote-control-side data transmission means 24, the transistor 28 is turned on, and the voltage applied to the communication line 4 becomes Lo level. Conversely, when a Lo level signal is transmitted from the remote control side data transmission means 24, the transistor 28 is turned off and the communication line 4 is turned off.
Becomes Hi level.

【0035】リモコン側通信制御手段25は、状態変化
検知手段22、リモコン側データ受信手段23、及びリ
モコン側データ送信手段24の動作を制御するためのも
のである。具体的には、リモコン側通信制御手段25
は、受信モードのときに動作する受信制御部と、送信モ
ードのときに動作する送信制御部とを有しており、受信
制御部は、状態変化検知手段22、及びリモコン側デー
タ受信手段23を一連の受信動作として順次動作させる
とともに、本体装置2からのデータが全て受信されるま
で受信動作を繰返し行うものである。一方、送信制御部
は、状態変化検知手段22、及びリモコン側データ送信
手段24を、一連の送信動作として順次動作させるとと
もに、複数ビットのデータが全て送信されるまで送信動
作を繰返し行うものである。
The remote control communication control means 25 controls the operations of the state change detecting means 22, the remote control data receiving means 23, and the remote control data transmitting means 24. Specifically, the remote control communication control unit 25
Has a reception control unit that operates in the reception mode and a transmission control unit that operates in the transmission mode. The reception control unit includes the state change detection unit 22 and the remote control side data reception unit 23. The operation is sequentially performed as a series of reception operations, and the reception operation is repeated until all data from the main unit 2 is received. On the other hand, the transmission control unit causes the state change detection unit 22 and the remote control-side data transmission unit 24 to sequentially operate as a series of transmission operations, and repeats the transmission operation until all data of a plurality of bits are transmitted. .

【0036】次に、二線式通信方式の動作について、図
2乃至図5に基づき説明する。図2は本体装置2からリ
モコン3にデータを送信する際の波形を示しており、図
3はリモコン3から本体装置2にデータを送信する際の
波形を示している。また、図4は本体装置2のマイクロ
コンピュータ6における制御の流れを示しており、図5
はリモコン3のマイクロコンピュータ18における制御
の流れを示している。
Next, the operation of the two-wire communication system will be described with reference to FIGS. FIG. 2 shows a waveform when data is transmitted from main unit 2 to remote controller 3, and FIG. 3 shows a waveform when data is transmitted from remote controller 3 to main unit 2. FIG. 4 shows a control flow in the microcomputer 6 of the main unit 2, and FIG.
Indicates a control flow in the microcomputer 18 of the remote controller 3.

【0037】まず、本体装置2からリモコン3にデータ
を送信する際の動作について説明する。図2において、
(a)は本体装置2の電力供給手段10からの出力波
形、すなわち電力の供給状態を示す波形であり、波形の
上端は電力のオン状態を示し、波形の下端は電力のオフ
状態を示している。この波形は、2.5mSecのオフ
状態(スタートビットの送信)の後、1mSecの間オ
ン状態(電力供給状態)となり、1.5mSecの間オ
フ状態(電力停止状態)になる。そして、1mSecの
オン状態と1.5mSecのオフ状態とが交互に繰返さ
れる。つまり、2.5mSecの周期のうち1mSec
のみがオン状態となる。
First, the operation when data is transmitted from main unit 2 to remote controller 3 will be described. In FIG.
(A) is an output waveform from the power supply means 10 of the main unit 2, that is, a waveform indicating the power supply state. The upper end of the waveform indicates the power on state, and the lower end of the waveform indicates the power off state. I have. This waveform is in an on state (power supply state) for 1 mSec after an off state (transmission of a start bit) of 2.5 mSec, and is in an off state (power stop state) for 1.5 mSec. Then, the ON state of 1 mSec and the OFF state of 1.5 mSec are alternately repeated. That is, 1 mSec of the 2.5 mSec cycle
Only the ON state is set.

【0038】図2において(b)は本体側データ送信手
段12からの出力波形であり、波形の上端は信号のHi
(H)を示し、波形の下端は信号のLo(L)を示して
いる。なお、前述したように、本体側データ送信手段1
2からHiの出力が送出されたとき、通信線4に電圧が
印加されない状態となる。つまり、ここでは電力の供給
が停止されてから、0.5mSecの間、強制的にオフ
状態(出力がHiの状態)となり、通信線4に電圧が印
加されない状態となる。そして、その後1mSecの
間、データ(1ビット単位)が送信される。つまり、
2.5mSecの周期のうち、0.5mSecが強制オ
フ状態となり、1mSecがデータ送信状態となる。ま
た、図2において(c)は通信線4に加わる波形を示し
たものであり、この波形は、電力供給を示す波形(a)
と、データの送信を示す波形(b)とを合成したものに
一致する。
In FIG. 2, (b) shows an output waveform from the main body side data transmission means 12, and the upper end of the waveform is Hi of the signal.
(H), and the lower end of the waveform indicates Lo (L) of the signal. As described above, the main body-side data transmission means 1
When the output of Hi is transmitted from 2, the voltage is not applied to the communication line 4. That is, here, for 0.5 mSec after the supply of power is stopped, the communication line 4 is forcibly turned off (the output is in the Hi state) and no voltage is applied to the communication line 4. Then, the data (1 bit unit) is transmitted for 1 mSec thereafter. That is,
In the period of 2.5 mSec, 0.5 mSec is in the forced off state, and 1 mSec is in the data transmission state. 2 (c) shows a waveform applied to the communication line 4, and this waveform is a waveform (a) indicating power supply.
And a waveform (b) indicating data transmission.

【0039】図2において(d)はリモコン側データ受
信手段23への入力波形である。つまり、通信線4に加
わる波形(c)がトランジスタ26によって反転された
ものである。そして、この(d)に示す波形では、電力
の供給が停止されたことが、Loの状態からHiの状態
への変化として現れる。つまり、この波形において、L
oの状態からHiの状態への変化を検知し、それを基準
点としてタイミングを合わせることにより、リモコン3
を本体装置2に対して同期させることができる。
FIG. 2D shows an input waveform to the remote controller side data receiving means 23. That is, the waveform (c) applied to the communication line 4 is inverted by the transistor 26. Then, in the waveform shown in (d), the fact that the supply of power is stopped appears as a change from the Lo state to the Hi state. That is, in this waveform, L
By detecting the change from the state of o to the state of Hi, and adjusting the timing using the change as a reference point, the remote controller 3
Can be synchronized with the main unit 2.

【0040】そこで、リモコン側データ受信手段23
は、(e)に示すように、Loの状態からHiの状態へ
の変化を検知し、その1mSec後にデータを読込み、
本体側データ送信手段12から送信されたデータとして
認識するようにしている。なお、このタイミングは、本
体側データ送信手段12からデータが送信される時間
(電力の供給の停止後、0.5〜1mSecの間)の中
間時点に相当するため、水晶発振子等に多少の誤差があ
っても、送信のタイミングと受信のタイミングとを確実
に合致させることができる。
Therefore, the remote controller-side data receiving means 23
Detects the change from the Lo state to the Hi state as shown in (e), reads the data 1 mSec after that,
The data is recognized as data transmitted from the main body side data transmission means 12. Note that this timing corresponds to an intermediate point in time during which data is transmitted from the main body side data transmission means 12 (between 0.5 and 1 mSec after the supply of power is stopped). Even if there is an error, the transmission timing and the reception timing can be surely matched.

【0041】続いて、リモコン3から本体装置2にデー
タを送信する際の動作について説明する。図3において
(a)は本体装置2の電力供給手段10からの出力波形
であり、本体装置2からリモコン3に送信する場合(図
2に示す)と同様に、2.5mSecの周期のうち1m
Secのみがオン状態となる。
Next, the operation when data is transmitted from the remote controller 3 to the main unit 2 will be described. In FIG. 3, (a) shows an output waveform from the power supply means 10 of the main unit 2 and, as in the case of transmission from the main unit 2 to the remote controller 3 (shown in FIG. 2), 1 m of the 2.5 mSec cycle
Only Sec is turned on.

【0042】図3において(b)は本体側データ送信手
段12からの出力波形であり、電力の供給が停止されて
から、0.5mSecの間は、オフ状態(出力がHiの
状態)となり、通信線4に電圧が印加されない状態とな
る。つまり、2.5mSecの周期のうち、0.5mS
ecが強制オフ状態となる。
In FIG. 3, (b) shows an output waveform from the main body side data transmitting means 12, and is off (output is Hi) for 0.5 mSec after power supply is stopped. No voltage is applied to the communication line 4. That is, of the period of 2.5 mSec, 0.5 mS
ec is forcibly turned off.

【0043】図3において(c)は本体側データ受信手
段13への入力波形であり、(e)は通信線4に加わる
波形であり、(f)はリモコン側データ受信手段23へ
の入力波形である。つまり、(c)と(f)とは同じ波
形であり、(e)の波形を反転させたものである。そし
て、(e)の波形は、電力供給を示す波形(a)と、本
体側データ送信手段12からの出力波形(b)と、リモ
コン側送信手段24からの出力波形(g)とを合成した
ものである。
In FIG. 3, (c) shows an input waveform to the main body data receiving means 13, (e) shows a waveform applied to the communication line 4, and (f) shows an input waveform to the remote control data receiving means 23. It is. That is, (c) and (f) have the same waveform, and are obtained by inverting the waveform of (e). The waveform (e) is obtained by synthesizing the waveform (a) indicating the power supply, the output waveform (b) from the main body-side data transmission unit 12, and the output waveform (g) from the remote control-side transmission unit 24. Things.

【0044】リモコン3では、リモコン側データ受信手
段23への入力波形(f)において、電力の供給が停止
されたことがLoの状態からHiの状態への変化として
検知されると、リモコン側送信手段24は、(g)に示
すように、その検知時点を基準として0.5mSec後
に、データ(1ビット単位)を1mSecの間送信す
る。これにより、リモコン3における送信のタイミング
を本体装置2に対して同期させることができる。
In the remote controller 3, when it is detected in the input waveform (f) to the remote controller side data receiving means 23 that the supply of power is stopped as a change from the Lo state to the Hi state, the remote controller side transmission is performed. As shown in (g), the means 24 transmits data (in units of 1 bit) for 1 mSec after 0.5 mSec from the detection time. Thereby, the transmission timing of the remote controller 3 can be synchronized with the main unit 2.

【0045】これに対し、本体装置2の本体側データ受
信手段13では、(d)に示すように、電力の供給を停
止した時点を基準として、その1mSec後にデータを
読込み、リモコン側データ送信手段24から送信された
データとして認識する。なお、このタイミングは、リモ
コン側データ送信手段24からデータが送信される時間
(電力の供給の停止後、0.5〜1mSecの間)の中
間時点に相当するため、水晶発振子等に多少の誤差があ
っても、送信のタイミングと受信のタイミングとを確実
に合致させることができる。
On the other hand, as shown in (d), the main body data receiving means 13 of the main body apparatus 2 reads the data 1 mSec after the power supply is stopped, as shown in FIG. 24 is recognized as data transmitted. Note that this timing corresponds to an intermediate point in time during which data is transmitted from the remote controller-side data transmission means 24 (between 0.5 and 1 mSec after the supply of power is stopped). Even if there is an error, the transmission timing and the reception timing can be surely matched.

【0046】続いて、本体装置2のマイクロコンピュー
タ6における制御の流れと、リモコン3のマイクロコン
ピュータ18における制御の流れについて説明する。本
体装置2のマイクロコンピュータ6は、図4に示すよう
に、まず、スタートビットとして、2.5mSecの
間、電力の供給及びデータの送信を停止し(ステップS
1)、その後、1mSecの間、電力供給手段10によ
って作動用電力を供給する(ステップS2)。続いて、
0.5mSecの間、電力の供給及びデータの送信を強
制的に停止する(ステップS3)とともに、その後1m
Secの間、データを1ビット単位で送信する(ステッ
プS4)。そして、複数ビットから構成されるデータが
全て送信されるまで(ステップS5においてNO)、ス
テップS2乃至ステップS4の動作、すなわち送信モー
ドとしての送信動作を繰返し行う。
Next, a control flow in the microcomputer 6 of the main unit 2 and a control flow in the microcomputer 18 of the remote controller 3 will be described. As shown in FIG. 4, the microcomputer 6 of the main device 2 first stops supplying power and transmitting data for 2.5 mSec as a start bit (Step S).
1) Then, for 1 mSec, the operating power is supplied by the power supply means 10 (step S2). continue,
During 0.5 mSec, power supply and data transmission are forcibly stopped (step S3), and then 1m
During Sec, data is transmitted in 1-bit units (step S4). Until all data composed of a plurality of bits is transmitted (NO in step S5), the operation of steps S2 to S4, that is, the transmission operation in the transmission mode, is repeated.

【0047】ステップS5においてデータが全て送信さ
れると、ストップビットを送信する(ステップS6)と
ともに、返信要求信号を送信する(ステップS7)。な
お、データの長さが一定、すなわち固定長のデータであ
ればストップビットの送信を省略することも可能であ
る。
When all data has been transmitted in step S5, a stop bit is transmitted (step S6) and a reply request signal is transmitted (step S7). If the length of the data is constant, that is, if the data has a fixed length, transmission of the stop bit can be omitted.

【0048】返信要求信号を送信した後、本体装置2は
受信モードとなる。すなわち、1mSecの間、電力供
給手段10によって作動用電力を供給する(ステップS
8)とともに、その後0.5mSecの間、電力の供給
及びデータの送信を強制的に停止する(ステップS
9)。そして、電力の供給が停止されてから、すなわち
ステップS9の動作開始時点から、1mSec経過する
と(ステップS10においてYES)、本体側データ受
信手段13によってリモコン3から送信されるデータを
読込む。そして、複数ビットから構成されるデータが全
て受信されるまで、換言すればリモコン3からのストッ
プビットが受信されるまで(ステップS12においてN
O)、ステップS8乃至ステップS12の動作、すなわ
ち受信動作を繰返し行う。ステップS12においてスト
ップビットを受信すると、ステップS1に戻り再び送信
モードとなる(ステップS13)。
After transmitting the reply request signal, main unit 2 enters the reception mode. That is, for 1 mSec, the operating power is supplied by the power supply means 10 (step S
8), the power supply and data transmission are forcibly stopped for 0.5 mSec thereafter (step S).
9). Then, after the supply of power is stopped, that is, when 1 mSec has elapsed from the start of the operation in step S9 (YES in step S10), the data transmitted from the remote controller 3 is read by the main body side data receiving means 13. Then, until all data composed of a plurality of bits is received, in other words, until a stop bit is received from the remote controller 3 (N in step S12).
O), the operations of steps S8 to S12, that is, the receiving operation are repeatedly performed. When the stop bit is received in step S12, the process returns to step S1 and returns to the transmission mode (step S13).

【0049】一方、リモコン3のマイクロコンピュータ
18は、図5に示すように、本体装置2から送信された
スタートビットを受信すると(ステップT1においてY
ES)、受信モードとなる。すなわち、その後、作動用
電力の供給が停止されたことが検知されると(ステップ
T2においてYES)、その検知時点を基準として計時
を開始し、1mSec経過後(ステップT3においてY
ES)、リモコン側データ受信手段23によって本体装
置2から送信されるデータを読込む。そして、複数ビッ
トから構成されるデータが全て受信されるまで、換言す
れば本体装置2からのストップビットを受信するまで
(ステップT5においてNO)、ステップT2乃至ステ
ップT4の動作、すなわち受信動作を繰返し行う。
On the other hand, as shown in FIG. 5, the microcomputer 18 of the remote controller 3 receives the start bit transmitted from the main unit 2 (Y in step T1).
ES), and the reception mode is set. That is, after that, when it is detected that the supply of the operating power has been stopped (YES in step T2), time measurement is started based on the detection time point, and after elapse of 1 mSec (Y in step T3).
ES), the data transmitted from the main unit 2 is read by the remote controller side data receiving means 23. The operation of steps T2 to T4, that is, the reception operation, is repeated until all the data composed of a plurality of bits is received, in other words, until the stop bit is received from main device 2 (NO in step T5). Do.

【0050】ステップT5においてストップビットを受
信すると、リモコン3は送信モードとなり、本体装置2
から返信要求信号が送信されるまで待機する。そして、
リモコン側データ受信手段23において返信要求信号が
受信され(ステップT6においてYES)、且つ作動用
電力の供給が停止されたことが検知されると(ステップ
T7においてYES)、その検知時点を基準として計時
を開始し、0.5mSec経過後(ステップT8におい
てYES)、リモコン側データ送信手段24から1mS
ecの間、データを1ビット単位で送信する(ステップ
T9)。そして、複数ビットから構成されるデータが全
て送信されるまで(ステップT10においてNO)、ス
テップT7乃至ステップT9の動作、すなわち送信動作
を繰返し行う。ステップT10においてデータが全て送
信されると、ストップビットを送信する(ステップT1
1)とともに、ステップT1に戻り再び受信モードとな
る(ステップT12)。
When the stop bit is received in step T5, the remote controller 3 enters the transmission mode and the main unit 2
And waits for a reply request signal to be sent from. And
When the remote control side data receiving means 23 receives the reply request signal (YES in step T6) and detects that the supply of the operating power has been stopped (YES in step T7), it counts the time based on the detection time. Is started, and after 0.5 mSec has elapsed (YES in step T8), 1 mS
During ec, data is transmitted in 1-bit units (step T9). Until all data composed of a plurality of bits are transmitted (NO in step T10), the operation from step T7 to step T9, that is, the transmission operation is repeated. When all data is transmitted in step T10, a stop bit is transmitted (step T1).
At the same time as 1), the process returns to step T1 and returns to the reception mode (step T12).

【0051】このように、上記の二線式通信方式では、
作動用電力の供給が停止された時点を基準として、その
一定時間後に1ビットのデータが読込まれる。換言すれ
ば、リモコン3は、データを1ビット受信する毎に、本
体装置2に対して通信の同期を取ることになる。したが
って、送信されるデータを、そのデータの長さに拘ら
ず、常に合致したタイミングで読込むことができる。特
に、本実施形態では、同期を取るにあたって、同期を指
示するためのデータを送受信するのではなく、作動用電
力の供給が停止された時点を基準として同期を取る方式
であるため、同期を取るために要する時間を極めて短く
することができ、従来のものと比較しても通信速度が大
幅に遅れることはない。
Thus, in the above two-wire communication system,
One bit of data is read after a certain period of time after the supply of the operating power is stopped. In other words, the remote controller 3 synchronizes communication with the main unit 2 every time one bit of data is received. Therefore, the transmitted data can always be read at the matched timing regardless of the length of the data. In particular, in the present embodiment, the synchronization is not performed by transmitting and receiving data for instructing the synchronization, but is performed based on the time when the supply of the operation power is stopped. The time required for the communication can be extremely shortened, and the communication speed is not significantly reduced even in comparison with the conventional one.

【0052】また、上記の二線式通信方式では、リモコ
ン3から本体装置2にデータを送信する場合には、リモ
コン3は、データを1ビット送信する毎に本体装置2に
対して通信の同期を取り、本体装置2は、同じタイミン
グを基準として読込みを行う。したがって、本体装置2
では、リモコン3から送信されるデータを、そのデータ
の長さに拘らず、常に合致したタイミングで読込むこと
ができる。
In the above-described two-wire communication system, when data is transmitted from the remote controller 3 to the main unit 2, the remote controller 3 synchronizes communication with the main unit 2 every time one bit of data is transmitted. And the main unit 2 performs reading based on the same timing. Therefore, main unit 2
Thus, the data transmitted from the remote controller 3 can always be read at the same timing regardless of the length of the data.

【0053】上記の二線式通信方式では、従来の構成と
比較して、マイクロコンピュータのプログラムを変更す
るのみで実現することができ、高精度の水晶発振子を使
用する必要がないため、安価に製品化することが可能で
ある。
The two-wire communication system described above can be realized only by changing the program of the microcomputer as compared with the conventional configuration, and does not require the use of a high-precision crystal oscillator. It can be commercialized.

【0054】ところで、上記実施形態の二線式通信方式
では、本体装置2とリモコン3との間で双方向の通信を
行うものを示したが、本体装置2からリモコン3への
み、あるいはリモコン3から本体装置2へのみ送信を行
うものに本発明を適用してもよい。
By the way, in the two-wire communication system of the above-described embodiment, the bidirectional communication between the main unit 2 and the remote controller 3 is described. The present invention may be applied to a device that performs transmission only to the main device 2 from.

【0055】また、上記実施形態の二線式通信方式で
は、2.5mSecの周期に対して、電力の供給時間を
1mSec、強制停止時間を0.5mSec、データの
送信時間を1mSecとするものを示したが、周期及び
時間の配分は上記の数値に限定されるものではなく、リ
モコンの消費電力やマイクロコンピュータの能力等に応
じて適宜設定すること可能である。
In the two-wire communication system of the above embodiment, the power supply time is set to 1 mSec, the forced stop time is set to 0.5 mSec, and the data transmission time is set to 1 mSec for a period of 2.5 mSec. Although shown, the distribution of the period and the time is not limited to the above numerical values, but can be appropriately set according to the power consumption of the remote controller, the capability of the microcomputer, and the like.

【0056】上記実施形態の二線式通信方式では、本体
装置に対して、リモコンを1台のみ接続するものを示し
たが、1台の本体装置に対して複数台のリモコンを並列
に接続するものであっても本発明を適用することができ
る。具体的には、本体装置から全てのリモコンに対して
データを送信し、その後、返信要求信号に基づいて各リ
モコンから順次データを送信するものである。そして、
この場合には、全てのリモコンが本体装置に対して同期
することになる。
In the two-wire communication system of the above embodiment, only one remote controller is connected to the main unit, but a plurality of remote controllers are connected in parallel to one main unit. The present invention can be applied to such a case. Specifically, data is transmitted from the main unit to all remote controllers, and thereafter, data is sequentially transmitted from each remote controller based on a reply request signal. And
In this case, all the remote controllers are synchronized with the main unit.

【0057】[0057]

【発明の効果】以上のように、請求項1の発明の二線式
通信方式は、データを1ビット受信する毎に、本体装置
に対して通信の同期を取ることができるため、本体装置
から送信されるデータを、そのデータの長さに拘らず、
常に合致したタイミングで読込むことができる。しかも
高精度の水晶発振子等を用いる必要がないため、安価に
製品化することができる。
As described above, in the two-wire communication system according to the first aspect of the invention, every time one bit of data is received, communication can be synchronized with the main unit. Regardless of the length of the transmitted data,
It can always be read at the matched timing. Moreover, since it is not necessary to use a high-precision crystal oscillator or the like, it is possible to commercialize the device at low cost.

【0058】請求項2の発明の二線式通信方式は、デー
タを1ビット送信する毎に、本体装置に対して通信の同
期を取ることができるため、本体装置では、リモートコ
ントローラから送信されるデータを、そのデータの長さ
に拘らず、常に合致したタイミングで読込むことができ
る。しかも、高精度の水晶発振子等を用いる必要がない
ため、安価に製品化することができる。
In the two-wire communication system according to the second aspect of the present invention, the communication can be synchronized with the main unit every time one bit of data is transmitted. Data can always be read at the correct timing regardless of the length of the data. Moreover, since it is not necessary to use a high-precision crystal oscillator or the like, it is possible to commercialize the device at low cost.

【0059】請求項3の発明の二線式通信方式は、本体
装置とリモートコントローラとの間で双方向の通信を行
う場合であっても、本体装置またはリモートコントロー
ラの一方では、他方から送信されるデータを、そのデー
タの長さに拘らず、常に合致したタイミングで読込むこ
とができる。しかも、この場合も高精度の水晶発振子等
を用いる必要がないため、安価に製品化することができ
る。
In the two-wire communication system according to the third aspect of the present invention, even when two-way communication is performed between the main unit and the remote controller, one of the main unit and the remote controller transmits data from the other. Data can always be read at the same timing regardless of the length of the data. In addition, in this case, it is not necessary to use a high-precision crystal oscillator or the like, so that the product can be manufactured at low cost.

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

【図1】本発明の一実施形態である二線式通信方式の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a two-wire communication system according to an embodiment of the present invention.

【図2】本発明の一実施形態である二線式通信方式の動
作を説明するための説明図である。
FIG. 2 is an explanatory diagram illustrating an operation of a two-wire communication system according to an embodiment of the present invention.

【図3】本発明の一実施形態である二線式通信方式の動
作を説明するための説明図である。
FIG. 3 is an explanatory diagram illustrating an operation of a two-wire communication system according to an embodiment of the present invention.

【図4】本発明の一実施形態である二線式通信方式にお
ける制御の流れを示すフローチャートである。
FIG. 4 is a flowchart showing a control flow in a two-wire communication system according to an embodiment of the present invention.

【図5】本発明の一実施形態である二線式通信方式にお
ける制御の流れを示すフローチャートである。
FIG. 5 is a flowchart showing a control flow in a two-wire communication system according to an embodiment of the present invention.

【図6】従来の二線式通信方式の回路構成を示す回路図
である。
FIG. 6 is a circuit diagram showing a circuit configuration of a conventional two-wire communication system.

【図7】従来の二線式通信方式の動作を説明するための
説明図である。
FIG. 7 is an explanatory diagram for explaining an operation of a conventional two-wire communication system.

【符号の説明】[Explanation of symbols]

2 本体装置 3 リモートコントローラ(リモコン) 4 通信線 10 電力供給手段 11 強制オフ手段 12 本体側データ送信手段 13 本体側データ受信手段 14 本体側通信制御手段(本体側送信制御手段,本体
側受信制御手段) 22 状態変化検知手段 23 リモコン側データ受信手段 24 リモコン側データ送信手段 25 リモコン側通信制御手段(リモコン側送信制御手
段,リモコン側受信制御手段)
2 Main unit 3 Remote controller (remote controller) 4 Communication line 10 Power supply unit 11 Forced off unit 12 Main unit data transmission unit 13 Main unit data reception unit 14 Main unit communication control unit (main unit transmission control unit, main unit reception control unit) 22) state change detecting means 23 remote control side data receiving means 24 remote control side data transmitting means 25 remote control side communication control means (remote control side transmission control means, remote control side reception control means)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) // F24H 1/00 H04L 13/00 T Fターム(参考) 5K034 AA05 AA10 CC06 DD01 DD05 HH01 HH02 HH05 HH07 HH65 KK05 NN13 NN22 PP02 PP03 TT05 TT08 5K046 AA03 BB05 CC16 PP03 PS05 PS36 PS44 5K048 AA08 AA11 BA12 BA14 DC04 EA06 EB02 EB04 EB13 FC01 HA05 HA07 HA32 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI theme coat ゛ (reference) // F24H 1/00 H04L 13/00 TF term (reference) 5K034 AA05 AA10 CC06 DD01 DD05 HH01 HH02 HH05 HH07 HH65 KK05 NN13 NN22 PP02 PP03 TT05 TT08 5K046 AA03 BB05 CC16 PP03 PS05 PS36 PS44 5K048 AA08 AA11 BA12 BA14 DC04 EA06 EB02 EB04 EB13 FC01 HA05 HA07 HA32

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 二線式の通信線を用いて、本体装置から
リモートコントローラに、作動用電力の供給、及びデー
タの送信を行う二線式通信方式であって、 前記本体装置は、 第1所定時間の間、前記作動用電力を供給させる電力供
給手段と、 第2所定時間の間、前記作動用電力の供給及び前記デー
タの送信を停止させる強制オフ手段と、 第3所定時間の間、複数ビットから構成される前記デー
タを1ビット単位で送信するデータ送信手段と、 前記電力供給手段、前記強制オフ手段、及び前記データ
送信手段を、一連の送信動作として順次動作させるとと
もに、複数ビットの前記データが全て送信されるまで前
記送信動作を繰返す本体側通信制御手段とを備え、 前記リモートコントローラは、 前記作動用電力の供給が停止されたことを検知する状態
変化検知手段と、 前記作動用電力の供給が停止された時点から第4所定時
間が経過した後に、前記データ送信手段から送信される
前記データを読込むデータ受信手段と、 前記状態変化検知手段及び前記データ受信手段を、一連
の受信動作として順次動作させるとともに、前記データ
が全て受信されるまで前記受信動作を繰返すリモコン側
通信制御手段とを備えることを特徴とすることを特徴と
する二線式通信方式。
1. A two-wire communication system for supplying power for operation and transmitting data from a main device to a remote controller using a two-wire communication line, wherein the main device comprises: Power supply means for supplying the operating power for a predetermined time; forcible off means for stopping supply of the operating power and transmission of the data for a second predetermined time; A data transmission unit that transmits the data composed of a plurality of bits in units of one bit, and the power supply unit, the forcible off unit, and the data transmission unit are sequentially operated as a series of transmission operations, and a plurality of bits are transmitted. A main body side communication control unit that repeats the transmission operation until all the data is transmitted, wherein the remote controller detects that the supply of the operation power is stopped. State change detecting means, data receiving means for reading the data transmitted from the data transmitting means after a fourth predetermined time has elapsed from the time when the supply of the operating power is stopped, and the state change detecting means And a remote control communication control means for operating the data reception means sequentially as a series of reception operations and repeating the reception operation until all the data is received. Communication system.
【請求項2】 二線式の通信線を用いて、本体装置から
リモートコントローラに作動用電力の供給を行うととも
に、前記リモートコントローラから前記本体装置にデー
タの送信を行う二線式通信方式であって、 前記本体装置は、 第1所定時間の間、前記作動用電力を供給させる電力供
給手段と、 第2所定時間の間、前記作動用電力の供給を停止させる
強制オフ手段と、 前記作動用電力の供給が停止された時点から第3所定時
間が経過した後に、後述するデータ送信手段から送信さ
れる前記データを読込むデータ受信手段と、 前記電力供給手段、前記強制オフ手段、及び前記データ
受信手段を、一連の受信動作として順次に動作させると
ともに、前記データが全て受信されるまで前記受信動作
を繰返す本体側通信制御手段とを備え、 前記リモートコントローラは、 前記作動用電力の供給が停止されたことを検知する状態
変化検知手段と、 前記作動用電力の供給が停止された時点から第4所定時
間が経過した後に、複数ビットから構成される前記デー
タを1ビット単位で第5所定時間の間送信するデータ送
信手段と、 前記状態変化検知手段、及び前記データ送信手段を、一
連の送信動作として順次動作させるとともに、複数ビッ
トの前記データが全て送信されるまで前記送信動作を繰
返すリモコン側通信制御手段とを備えることを特徴とす
る二線式通信方式。
2. A two-wire communication system that uses a two-wire communication line to supply operating power from a main unit to a remote controller and transmit data from the remote controller to the main unit. The main body device includes: a power supply unit configured to supply the operating power for a first predetermined time; a forced off unit configured to stop supplying the operating power for a second predetermined time; Data receiving means for reading the data transmitted from the data transmitting means, which will be described later, after a third predetermined time has elapsed from the time when the power supply is stopped, the power supply means, the forcible off means, and the data A main body side communication control means for operating the reception means sequentially as a series of reception operations and repeating the reception operation until all the data is received, A state controller for detecting that the supply of the operating power has been stopped, and a plurality of bits after a fourth predetermined time has elapsed since the supply of the operating power was stopped. Data transmission means for transmitting the data to be transmitted in a unit of one bit for a fifth predetermined time, the state change detection means, and the data transmission means are sequentially operated as a series of transmission operations, and the data of a plurality of bits are transmitted. And a remote controller-side communication control means for repeating the transmission operation until all are transmitted.
【請求項3】 二線式の通信線を用いて、本体装置から
リモートコントローラに作動用電力の供給、及び本体側
データの送信を行うとともに、前記リモートコントロー
ラから前記本体装置にリモコン側データの送信を行う二
線式通信方式であって、 前記本体装置は、 第1所定時間の間、前記作動用電力を供給させる電力供
給手段と、 第2所定時間の間、前記作動用電力の供給および前記本
体側データの送信を停止させる強制オフ手段と、 第3所定時間の間、複数ビットから構成される前記本体
側データを1ビット単位で送信することが可能な本体側
データ送信手段と、 前記作動用電力の供給が停止されてから第4所定時間が
経過した後に、後述するリモコン側データ送信手段から
送信される前記リモコン側データを読込むことが可能な
本体側データ受信手段と、 前記電力供給手段、前記強制オフ手段、及び前記本体側
データ送信手段を、一連の送信動作として順次動作させ
るとともに、複数ビットの前記本体側データが全て送信
されるまで前記送信動作を繰返す本体側送信制御手段
と、 前記電力供給手段、前記強制オフ手段、及び前記本体側
データ受信手段を、一連の受信動作として順次動作させ
るとともに、前記リモコン側データが全て受信されるま
で前記受信動作を繰返す本体側受信制御手段とを備え、 前記リモートコントローラは、 前記作動用電力の供給が停止されたことを検知する状態
変化検知手段と、 前記作動用電力の供給が停止された時点から第5所定時
間が経過した後に、前記本体側送信手段から送信される
前記本体側データを読込むことが可能なリモコン側デー
タ受信手段と、 前記作動用電力の供給が停止された時点から第6所定時
間が経過した後に、複数ビットから構成される前記リモ
コン用データを1ビット単位で第7所定時間の間送信す
ることが可能なリモコン側データ送信手段と、 前記状態変化検知手段、及び前記リモコン側データ受信
手段を、一連の受信動作として順次動作させるととも
に、前記本体側データが全て受信されるまで前記受信動
作を繰返すリモコン側受信制御手段と、 前記状態変化検知手段、及び前記リモコン側データ送信
手段を、一連の送信動作として順次動作させるととも
に、複数ビットの前記リモコン側データが全て送信され
るまで前記送信動作を繰返すリモコン側送信制御手段と
を備えることを特徴とすることを特徴とする二線式通信
方式。
3. Using a two-wire communication line, the main unit supplies operating power to the remote controller and transmits main unit data, and the remote controller transmits remote control data to the main unit. A two-wire communication system, wherein the main body device includes: a power supply unit configured to supply the operating power for a first predetermined time; and a power supply unit configured to supply the operating power for a second predetermined time. Forcible off means for stopping transmission of main body side data, main body side data transmitting means capable of transmitting the main body side data composed of a plurality of bits in 1-bit units for a third predetermined time, A main body capable of reading the remote control side data transmitted from the remote control side data transmitting means described later after a fourth predetermined time has elapsed since the supply of power for use was stopped. A data receiving unit, the power supply unit, the forcible off unit, and the main unit data transmitting unit are sequentially operated as a series of transmitting operations, and the transmitting operation is performed until all of the plurality of bits of the main unit data are transmitted. The main body side transmission control means, and the power supply means, the forcible off means, and the main body side data reception means are sequentially operated as a series of reception operations, and the reception is performed until all the remote control side data is received. A main body-side reception control unit that repeats the operation, the remote controller includes: a state change detection unit that detects that the supply of the operation power is stopped; and (5) After a predetermined time has elapsed, the remote controller data capable of reading the main body data transmitted from the main body transmission means. Data receiving means, and after a lapse of a sixth predetermined time since the supply of the operating power is stopped, transmitting the remote control data composed of a plurality of bits in a unit of one bit for a seventh predetermined time. Remote control side data transmitting means, the state change detecting means, and the remote control side data receiving means are sequentially operated as a series of receiving operations, and the receiving operation is performed until all the main body side data is received. Repeating the remote control side reception control means, the state change detection means, and the remote control side data transmission means sequentially operate as a series of transmission operations, and perform the transmission operation until all of the plurality of bits of the remote control side data are transmitted. A two-wire communication system comprising: a remote controller-side transmission control means that is repeated.
JP25836399A 1999-09-13 1999-09-13 Two-wire type communication system Pending JP2001086579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25836399A JP2001086579A (en) 1999-09-13 1999-09-13 Two-wire type communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25836399A JP2001086579A (en) 1999-09-13 1999-09-13 Two-wire type communication system

Publications (1)

Publication Number Publication Date
JP2001086579A true JP2001086579A (en) 2001-03-30

Family

ID=17319209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25836399A Pending JP2001086579A (en) 1999-09-13 1999-09-13 Two-wire type communication system

Country Status (1)

Country Link
JP (1) JP2001086579A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020037737A (en) * 2002-04-29 2002-05-22 김진국 Two way communication system with only two lines
JP2007300599A (en) * 2006-04-03 2007-11-15 Denso Corp Communication system, communication device, and method for determining duty ratio of pwm control
JP2011015216A (en) * 2009-07-02 2011-01-20 Panasonic Corp Video system, and video display device and video viewing eyeglasses used in video system
CN109921782A (en) * 2019-03-07 2019-06-21 上海申矽凌微电子科技有限公司 Two line communication interface circuit of voltage

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020037737A (en) * 2002-04-29 2002-05-22 김진국 Two way communication system with only two lines
JP2007300599A (en) * 2006-04-03 2007-11-15 Denso Corp Communication system, communication device, and method for determining duty ratio of pwm control
JP2011015216A (en) * 2009-07-02 2011-01-20 Panasonic Corp Video system, and video display device and video viewing eyeglasses used in video system
CN109921782A (en) * 2019-03-07 2019-06-21 上海申矽凌微电子科技有限公司 Two line communication interface circuit of voltage
CN109921782B (en) * 2019-03-07 2023-02-17 上海申矽凌微电子科技有限公司 Voltage two-wire communication interface circuit

Similar Documents

Publication Publication Date Title
CN102035564B (en) Transceiver
EP2446713B1 (en) Method and device for programming a microcontroller
JP2003078976A (en) Radio remote controller and its utilizing method
US6307812B1 (en) Security system using modular timers
US5657005A (en) Operation of a system using a remote control
EP1434382B2 (en) Serial data transferring apparatus
CN111562027A (en) Two-wire system temperature measuring system and method for daisy chain
JP2001086579A (en) Two-wire type communication system
US6442704B1 (en) Ring oscillator clock frequency measuring method, ring oscillator clock frequency measuring circuit, and microcomputer
JPH066256A (en) Transmission and reception system
US20050159077A1 (en) Infrared steering method and infrared steering system
US6219217B1 (en) Method for the energy-saving operation of a control unit
JPS62107357A (en) Ic device
JP2014058181A (en) Vehicular electronic control unit
JP2000101612A (en) Method and device for setting address of slave device
JPH06141372A (en) Transmission/reception system
JP3269145B2 (en) Cordless remote control water heater
JPS63120537A (en) Rs232c interface terminal controller
JP2004241999A (en) Power superimposed multiplex communication apparatus for vehicle
US20020101786A1 (en) Security system using modular timers
JPH066255A (en) Transmission and reception system
JP2001209874A (en) Communication equipment for security
JPH0688871A (en) Electronic controller
JP2004354118A (en) Measuring apparatus
JP2861514B2 (en) Two-wire signal transmission device