JPH09107317A - Data transmission method utilizing indoor power line - Google Patents

Data transmission method utilizing indoor power line

Info

Publication number
JPH09107317A
JPH09107317A JP7264461A JP26446195A JPH09107317A JP H09107317 A JPH09107317 A JP H09107317A JP 7264461 A JP7264461 A JP 7264461A JP 26446195 A JP26446195 A JP 26446195A JP H09107317 A JPH09107317 A JP H09107317A
Authority
JP
Japan
Prior art keywords
data transmission
transmission
data
reference timing
timing signal
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
JP7264461A
Other languages
Japanese (ja)
Inventor
Yuji Mori
勇二 森
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.)
Star Micronics Co Ltd
Original Assignee
Star Micronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP7264461A priority Critical patent/JPH09107317A/en
Publication of JPH09107317A publication Critical patent/JPH09107317A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain the data transmission method by which an optimum transmission rate is quickly decided while keeping a high transmission efficiency. SOLUTION: A transmission means 3 and a reception means 4 generate respectively a reference timing signal based on a frequency of power supply on an indoor power distribution line and the transmission means 3 starts data transmission with a prescribed delay from the reference timing signal corresponding to a data transmission rate. Then the reception means 4 measures a delay time from the reference timing signal to the reception of data to receive the data at a data transmission rate corresponding to the delay time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、AC100VやA
C200V等の屋内電力配線を利用してデータ伝送を行
うデータ伝送方法に関する。
TECHNICAL FIELD The present invention relates to AC100V and A
The present invention relates to a data transmission method for performing data transmission using indoor power wiring such as C200V.

【0002】[0002]

【従来の技術】データ伝送を行う場合、有線、無線に限
らず、設置環境における雑音(ノイズ)やデータ波形の
乱れの影響を受けて、時としてデータ伝送が不能になる
ことがある。設置者や使用者は、確実なデータ伝送を安
定に実現するために、各環境に応じてデータ伝送速度を
適宜調整する必要がある。しかし、データ伝送の不具合
が一時的なものかどうか判断するのが難しいため、デー
タ伝送可能な最高速度より大きくマージンをとり、低い
伝送速度に設定することが多い。
2. Description of the Related Art Data transmission is not limited to wired or wireless transmission, but sometimes it is impossible to perform data transmission due to the influence of noise in the installation environment or disturbance of the data waveform. The installer or the user needs to appropriately adjust the data transmission rate according to each environment in order to stably realize reliable data transmission. However, since it is difficult to determine whether the data transmission failure is temporary, it is often the case that the transmission speed is set low with a margin larger than the maximum data transmission speed.

【0003】特に、屋内電力配線を利用したデータ伝送
方法においては、高電圧の電源ライン上に所定周波数の
キャリアを各種電波法規の規定値内で伝搬させているた
め、通常の信号ケーブルや電話線を用いる方法と比べて
ノイズに弱い環境となる。さらに、電力配電線にはプリ
ンタ等の事務機器からモータ等の動力機器まで様々な機
器が接続されるため、比較的ノイズの多い環境に曝され
る。
In particular, in a data transmission method using indoor power wiring, carriers of a predetermined frequency are propagated on a high-voltage power supply line within the prescribed values of various radio regulations, so that ordinary signal cables and telephone lines are used. The environment is more susceptible to noise than the method using. Furthermore, since various devices such as office equipment such as printers and power equipment such as motors are connected to the power distribution line, they are exposed to a relatively noisy environment.

【0004】したがって、データ伝送速度を決める際、
伝送環境が最悪状態にある場合を十分考慮して低い伝送
速度に設定せざるを得ず、伝送効率の低下を招いてい
る。
Therefore, when determining the data transmission rate,
In consideration of the worst case of the transmission environment, the transmission rate must be set to a low value, resulting in a decrease in transmission efficiency.

【0005】こうした問題を解決する先行技術として特
開平2−162924号がある。そこでは、本来送るべ
き信号(主信号)の前に伝送速度を指示する信号を付加
し、データ伝送速度をエラー率に応じて変化させること
によって、伝送環境の良否に応じたデータ伝送を効率的
に行っている。
As a prior art for solving such a problem, there is JP-A-2-162924. There, a signal that indicates the transmission rate is added before the signal that should be originally sent (main signal), and the data transmission rate is changed according to the error rate, so that data transmission according to the quality of the transmission environment is efficient. Have been to.

