Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0716195B2 - Communication device - Google Patents
[go: Go Back, main page]

JPH0716195B2 - Communication device - Google Patents

Communication device

Info

Publication number
JPH0716195B2
JPH0716195B2 JP63235197A JP23519788A JPH0716195B2 JP H0716195 B2 JPH0716195 B2 JP H0716195B2 JP 63235197 A JP63235197 A JP 63235197A JP 23519788 A JP23519788 A JP 23519788A JP H0716195 B2 JPH0716195 B2 JP H0716195B2
Authority
JP
Japan
Prior art keywords
data
synchronization signal
communication
signal
frame end
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.)
Expired - Fee Related
Application number
JP63235197A
Other languages
Japanese (ja)
Other versions
JPH0282842A (en
Inventor
剛 野口
昌彦 橋本
満 池井
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.)
Resonac Corp
Original Assignee
Hitachi Chemical 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 Hitachi Chemical Co Ltd filed Critical Hitachi Chemical Co Ltd
Priority to JP63235197A priority Critical patent/JPH0716195B2/en
Publication of JPH0282842A publication Critical patent/JPH0282842A/en
Publication of JPH0716195B2 publication Critical patent/JPH0716195B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は,家庭内の電化機器を端末として共通の伝送路
に接続して複数の端末機器と複数のコントローラーとを
有機的に結合するHA(ホームオートメーション)システ
ムにおいて、データの信頼性に優れた通信方式及び装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Use) The present invention is an HA that electrically connects a plurality of terminal devices and a plurality of controllers by connecting household electrical appliances as terminals to a common transmission path. In a (home automation) system, the present invention relates to a communication method and device having excellent data reliability.

(従来の技術) 従来のHAシステムにおいて、複数の端末機器であるエア
コン、ホームバス等と複数のコントローラーを有機的に
結合するHA(ホームオートメーション)システムの通信
装置としては、特開昭62−142431号公報に開示されてい
るように,コントローラーから送出される制御信号の中
に各々の端末機器に設定されたアドレスを含ませ、送出
する際に他のコントローラー又は他の端末からの送出信
号がないことを確認した上で、共通の伝送路によって複
数の端末に対して制御信号を送り、端末機器は設定され
たアドレスと一致した信号のみを受信することによって
他の端末機器と区別された制御を行うことができるもの
がある。このような通信装置によって、複数の端末機器
から選択して、いくつかの端末機器の動作を停止、開
始、放置を自由に行えるようになった。
(Prior Art) In a conventional HA system, as a communication device of an HA (home automation) system that organically connects a plurality of controllers with a plurality of terminal devices such as an air conditioner, a home bus, etc., Japanese Patent Laid-Open No. 62-142431 As disclosed in Japanese Patent Publication, an address set in each terminal device is included in the control signal transmitted from the controller, and when transmitting, there is no transmission signal from another controller or another terminal. After confirming that, a control signal is sent to multiple terminals via a common transmission line, and the terminal device receives only the signal that matches the set address, and thereby controls that are distinguished from other terminal devices. There is something you can do. With such a communication device, it has become possible to freely select, from a plurality of terminal devices, to stop, start, or leave the operation of some terminal devices.

また、本願出願人が提出している共通な伝送路において
複数の通信装置が一の同期信号によって同時に送信と受
信をし、通信されるデータが通信先と通信内容とを含
み、かつ、区別できる形式を有する通信方式と、この方
式を用いた装置の発明がある。
In addition, a plurality of communication devices simultaneously transmit and receive by a single synchronization signal in a common transmission path submitted by the applicant of the present application, and the data to be communicated includes a communication destination and communication contents and can be distinguished. There are inventions of a communication system having a format and a device using this system.

この装置は、第5図に示すように、信号の送受の始期を
決定する同期信号を一定の時間ごとに発生する同期信号
発生手段11と、その同期信号発生手段11からの同期信号
を通信データに先立って送信することの可否を決める切
換手段12と、同期信号を受けて初めて論理演算手段16か
らの通信データを伝送路に送出するための送信手段13
と、この伝送路に伝送された通信データを受信するため
の受信手段14と、受信した通信データと同期信号を弁別
する同期信号弁別手段18と、同期信号弁別手段18からの
同期信号によって動作のタイミングを決定された以下の
手段を有する論理演算手段16、すなわち、端末機器と送
信手段13とを結びその端末機器からのデータを区別でき
るデータに変換するデータ変換手段21、受信手段14から
の受信した通信データを解読するデータ解読手段22、デ
ータ解読手段22からのデータを表示するための表示機器
に出力する表示出力手段23、データ解読手段22からのデ
ータによって端末機器への出力の可否を決める手段24及
び端末機器への出力の可否を決める手段24によって出力
可の場合にのみ端末機器にデータを出力するデータ出力
手段25からなる通信装置である。
As shown in FIG. 5, this device uses a synchronization signal generating means 11 for generating a synchronization signal for determining the start of signal transmission / reception at regular time intervals, and a synchronization signal from the synchronization signal generating means 11 for communication data. Switching means 12 for deciding whether or not transmission is possible prior to the transmission, and transmission means 13 for sending the communication data from the logical operation means 16 to the transmission line only after receiving the synchronization signal.
A receiving means 14 for receiving the communication data transmitted to this transmission path, a synchronization signal discriminating means 18 for discriminating the received communication data from the synchronization signal, and a synchronization signal from the synchronization signal discriminating means 18 Logic operation means 16 having the following means whose timing is determined, that is, data conversion means 21 that connects terminal equipment and transmission means 13 and converts data from the terminal equipment into distinguishable data, reception from reception means 14 The data decoding means 22 for decoding the communication data, the display output means 23 for outputting the data from the data decoding means 22 to the display device for displaying the data, and the data from the data decoding means 22 determine whether the data can be output to the terminal device. A communication device comprising a means (24) and a data output means (25) for outputting data to the terminal equipment only when output is possible by the means (24) for determining whether to output to the terminal equipment. It

