JPS63304739A - Power phase synchronizing data transmission system - Google Patents

Power phase synchronizing data transmission system

Info

Publication number
JPS63304739A
JPS63304739A JP62140938A JP14093887A JPS63304739A JP S63304739 A JPS63304739 A JP S63304739A JP 62140938 A JP62140938 A JP 62140938A JP 14093887 A JP14093887 A JP 14093887A JP S63304739 A JPS63304739 A JP S63304739A
Authority
JP
Japan
Prior art keywords
transmission
data
data transmission
electronic devices
electronic device
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
JP62140938A
Other languages
Japanese (ja)
Inventor
Satoshi Hirabayashi
智 平林
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP62140938A priority Critical patent/JPS63304739A/en
Publication of JPS63304739A publication Critical patent/JPS63304739A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need for a synchronizing signal line between transmission and reception by allowing an electronic device at transmission/reception side of a data to apply transmission/reception of the data synchronously with a synchronizing pulse generated from each power phase detection means in sending the data via a transmission line. CONSTITUTION:Power phase detection means 41-4m generating a synchronizing pulse detecting a phase point common to an electronic device in the system based on the AC waveform of a power supply and designating a phase point are provided respectively to electronic devices 21-2m. Then the electronic devices are interconnected by a single transmission line 50, and in case of the data transmission via the transmission line 50, the electronic devices 21-2m at the data transmission or reception side apply the data transmission or reception synchronously with the synchronizing pulse sent from the power phase detection means 41-4m. Thus, the transmission and reception is ensured via the single transmission line 50 by using the synchronizing pulse generated from the power phase detection means 41-4m provided corresponding to the electronic devices 21-2m without the provision of a synchronizing signal line between the transmission side electronic device and the reception side electronic device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数電子装置からなる系内の同期式のデータ伝
送方式であって、該複数電子装置が同一交流電源によっ
て給電される場合に適するデータ伝送方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is a synchronous data transmission method within a system consisting of a plurality of electronic devices, and is suitable when the plurality of electronic devices are powered by the same AC power source. Regarding data transmission methods.

〔従来の技術〕[Conventional technology]

よく知られているように、データ伝送方式には大別して
非同期式と同期式とがあり、一般的にいえば前者は同期
信号線を設けないでデータ伝送ができるが送受信制御が
複雑になりやすく、後者は送受信制御が容易である反面
同期信号線を設けてやらねばならない厄介さがある。第
6@は1対の電子装置間で後者の同期式のデータ伝送を
行なう要領を概念的に示すものである。
As is well known, data transmission methods can be roughly divided into asynchronous methods and synchronous methods. Generally speaking, the former allows data transmission without providing a synchronous signal line, but the transmission and reception control tends to be complicated. Although the latter method is easy to control transmission and reception, it requires the provision of a synchronizing signal line, which is cumbersome. The sixth @ conceptually shows how to perform the latter synchronous data transmission between a pair of electronic devices.

第6図に示された1対の電子装置101,102はそれ
ぞれ送受信能力をもつ通信インタフェース101a。
A pair of electronic devices 101 and 102 shown in FIG. 6 are communication interfaces 101a each having transmission and reception capabilities.