【0006】図5は、従来の信号伝送方法を示すタイミ
ング図である。ここでは親機と子機との間でデータ伝送
する例を説明する。親機は、初期値として定められた伝
送速度を用いて、主信号の前に速度指示信号を付加して
一連の信号として送信すると、子機は初期値の伝送速度
を用いて受信する。この送信終了後、子機は同じ伝送速
度で同じ内容の返送信号を親機に向けて送信する。親機
は、送信した信号と受信した信号とを比較して、伝送エ
ラー率を算出する。
FIG. 5 is a timing diagram showing a conventional signal transmission method. Here, an example in which data is transmitted between the master unit and the slave unit will be described. When the master unit uses the transmission rate determined as the initial value and adds the speed instruction signal to the front of the main signal to transmit as a series of signals, the slave unit receives using the transmission rate of the initial value. After this transmission is completed, the child device transmits a return signal having the same content at the same transmission rate to the parent device. The master unit compares the transmitted signal with the received signal to calculate the transmission error rate.

【0007】その結果、伝送エラー率が規定値より大き
い場合、伝送速度をたとえば半分に下げて2回目のデー
タ伝送を行い、伝送エラー率を算出して評価を行う。こ
うしてデータ伝送速度を変えながら伝送エラー率を評価
することによって、出来るだけ効率かつ安定したデータ
伝送が行える伝送速度を決定している。
As a result, when the transmission error rate is higher than the specified value, the transmission rate is reduced to half and the second data transmission is performed, and the transmission error rate is calculated and evaluated. By thus evaluating the transmission error rate while changing the data transmission rate, the transmission rate at which the data transmission can be performed as efficiently and stably as possible is determined.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
データ伝送方法では、データ伝送速度を指示するための
信号を余分に付加しているため、その分伝送効率が低下
することになる。
However, in the conventional data transmission method, since an extra signal for instructing the data transmission rate is added, the transmission efficiency is reduced accordingly.

【0009】本発明の目的は、高い伝送効率を保ちつ
つ、最適な伝送速度を迅速に決定することができるデー
タ伝送方法を提供することである。
An object of the present invention is to provide a data transmission method capable of rapidly determining an optimum transmission rate while maintaining high transmission efficiency.

【0010】[0010]

【課題を解決するための手段】本発明は、屋内電力配線
を介して送信手段と受信手段との間でデータ伝送を行う
データ伝送方法において、送信手段および受信手段は屋
内電力配線に流れる電源周波数に基づいて基準タイミン
グ信号をそれぞれ生成し、送信手段はデータ伝送速度に
対応して該基準タイミング信号から所定時間遅延させて
データ送信を開始するとともに、受信手段は該基準タイ
ミング信号からデータ受信までの遅延時間を計測し、該
遅延時間に対応するデータ伝送速度でデータ受信を行う
ことを特徴とする屋内電力配線を利用したデータ伝送方
法である。本発明に従えば、電源周波数に基づいて基準
タイミング信号を生成し、該基準タイミング信号から送
信および受信を開始するまで遅延させた時間の大小とデ
ータ伝送速度とを関連付けしている。そのため、従来の
ような速度指示信号が無くても、受信側は伝送速度を認
識することが可能になり、しかも余分なデータ伝送が不
要になるため、データ伝送効率が格段に向上する。
SUMMARY OF THE INVENTION The present invention is a data transmission method for transmitting data between a transmitting means and a receiving means via an indoor power wiring, wherein the transmitting means and the receiving means are power source frequencies flowing in the indoor power wiring. A reference timing signal is generated on the basis of the reference timing signal, the transmission means delays a predetermined time from the reference timing signal in response to the data transmission rate, and starts data transmission. A data transmission method using indoor power wiring, characterized in that a delay time is measured and data is received at a data transmission rate corresponding to the delay time. According to the present invention, the reference timing signal is generated based on the power supply frequency, and the magnitude of the time delayed from the reference timing signal until the start of transmission and reception is associated with the data transmission rate. Therefore, even if there is no speed instruction signal as in the conventional case, the receiving side can recognize the transmission speed, and no extra data transmission is required, so that the data transmission efficiency is remarkably improved.