(発明が解決しようとする問題点) 近年、HAシステムの発達は、生活に快適さを求める傾向
に呼応して、めざましいものがあり、そこに利用される
電化機器の種類も増加してきた。
(Problems to be Solved by the Invention) In recent years, the development of HA systems has been remarkable in response to the tendency for comfort in life, and the types of electrical appliances used there have been increasing.

特開昭62−142431号公報に開示されている従来の技術に
よって、いくつかの端末機器の動作を停止、開始、放置
を自由に行えるようになったが、コントローラーからの
送出信号や他の端末からの動作状態の送出信号がないこ
とを確認した後に、その端末機器の動作状態が送出され
て初めて知ることができることから、動作を指示してそ
の結果を知るためには、時間がかかる。
According to the conventional technique disclosed in Japanese Patent Laid-Open No. 62-142431, it has become possible to freely stop, start, and leave some terminal devices operating. However, signals sent from the controller and other terminals can be used. Since it can be known only after the operation state of the terminal device is transmitted after confirming that there is no operation state transmission signal from the device, it takes time to instruct the operation and to know the result.

そこで、1つの同期信号によって、同時に送受信がで
き、どの装置からの通信であるか区別できれば、時間を
短縮することはできるが、利用される電化機器の種類が
増加するに伴って、制御する回路の電源電圧の一時的な
低下、雑音や妨害電波等によって通信されたデータの信
頼性が損なわれた場合に、制御される装置が行った通信
が正常であることを示す信号を送らなければ、その電化
機器の正常な動作やその動作の安全性を無視して制御信
号が送られ、大きな事故になる場合もある。
Therefore, it is possible to shorten the time if it is possible to simultaneously transmit and receive by one synchronization signal and to distinguish from which device the communication is made, but as the type of electrical equipment used increases, the circuit to be controlled If a signal indicating that the communication performed by the controlled device is normal is sent when the reliability of the communicated data is impaired due to a temporary drop in the power supply voltage of In some cases, a control signal is sent while ignoring the normal operation of the electric appliance and the safety of the operation, resulting in a serious accident.

本発明は、このような問題を解決し、1つの同期信号に
よって、同時に送受信ができ、複数のコントローラー及
び複数の端末機器との間の通信速度を高めることのでき
るとともに、データの信頼性に優れた通信方式及び装置
を提供する。
The present invention solves such a problem, enables simultaneous transmission and reception with a single synchronization signal, can increase the communication speed between a plurality of controllers and a plurality of terminal devices, and is excellent in data reliability. Communication system and device.

(問題点を解決する手段) 本発明は、複数の通信装置と一の共通な伝送路を有し、
複数の通信装置が一の同期信号によって同時に送信と受
信をし、通信されるデータが通信先と通信内容とを含
み、かつ、区別できる形式を有する通信方式において、
複数の通信装置全てが通信の終了後に通信の終了を示す
信号を送信するとともに受信し、同期信号からの時間経
過が一定の範囲にある場合にのみ正常な通信があったと
判断することを特徴とする通信方式とこの通信方式に使
用される装置であって、信号の送受の始期を決定する同
期信号を一定の時間ごとに発生する同期信号発生手段11
と、その同期信号発生手段11からの同期信号を通信デー
タに先立って送信することの可否を決める切換手段12
と、同期信号を受けて初めて論理演算手段16からの通信
データを伝送路に送出するための送信手段13と、この伝
送路に伝送された通信データを受信するための受信手段
14と、受信した通信データと同期信号を弁別する同期信
号弁別手段18と、同期信号弁別手段18からの同期信号に
よって動作のタイミングを決定された以下の手段を有す
る論理演算手段16、すなわち、端末機器と送信手段13と
を結びその端末機器からのデータを区別できるデータに
変換するデータ変換手段21、受信手段14からの受信した
通信データを解読するデータ解読手段22、データ解読手
段22からのデータを表示するための表示機器に出力する
表示出力手段23、データ解読手段22からのデータによっ
て端末機器への出力の可否を決める手段24及び端末機器
への出力の可否を決める手段24によって出力可の場合に
のみ端末機器にデータを出力するデータ出力手段25、通
信の終了を示すフレーム終了信号を予め蓄える手段17、
同期信号弁別手段18からの同期信号から一定の時間の後
に蓄えられたフレーム終了信号を送信手段13に出力する
手段19と、受信した通信データのうちのフレーム終了信
号と予め蓄えられたフレーム終了信号とを比較しフレー
ム終了信号の適否を判断する手段26からなる通信装置で
ある。
(Means for Solving Problems) The present invention has a plurality of communication devices and a common transmission line,
In a communication method in which a plurality of communication devices simultaneously transmit and receive by one synchronization signal, the data to be communicated includes a communication destination and communication content, and has a distinguishable format,
All of the plurality of communication devices transmit and receive a signal indicating the end of communication after the end of communication, and determine that there is normal communication only when the time elapsed from the synchronization signal is within a certain range. And a device used for this communication method, which generates a synchronization signal for determining the start of signal transmission / reception at fixed time intervals.
And a switching means 12 for determining whether or not the synchronization signal from the synchronization signal generating means 11 can be transmitted prior to communication data.
And a transmitting means 13 for transmitting the communication data from the logical operation means 16 to the transmission path only after receiving the synchronization signal, and a receiving means for receiving the communication data transmitted through this transmission path.
14, a logic signal discriminating means 18 for discriminating received communication data and a synchronizing signal, and a logical operation means 16 having the following means whose operation timing is determined by the synchronizing signal from the synchronizing signal discriminating means 18, that is, a terminal Data from the terminal device by connecting the device and the transmitting means 13 to the data converting means 21 for converting the data into distinguishable data, the data decoding means 22 for decoding the communication data received from the receiving means 14, the data from the data decoding means 22 Display output means 23 for outputting to a display device for displaying, a means 24 for deciding whether to output to the terminal equipment based on the data from the data decoding means 22 and a means 24 for deciding whether to output to the terminal equipment Data output means 25 for outputting data to the terminal device only in the case, means 17 for storing in advance a frame end signal indicating the end of communication,
A means 19 for outputting to the transmitting means 13 a frame end signal stored after a predetermined time from the synchronization signal from the synchronization signal discriminating means 18, a frame end signal of the received communication data and a frame end signal stored in advance. Is a communication device comprising means 26 for comparing with and judging the suitability of the frame end signal.