102aを備え、例えば単方向性の伝送線111.11
2を介して相互に結合されている0両電子装ff1o1
.102はそれぞれ固有のクロックパルス下で動作し、
その通信インタフェース101a、 102aもこの固
有のクロックパルスに同期して動作するので、このクロ
ックパルスないしはそれに関連した送信上の同期化パル
スspを相手方に伝達するため同期信号線111s、1
12sが両辺子装置間に設けられている。電子装置の内
の一方から他方にデータ伝送を行なう際には、送信側の
電子装置からパルス列からな曇データを伝送線に乗せる
とともに同期化パルスSPを同期信号線を介して受信側
の電子装置に送ることにより、受信側の電子装置はこの
同期化パルスSPに同期してデータを構成するパルス列
を受は取る。
102a, e.g. unidirectional transmission line 111.11
0 and 2 electronic devices ff1o1 are interconnected via
.. 102 each operate under a unique clock pulse;
Since the communication interfaces 101a and 102a also operate in synchronization with this unique clock pulse, the synchronization signal lines 111s and 111a are used to transmit this clock pulse or the related transmission synchronization pulse SP to the other party.
12s is provided between both side devices. When transmitting data from one electronic device to the other, the electronic device on the transmitting side sends data in the form of a pulse train to the transmission line, and also sends a synchronization pulse SP to the electronic device on the receiving side via the synchronization signal line. The electronic device on the receiving side receives and receives the pulse train constituting the data in synchronization with this synchronization pulse SP.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のように同期式のデータ伝送方式では送信側から受
信側へデータパルス列を送ると同時に送信側に固有の同
期化パルスを受信側に伝達しなければならないので、送
信側と受信側間にデータやコマンド用の伝送線のほかに
同期化パルスを伝達するための同期信号線を設けてやら
ねばならず、上の例では合計4本の線が両電子装置間に
設けられている。もちろん、かかる相互結合のための線
の本数は、経済面から見て極力少ないことが望ましい、
このため、伝送線を第6図でill線で示すような双方
向性の伝送線110とすることはできるが、同期信号線
の方は単方向性としてお(のが送信の信頼性確保上望ま
しいので、最低3本の線を送受信間に引かねばならない
ことになる。このように同期式のデータ伝送方式は送受
信両側で送受信制御が容易で通信インタフェースや電子
装置内のソフトウェアを簡単化できる利点を存する反面
、送受信間に同期信号線を要する欠点を有する。
As mentioned above, in the synchronous data transmission system, it is necessary to transmit a data pulse train from the transmitting side to the receiving side and at the same time transmit a synchronization pulse unique to the transmitting side to the receiving side. In addition to transmission lines for commands and commands, synchronization signal lines for transmitting synchronization pulses must be provided, and in the above example, a total of four lines are provided between both electronic devices. Of course, from an economic point of view, it is desirable that the number of lines for such interconnection be as small as possible.
Therefore, although the transmission line can be a bidirectional transmission line 110 as shown by the ill line in FIG. Since this is desirable, at least three lines must be drawn between the transmitter and the receiver.In this way, the synchronous data transmission method has the advantage that it is easy to control transmission and reception on both the transmitter and receiver sides, and the communication interface and software in the electronic device can be simplified. However, it has the drawback of requiring a synchronization signal line between transmitting and receiving.

本発明は同期式のデータ伝送方式がもつかかる問題点を
解消して送受信間に同期信号線をとくに設ける必要がな
いデータ伝送方式を得ることを目的とする。
It is an object of the present invention to solve the problems of the synchronous data transmission system and to provide a data transmission system that does not require the provision of a synchronous signal line between transmitting and receiving.

〔問題点を解決するための手段〕[Means for solving problems]

本発明によればこの目的ないしは課題は、前述のように
同一交流電源により給電され相互に伝送線により結合さ
れた複数個の電子装置からなる系内の同期式のデータ伝
送方式として、各電子装置ごとに電源の交流波形に基づ
いて系内の電子装置に共通な位相点を検出し該位相点を
指定する同期化パルスを発生する電源位相検出手段を設
け、電子装置相互間をそれぞれ単一の伝送線により結合
し、該伝送線を介するデータ伝送に当たってはデータの
送信ないしは受信側電子装置がそれぞれの電源位相検出
手段が発する同期化パルスに同期してデータの送信ない
しは受信を行なうようにすることにより達成される。
According to the present invention, this object or problem is achieved by providing a synchronous data transmission method for each electronic device in a system consisting of a plurality of electronic devices that are powered by the same AC power source and interconnected by transmission lines as described above. A power supply phase detection means for detecting a phase point common to electronic devices in the system based on the AC waveform of the power supply and generating a synchronization pulse to specify the phase point is provided for each, and a single They are coupled by a transmission line, and when transmitting data via the transmission line, the electronic device on the data transmitting or receiving side transmits or receives data in synchronization with the synchronization pulses generated by the respective power supply phase detection means. This is achieved by

〔作用〕[Effect]

上述の交流電源は第一義的には系内のすべての電子装置
に同一周波数の給電電圧を与える要があるが、各電子装
置ごとに設けられる電源位相検出手段はその交流波形か
ら共通位相点を検出するので、系内の電子装置にほぼ同
じ位相の交流電圧を与えるような電源1例えば共通の配
電トランスからの電源であることが望ましい、各電子装
置に対応して設けられる電源位相検出手段はこの位相の
揃った電源の交流波形に基づいて系内に共通な位相点を
検出するのであるが、この際交流波形そのものあるいは
その整流波形からそのゼロクロス点や極大、橿小のピー
ク点を検出することにより、電源周波数ないしはその2
倍または4倍の繰り返えし周波数をもつ同期化パルス列
を発生することができる。
The above-mentioned AC power supply primarily needs to provide a power supply voltage of the same frequency to all electronic devices in the system, but the power supply phase detection means provided for each electronic device detects a common phase point from the AC waveform. In order to detect detects a common phase point in the system based on the AC waveform of the power supply with the same phase, but in this case, the zero crossing point, maximum, and peak point of the small edge are detected from the AC waveform itself or its rectified waveform. By doing so, the power frequency or its second
A synchronized pulse train with double or quadruple repetition frequency can be generated.

本発明方式において系内のある特定の2個の電子装置間
でデータ伝送を行なうには、両データ間には同期信号線
をとくに設けず単一のデータ伝送線によって両者を結合
する。送信側電子装置では、それに対応する電源位相検
出手段から発生される同jtJl化パルスに同期して、
そのamインタフェースにより基本的には1同期化パル
スに1ビツトの割合でデータパルス列を伝送線に乗せ、
受信側電子装置では、自己の側の電源位相検出手段から
の同期化パルスに同期してこのデータパルス列を伝送線
から受信する0本発明方式においては、この際受信側の
電源位相検出手段が発生する同期化パルス列の位相が送
信側のta位相検出手段が発生する同期化パルス列の位
相と共通で従って両回期化パルス列は実質上同一のパル
ス列であるから、送信側電子装置と受信側電子装置とを
同期信号線で結合して置かなくても、両電子装百が同期
信号線で結合されているときと全く同様に両電子装置間
で送受信を支障なく行なうことができる。
In order to transmit data between two specific electronic devices in the system according to the present invention, a synchronizing signal line is not particularly provided between the two electronic devices, and the two devices are coupled by a single data transmission line. In the transmitting side electronic device, in synchronization with the jtJl conversion pulse generated from the corresponding power supply phase detection means,
The am interface basically puts a data pulse train on the transmission line at a rate of 1 bit per 1 synchronization pulse,
In the receiving electronic device, this data pulse train is received from the transmission line in synchronization with the synchronization pulse from the power supply phase detection means on the receiving side. Since the phase of the synchronized pulse train generated by the transmitting-side ta phase detection means is common to the synchronized pulse train generated by the transmitting-side ta phase detection means, and therefore both synchronized pulse trains are substantially the same pulse train, the transmitting-side electronic device and the receiving-side electronic device Even if the two electronic devices are not connected by a synchronizing signal line, transmission and reception can be carried out between the two electronic devices without any trouble, just as in the case where both electronic devices are connected by a synchronizing signal line.

本発明の以上の構成と動作によって前述の所期の課題が
解決されるが、上の記載かられかるように本発明方式が
適用できる系内の電子装置はほぼ位相の揃った同一の交
流電源から給電される要があり、従って非常に広い範囲
に分布配置された電子装置間のデータ伝送用には本発明
方式はあまり適してしない、しかし、同じ工場、施設な
いしは地区内に設置された計測装置や計量装置に電子装
置として例えば簡単なワンチップマイクロコンピュータ
をそれぞれ組み込み、かかる装置相互間ないしはそれと
中央電子装置との間でデータ伝送を行なうような用途に
は適しており、データ伝送を同期式にすることにより各
通信インタフェースを簡単化しかつ電子装置相互間の同
期信号線を省略できるので、装置費と伝送線設置費が安
価なデータ伝送系を構成できる0本発明方式におけるも
う一つの問題点は、前述のように同期化パルスの周波数
が商用周波の4倍つまり200ないし24Qtlz程度
までで、かつ基本的には1同期化パルスあたり1ピント
の伝送率になるので、伝送速度が余り早くないことであ
る。しかし、用途が前述のような計測値や計量値のデー
タ伝送である場合、この程度でも実用的には充分な場合
も多く、より高速のデータ伝送を要する場合には同期化
パルスの周波数を簡単な周波数逓倍器を用いて位相同期
状態を狂わせずに10〜20倍程度まで高めることも可
能である。これら本発明方式の有利な実施態様について
は次項に述べるとおりである。
The above-mentioned configuration and operation of the present invention solve the above-mentioned intended problem, but as can be seen from the above description, the electronic devices in the system to which the method of the present invention can be applied are powered by the same AC power supply with almost the same phase. Therefore, the method of the present invention is not very suitable for data transmission between electronic devices distributed over a very wide area, but is not suitable for data transmission between electronic devices that are located within the same factory, facility, or area. It is suitable for applications in which a simple one-chip microcomputer, for example, is incorporated as an electronic device in a device or weighing device, and data is transmitted between such devices or between it and a central electronic device, and the data transmission is performed in a synchronous manner. By doing so, each communication interface can be simplified and synchronization signal lines between electronic devices can be omitted, making it possible to construct a data transmission system with low equipment costs and transmission line installation costs.Another problem with the method of the present invention As mentioned above, the frequency of the synchronization pulse is four times the commercial frequency, that is, up to about 200 to 24 Qtlz, and the transmission rate is basically 1 pint per synchronization pulse, so the transmission speed is not very fast. That's true. However, if the application is data transmission of measured values or weighing values as mentioned above, this level is often sufficient for practical purposes, and if higher-speed data transmission is required, the frequency of the synchronization pulse can be easily changed. It is also possible to increase the phase synchronization to about 10 to 20 times using a frequency multiplier without disturbing the phase synchronization state. These advantageous embodiments of the inventive system are described in the following sections.

〔実施例〕〔Example〕

以下、図を参照しながら本発明の詳細な説明する。第1
図および第2図は本発明による電源位相同期式データ伝
送方式を実施したデータ伝送系の構成例を示すものであ
る。
Hereinafter, the present invention will be described in detail with reference to the drawings. 1st
1 and 2 show an example of the configuration of a data transmission system implementing the power supply phase synchronized data transmission system according to the present invention.

第1図において、このデータ伝送系のm個のノードが符
号11〜l−で示されており、この例ではこれら各ノー
ドは共通のデータ伝送線50を介して結合される。各ノ
ード11〜1−にはそれぞれ電子装置21〜21が設け
られており、これらの電子装置はそれぞれ通信イン、タ
フエース21a〜2■aを介してデータ伝送線50と接
続される。これらの電子装置21〜2−はすべて共通の
電源2から給電されており、この電源2は配置線lの電
圧を受ける配電トランス2aから取られている。第2図
talに示されているノード11〜Imはその電子装置
がこのように同一電源から給電されるもので、これらの
ノード11〜1−は同じ電源から給電される中央電子装
置としてのノード10とそれぞれデータ伝送線51〜5
mによって樹枝状に結合されている。ノード10に置か
れた中央電子装置はノード11〜1鵬で発生する計測値
や計量値をデータ伝送によりそこに集めた上で、別の通
信&1160例えば電話線を介して外部の系と連系され
る。第2図〜)はループ状のデータ伝送1%I20を介
してノード11〜1−を連結した例で、これらのノード
の内の1個ないしは図示のような別のノード1−に中央
電子装置が置かれ、同様に通信線60を介して外部の系
と連系されている。もちろんこの場合もノード11〜1
−および1nはすべて同一交流電源から給電される。
In FIG. 1, m nodes of this data transmission system are indicated by symbols 11 to l-, and in this example, each of these nodes is coupled via a common data transmission line 50. Each node 11-1- is provided with electronic devices 21-21, respectively, and these electronic devices are connected to a data transmission line 50 via communication interfaces 21a-2-a, respectively. All of these electronic devices 21-2- are supplied with power from a common power source 2, which is taken from a power distribution transformer 2a receiving the voltage of the arrangement line 1. The nodes 11 to Im shown in FIG. 10 and data transmission lines 51 to 5, respectively.
connected in a dendritic manner by m. The central electronic device placed in node 10 collects the measured values and weighing values generated in nodes 11 to 1 through data transmission, and then connects it to an external system via another communication & 1160, for example, a telephone line. be done. 2-) is an example of connecting nodes 11-1- through a loop-shaped data transmission 1% I20, one of these nodes or another node 1- as shown being connected to a central electronic device. is located there, and is similarly connected to an external system via a communication line 60. Of course, in this case as well, nodes 11 to 1
- and 1n are all powered by the same AC power supply.