【0011】また本発明は、前記基準タイミング信号
は、電源周波数のゼロクロス点に同期して生成すること
を特徴とする。本発明に従えば、電源周波数のゼロクロ
ス点を検出し利用することによって、安定した基準タイ
ミング信号を容易に生成することができる。
Further, the present invention is characterized in that the reference timing signal is generated in synchronization with a zero cross point of the power supply frequency. According to the present invention, a stable reference timing signal can be easily generated by detecting and utilizing the zero-cross point of the power supply frequency.

【0012】[0012]

【発明の実施の形態】図1は、本発明に係るデータ伝送
方法が適用される伝送回路を示すブロック図である。屋
内電力配線PLには、たとえばAC100VやAC20
0V等の電力が通電しており、各種機器はコンセント等
を介して接続され電力供給を受けている。各種機器のう
ち、プリンタやコンピュータ等のデータ伝送を行う機器
も同様に屋内電力配線PLから電源ケーブルを介して電
力供給を受けており、本発明では電源ケーブルを信号ケ
ーブルとして兼用する。
1 is a block diagram showing a transmission circuit to which a data transmission method according to the present invention is applied. The indoor power wiring PL is, for example, AC100V or AC20.
Electric power of 0 V or the like is supplied, and various devices are connected to each other through an outlet or the like and supplied with electric power. Among various devices, a device such as a printer or a computer that performs data transmission is similarly supplied with power from the indoor power wiring PL through a power cable, and in the present invention, the power cable is also used as a signal cable.

【0013】図1において、2つのデータ伝送機器が屋
内電力配線PLに接続されている構成を例示しており、
一方が親機P、他方が子機Cとして動作する。データ伝
送機器の親機Pおよび子機Cは、所定のプログラムに従
って信号処理を行うマイクロプロセッサユニット(MP
U)1と、電源周波数のゼロクロス点を検出するゼロク
ロス検出手段2と、伝送データをキャリアに載せて送信
する送信手段3と、他の機器から送信される信号を受信
する受信手段4などで構成される。ここでは、伝送デー
タが親機Pの送信手段3から送信されて、子機Cの受信
手段4で受信する例を説明するが、反対方向の伝送につ
いても同様である。
FIG. 1 illustrates a configuration in which two data transmission devices are connected to the indoor power wiring PL,
One operates as a master P and the other operates as a slave C. The parent device P and the child device C of the data transmission device are microprocessor units (MPs) that perform signal processing according to a predetermined program.
U) 1, zero-cross detection means 2 for detecting a zero-cross point of the power supply frequency, transmission means 3 for transmitting transmission data on a carrier, and reception means 4 for receiving signals transmitted from other devices. To be done. Here, an example will be described in which transmission data is transmitted from the transmission unit 3 of the parent device P and received by the reception unit 4 of the child device C, but the same applies to transmission in the opposite direction.

【0014】図2は、本発明に係るデータ伝送方法を示
すタイミング図である。図3は、データ送信側の動作を
示すフローチャートである。図4は、データ受信側の動
作を示すフローチャートである。
FIG. 2 is a timing diagram showing a data transmission method according to the present invention. FIG. 3 is a flowchart showing the operation on the data transmitting side. FIG. 4 is a flowchart showing the operation on the data receiving side.

【0015】まず、基準タイミング信号の生成について
説明する。屋内電力配線PLには、50Hzまたは60
Hzの電源周波数を持つ電圧が印加されており、1周期
のうち2回だけ0Vになるゼロクロス点が存在する。親
機Pおよび子機Cのゼロクロス検出手段2は、所定の閾
値と電源電圧とを比較するコンパレータを備え、ゼロク
ロス点と同期したパルスを発生する。コンパレータとし
て、たとえば+5Vと−5Vという2レベルの閾値を使
用するウインドウコンパレータを使用すると、図2に示
すように、ゼロクロス点を中心としたパルスが得られ
る。こうして電源周波数のゼロクロス点に同期した基準
タイミング信号が生成される。
First, the generation of the reference timing signal will be described. 50Hz or 60 for the indoor power wiring PL
A voltage having a power supply frequency of Hz is applied, and there is a zero-cross point that becomes 0 V only twice in one cycle. The zero-cross detection means 2 of the parent device P and the child device C includes a comparator that compares a predetermined threshold value with the power supply voltage, and generates a pulse synchronized with the zero-cross point. If a window comparator that uses two-level thresholds of +5 V and -5 V, for example, is used as the comparator, a pulse centered at the zero-cross point is obtained as shown in FIG. Thus, the reference timing signal synchronized with the zero cross point of the power supply frequency is generated.