本発明について、以下図面を用いて説明する。The present invention will be described below with reference to the drawings.

第1図aに示すように、複数の通信装置1として1a、1
b、1c、1d、1e・・・・が一の共通な伝送路3に接続さ
れ、各々の通信装置1にそれぞれ端末機器51a、51b、51
c、51d、51e・・・・が接続されているHAシステムにお
いて、その一の共通な伝送路3上の通信されるデータ4
が第1図bに示すようにそれぞれが2値を取り得るデー
タb0,b1,・・・・bnからなるようし、そのデータ4のう
ちの1ビットを端末機器51a、51b、51c、51d、51e・・
・・のうちの一の機能に対応させ、2値のうちの一方を
その機能を動作させることとし、他方は動作を停止する
ことと定め、第1図cに示すように同期信号2と前記デ
ータ4と各通信装置から送信されるフレーム終了信号6
とを時系列にして取り扱い、全ての通信機1a、1b、1c、
1d、1e・・・・が同時に送受信しても、どの端末機器51
a、51b、51c、51d、51e・・・・を動作させる信号か、
あるいは、どの端末機器51a、51b、51c、51d、51e・・
・・が動作しているかが区別できるようにし、各通信機
は、同時に受信した全フレーム終了信号6の論理和をと
って、同期信号からの時間経過のずれを調べるようにす
る。
As shown in FIG. 1a, a plurality of communication devices 1a, 1a, 1
, b, 1c, 1d, 1e, ... Are connected to one common transmission line 3, and each communication device 1 has a terminal device 51a, 51b, 51, respectively.
In the HA system to which c, 51d, 51e, ... Are connected, the data 4 to be communicated on the one common transmission line 3
There data b 0, b 1, respectively, as shown in Figure 1 b can take two values, and consist · · · · bn, 1 bit for the terminal device 51a of the data 4, 51b, 51c, 51d, 51e ...
··· Corresponding to one of the functions, one of the two values is set to operate that function, and the other is set to stop the operation, and as shown in FIG. Data 4 and frame end signal 6 transmitted from each communication device
And are treated in time series, and all communication devices 1a, 1b, 1c,
Even if 1d, 1e ...
a, 51b, 51c, 51d, 51e ...
Alternatively, which terminal device 51a, 51b, 51c, 51d, 51e ...
.. can be discriminated whether or not they are operating, and each communication device takes the logical sum of all frame end signals 6 received at the same time to check the time lag from the synchronization signal.

装置において、信号の送出の始期を決定する同期信号2
を一定の時間ごとに発生する同期信号発生手段11として
は、一般に知られている発振回路と論理ゲートを組み合
わせた分周回路を用いて構成できる。また、マイクロコ
ンピューターを用いる場合は、その動作の基準となるク
ロック信号を用い、ハードウェアで論理ゲートを組み合
わせた分周回路を用いて構成することもでき、また、ソ
ウトウェアで同様の動作をさせることもできる。この同
期信号2は、通信データ4と区別するために、通信デー
タ4の信号と異なるレベルの信号に変えるか、特殊な符
号とするか、あるいは、信号データと異なる変調を施し
て用いる。
In the device, a synchronization signal 2 that determines the start of signal transmission
As the synchronizing signal generating means 11 for generating the signal at constant time intervals, it is possible to use a generally known frequency dividing circuit in which an oscillating circuit and a logic gate are combined. Also, when using a microcomputer, it is possible to use a clock signal that is the reference of its operation and to configure it by using a frequency divider circuit that combines logic gates in hardware. You can also In order to distinguish the synchronization signal 2 from the communication data 4, the synchronization signal 2 is changed to a signal having a different level from the signal of the communication data 4, a special code is used, or a modulation different from the signal data is used.