第1図に戻って、各ノード11−1−では例えばトラン
スlla〜1s+aを介して電源2の交流電圧を受けそ
の二次電圧を例えば図示の全波整流器11b〜1mbに
より脈動直流電圧に変換する。この整流電圧は通常のよ
うにRCの平滑回路11c ”1mcを介してDC−D
Cコンバータなどの定電圧電源lid〜1■dに与えら
れ、それからの直流定電圧が電子装置21〜2mに与え
られる。この実施例における電源位相検出手段41〜4
園は整流器11b〜1mbの出力側にキャパシタ結合さ
れており、その整流電圧中の脈動交流電圧を受ける。整
流器11b〜1+*bを全波整流器としたのは、トラン
スlla〜1maへの交流電圧の取り込みの位相がノー
ドごとに異なっていても、電源位相検出手段によって検
出される位相点がこれによって左右されるようなことを
なくすためである。電源位相検出手段41〜4−は例え
ば前述のようにそれが入力した整流電圧中の脈動交流電
圧波形のゼロクロス点やピーク点を系に共通な位相点と
して検出し、該位相点に同期した同期化パルスSPを発
するものであればよく、これによって発生される同期化
パルス列SPは容易にわかるようにこの実施例の場合1
is周波数の4倍の同波数をもっている。しかし、この
実施例ではこの周波数を高めてデータ伝送速度を上げる
よう周波数逓倍器41a〜dmaがその後段に設けられ
ており、こ−れによって同期化パルスSPの周波数はさ
らにその例えば8倍に高められる。従ってこの実施例の
場合電子装置21〜2m+の通信インタフェース21a
〜2maに与えられる同期化パルスSPは電源周波数を
60Hzとすると例えば1.9 kHzの周波数をもつ
Returning to FIG. 1, at each node 11-1-, for example, the AC voltage of the power supply 2 is received via transformers lla to 1s+a, and the secondary voltage thereof is converted into a pulsating DC voltage by, for example, the illustrated full-wave rectifiers 11b to 1mb. . This rectified voltage is converted to DC-D via an RC smoothing circuit 11c"1mc as usual.
It is applied to constant voltage power supplies such as C converters lid to 1d, and the DC constant voltage therefrom is applied to electronic devices 21 to 2m. Power supply phase detection means 41 to 4 in this embodiment
The voltage source is capacitor-coupled to the output side of the rectifiers 11b to 1mb, and receives the pulsating alternating current voltage in the rectified voltage. The reason why the rectifiers 11b to 1+*b are full-wave rectifiers is that even if the phase of AC voltage intake into the transformers lla to 1ma differs from node to node, the phase point detected by the power supply phase detection means is This is to prevent such things from happening. For example, as described above, the power supply phase detection means 41 to 4- detect the zero crossing points and peak points of the pulsating AC voltage waveform in the rectified voltage input thereto as phase points common to the system, and perform synchronization synchronized with the phase points. Any device that emits a synchronizing pulse SP may be used, and as can be easily seen, the synchronizing pulse train SP generated by this is 1 in this embodiment.
It has the same wave number four times the is frequency. However, in this embodiment, frequency multipliers 41a to dma are provided at the subsequent stage to increase this frequency and increase the data transmission speed, and thereby the frequency of the synchronization pulse SP is further increased, for example, by eight times. It will be done. Therefore, in this embodiment, the communication interface 21a of the electronic devices 21 to 2m+
The synchronization pulse SP applied at ~2 ma has a frequency of, for example, 1.9 kHz, assuming that the power supply frequency is 60 Hz.