【0016】次にデータ列の送信手順について説明す
る。図3に示すように、親機Pの送信手段3は、ステッ
プa1においてゼロクロス点を検出するまで待機してお
り、基準タイミング信号の立上りによってゼロクロス点
を検出するとステップa2へ移行する。データ伝送速度
は、たとえば1200bps(1秒当りのビット数)、
2400bps、4800bps、9600bpsの4
段階が切り替わるように設定可能であり、各伝送速度に
対応する基準タイミング信号立上りからの遅延時間を下
記(表1)に示す。
Next, the procedure for transmitting the data string will be described. As shown in FIG. 3, the transmitting means 3 of the parent device P waits until it detects a zero-cross point in step a1, and when it detects the zero-cross point due to the rise of the reference timing signal, the process proceeds to step a2. The data transmission rate is, for example, 1200 bps (the number of bits per second),
2400bps, 4800bps, 9600bps 4
The delay time from the rise of the reference timing signal corresponding to each transmission rate can be set so that the stages can be switched, and the following (Table 1) is shown.

【0017】[0017]

【表1】 [Table 1]

【0018】ステップa2において、これから実行する
データ伝送速度が1200bpsであるか否か判定し、
もし1200bpsであれば、ステップa5へ移行して
親機Pの送信手段3のデータ伝送速度を1200bps
に設定し、ステップa6で基準タイミング信号立上りか
ら1msec待機して、ステップa13でデータ送信を
開始する。なお、1msecという遅延時間は0.00
〜1.99msecの範囲内で適宜選択された数値であ
り、この範囲内であれば1msecに限定されない。
In step a2, it is judged whether or not the data transmission speed to be executed is 1200 bps,
If it is 1200 bps, the process proceeds to step a5 and the data transmission rate of the transmitting means 3 of the parent device P is 1200 bps.
Is set for 1 msec from the rise of the reference timing signal in step a6, and data transmission is started in step a13. The delay time of 1 msec is 0.00
It is a numerical value appropriately selected within the range of to 1.99 msec, and is not limited to 1 msec as long as it is within this range.

【0019】データ伝送速度が1200bpsでなけれ
ば、ステップa3において2400bpsであるか否か
判定し、もし2400bpsであれば、ステップa7へ
移行して親機Pの送信手段3のデータ伝送速度を240
0bpsに設定し、ステップa8で基準タイミング信号
立上りから3msec待機して、ステップa13でデー
タ送信を開始する。なお、3msecという遅延時間も
2.00〜3.99msecの範囲内で適宜選択された
数値である。
If the data transmission rate is not 1200 bps, it is determined in step a3 whether it is 2400 bps. If it is 2400 bps, the process proceeds to step a7 and the data transmission rate of the transmitting means 3 of the master P is set to 240.
It is set to 0 bps, waits for 3 msec from the rise of the reference timing signal in step a8, and starts data transmission in step a13. The delay time of 3 msec is also a numerical value appropriately selected within the range of 2.00 to 3.99 msec.

【0020】データ伝送速度が2400bpsでなけれ
ば、ステップa4において4800bpsであるか否か
判定し、もし4800bpsであれば、ステップ9へ移
行して親機Pの送信手段3のデータ伝送速度を4800
bpsに設定し、ステップa10で基準タイミング信号
立上りから5msec待機して、ステップa13でデー
タ送信を開始する。なお、5msecという遅延時間も
4.00〜5.99msecの範囲内で適宜選択された
数値である。
If the data transmission rate is not 2400 bps, it is determined in step a4 whether it is 4800 bps. If it is 4800 bps, the process proceeds to step 9 and the data transmission rate of the transmitting means 3 of the master P is set to 4800 bps.
It is set to bps, waits 5 msec from the rise of the reference timing signal in step a10, and starts data transmission in step a13. The delay time of 5 msec is a numerical value appropriately selected within the range of 4.00 to 5.99 msec.