その同期信号発生手段11からの同期信号2を通信データ
4に先立って送信することの可否を決める切換手段12と
しては、スイッチとして用いるものならばどのようなも
のでも使用できる。このスイッチは、一の伝送路3に接
続された複数の通信機1のうちから、通信コントローラ
ーとして用いるものにおいてのみ、閉じて用い、他の通
信装置1においては、閉じないこととする。このスイッ
チの代わりに回路上で接続しない手段であればどのよう
な手段でも良い。
As the switching means 12 for determining whether or not the synchronization signal 2 from the synchronization signal generating means 11 can be transmitted prior to the communication data 4, any switch can be used as long as it is used as a switch. It is assumed that this switch is closed and used only in the one used as the communication controller among the plurality of communication devices 1 connected to the one transmission path 3, and is not closed in the other communication devices 1. Any means may be used instead of this switch as long as it is not connected on the circuit.

同期信号2を受けて初めて論理演算手段16からの通信デ
ータ4を伝送路に送出するための送信手段13としては、
通信データ4を一時的に格納しておき同期信号2の入力
によってその通信データ4を時系列に出力するためのパ
ラレル−シリアル変換器と、そのパラレル−シリアル変
換器からの出力を、そのまま電圧の信号として取り扱う
回路、光信号に変換する回路、トーンバースト波に変換
する回路のいずれかを使用することができる。また、通
信データ4を一時的に格納しておき同期信号2の入力に
よってその通信データ4を時系列に出力するために論理
演算手段16内にプログラムを内蔵してその機能を行うこ
ともでき、各々の構成は現在使用されているものなら
ば、特に限定されない。
The transmitting means 13 for transmitting the communication data 4 from the logical operation means 16 to the transmission line only after receiving the synchronization signal 2 is:
The communication data 4 is temporarily stored and the parallel-serial converter for outputting the communication data 4 in time series by the input of the synchronization signal 2 and the output from the parallel-serial converter are directly converted into the voltage. Any of a circuit that handles as a signal, a circuit that converts to an optical signal, and a circuit that converts to a tone burst wave can be used. Alternatively, the communication data 4 may be temporarily stored and a program may be built in the logical operation means 16 to perform the function in order to output the communication data 4 in time series by inputting the synchronization signal 2. Each structure is not particularly limited as long as it is currently used.

この伝送路に伝送された通信データ4を受信するための
受信信号14としては、送信手段13からの信号を光伝送路
用のフォトカプラー、トーンバースト波を復調する回
路、又は、電圧信号をそのまま使用する受信回路のいず
れかと、その受信回路によって受信された通信データ4
を時系列データから取り扱いの容易なパラレルデータに
変換し一時的に格納するためのシリアル−パラレル変換
器とからなる。この場合、その受信回路によって受信さ
れた通信データ4を時系列データから取り扱いの容易な
パラレルデータに変換し一時的に格納するために論理演
算手段16内にプログラムを内蔵してその機能を行うこと
もでき、各々の構成は現在使用されているものならば、
特に限定されない。
As the reception signal 14 for receiving the communication data 4 transmitted to this transmission line, a signal from the transmission means 13 is used as an optical transmission line photocoupler, a circuit for demodulating a tone burst wave, or a voltage signal as it is. One of the receiving circuits used and communication data 4 received by the receiving circuit
Of the serial-to-parallel converter for converting the time series data into parallel data that can be easily handled and temporarily storing the parallel data. In this case, in order to convert the communication data 4 received by the receiving circuit from time-series data into parallel data which is easy to handle and temporarily store it, a program is built in the logical operation means 16 to perform its function. If each configuration is currently in use, then
There is no particular limitation.

通信データ4と同期信号2を弁別する同期信号弁別手段
18としては、第3図aに示すように、その同期信号2と
データ4の信号のレベルが異なる場合は、各々のスレッ
シュホールドレベルに合わせた基準レベルによって比較
するコンパレータを用いる。また、第3図bに示すよう
に同一のレベルの信号とし特殊な符号としている場合、
その符号を解読する回路又は論理演算手段16内に設けた
プログラムを用いる。あるいは,信号データと異なる変
調を施している場合は、その変調のみを復調する回路を
用いる。
Synchronous signal discriminating means for discriminating communication data 4 from synchronous signal 2
As shown in FIG. 3A, a comparator 18 is used as a comparator which, when the levels of the synchronizing signal 2 and the data 4 are different, compares with a reference level matched to each threshold level. Also, as shown in FIG. 3b, when signals of the same level and special codes are used,
A circuit for decoding the code or a program provided in the logical operation means 16 is used. Alternatively, if the signal data is modulated differently, a circuit for demodulating only the modulation is used.

端末機器と送信手段13とを結びその端末機器からのデー
タを区別できるデータに変換するデータ変換手段21、受
信手段14からの受信した通信データを解読するデータ解
読手段22、データ解読手段22からのデータを表示するた
めの表示機器に出力する表示出力手段23、データ解読手
段22からのデータによって端末機器への出力の可否を決
める手段24及び端末機器への出力の可否を決める手段24
によって出力可の場合にのみ端末機器にデータを出力す
るデータ出力手段25を備えた論理演算手段16としては、
通常コンピュータ装置、特にマイクロコンピュータを用
い、各データはデジタル信号で扱う。データ変換手段2
1、データ解読手段22、表示出力手段23、端末機器への
出力の可否を決める手段24及び端末機器にデータを出力
するデータ出力手段25は、マイクロコンピュータの各入
出力機能とソフトウェアによって行う。
From the data conversion means 21, which connects the terminal device and the transmission means 13 and converts the data from the terminal equipment into the distinguishable data, the data decoding means 22 for decoding the communication data received from the receiving means 14, and the data decoding means 22 Display output means 23 for outputting to a display device for displaying data, means 24 for deciding whether to output to the terminal equipment based on the data from the data decoding means 22, and means 24 for deciding whether to output to the terminal equipment.
As the logical operation means 16 including the data output means 25 that outputs data to the terminal device only when output is possible,
Usually, a computer device, especially a microcomputer is used, and each data is handled as a digital signal. Data conversion means 2
1, the data decoding means 22, the display output means 23, the means 24 for determining whether to output to the terminal equipment, and the data output means 25 for outputting data to the terminal equipment are performed by each input / output function of the microcomputer and software.