第3図は電子装置の構成例を示すもので、この図では電
子装置が符号20で示されている。この電子’A置20
は例えばワンチップマイクロコンピュータ30と通信イ
ンタフェース20aとデータ発生装置2Gbとからなり
、この内のデータ発生装置I 20bが前述のように例
えば計測装置や計量装置の場合は実際にはワンチップマ
イクロコンピュータ30や通信インタフェース20aが
これらの装置内に組み込まれる。ワンチップマイクロコ
ンピュータ30は例えば8ピントの内部動作を行なうも
ので、小形ではあるがCPU31.ROM32.RAM
33.バス34゜!10ポー) 35.36等からなり
、I10ボート35を介してデータ発生装置ffi 2
0bが発生した゛データをRAM33内に記憶し、伝送
すべきデータをI10ボート36を介して通信インタフ
ェース20a と交換する0通信インタフェース20a
は原理的にはシフトレジスタとしてのel P、をもつ
もので、ワンチップマイクロコンピュータ30のRAM
33からの8ビツトのデータをI10ポー、ト36ない
しはラッチを介してビット並列に読み込んだ上で同期化
パルスSPを一種のシフトパルスとして伝送線50に直
列出力し、あるいはその逆の動作を行なうものである。
FIG. 3 shows an example of the configuration of an electronic device, and in this figure, the electronic device is designated by the reference numeral 20. This electron'A position 20
consists of, for example, a one-chip microcomputer 30, a communication interface 20a, and a data generator 2Gb, and if the data generator I 20b of these is, for example, a measuring device or weighing device as described above, it is actually a one-chip microcomputer 30. and a communication interface 20a are incorporated into these devices. The one-chip microcomputer 30 has, for example, an 8-pin internal operation, and although it is small, it has a CPU 31. ROM32. RAM
33. Bus 34°! 10 ports) 35, 36, etc., and the data generator ffi 2
0 communication interface 20a that stores the data in the RAM 33 and exchanges the data to be transmitted with the communication interface 20a via the I10 port 36.
In principle, the elP functions as a shift register, and the RAM of the one-chip microcomputer 30
The 8-bit data from 33 is read in bit parallel through the I10 port, port 36 or latch, and then the synchronization pulse SP is output in series to the transmission line 50 as a kind of shift pulse, or vice versa. It is something.