【0021】データ伝送速度が4800bpsでなけれ
ば、最後の9600bpsであると判定して、ステップ
11へ移行して親機Pの送信手段3のデータ伝送速度を
9600bpsに設定し、ステップa12で基準タイミ
ング信号立上りから7msec待機して、ステップa1
3でデータ送信を開始する。なお、7msecという遅
延時間も6.00〜7.99msecの範囲内で適宜選
択された数値である。
If the data transmission rate is not 4800 bps, it is determined that it is the last 9600 bps, the process proceeds to step 11, the data transmission rate of the transmitting means 3 of the parent device P is set to 9600 bps, and the reference timing is set in step a12. Wait 7 msec after the signal rises, then step a1
At 3, the data transmission is started. The delay time of 7 msec is a numerical value appropriately selected within the range of 6.00 to 7.99 msec.

【0022】ステップa13でのデータ送信は、ステッ
プa14でデータ列送信終了を判定するまで継続する。
こうして予め設定されたデータ伝送速度に基づいて、基
準タイミング信号立上りから該伝送速度に対応する所定
遅延時間だけ待機した後、データ送信を開始している。
The data transmission in step a13 continues until it is judged in step a14 that the data string transmission is completed.
Based on the preset data transmission rate, the data transmission is started after waiting for a predetermined delay time corresponding to the transmission rate from the rise of the reference timing signal.

【0023】次にデータ列の受信手順について説明す
る。図4に示すように、子機Cの受信手段4は、ステッ
プb1においてゼロクロス点を検出するまで待機してお
り、基準タイミング信号の立上りによってゼロクロス点
を検出するとステップb2へ移行する。ステップb2で
は、まず最初に受信手段4の伝送速度を1200bps
に設定し、ステップb3で2.0msec待機する。
Next, the procedure for receiving the data string will be described. As shown in FIG. 4, the receiving means 4 of the slave C waits until the zero cross point is detected in step b1, and when the zero cross point is detected by the rise of the reference timing signal, the process proceeds to step b2. In step b2, first, the transmission speed of the receiving means 4 is set to 1200 bps.
And wait for 2.0 msec at step b3.

【0024】次のステップb4において、受信手段4に
向けてデータ伝送が開始されたか否かを判定し、もし基
準タイミング信号立上りから0.00〜1.99mse
cの範囲内にデータ伝送が開始していれば、ステップb
14へ移行して1200bpsでデータ受信を開始す
る。基準タイミング信号立上りから2.0msec内に
データ伝送が開始していないと、ステップb5で受信手
段4の伝送速度を2400bpsに設定し、ステップb
6で更に2.0msec待機する。
In the next step b4, it is judged whether or not the data transmission to the receiving means 4 is started, and 0.00-1.99 mse from the rising edge of the reference timing signal.
If data transmission has started within the range of c, step b
The process proceeds to 14 and data reception is started at 1200 bps. If data transmission has not started within 2.0 msec from the rise of the reference timing signal, the transmission speed of the receiving means 4 is set to 2400 bps in step b5, and step b
At 6, wait another 2.0 msec.

【0025】次のステップb7において、受信手段4に
向けてデータ伝送が開始されたか否かを判定し、もし基
準タイミング信号立上りから2.00〜3.99mse
cの範囲内にデータ伝送が開始していれば、ステップb
14へ移行して2400bpsでデータ受信を開始す
る。基準タイミング信号立上りから4.0msec内に
データ伝送が開始していないと、ステップb8で受信手
段4の伝送速度を4800bpsに設定し、ステップb
9で更に2.0msec待機する。
In the next step b7, it is judged whether or not the data transmission to the receiving means 4 is started, and if the reference timing signal rises, 2.00 to 3.99 mse.
If data transmission has started within the range of c, step b
Then, the process proceeds to 14 to start data reception at 2400 bps. If data transmission has not started within 4.0 msec from the rise of the reference timing signal, the transmission speed of the receiving means 4 is set to 4800 bps in step b8, and step b
At 9, wait another 2.0 msec.