以上は、本願出願人が先に提出した出願に記載した装置
であるが、本発明の特徴として、さらに、通信の終了を
示すフレーム終了信号を予め蓄える手段17、同期信号弁
別手段18からの同期信号から一定の時間の後に蓄えられ
たフレーム終了信号を送信手段13に出力する手段19と、
受信した通信データのうちのフレーム終了信号と予め蓄
えられたフレーム終了信号とを比較しフレーム終了信号
の適否を判別する手段26を、論理演算手段16内に設けた
ことである。
The above is the device described in the application previously filed by the applicant of the present application, but as a feature of the present invention, further, means 17 for pre-storing a frame end signal indicating the end of communication, synchronization from the synchronization signal discriminating means 18 A means 19 for outputting the frame end signal stored after a certain time from the signal to the transmitting means 13,
The means 26 for comparing the frame end signal of the received communication data with the frame end signal stored in advance to determine the suitability of the frame end signal is provided in the logical operation means 16.

通信の終了を示すフレーム終了信号を予め蓄える手段17
としては、半導体記憶素子、磁気記録素子等を用いるこ
とができ、同期信号弁別手段18からの同期信号から一定
の時間の後に蓄えられたフレーム終了信号を送信手段13
に出力する手段19としては、マイクロコンピュータのタ
イマ機能と入出力機能によって構成でき、受信した通信
データのうちのフレーム終了信号と予め蓄えられたフレ
ーム終了信号とを比較しフレーム終了信号の適否を判別
する手段26としては、マイクロコンピュータの論理演算
機能を用いることができる。このとき、予め蓄えたフレ
ーム終了信号と受信したフレーム終了信号が一致してい
なければ、送受信のどこかで信号の時間関係が狂いデー
タの授受が的確に行われなかったことになる。また、フ
レーム終了信号6の適否を判別する手段28としては、発
振回路と論理ゲートを組み合わせた分周回路を用いたク
ロック信号、又は、マイクロコンピューターを用いる場
合は、その動作の基準となるクロック信号を用いたハー
ドウェアで構成した論理ゲートの組み合わせによる分周
回路や同様の動作をさせるクロック信号を用いたタイマ
ーによって同期信号からの時間経過とフレーム終了信号
6との比較を行うこともできる。
Means 17 for storing in advance a frame end signal indicating the end of communication
A semiconductor storage element, a magnetic recording element, or the like can be used as the transmission means 13 for transmitting the frame end signal stored after a predetermined time from the synchronization signal from the synchronization signal discriminating means 18.
As the means 19 for outputting to, the timer function of the microcomputer and the input / output function can be configured, and the frame end signal of the received communication data is compared with the frame end signal stored in advance to determine the suitability of the frame end signal. As the means 26 for performing, a logical operation function of a microcomputer can be used. At this time, if the frame end signal stored in advance and the received frame end signal do not match, it means that the time relationship between the signals is incorrect somewhere during the transmission and reception, and the data transmission / reception was not properly performed. Further, as the means 28 for discriminating the suitability of the frame end signal 6, a clock signal using a frequency dividing circuit in which an oscillating circuit and a logic gate are combined, or, in the case of using a microcomputer, a clock signal as a reference of its operation. It is also possible to compare the lapse of time from the synchronization signal with the frame end signal 6 by a frequency divider circuit using a combination of logic gates configured by using a hardware or a timer using a clock signal for similar operation.

たとえば、フレーム終了信号6を積分回路に入力し、そ
の出力とタイマーの出力をゲート回路の入力とし、シュ
レッシュホールドレベルによって一定の時間でのみ出力
が得られる回路を2つ用い、時間の設定を通信が信頼で
きる範囲となるように調節することもできる。
For example, the frame end signal 6 is input to the integrator circuit, the output thereof and the output of the timer are used as the input of the gate circuit, and two circuits are used that can obtain the output only at a certain time depending on the threshold level, and set the time. It can also be adjusted so that communication is within a reliable range.

このようにして、フレーム終了信号6が同期信号から一
定の時間内にないときは、第2図の点線で示すように、
端末機器への出力の可否を決める手段24を制御して端末
機器の制御を停止し、次の信号を待てば、同期信号から
ずれた通信のデータを無効にできる。
In this way, when the frame end signal 6 is not within a certain time from the synchronization signal, as shown by the dotted line in FIG.
By controlling the means 24 for deciding whether to output to the terminal device to stop the control of the terminal device and waiting for the next signal, the communication data deviated from the synchronization signal can be invalidated.