同期化パルスSPはこのため通信インタフェース20a
と■10ボート36とに与えられる0通信インタフェー
ス20aは場合によりI10ボート36を介さずにバス
34に直接接続するようにしてもよい。
The synchronization pulse SP is therefore connected to the communication interface 20a.
The communication interface 20a provided to the I10 port 36 and the I10 port 36 may be directly connected to the bus 34 without going through the I10 port 36, as the case may be.

第4図はデータ伝送の模様を例示するもので、同図+!
1)には同期化パルスSPの波形が、同図(blには伝
送信号TSの波形例が示されている0図示のように伝送
信号τSは同期化パルスspの例えば立ち下がりに同期
してピントごとに発しられ、図示の場合の伝送信号子S
の各ビットBO−83は1.1,0.1の意味をもって
いる。第5図は本発明方式におけるデータ伝送用の電文
の構成例を示すもので、同図(Mlにコマンド電文CM
の例が、同図(blにデータ電文DMの例が示されてい
る。これらの電文はいずれも固定長の電文として構成す
るのが通信インタフェースを簡単化する上で有利である
。同図+a)に示すコマンド電文CMはデータ伝送先を
指定したりそれからのデータ伝送を命令するもので、例
えば図示のように同期コードSC,スタートビットSR
,コマンドC口等からなる。この内の同期コードSCは
例えば単純な1の20ビット程度の繰り返えしで構成さ
れ、これに1ビツトのOであるスタートピントS8が続
く、従うてこれを受信する側ではlが所定ビット長連続
しかつその次の1ビツトがOになったことを条件にその
次からのコマンドCCを受信するようにすればよい、こ
のコマンドCCの長さはふつう5〜8バイトあればデー
タ伝送先の指定を含めても充分であり、例えばその内の
先頭バイトはコマンドである旨を区別する特定コードと
し末尾バイトはエラー検出コードとされる。同図To)
の例では、データ電文DMの方にも同期コードSCとス
タートビットSRが含まれており、この内の同期コード
SCの方はコマンド電文との区別を容易にするように例
えば25ビツトの長さとされる。この例ではデータDT
がこれに続き、その長さはデータ電文あたり例えば32
バイト程度とされ、その末尾バイトはエラー検出コード
とされる。このほか、実際のデータ伝送には確認電文、
不確認電文等を通例のように用いるのがよいが、繁雑に
なるので省略する。いずれも本発明方式の場合、通信イ
ンタフェースの構成やワンチップマイクロコンピュータ
内のデータ伝送用のソフトウェアを筒車化するために、
各電文とも前述のように固定長でコード構成が簡単な比
較的短い電文とし、その種類も捲力少なくすることが望
ましい。
Figure 4 shows an example of data transmission.
1) shows the waveform of the synchronization pulse SP, and the waveform of the transmission signal TS is shown in the figure (bl shows an example of the waveform of the transmission signal TS). The transmission signal S is emitted for each focus and is shown in the figure.
Each bit BO-83 has a meaning of 1.1, 0.1. Figure 5 shows an example of the structure of a message for data transmission in the method of the present invention.
An example of the data message DM is shown in the same figure (bl).It is advantageous to configure these messages as fixed-length messages in order to simplify the communication interface. ) The command message CM shown in ) specifies the data transmission destination and commands the data transmission from there.For example, as shown in the figure, the command message CM is the synchronization code SC, start bit SR.
, command C port, etc. For example, the synchronization code SC consists of about 20 bits of simple 1 repeated, and this is followed by a start pinpoint S8 which is 1 bit O. Therefore, on the receiving side, l is a predetermined bit. It is only necessary to receive the next command CC on the condition that it is continuous for a long time and the next 1 bit becomes O.The length of this command CC is usually 5 to 8 bytes, and it is necessary to receive the next command CC. For example, the first byte is a specific code to distinguish that it is a command, and the last byte is an error detection code. Same figure To)
In the example above, the data message DM also includes a synchronization code SC and a start bit SR, and the synchronization code SC has a length of, for example, 25 bits to make it easier to distinguish it from the command message. be done. In this example, the data DT
follows, and its length is, for example, 32 per data message.
It is about a byte, and the last byte is used as an error detection code. In addition, confirmation messages,
It would be better to use a non-confirmation message as usual, but it is omitted because it becomes complicated. In either case, in the case of the present invention method, in order to convert the communication interface configuration and data transmission software in the one-chip microcomputer into an hourglass,
As mentioned above, it is desirable that each message be a relatively short message with a fixed length and a simple code structure, and that the type of message should have a small winding force.