【0026】次のステップb10において、受信手段4
に向けてデータ伝送が開始されたか否かを判定し、もし
基準タイミング信号立上りから4.00〜5.99ms
ecの範囲内にデータ伝送が開始していれば、ステップ
b14へ移行して4800bpsでデータ受信を開始す
る。基準タイミング信号立上りから6.0msec内に
データ伝送が開始していないと、ステップb11で受信
手段4の伝送速度を9600bpsに設定し、ステップ
b12で更に2.0msec待機する。
At the next step b10, the receiving means 4
It is determined whether or not the data transmission to the terminal has started, and if 4.000 to 5.99 ms from the rising edge of the reference timing signal.
If the data transmission has started within the range of ec, the process proceeds to step b14 and data reception is started at 4800 bps. If the data transmission has not started within 6.0 msec from the rise of the reference timing signal, the transmission speed of the receiving means 4 is set to 9600 bps in step b11, and the process waits for another 2.0 msec in step b12.

【0027】次のステップb13において、受信手段4
に向けてデータ伝送が開始されたか否かを判定し、もし
基準タイミング信号立上りから6.00〜7.99ms
ecの範囲内にデータ伝送が開始していれば、ステップ
b14へ移行して9600bpsでデータ受信を開始す
る。基準タイミング信号立上りから8.0msec内に
データ伝送が開始していないと、ステップb1に戻って
次のゼロクロス点まで待機する。
At the next step b13, the receiving means 4
It is determined whether or not the data transmission to the terminal has started, and if it is 6.00 to 7.99 ms from the rising edge of the reference timing signal.
If data transmission has started within the range of ec, the process proceeds to step b14 and data reception is started at 9600 bps. If data transmission has not started within 8.0 msec from the rise of the reference timing signal, the process returns to step b1 and waits until the next zero cross point.

【0028】ステップb14でのデータ受信は、ステッ
プb15でデータ列受信終了を判定するまで継続する。
こうして基準タイミング信号立上りからデータ伝送開始
までの遅延時間に基づいて、表1を参照して子機Cのデ
ータ伝送速度を決定し、データ受信を開始している。
The data reception in step b14 is continued until it is judged in step b15 that the data string reception is completed.
In this way, based on the delay time from the rise of the reference timing signal to the start of data transmission, the data transmission speed of the handset C is determined with reference to Table 1, and data reception is started.

【0029】図2では、データ列の送信および受信を親
機Pおよび子機Cとの間で交互に行っている例を示し、
データ伝送速度の初期値として2400bpsからスタ
ートしている。まず、親機Pの送信手段3が基準タイミ
ング信号立上りから3msec経過後に主信号の送信を
開始する。すると、子機Cの受信手段4は遅延時間が3
msecであると判定してデータ伝送速度を2400b
psに設定し、親機Pからの主信号を受信する。このデ
ータ列の伝送終了後、子機Cの送信手段3は同じ伝送速
度で同じ内容の返送信号を親機Pに向けて送信する。親
機Pは、送信した信号と受信した信号とを比較して、伝
送エラー率を算出する。
FIG. 2 shows an example in which transmission and reception of a data string are alternately performed between the master P and the slave C,
The data transmission rate starts from 2400 bps as an initial value. First, the transmitting means 3 of the parent device P starts transmitting the main signal 3 msec after the rise of the reference timing signal. Then, the reception unit 4 of the child device C has a delay time of 3
The data transmission rate is determined to be 2400b by determining that it is msec.
Set to ps and receive the main signal from the master P. After the transmission of this data string is completed, the transmitting means 3 of the child device C transmits a return signal of the same content to the parent device P at the same transmission speed. The parent device P compares the transmitted signal with the received signal to calculate the transmission error rate.