(作用) 本発明は、以下に述べた方式及び通信装置の構成によっ
て、同期信号からずれた通信を無効とするので、複数の
端末機器から選択していくつかの端末機器の動作を停
止、開始、放置を自由に行えるとともに、複数のコント
ローラー及び複数の端末機器との間の通信の信頼性を高
めることができる。
(Operation) According to the present invention, the communication deviated from the synchronization signal is invalidated by the method and the configuration of the communication device described below. Therefore, the operation of some terminal devices is stopped and started by selecting from a plurality of terminal devices. In addition, it is possible to freely leave it unattended, and it is possible to improve the reliability of communication between the plurality of controllers and the plurality of terminal devices.

実施例 信号の送出の始期を決定する同期信号を一定の時間ごと
に発生するために、ワンチップマイコンHD401010(株式
会社日立製作所、商品名)のクロック回路からクロック
信号を取り出し、その同期信号発生回路を通信データに
先立って送信することの可否を決めるために、スナップ
スイッチを使用して同期信号発生回路の出力に接続し
た。このスイッチは、送信回路の同期信号入力端子に接
続され、通信装置をHAシステムの通信コントローラーと
して使用するときだけ、閉じて用いられる。また、通信
コントローラー以外の通信装置の送信回路、受信回路、
同期信号弁別回路の電源は、通信コントローラーからの
同期信号を整流・平滑して用いる。通信装置が通信コン
トローラーとして使用されないときは、同期信号弁別回
路によって取り出された同期信号によって、送信と受信
のタイミングを決める。
Example To generate a synchronization signal that determines the start of signal transmission at regular time intervals, a clock signal is taken out from the clock circuit of the one-chip microcomputer HD401010 (Hitachi, Ltd., trade name), and the synchronization signal generation circuit Was connected to the output of the sync signal generation circuit using a snap switch to determine whether or not to transmit the data prior to the communication data. This switch is connected to the synchronization signal input terminal of the transmission circuit and is used only when the communication device is used as the communication controller of the HA system. In addition, the transmission circuit, the reception circuit of the communication device other than the communication controller,
The power supply of the sync signal discrimination circuit is used by rectifying and smoothing the sync signal from the communication controller. When the communication device is not used as a communication controller, the synchronization signal extracted by the synchronization signal discrimination circuit determines the timing of transmission and reception.

同期信号を受けて初めて送信データを伝送線路に送出す
るための送信回路としては、前記ワンチップマイコン内
のメモリのユーザー用ワークエリア内の一部を送信デー
タを一時的に記憶しておくメモリとして用い、そのデー
タ出力を、同期信号の立ち下がりでマイコン内のCPUの
アキュムレータに移し、そのアキュムレータ内のデータ
を1ビットづつ上位へ移動し最上位のビットは最下位の
ビットに移動する命令(左シフト命令)と、特定のアド
レスQへ出力する命令を交互に繰り返し、アドレスQの
最上位を送信回路のデータ入力端子に接続した。
As a transmission circuit for transmitting the transmission data to the transmission line only after receiving the synchronization signal, a part of the user work area of the memory in the one-chip microcomputer is used as a memory for temporarily storing the transmission data. Use this command to move the data output to the accumulator of the CPU in the microcomputer at the falling edge of the sync signal, move the data in the accumulator up bit by bit, and move the most significant bit to the least significant bit (left The shift instruction) and the instruction to output to a specific address Q are alternately repeated, and the uppermost address Q is connected to the data input terminal of the transmission circuit.

また、受信用のシリアル−パラレル変換器として、受信
したシリアルデータを他の特定のアドレスNの最下位に
入れ、他の位は全部0とし、そのアドレスからマイコン
内のCPUのアキュムレータにデータを転送する命令と、
そのアキュムレータ内のデータを1ビットづつ上位へ移
動し最下位のビットは最上位のビットに移動する命令
(左シフト命令)と、移動したデータと次にアドレスN
の最下位に入れ、他の位は全部0としたシリアルデータ
との論理和を取る命令とを組み合わせ、プログラムによ
ってシリアルデータをパラレルデータに変換した。
Also, as a serial-to-parallel converter for reception, the received serial data is put in the lowest position of another specific address N, all other places are set to 0, and data is transferred from that address to the accumulator of the CPU in the microcomputer. Instruction to
An instruction (left shift instruction) that moves the data in the accumulator to the upper bit by one bit and moves the least significant bit to the most significant bit, the moved data and the address N next.
The serial data is converted into parallel data by a program by combining it with the instruction that takes the logical sum of the serial data with all other places set to 0.

この伝送路に伝送された通信データを受信するための受
信回路としては、伝送線路に反転入力端子を接続された
コンパレーターによって弁別される同期信号の立ち下が
りを検知することによってその後に続く通信データとフ
レーム終了信号を2.5Vを基準電圧とするコンパレーター
を介して、時系列データから取り扱いの容易なパラレル
データに変換し一時的に格納するためのシリアル−パラ
レル変換器としてのシフトレジスタに格納し、格納し終
わったのち同期信号の立ち上がりを検知することによっ
て前記ワンチップマイコンの送信データを格納するエリ
アと異なるエリアにデータを格納する。
As a receiving circuit for receiving the communication data transmitted to this transmission line, the communication data that follows is detected by detecting the falling edge of the synchronization signal that is discriminated by the comparator that has the inverting input terminal connected to the transmission line. The frame end signal is stored in the shift register as a serial-parallel converter for converting the time series data into parallel data that is easy to handle and temporarily storing it through a comparator that uses 2.5V as the reference voltage. The data is stored in an area different from the area for storing the transmission data of the one-chip microcomputer by detecting the rising edge of the synchronization signal after the storage.