以上説明した実施例のほか、本発明方式は種々変形され
た状態で実施をすることができる0例えば電源位相検出
手段としては交流波形中のゼロクロス点やピーク点を求
めるほか、公知の技術内で所定の位相点を検出すること
ができる。電文の構成や種類についても前記のように簡
単な方が望ましいが、伝送技術として知られている従来
技術を適宜に追加して伝送の信頼性の向上を図ることが
できる。また伝送速度についても、実施例のように同期
化パルスあたり1ビツトとするのが最も確実ではあるが
、PLL回路を応用するなどして同期化パルスに位相同
期された内部クロックパルスを通信インタフェース内で
発生させる工夫をすれば、例えば同期化パルスあたり1
バイトに伝送速度を改善することも可能である。
In addition to the embodiments described above, the method of the present invention can be implemented in various modified states.For example, as a power supply phase detection means, in addition to finding the zero cross point or peak point in an AC waveform, it can also be implemented using known techniques. A predetermined phase point can be detected. Although it is desirable for the structure and type of the message to be simple as described above, it is possible to improve the reliability of transmission by appropriately adding conventional techniques known as transmission techniques. Regarding the transmission speed, although it is most reliable to use one bit per synchronization pulse as in the example, it is also possible to use a PLL circuit to transfer internal clock pulses whose phase is synchronized to the synchronization pulses within the communication interface. For example, if you devised a way to generate 1 pulse per synchronization pulse,
It is also possible to improve the transmission speed to bytes.

なお、本発明方式においては本質的には系内の任意の電
子装置対間のデータ伝送が可能であるが、計測値や計量
値の収集を主とするような場合は系内の特定の電子装置
を中央電子装置として、例えばポーリング方式でデータ
をこれに集中的に集めるようにするのがよい、この際1
個の電子装置の1回のデータは前述のうようなデータ電
文1個で中央電子装置に伝送することができ、コマンド
電文は必ずしも必要でなくなり、コマンド電文を用いた
としても1個所からの1回のデータ伝送は1秒以内に完
了させうる系を構成することが可能である。
Although the method of the present invention essentially allows data transmission between any pair of electronic devices in the system, if the main purpose is to collect measured values or weighing values, It is advisable to use the device as a central electronic device and to centrally collect data on it, for example by polling.
A single data message from multiple electronic devices can be transmitted to the central electronic device using one data message as described above, and a command message is no longer necessary, and even if a command message is used, one data message from one It is possible to construct a system that can complete one data transmission within one second.

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