【0030】その結果、伝送エラー率が規定値より大き
い場合には伝送環境が不十分であると判断して、伝送速
度を2400bpsから1200bpsに下げて2回目
のデータ伝送を行う。そのとき、親機Pの送信手段3は
基準タイミング信号立上りから1msec経過後に主信
号の送信を開始する。すると、子機Cの受信手段4は遅
延時間が1msecであると判定してデータ伝送速度を
1200bpsに再設定し、親機Pからの主信号を受信
する。このデータ列の伝送終了後、子機Cの送信手段3
は同じ伝送速度で同じ内容の返送信号を親機Pに向けて
送信する。親機Pは、送信した信号と受信した信号とを
比較して、伝送エラー率を算出する。
As a result, when the transmission error rate is larger than the specified value, it is determined that the transmission environment is insufficient, and the transmission rate is reduced from 2400 bps to 1200 bps to perform the second data transmission. At that time, the transmission means 3 of the parent device P starts transmitting the main signal 1 msec after the rise of the reference timing signal. Then, the reception means 4 of the slave C determines that the delay time is 1 msec, resets the data transmission rate to 1200 bps, and receives the main signal from the master P. After the transmission of this data string is completed, the transmission means 3 of the child device C
Transmits a return signal having the same content at the same transmission speed to the parent device P. The parent device P compares the transmitted signal with the received signal to calculate the transmission error rate.

【0031】その結果、伝送エラー率が規定値を満足し
ていれば、伝送環境が十分であると判断して、以後のデ
ータ伝送速度を1200bpsに決定してデータ伝送を
続行する。
As a result, if the transmission error rate satisfies the specified value, it is determined that the transmission environment is sufficient, the subsequent data transmission rate is set to 1200 bps, and the data transmission is continued.

【0032】一方、2400bpsのデータ伝送速度で
伝送エラー率が規定値を満足している場合には、より効
率的な伝送を狙って、4800bpsや9600bps
等の伝送速度に上げて同様な交互伝送を行う。こうして
データ伝送速度を変えながら伝送エラー率を評価するこ
とによって、出来るだけ効率かつ安定したデータ伝送が
行える伝送速度を決定している。
On the other hand, when the transmission error rate satisfies the specified value at the data transmission rate of 2400 bps, 4800 bps or 9600 bps is aimed at for more efficient transmission.
The same alternating transmission is performed by increasing the transmission speed such as. By thus evaluating the transmission error rate while changing the data transmission rate, the transmission rate at which the data transmission can be performed as efficiently and stably as possible is determined.

【0033】[0033]

【発明の効果】以上詳説したように本発明によれば、電
源周波数に基づいて基準タイミング信号を生成し、該基
準タイミング信号から送信および受信を開始するまで遅
延させた時間の大小とデータ伝送速度とを関連付けして
いる。そのため、従来のような速度指示信号が無くて
も、受信側は伝送速度を認識することが可能になり、し
かも余分なデータ伝送が不要になるため、データ伝送効
率が格段に向上する。
As described in detail above, according to the present invention, the reference timing signal is generated based on the power supply frequency, and the delay time from the reference timing signal until the start of transmission and reception and the data transmission rate are increased. Are associated with. Therefore, even if there is no speed instruction signal as in the conventional case, the receiving side can recognize the transmission speed, and no extra data transmission is required, so that the data transmission efficiency is remarkably improved.

【0034】また、電源周波数のゼロクロス点を検出し
利用することによって、安定した基準タイミング信号を
容易に生成することができる。
Further, a stable reference timing signal can be easily generated by detecting and utilizing the zero crossing point of the power supply frequency.

【0035】こうして高い伝送効率を保ちつつ、最適な
伝送速度を迅速に決定できるデータ伝送方法が実現する
ことができる。
In this way, it is possible to realize a data transmission method capable of quickly determining the optimum transmission rate while maintaining high transmission efficiency.

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

【図1】本発明に係るデータ伝送方法が適用される伝送
回路を示すブロック図である。
FIG. 1 is a block diagram showing a transmission circuit to which a data transmission method according to the present invention is applied.

【図2】本発明に係るデータ伝送方法を示すタイミング
図である。
FIG. 2 is a timing diagram showing a data transmission method according to the present invention.

【図3】データ送信側の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing an operation on the data transmission side.

【図4】データ受信側の動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing an operation on the data receiving side.

【図5】従来の信号伝送方法を示すタイミング図であ
る。
FIG. 5 is a timing diagram showing a conventional signal transmission method.

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