コントローラーにおいては、キーボード等多くのスイッ
チをマトリックス状に並べ、列の線の一に対して一のア
ドレスを選択できるようにアドレスセレクタを接続し、
プログラムで順にそのアドレスを掃引しスイッチが押さ
れていると、行の線に出力が現れるようにした。その行
の線からの信号を、前記マイコンに内蔵されたメモリに
転送し制御する端末機器の機能に対応するビットのみの
状態を他の状態に変えるプログラムによって、送信する
データを作成した。
In the controller, many switches such as a keyboard are arranged in a matrix, and an address selector is connected so that one address can be selected for one of the lines in the column,
I made it so that the output would appear on the line of the line when the address was sequentially swept by the program and the switch was pressed. Data to be transmitted was created by a program that changes the state of only the bit corresponding to the function of the terminal device for controlling by transferring the signal from the line in that row to the memory built in the microcomputer.

また、第4図aに示すように、送信するデータは必ず最
後に1,0,1のデータを付加し、これを終了フレーム信号
とした。従って、データを受信すると必ず最後に1,0,1
のデータとなるはずであるが、いずれか1つの装置で同
期信号と装置の時間経過がずれた場合には、第4図bに
示すように伝送路がワイヤードオアになっているので、
1,0,0となったり、0,0,1となる場合があり、マイクロコ
ンピュータ内にソフトウェアで1,0,1のフレーム終了信
号の場合にのみ、プログラムが次のステップに進むこと
ができ、その他の場合には、次の同期信号まで処理を停
止するので、同期信号とずれた通信データを無効にでき
る。
Further, as shown in FIG. 4A, the data to be transmitted is always added with the data of 1,0,1 at the end, and this is used as the end frame signal. Therefore, when data is received, it is always 1,0,1 at the end.
However, if the synchronization signal and the time elapse of the device are deviated in any one of the devices, the transmission path is wired OR as shown in FIG. 4b.
It can be 1,0,0 or 0,0,1 and the program can proceed to the next step only if the software has a frame end signal of 1,0,1 in the microcomputer. In other cases, since the processing is stopped until the next synchronization signal, the communication data deviated from the synchronization signal can be invalidated.

(発明の効果) 以上に説明したように、本発明によって複数のコントロ
ーラー及び複数の端末機器の間の通信速度を高めること
ができるとともに、データの信頼性を高めることができ
る通信方式及び装置を提供することができる。
(Effects of the Invention) As described above, the present invention provides a communication method and device that can increase the communication speed between a plurality of controllers and a plurality of terminal devices and can improve the reliability of data. can do.

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