本発明によれば、同一交流電源により給電され相互に伝
送線により結合された複数個の電子装置からなる系内の
同期式のデータ伝送方式として、各電子装置ごとに電源
の交流波形に基づいて系内の電子装置に共通な位相点を
検出し該位相点を指定する同期化パルスを発生する電源
位相検出手段を設け、電子装置相互間をそれぞれ単一の
伝送線により結合し、該伝送線を介するデータ伝送に当
たってはデータの送信ないしは受信側電子装置がそれぞ
れの電源位相検出手段が発する同期化パルスに同期して
データの送信ないしは受信を行なうようにしたので、送
信側電子装置と受信側電子装置との間に従来のように同
期信号線を設けなくても、各電子装置に対応して設けら
れた電源位相検出手段が発生する同期化パルスによって
送信および受信を単一の伝送線を介して確実に行なうこ
とができる。このように本発明によれば従来の同期式の
データ伝送方式に比べて同期信号線を省略することによ
り系を簡素化でき、従来の非同期式のデータ伝送方式に
比べて送受信制御が容易になる・同期式データ伝送方式
の利点をそのまま享受することができる0本発明による
データ伝送方式は電源位相に送受信を同期させる原理を
用いているので、系内に含まれる電子装置への給電が同
一電源からのものでなければならない制約はあるが、こ
の要件を満たしうる工場や施設や特定地区内の電子装置
間のデータ伝送用に、本発明は装置費や伝送線の配役費
が従来と比べてずっと僅少ですむ実用的な方式を提供す
ることができる。
According to the present invention, as a synchronous data transmission method in a system consisting of a plurality of electronic devices that are powered by the same AC power source and connected to each other by transmission lines, the system transmits data based on the AC waveform of the power source for each electronic device. A power supply phase detection means is provided for detecting a phase point common to electronic devices in the system and generating a synchronization pulse that specifies the phase point, and each electronic device is connected by a single transmission line, and the transmission line When transmitting data via the electronic device, the electronic device on the transmitting or receiving side transmits or receives data in synchronization with the synchronization pulse generated by the respective power supply phase detection means, so that the electronic device on the transmitting side and the electronic device on the receiving side Transmission and reception can be performed via a single transmission line using synchronization pulses generated by the power phase detection means provided corresponding to each electronic device, without having to provide a synchronization signal line between the device and the device as in the past. This can be done reliably. As described above, according to the present invention, the system can be simplified by omitting the synchronous signal line compared to the conventional synchronous data transmission method, and transmission and reception control is easier than in the conventional asynchronous data transmission method.・You can enjoy the advantages of the synchronous data transmission method as is.The data transmission method according to the present invention uses the principle of synchronizing transmission and reception with the power supply phase, so power is supplied to electronic devices included in the system from the same power source. However, for data transmission between electronic devices in factories, facilities, and specific areas that can meet this requirement, the present invention reduces equipment costs and transmission line wiring costs compared to conventional methods. It can provide a practical method that requires much less.

以上の利点をもつ本発明方式はとくに計測装置や計量装
置などで発生するデータを1個所に集めて管理するよう
な用途に適し、今後この種の用途に最適な方式としてそ
の価値が発揮されるものと期待される。
The method of the present invention, which has the above advantages, is particularly suitable for applications where data generated by measuring devices and weighing devices is collected and managed in one place, and its value will be demonstrated as the optimal method for this type of application in the future. It is expected that

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

第1図から第5図までが本発明に関し、第1図は本発明
による電源位相同期式データ伝送方式を実施した複数電
子装置系の構成例を示すブロック回路図、第2図は複数
電子装置を伝送線により結合する若干の態様を示す系の
概要構成図、第3図は系内の各電子装置の構成例を示す
ブロック回路図、第4図は同期化パルスと伝送信号の波
形図、第5図はデータ伝送時に用いられる若干の電文の
構成図である。第6図は従来の同期式データ伝送方式を
用いる2個の電子装置間のデータ伝送の概要構成図であ
る0図において、 1:配電線、2:系に共通な交流電源、2a:配電トラ
ンス、11〜1謹:系内データ伝送上のノード、11a
 〜1sa+ )ランス、llb 〜1mb:整流器、
11c〜1−c:平滑回路、lid 〜lad:定電圧
電源、20〜2a:電子装置、20a 〜2ma:通信
インタフェース、20b:データ発生袋fi、30:ワ
ンチップマイクロコンピュータ、3t: CPU、32
:ROM、33j RAM。 34:バス、35.36:I / Oボート、41〜4
−:電源位相検出手段、41a〜4■a:周波数逓倍器
、50〜5m:データ伝送線、60:通信線ないしは電
話線、BO〜Bl伝送(を号の各ビット、CC:コマン
ド、CCs :コマンドの先頭バイト、CH:コマンド
電文、DM:デ−タ電文、FIT:データ、SBニスタ
ートビット、SC:同期コード、SP:同期化パルス、
τS:伝送信号、第2図
1 to 5 relate to the present invention; FIG. 1 is a block circuit diagram showing a configuration example of a multiple electronic device system implementing the power phase synchronized data transmission system according to the present invention; FIG. 3 is a block circuit diagram showing an example of the configuration of each electronic device in the system, and FIG. 4 is a waveform diagram of synchronization pulses and transmission signals. FIG. 5 is a diagram showing the structure of some messages used during data transmission. Figure 6 is a schematic configuration diagram of data transmission between two electronic devices using the conventional synchronous data transmission method.In Figure 0, 1: distribution line, 2: AC power supply common to the system, 2a: distribution transformer , 11-1: Node on intra-system data transmission, 11a
~1sa+) Lance, llb ~1mb: Rectifier,
11c to 1-c: smoothing circuit, lid to lad: constant voltage power supply, 20 to 2a: electronic device, 20a to 2ma: communication interface, 20b: data generation bag fi, 30: one-chip microcomputer, 3t: CPU, 32
:ROM, 33j RAM. 34: Bus, 35.36: I/O boat, 41-4
-: Power supply phase detection means, 41a to 4■a: Frequency multiplier, 50 to 5m: Data transmission line, 60: Communication line or telephone line, BO to Bl transmission (each bit of the number, CC: command, CCs: First byte of command, CH: command message, DM: data message, FIT: data, SB start bit, SC: synchronization code, SP: synchronization pulse,
τS: Transmission signal, Fig. 2

Claims (1)

【特許請求の範囲】[Claims] 同一交流電源により給電され相互に伝送線により結合さ
れた複数個の電子装置からなる系内の同期式のデータ伝
送方式であって、各電子装置ごとに電源の交流波形に基
づいて系内の電子装置に共通な位相点を検出し該位相点
を指定する同期化パルスを発生する電源位相検出手段を
設け、電子装置相互間をそれぞれ単一の伝送線により結
合し、該伝送線を介するデータ伝送に当たってはデータ
の送信ないしは受信側電子装置がそれぞれの電源位相検
出手段が発する同期化パルスに同期してデータの送信な
いしは受信を行なうようにした電源位相同期式データ伝
送方式。
A synchronous data transmission method within a system consisting of multiple electronic devices powered by the same AC power source and connected to each other by transmission lines, in which each electronic device transmits electronic data within the system based on the AC waveform of the power source. A power supply phase detection means for detecting a common phase point in the devices and generating a synchronization pulse for specifying the phase point is provided, the electronic devices are each connected by a single transmission line, and data is transmitted via the transmission line. This is a power phase synchronized data transmission system in which electronic devices on the data transmitting or receiving side transmit or receive data in synchronization with synchronization pulses emitted by their respective power source phase detection means.
JP62140938A 1987-06-05 1987-06-05 Power phase synchronizing data transmission system Pending JPS63304739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62140938A JPS63304739A (en) 1987-06-05 1987-06-05 Power phase synchronizing data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62140938A JPS63304739A (en) 1987-06-05 1987-06-05 Power phase synchronizing data transmission system

Publications (1)

Publication Number Publication Date
JPS63304739A true JPS63304739A (en) 1988-12-13

Family

ID=15280306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62140938A Pending JPS63304739A (en) 1987-06-05 1987-06-05 Power phase synchronizing data transmission system

Country Status (1)

Country Link
JP (1) JPS63304739A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1404075A2 (en) * 2002-09-30 2004-03-31 Denon, Ltd. Network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1404075A2 (en) * 2002-09-30 2004-03-31 Denon, Ltd. Network system
EP1404075A3 (en) * 2002-09-30 2009-12-02 D & M Holdings, Inc. Network system

Similar Documents

Publication Publication Date Title
JP6465880B2 (en) Method and system for supplying pulsed power and data on a bus
US20150333650A1 (en) Data processing device and method for high voltage direct current transmission system
JPS63304739A (en) Power phase synchronizing data transmission system
JPS60152157A (en) Microprocessor frequency shift key data communication moduleand digital information communicating method
CN101800821A (en) Medical communication calling equipment
CN100385784C (en) Single-phase bridge type inverter in high voltage frequency converter
JPWO2018159547A1 (en) Power transmission system
CN104185131A (en) communication system and transmission method thereof
JP3328227B2 (en) Data communication system
US3439338A (en) Power,synchronizing and timing waveform generator and apparatus
CN212391603U (en) Device for data transmission and magnetic resonance tomography apparatus
RU10959U1 (en) NETWORK MODEM "INTERPRAX"
JPS6281843A (en) Data transmission system
CN103595674B (en) A kind of modulation demodulation system of machinery carrier-wave transmission voice signal
KR0170583B1 (en) Data communication method and its apparatus between host computer and terminal
JPS5972239A (en) Data transmitter
JPS62243439A (en) Synchronizing signal generator
JPH043555A (en) Interface circuit
SU1005138A1 (en) Device for transmitting and receiving television signals
SU1691967A1 (en) Data transmission system
JPS6025340A (en) Automatic baud rate generating system of serial input/output interface
JPH07147554A (en) Electric interface module
JPS5924597B2 (en) Control signal transmission method for button telephone equipment
JPS6024750A (en) Multiple signal transmitter
JPS6258752A (en) False bipolar transmitting method and its code conversion circuit