1 マイクロプロセッサユニット 2 ゼロクロス検出手段 3 送信手段 4 受信手段 1 Microprocessor Unit 2 Zero Cross Detection Means 3 Transmission Means 4 Reception Means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 屋内電力配線を介して送信手段と受信手
段との間でデータ伝送を行うデータ伝送方法において、 送信手段および受信手段は屋内電力配線に流れる電源周
波数に基づいて基準タイミング信号をそれぞれ生成し、
送信手段はデータ伝送速度に対応して該基準タイミング
信号から所定時間遅延させてデータ送信を開始するとと
もに、受信手段は該基準タイミング信号からデータ受信
までの遅延時間を計測し、該遅延時間に対応するデータ
伝送速度でデータ受信を行うことを特徴とする屋内電力
配線を利用したデータ伝送方法。
1. A data transmission method for transmitting data between a transmitting means and a receiving means via an indoor power wiring, wherein the transmitting means and the receiving means respectively provide a reference timing signal based on a power supply frequency flowing through the indoor power wiring. Generate,
The transmitting means delays a predetermined time from the reference timing signal in response to the data transmission speed to start data transmission, and the receiving means measures the delay time from the reference timing signal to data reception and responds to the delay time. A data transmission method using indoor power wiring, characterized in that data reception is performed at a data transmission rate of
【請求項2】 前記基準タイミング信号は、電源周波数
のゼロクロス点に同期して生成することを特徴とする請
求項1記載の屋内電力配線を利用したデータ伝送方法。
2. The data transmission method using indoor power wiring according to claim 1, wherein the reference timing signal is generated in synchronization with a zero cross point of a power supply frequency.
JP7264461A 1995-10-12 1995-10-12 Data transmission method utilizing indoor power line Pending JPH09107317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7264461A JPH09107317A (en) 1995-10-12 1995-10-12 Data transmission method utilizing indoor power line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7264461A JPH09107317A (en) 1995-10-12 1995-10-12 Data transmission method utilizing indoor power line

Publications (1)

Publication Number Publication Date
JPH09107317A true JPH09107317A (en) 1997-04-22

Family

ID=17403542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7264461A Pending JPH09107317A (en) 1995-10-12 1995-10-12 Data transmission method utilizing indoor power line

Country Status (1)

Country Link
JP (1) JPH09107317A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100419477B1 (en) * 2002-01-31 2004-02-25 주식회사 플레넷 Correlation system and method to compensate for group delay property
JP2007037154A (en) * 2005-07-27 2007-02-08 Intellon Corp Communicating in network that includes medium having varying transmission characteristics

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100419477B1 (en) * 2002-01-31 2004-02-25 주식회사 플레넷 Correlation system and method to compensate for group delay property
JP2007037154A (en) * 2005-07-27 2007-02-08 Intellon Corp Communicating in network that includes medium having varying transmission characteristics

Similar Documents

Publication Publication Date Title
JP3841762B2 (en) Servo motor control system
US9468063B2 (en) Light source driving device and method for driving light source
JP4327764B2 (en) Data receiving apparatus, sync signal detecting method and program
CN1267967A (en) Digital control network system for mixed-mode transceiver and conflict-free communication method
JPH07107074A (en) Correction method of message at inside of equipment
JP2006127514A (en) Modular system numerical control device having low-jitter synchronization
JPH04222130A (en) Interference detection circuit
JPH09107317A (en) Data transmission method utilizing indoor power line
US20030065848A1 (en) Transmission method and apparatus utilizing a two-line bus shared for power supply and data transmission
US7539206B2 (en) Communication apparatus and method for supporting carrier sense multiple access/collision detection
JP2010213022A (en) Power line communication equipment
US20050163457A1 (en) Control circuit for IEEE 1394b optical transmission protocol
US6782202B2 (en) Optical communication method, optical linking device and optical communication system
JP5125368B2 (en) Semiconductor device, communication system and transmission / reception amplitude optimization method,
US6894603B2 (en) Packet communication method of powerline communication system
JP6113321B1 (en) Power conversion control system
JP2004064616A (en) Baud rate setting method, baud rate setting program, readable recording medium, communication system and communication method
JP2006033490A (en) Data communication device, and communication system
JP2017085779A (en) Electric power conversion control system
JP2002209235A (en) Subscriber line transmission system
JP2005191889A (en) Communication electric power control method and electric power communication modem
JP2006222884A (en) Data transmitting device
JPS62171349A (en) Communication control equipment
JP4437205B2 (en) Neutral wire-ground communication method and system
JP5390428B2 (en) Receiving machine