第1図aは本発明の原理を説明するためのブロック図、
第1図bは本発明の原理を説明するためのデータの構造
を示す図、第1図cは本発明の原理を説明するための同
期信号とデータの関係を示す図、第2図は本発明による
通信装置のブロック図、第3図は本発明の一実施例に用
いた装置の概要を示す回路図、第4図aは本発明の一実
施例において通信が正常の場合の各通信装置における信
号の波形を示す図、第4図bは本発明の一実施例におい
て通信が正常でない場合の各通信装置における信号の波
形を示す図、第5図は従来例を示す通信装置のブロック
図である。 符号の説明 1……通信装置、2……同期信号 3……伝送路、4……通信データ 6……フレーム終了信号 11……同期信号発生手段 12……切換手段、13……送信手段 14……受信手段、16……論理演算手段 17……フレーム終了信号を蓄えておく手段 18……同期信号弁別手段 19……フレーム終了信号を出力する手段 21……データ変換手段 22……データ解読手段 23……表示機器へ出力する手段 24……端末機器への出力の可否を決める手段 25……データ出力手段 26……フレーム終了信号の適否を判断する手段
FIG. 1a is a block diagram for explaining the principle of the present invention,
FIG. 1b is a diagram showing the structure of data for explaining the principle of the present invention, FIG. 1c is a diagram showing the relationship between synchronization signals and data for explaining the principle of the present invention, and FIG. FIG. 3 is a block diagram of a communication device according to the invention, FIG. 3 is a circuit diagram showing an outline of the device used in one embodiment of the present invention, and FIG. 4a is each communication device when communication is normal in one embodiment of the present invention. 4 shows waveforms of signals in FIG. 4, FIG. 4b shows waveforms of signals in each communication device when communication is not normal in one embodiment of the present invention, and FIG. 5 is a block diagram of a communication device showing a conventional example. Is. DESCRIPTION OF SYMBOLS 1 ... Communication device, 2 ... Synchronization signal 3 ... Transmission path, 4 ... Communication data 6 ... Frame end signal 11 ... Synchronization signal generating means 12 ... Switching means, 13 ... Sending means 14 ...... Reception means, 16 …… Logical operation means 17 …… Storing the frame end signal 18 …… Synchronization signal discrimination means 19 …… Sending the frame end signal 21 …… Data conversion means 22 …… Data decoding Means 23 …… Means for outputting to the display device 24 …… Means for deciding whether to output to the terminal equipment 25 …… Data output means 26 …… Means for judging suitability of the frame end signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】信号の送受の始期を決定する同期信号を一
定の時間ごとに発生する同期信号発生手段(11)と、そ
の同期信号発生手段(11)からの同期信号を通信データ
に先立って送信することの可否を決める切換手段(12)
と、同期信号を受けて初めて論理演算手段(16)からの
通信データを伝送路に送出するための送信手段(13)
と、この伝送路に伝送された通信データを受診するため
の受信手段(14)と、受信した通信データと同期信号を
弁別する同期信号弁別手段(18)と、同期信号弁別手段
(18)からの同期信号によって動作のタイミングを決定
された以下の手段を有する論理演算手段(16)、すなわ
ち、端末機器と送信手段(13)とを結びその端末機器か
らのデータを区別できるデータに変換するデータ変換手
段(21)、受信手段(14)からの受信した通信データを
解読するデータ解読手段(22)、データ解読手段(22)
からのデータを表示するための表示機器に出力する表示
出力手段(23)、データ解読手段(22)からのデータに
よって端末機器への出力の可否を決める手段(24)及び
端末機器への出力の可否を決める手段(24)によって出
力可の場合にのみ端末機器にデータを出力するデータ出
力手段(25)、通信の終了を示すフレーム終了信号を予
め蓄える手段(17)、同期信号弁別手段(18)からの同
期信号から一定の時間の後に蓄えられたフレーム終了信
号を送信手段(13)に出力する手段(19)と、受信した
通信データのうちのフレーム終了信号と予め蓄えられた
フレーム終了信号とを比較しフレーム終了信号の適否を
判断する手段(26)からなる通信装置。
1. A synchronization signal generating means (11) for generating a synchronization signal for determining the start of signal transmission / reception at regular time intervals, and a synchronization signal from the synchronization signal generating means (11) prior to communication data. Switching means (12) for deciding whether to send or not
And a transmitting means (13) for transmitting communication data from the logical operation means (16) to the transmission line only after receiving the synchronization signal.
From the receiving means (14) for receiving the communication data transmitted to this transmission path, the synchronization signal discriminating means (18) for discriminating the received communication data from the synchronization signal, and the synchronization signal discriminating means (18). Logic operation means (16) having the following means, the operation timing of which is determined by the synchronization signal of the terminal, that is, data for connecting the terminal equipment and the transmission means (13) and converting the data from the terminal equipment into the distinguishable data Conversion means (21), data decoding means (22) for decoding communication data received from the receiving means (14), data decoding means (22)
Display output means (23) for outputting the data from the device to the display device, means (24) for deciding whether to output to the terminal device based on the data from the data decoding means (22), and output to the terminal device. Data output means (25) for outputting data to the terminal device only when output is possible by means (24) for determining availability, means (17) for storing a frame end signal indicating the end of communication in advance, and synchronization signal discrimination means (18) (19) for outputting the frame end signal accumulated after a certain time from the synchronization signal from (1) to the transmitting means (13), the frame end signal of the received communication data and the frame end signal stored in advance. A communication device comprising means (26) for comparing with and determining the suitability of a frame end signal.
JP63235197A 1988-09-20 1988-09-20 Communication device Expired - Fee Related JPH0716195B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63235197A JPH0716195B2 (en) 1988-09-20 1988-09-20 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63235197A JPH0716195B2 (en) 1988-09-20 1988-09-20 Communication device

Publications (2)

Publication Number Publication Date
JPH0282842A JPH0282842A (en) 1990-03-23
JPH0716195B2 true JPH0716195B2 (en) 1995-02-22

Family

ID=16982515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63235197A Expired - Fee Related JPH0716195B2 (en) 1988-09-20 1988-09-20 Communication device

Country Status (1)

Country Link
JP (1) JPH0716195B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113830009B (en) * 2020-06-08 2024-03-08 北京新能源汽车股份有限公司 Signal transmission method and device and electric automobile

Also Published As

Publication number Publication date
JPH0282842A (en) 1990-03-23

Similar Documents

Publication Publication Date Title
US5003457A (en) Simultaneous data and electric power transmitting/receiving system
KR100445493B1 (en) One-chip microcomputer with analog-to-digital converter
US4736367A (en) Smart control and sensor devices single wire bus multiplex system
US20060103545A1 (en) Remote Controller Capable of Selectively Controlling a Plurality of Electric Appliances, Remote Control System and Method thereof
US4899338A (en) Electrical device command system, single wire bus and smart octal controller arrangement therefor
JPH07502869A (en) Receiver/decoder for serial networks of input/output devices
US4907223A (en) Electrical devices command system, single wire bus and smart quad controller arrangement therefor
JP2000261866A (en) Use of remote device trigger paging or satellite paging
JPH0716195B2 (en) Communication device
CN110942612A (en) A remote control control method, remote control and remote control system
KR960012101B1 (en) Serial communication control method & device using pulse transformer
JPH0775347B2 (en) Communication method and device
JPH0715253Y2 (en) Terminal for pattern setting
JP2720513B2 (en) Communication method and communication system device used for the communication method
JP2003141673A (en) Servo system
JPS62171349A (en) Communication control equipment
KR100197375B1 (en) AV receiver receiver for remote control
KR19980027024A (en) Parity Checking Device and Method of CDM Mobile Communication System
JP2005072657A (en) Reception device, baud rate conversion device, and serial data reception method
JPH0528015B2 (en)
JP2000209687A (en) Wireless microphone system, wireless speaker system and electronic equipment
JPH09196659A (en) Motor position detector
JP3905361B2 (en) Detection device and detection data transmission method therefor
JP2821320B2 (en) Home bus protocol controller
JP2661583B2 (en) Clock signal distribution apparatus and method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees