JP2014075634A - Communication system, communication speed automatic detector, communication device and communication speed setting method - Google Patents

Communication system, communication speed automatic detector, communication device and communication speed setting method Download PDF

Info

Publication number
JP2014075634A
JP2014075634A JP2012220564A JP2012220564A JP2014075634A JP 2014075634 A JP2014075634 A JP 2014075634A JP 2012220564 A JP2012220564 A JP 2012220564A JP 2012220564 A JP2012220564 A JP 2012220564A JP 2014075634 A JP2014075634 A JP 2014075634A
Authority
JP
Japan
Prior art keywords
communication
pattern
communication speed
signal
unit
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
JP2012220564A
Other languages
Japanese (ja)
Inventor
Tomoyoshi Hoshiko
智義 星子
Mitsuhiro Takada
光広 高田
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2012220564A priority Critical patent/JP2014075634A/en
Publication of JP2014075634A publication Critical patent/JP2014075634A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a communication system that has improved convenience when communication speed is automatically detected and a communication device is added.SOLUTION: A communication system includes: a first communication device that comprises transmission means for transmitting a pattern in which all signal waveforms sequentially change covering modulation signal levels to a communication path at a cycle of an inverse of modulation speed; and a second communication device that comprises detection means for detecting communication speed sampling the pattern from the communication path at a prescribed interval.

Description

本発明は、通信速度の自動検出に対応する通信システム、通信速度自動検出装置、通信装置および通信速度設定方法に関する。   The present invention relates to a communication system, communication speed automatic detection device, communication device, and communication speed setting method that support automatic detection of communication speed.

時分割多重通信方式を使用している通信装置間の通信では、各通信装置でのスケジューリングを合わせるパラメータ設定が肝要である。スケジューリングは、通信システムに応じて調整可能であることが一般的である。したがって、パラメータは、通信システム毎に異なり、通信装置を追加接続する場合は、追加する通信装置のパラメータを接続先の通信システムに合わせる必要がある。しかし、通信プロトコルを含めたパラメータの設定は、接続先の通信システムの設計者以外には困難である。   In communication between communication apparatuses using the time division multiplex communication method, it is important to set parameters that match scheduling in each communication apparatus. In general, the scheduling can be adjusted according to the communication system. Therefore, the parameters differ for each communication system, and when additional communication devices are connected, it is necessary to match the parameters of the added communication device with the communication system of the connection destination. However, setting parameters including the communication protocol is difficult for anyone other than the designer of the communication system to be connected.

特許文献1は、時分割多重通信を使用している通信ネットワークに追加されるECU(Electronic Control Unit)のパラメータを、自動コンフィギュレーションする方法が開示されている。しかし、通信システムのパラメータである通信速度は、自動設定の対象となっていない。また、特許文献2は、端末装置と入出力装置の間の調歩同期伝送における通信速度の設定方式が開示されている。   Patent Document 1 discloses a method of automatically configuring parameters of an ECU (Electronic Control Unit) added to a communication network using time division multiplex communication. However, the communication speed, which is a parameter of the communication system, is not subject to automatic setting. Patent Document 2 discloses a communication speed setting method in asynchronous transmission between a terminal device and an input / output device.

特開2008−236217号公報(第2、7頁、図12、13)JP 2008-236217 A (2nd and 7th pages, FIGS. 12 and 13) 特開平1−188060号公報(第1、2頁、図1(a)、1(b))Japanese Laid-Open Patent Publication No. 1-188060 (pages 1 and 2, FIGS. 1 (a) and 1 (b))

特許文献1の技術では、追加先の通信システムの通信速度を、追加されるECUに、予め静的に設定しておく必要がある。一方、特許文献2の技術は、端末装置と入出力装置の間の初期化時に、端末装置から特定データを送出して、入出力装置側でその特定データをサンプリングする。入出力装置は、サンプリングして得られるパターンを、所定のパターンに対比させて通信速度を判定する方式である。   In the technique of Patent Document 1, it is necessary to statically set in advance the communication speed of the communication system of the addition destination in the ECU to be added. On the other hand, in the technique of Patent Document 2, specific data is transmitted from the terminal device at the time of initialization between the terminal device and the input / output device, and the specific data is sampled on the input / output device side. The input / output device is a method for determining a communication speed by comparing a pattern obtained by sampling with a predetermined pattern.

このように、特許文献1、2の技術では、通信速度を自動的に検出し、動的に設定することはできない。そのため、特許文献1、2の技術では、既に動作している通信システムに通信装置を追加するためには、ユーザが、追加する通信装置にマニュアル操作で所定の設定を行わなければならない。   As described above, the techniques of Patent Documents 1 and 2 cannot automatically detect the communication speed and dynamically set the communication speed. For this reason, in the techniques of Patent Documents 1 and 2, in order to add a communication device to a communication system that is already operating, the user has to manually set a predetermined setting for the communication device to be added.

特許文献2の技術を用いれば、動作中の通信システムの通信速度を判定することができる。しかし、通信路での信号波形の変動や多様な通信速度の組み合わせに対応するためには、変動する信号波形に対応できる各種のパターンをすべて用意しなければならないという課題がある。   If the technique of patent document 2 is used, the communication speed of the operating communication system can be determined. However, in order to cope with variations in signal waveforms on the communication path and combinations of various communication speeds, there is a problem that all the various patterns that can accommodate varying signal waveforms must be prepared.

本発明の目的は、上記の課題に鑑みてなされたもので、通信システムの通信速度を自動的に検知して、通信装置を追加する際の利便性を向上させた通信システム、通信速度自動検出装置、通信装置および通信速度設定方法を提供することにある。   An object of the present invention has been made in view of the above problems, and a communication system that automatically detects a communication speed of a communication system and improves convenience when adding a communication apparatus, and automatic communication speed detection. An apparatus, a communication apparatus, and a communication speed setting method are provided.

本発明の通信システムは、変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化するパターンを通信路に送出する送出手段を備える第1の通信装置と、通信路から受信したパターンを所定の間隔でサンプリングして、通信速度を検知する検知手段を備える第2の通信装置を有する。 本発明の通信速度自動検出装置は、変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化するパターンを送出する装置から受信したパターンを所定の間隔でサンプリングして、通信速度を検知する検知手段を有する。   The communication system according to the present invention includes a first communication device including a sending unit that sends a pattern that changes in sequence and covers all modulation signal levels to the communication path in a cycle that is a reciprocal of the modulation speed, and a pattern received from the communication path. Is sampled at a predetermined interval, and has a second communication device provided with detection means for detecting the communication speed. The communication speed automatic detection device of the present invention samples a pattern received from a device that sends out a pattern that changes sequentially covering all modulation signal levels at a reciprocal period of the modulation speed at a predetermined interval, and determines the communication speed. It has a detection means to detect.

本発明の通信装置は、第1の変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化する第1のパターンを、所定の間隔でサンプリングして、第1の通信速度を検知する検知手段を備える装置に送出する送出手段と、第2の変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化する第2のパターンを送出する装置から受信した第2のパターンを所定の間隔でサンプリングして、第2の通信速度を検知する検知手段を有する。   The communication apparatus of the present invention detects a first communication speed by sampling a first pattern that changes sequentially covering all modulation signal levels at a reciprocal period of the first modulation speed at a predetermined interval. And a second pattern received from a device that sends out a second pattern that changes in sequence and covers all modulation signal levels in a reciprocal period of the second modulation speed. Is detected at a predetermined interval to detect the second communication speed.

本発明の通信速度設定方法は、変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化するパターンを通信路に送出し、通信路から受信したパターンを所定の間隔でサンプリングして通信速度を検知することを特徴とする。   In the communication speed setting method of the present invention, a pattern that covers all modulation signal levels in a reciprocal period of the modulation speed and sequentially changes is sent to the communication path, and the pattern received from the communication path is sampled at a predetermined interval. The communication speed is detected.

本発明によれば、通信システムの通信速度が自動的に検知されるので、通信システムに通信装置を追加するときの利便性が高いという効果がある。   According to the present invention, since the communication speed of the communication system is automatically detected, there is an effect that the convenience when adding a communication device to the communication system is high.

本発明の第1の実施形態の通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system of the 1st Embodiment of this invention. 本発明の第1の実施形態の通信装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the communication apparatus of the 1st Embodiment of this invention. 本発明の第1の実施形態の通信速度毎のビットを比較した説明図である。It is explanatory drawing which compared the bit for every communication speed of the 1st Embodiment of this invention. 本発明の第1の実施形態の通信速度毎のビットの時間幅とサンプリング回数を示す表である。It is a table | surface which shows the time width and sampling frequency | count of the bit for every communication speed of the 1st Embodiment of this invention. 本発明の第1の実施形態のデータストリーム構成と通信速度検出用パターンの説明図である。It is explanatory drawing of the data stream structure and communication speed detection pattern of the 1st Embodiment of this invention. 本発明の第1の実施形態の通信速度検出部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the communication speed detection part of the 1st Embodiment of this invention. 本発明の第1の実施形態の通信速度検出部の動作を示した状態遷移図である。It is the state transition diagram which showed the operation | movement of the communication speed detection part of the 1st Embodiment of this invention. 本発明の第1の実施形態の通信速度検出部の動作を示したタイミングチャートである。It is the timing chart which showed the operation | movement of the communication speed detection part of the 1st Embodiment of this invention. 本発明の第2の実施形態の通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system of the 2nd Embodiment of this invention. 本発明の第2の実施形態の通信装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the communication apparatus of the 2nd Embodiment of this invention.

以下に、本発明の実施形態について図面を参照して詳細に説明する。
(第1の実施形態)
本発明の第1の実施形態について説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.
(First embodiment)
A first embodiment of the present invention will be described.

図1は、本発明の第1の実施形態の通信システムの構成を示すブロック図である。図1を参照して、本発明の第1の実施形態の通信システム1の構成を説明する。   FIG. 1 is a block diagram showing a configuration of a communication system according to the first exemplary embodiment of the present invention. With reference to FIG. 1, the structure of the communication system 1 of the 1st Embodiment of this invention is demonstrated.

図1の通信システム1は、通信路10と、通信装置A101〜10n(nは1以上の整数)と、通信装置B110を備える。   The communication system 1 in FIG. 1 includes a communication path 10, communication devices A101 to 10n (n is an integer equal to or greater than 1), and a communication device B110.

通信装置A101〜10nは、既に通信路10を介して、相互に接続されている。通信装置B110は、通信システム1に新たに追加される通信装置である。   The communication devices A101 to 10n are already connected to each other via the communication path 10. The communication device B110 is a communication device newly added to the communication system 1.

通信装置A101〜10nの内の少なくとも1台は、通信速度検出用パターン送出部11を備える。図1では、通信装置A101が通信速度検出用パターン送出部11を備えるものとしている。通信速度検出用パターン送出部11は、予め設定された通信速度検出用パターンを通信路10に送出する。   At least one of the communication devices A 101 to 10 n includes a communication speed detection pattern sending unit 11. In FIG. 1, the communication apparatus A 101 includes a communication speed detection pattern sending unit 11. The communication speed detection pattern sending unit 11 sends a preset communication speed detection pattern to the communication path 10.

通信装置B110は、通信速度検出部12を備える。通信速度検出部12は、通信路10から受信した信号から、予め設定された通信速度検出用パターンを含む通信速度検出を行う部分信号を検知して、通信速度を検出する。   The communication device B110 includes a communication speed detection unit 12. The communication speed detection unit 12 detects a communication speed from a signal received from the communication path 10 by detecting a partial signal for performing communication speed detection including a preset communication speed detection pattern.

図1を参照して、本発明の第1の実施形態の通信システム1の動作の説明を行う。通信システム1の通信装置A101の通信速度検出用パターン送出部11は、予め設定された通信速度検出用パターンを通信路10に送出する。   With reference to FIG. 1, operation | movement of the communication system 1 of the 1st Embodiment of this invention is demonstrated. The communication speed detection pattern sending unit 11 of the communication apparatus A 101 of the communication system 1 sends a preset communication speed detection pattern to the communication path 10.

通信装置B110は、通信路10に、新たに追加される。そのとき、通信装置B110の通信速度検出部12は、通信路10の信号を取り込み、予め設定された通信速度検出用パターンを含む部分信号の検出を開始する。そして、通信速度検出部12は、通信速度検出用パターンを含む部分信号を検出して、通信システム1の通信速度を確定し、通信速度以外の通信パラメータの自動設定を開始する。   The communication device B110 is newly added to the communication path 10. At that time, the communication speed detection unit 12 of the communication apparatus B110 takes in the signal of the communication path 10 and starts detecting a partial signal including a preset communication speed detection pattern. Then, the communication speed detection unit 12 detects a partial signal including a communication speed detection pattern, determines the communication speed of the communication system 1, and starts automatic setting of communication parameters other than the communication speed.

図2は、本発明の第1の実施形態の通信装置の内部構成を示すブロック図である。図2を参照して、本発明の第1の実施形態の通信装置C120の構成を説明する。通信装置A101および通信装置B110の内部の構成要素には、共通のものがある。そこで、説明の便宜上、通信装置A101および通信装置B110の内部の構成要素の両方を備える通信装置C120を用いて、通信装置A101および通信装置B110について説明する。   FIG. 2 is a block diagram illustrating an internal configuration of the communication apparatus according to the first embodiment of this invention. With reference to FIG. 2, the configuration of the communication apparatus C120 according to the first embodiment of the present invention will be described. The internal components of the communication device A101 and the communication device B110 are common. Therefore, for convenience of explanation, the communication device A101 and the communication device B110 will be described using the communication device C120 including both the communication device A101 and the internal components of the communication device B110.

通信装置C120は、通信速度検出用パターン送出部11と、通信速度検出部12と、通信コントローラ部21と、パラメータ設定部22と、自動コンフィギュレーション部23と、バスドライバ24Aと、バスドライバ24Bを備える。通信装置C120は、通信路10として2重化された通信チャネル10Aと、通信チャネル10Bに接続される。   The communication device C120 includes a communication speed detection pattern sending unit 11, a communication speed detection unit 12, a communication controller unit 21, a parameter setting unit 22, an automatic configuration unit 23, a bus driver 24A, and a bus driver 24B. Prepare. The communication device C120 is connected to the communication channel 10A duplexed as the communication path 10 and the communication channel 10B.

ここで、通信速度検出用パターン送出部11と通信速度検出部12は、図1にて説明したと同様の機能を有し、同一の名称、同一の番号を付記して、説明を省略する。   Here, the communication speed detection pattern sending unit 11 and the communication speed detection unit 12 have the same functions as described with reference to FIG. 1, and the same names and the same numbers are added and description thereof is omitted.

通信コントローラ21は、通信路10を介して、他の通信装置C120との通信を行う。パラメータ設定部22は、通信装置C120が、通信路10を介して、他の通信装置C120と通信するための通信パラメータを保持する。自動コンフィギュレーション部23は、通信装置C120が、通信路10を介して、他の通信装置C120と通信するために、通信路10のデータストリームをモニタリングして、通信パラメータを抽出する。バスドライバ24A、24Bは、通信路10の通信チャネル10Aと通信チャネル10Bに接続される。そして、バスドライバ24A、24Bは、送信信号TxAとTxBを通信路10に送信し、受信信号RxAとRxBを通信路10から受信する。   The communication controller 21 communicates with another communication device C120 via the communication path 10. The parameter setting unit 22 holds communication parameters for the communication device C120 to communicate with other communication devices C120 via the communication path 10. The automatic configuration unit 23 monitors a data stream of the communication path 10 and extracts a communication parameter so that the communication apparatus C120 communicates with another communication apparatus C120 via the communication path 10. The bus drivers 24A and 24B are connected to the communication channel 10A and the communication channel 10B of the communication path 10. Then, the bus drivers 24A and 24B transmit the transmission signals TxA and TxB to the communication path 10, and receive the reception signals RxA and RxB from the communication path 10.

図2を参照して、本発明の第1の実施形態の通信装置C120の動作の説明を行う。   With reference to FIG. 2, the operation of the communication apparatus C120 according to the first embodiment of the present invention will be described.

通信装置C120は、通信装置A101として動作することができる。この場合、通信装置C120は、通信速度検出用パターン送出部11より、所定の通信速度検出用パターンを、通信路10に送出する。また、パラメータ設定部22より、通信パラメータを、通信路10に送出する。   The communication device C120 can operate as the communication device A101. In this case, the communication device C 120 sends a predetermined communication speed detection pattern from the communication speed detection pattern sending unit 11 to the communication path 10. Further, the parameter setting unit 22 sends communication parameters to the communication path 10.

通信装置C120は、通信システム1に追加される通信装置B110として動作することもできる。この場合、通信装置C120は、通信路10に接続されて、バスドライバ24A、24Bからの受信信号RxA25およびRxB26を、通信速度検出部12に出力する。   The communication device C120 can also operate as a communication device B110 added to the communication system 1. In this case, the communication device C120 is connected to the communication path 10 and outputs the reception signals RxA25 and RxB26 from the bus drivers 24A and 24B to the communication speed detection unit 12.

通信速度検出部12は、受信信号RxA25およびRxB26から、通信装置A101として通信装置C120が送出する通信速度検出用パターンを含む部分信号の検出を開始する。そして、通信速度検出部12は、受信信号RxA25もしくはRxB26の中に部分信号を検出すると、検出した通信速度を示す通信速度検出信号をパラメータ設定部22に出力する。 パラメータ設定部22は、通信速度検出信号にしたがって、検出した通信速度を示すパラメータを設定する。そして、パラメータ設定部22は、通信コントローラ部21と自動コンフィギュレーション部23に、設定された通信速度のパラメータに基づいて通信速度を設定する通信速度設定信号を出力して、通信速度の設定を行う。   The communication speed detection unit 12 starts detecting a partial signal including a communication speed detection pattern transmitted by the communication apparatus C120 as the communication apparatus A101 from the reception signals RxA25 and RxB26. When the communication speed detection unit 12 detects a partial signal in the reception signal RxA25 or RxB26, the communication speed detection unit 12 outputs a communication speed detection signal indicating the detected communication speed to the parameter setting unit 22. The parameter setting unit 22 sets a parameter indicating the detected communication speed according to the communication speed detection signal. Then, the parameter setting unit 22 outputs a communication speed setting signal for setting the communication speed based on the set communication speed parameter to the communication controller unit 21 and the automatic configuration unit 23 to set the communication speed. .

自動コンフィギュレーション部23は、通信速度の設定を受けて、バスドライバ24A、24Bからの受信信号RxA25およびRxB26のデータストリームを受信することが可能となる。そして、自動コンフィギュレーション部23は、受信信号RxA25およびRxB26のデータストリームから、通信装置A101が送出する通信パラメータを抽出して、通信コントローラ部21とパラメータ設定部22に通信パラメータを設定する。   The automatic configuration unit 23 can receive the data streams of the reception signals RxA25 and RxB26 from the bus drivers 24A and 24B in response to the setting of the communication speed. Then, the automatic configuration unit 23 extracts communication parameters sent from the communication device A101 from the data streams of the reception signals RxA25 and RxB26, and sets the communication parameters in the communication controller unit 21 and the parameter setting unit 22.

そこで、通信コントローラ部21は、通信速度設定と通信パラメータ設定を完了して、バスドライバ24A、24Bを介して、通信チャネル10A、10B上のデータストリームの送受信を行うことが可能となる。   Therefore, the communication controller unit 21 completes the communication speed setting and communication parameter setting, and can transmit and receive data streams on the communication channels 10A and 10B via the bus drivers 24A and 24B.

パラメータ設定部22は、通信パラメータを保持する。   The parameter setting unit 22 holds communication parameters.

したがって、通信装置B110として動作する通信装置C120は、通信装置A101〜10nとして動作する通信装置C120との通信が可能となって、通信システム1への通信装置B110の追加が完了する。   Accordingly, the communication device C120 that operates as the communication device B110 can communicate with the communication device C120 that operates as the communication devices A101 to 10n, and the addition of the communication device B110 to the communication system 1 is completed.

このように、通信装置B110は、通信装置A101から通信速度検出用パターンを含む部分信号を検出して通信速度を決定し、既設の通信システムにおける通信に必要な通信パラメータ設定の自動化を可能とする。   In this way, the communication device B110 detects the partial signal including the communication speed detection pattern from the communication device A101, determines the communication speed, and enables the communication parameter setting necessary for communication in the existing communication system to be automated. .

図3は、本発明の第1の実施形態の通信速度毎のビットを比較した説明図である。図3を参照し、本発明の第1の実施形態の通信速度毎のビットのサンプリング動作を比較して説明する。   FIG. 3 is an explanatory diagram comparing bits for each communication speed according to the first embodiment of this invention. With reference to FIG. 3, the bit sampling operation for each communication speed according to the first embodiment of the present invention will be described in comparison.

通信システム1の通信速度は、10Mbps、5Mbps、2.5Mbpsの3種類として説明する。したがって、1bitの情報に対応する最小の単位の時間(1gdbit)は、それぞれの通信速度で、100ns、200ns、400nsとなる。そこで、この1bitの情報に対応する時間(1dgbit)を、80MHzのクロック信号(サンプリング用)にてサンプリングすると、それぞれの通信速度に対応するサンプリング回数は、7回もしくは8回もしくは9回、15回もしくは16回もしくは17回、31回もしくは32回もしくは33回となる。ここで示した通信速度とサンプリング回数を整理したのが、図4である。   The communication speed of the communication system 1 will be described as three types of 10 Mbps, 5 Mbps, and 2.5 Mbps. Therefore, the minimum unit time (1 gdbit) corresponding to 1-bit information is 100 ns, 200 ns, and 400 ns at each communication speed. Therefore, when the time (1 dgbit) corresponding to this 1-bit information is sampled with an 80 MHz clock signal (for sampling), the number of sampling corresponding to each communication speed is 7 times, 8 times, 9 times, 15 times. Or 16 times, 17 times, 31 times, 32 times, or 33 times. FIG. 4 shows the communication speed and the number of sampling times shown here.

図4は、本発明の第1の実施形態の通信速度毎のビットの時間幅とサンプリング回数を示す表である。図4は、図3に示した通信速度と、1ビットの情報に対応する時間(1dgbit)の幅と、サンプリング回数の関係を整理したものである。通信速度の検出は、1dgbitに対するサンプリング回数をカウントすることで行われる。   FIG. 4 is a table showing the bit time width and the number of samplings for each communication speed according to the first embodiment of this invention. FIG. 4 shows the relationship between the communication speed shown in FIG. 3, the width of time (1 dgbit) corresponding to 1-bit information, and the number of samplings. The communication speed is detected by counting the number of samplings for 1 dgbit.

図5は、本発明の第1の実施形態のデータストリーム構成と通信速度検出用パターンの説明図である。図5を参照して、データストリームにおける通信速度検出用パターンの検出について説明する。   FIG. 5 is an explanatory diagram of a data stream configuration and a communication speed detection pattern according to the first embodiment of this invention. With reference to FIG. 5, detection of a communication speed detection pattern in a data stream will be described.

データフレーム51は、時分割多重通信方式の通信システム1のデータフレームを例示したものである。データフレーム51は、スロットと呼ばれる時間単位の中で、通信路10上で通信されるデータストリームである。   The data frame 51 exemplifies a data frame of the communication system 1 of the time division multiplex communication method. The data frame 51 is a data stream communicated on the communication path 10 in a time unit called a slot.

データフレーム51は、ヘッダ部52と、ペイロード部53と、CRC部54を含む。ヘッダ部52は、データフレーム51の種別を示す部分である。ペイロード部53は、通信装置A101〜10nがユーザとなって情報を時分割で送受信する部分である。CRC部54は、データフレーム51のチェックと誤り訂正に使用される部分である。   The data frame 51 includes a header part 52, a payload part 53, and a CRC part 54. The header part 52 is a part indicating the type of the data frame 51. The payload part 53 is a part in which the communication apparatuses A 101 to 10n become users and transmit and receive information in a time division manner. The CRC unit 54 is a part used for checking and error correction of the data frame 51.

ペイロード部53には、通信装置A101の送信する時分割のタイミングで、ユーザ情報の一部として通信速度検出用パターン55が含まれる。通信速度検出用パターン55は、8bitの”10101010”というパターンとする。ここで、通信システム1では、ユーザ情報の各1バイトのデータの前後に、BSS(Byte Start Sequence)を付加して通信路10に送出されものとする。BSSは、2bitの”10”というパターンとする。したがって、通信速度の検出は、図3および図4に示した1dgbitに対するサンプリング回数をカウントして行われる。つまり、通信速度は、通信路10からの受信信号RxA25、RxB26に、BSSと通信速度検出用パターン55からなる通信速度検出を行う部分信号56を検出して決定される。   The payload portion 53 includes a communication speed detection pattern 55 as a part of user information at the time division timing transmitted by the communication apparatus A101. The communication speed detection pattern 55 is an 8-bit “10101010” pattern. Here, in the communication system 1, it is assumed that a BSS (Byte Start Sequence) is added before and after each 1-byte data of the user information and is transmitted to the communication path 10. The BSS is a 2-bit “10” pattern. Therefore, the communication speed is detected by counting the number of samplings for 1 dgbit shown in FIGS. That is, the communication speed is determined by detecting the partial signal 56 for detecting the communication speed including the BSS and the communication speed detection pattern 55 in the reception signals RxA25 and RxB26 from the communication path 10.

図6は、本発明の第1の実施形態の通信速度検出部の内部構成を示すブロック図である。図6を参照して、本発明の第1の実施形態の通信速度検出部12の構成を説明する。   FIG. 6 is a block diagram illustrating an internal configuration of the communication speed detection unit according to the first embodiment of this invention. With reference to FIG. 6, the configuration of the communication speed detecting unit 12 according to the first embodiment of the present invention will be described.

図6の通信速度検出部12は、図3の通信速度検出部12に対応する。したがって、同一の構成については、同一の名称、同一の番号を付記して説明を省略する。   The communication speed detection unit 12 in FIG. 6 corresponds to the communication speed detection unit 12 in FIG. Therefore, about the same structure, the same name and the same number are attached and description is abbreviate | omitted.

図6の通信速度検出部12は、通信速度検出部61Aと、通信速度検出部61Bと、上位通信部66を備える。通信速度検出部61Aは、受信信号RxA25から通信速度を検出して通信速度検出信号Aを出力する。通信速度検出部61Bは、受信信号RxB26から通信速度を検出して速度検出信号Bを出力する。上位通信部66は、通信速度検出部61Aの通信速度検出信号A、または、通信速度検出部61Bの通信速度検出信号Bを受けて、通信速度検出信号67を出力する。   The communication speed detection unit 12 of FIG. 6 includes a communication speed detection unit 61A, a communication speed detection unit 61B, and an upper communication unit 66. The communication speed detector 61A detects a communication speed from the received signal RxA25 and outputs a communication speed detection signal A. The communication speed detector 61B detects the communication speed from the received signal RxB26 and outputs the speed detection signal B. The host communication unit 66 receives the communication speed detection signal A of the communication speed detection unit 61A or the communication speed detection signal B of the communication speed detection unit 61B, and outputs a communication speed detection signal 67.

通信速度検出部61Aは、サンプリング部62Aと、エッジ検出部63Aと、カウンタ部64Aと、パターン検出部65Aを備える。   The communication speed detection unit 61A includes a sampling unit 62A, an edge detection unit 63A, a counter unit 64A, and a pattern detection unit 65A.

サンプリング部62Aは、受信信号RxA25を、クロック信号60にてサンプリングし、サンプリング信号を出力する。   The sampling unit 62A samples the received signal RxA25 with the clock signal 60 and outputs a sampling signal.

エッジ検出部63Aは、サンプリング信号を受けて、データの変化を示すエッジ検出信号と、データの変化が立上りであるか、立下りであるかを示すエッジ種別信号と、エッジ検出毎でカウンタ部64Aをリセットするカウンタリセット信号を出力する。   Upon receiving the sampling signal, the edge detection unit 63A receives an edge detection signal indicating a change in data, an edge type signal indicating whether the data change is rising or falling, and a counter unit 64A for each edge detection. A counter reset signal for resetting is output.

カウンタ部64Aは、カウンタリセット信号によりリセットされ、リセット後は、カウンタクロック信号60をカウントして、カウンタ出力信号を出力する。   The counter unit 64A is reset by a counter reset signal. After the reset, the counter unit 64A counts the counter clock signal 60 and outputs a counter output signal.

パターン検出部65Aは、エッジ検出信号、エッジ種別信号、カウンタ出力信号を受けて、部分信号56を検出して、通信速度検出信号Aを出力する。   The pattern detection unit 65A receives the edge detection signal, the edge type signal, and the counter output signal, detects the partial signal 56, and outputs the communication speed detection signal A.

通信速度検出部61Bは、通信速度検出部61Aと同様の構成を備えるので、説明を省略する。   Since the communication speed detection unit 61B has the same configuration as the communication speed detection unit 61A, description thereof is omitted.

上位通信部66は、通信速度検出部61Aの通信速度検出信号A、または、通信速度検出部61Bの通信速度検出信号Bを受けて、通信速度検出信号67を出力する。   The host communication unit 66 receives the communication speed detection signal A of the communication speed detection unit 61A or the communication speed detection signal B of the communication speed detection unit 61B, and outputs a communication speed detection signal 67.

図6を参照して、通信速度検出部12の動作について説明する。   The operation of the communication speed detection unit 12 will be described with reference to FIG.

通信速度検出部61Aと通信速度検出部61Bとは、同一構成を備えるため、以下は、通信速度検出部61Aを例に説明する。   Since the communication speed detector 61A and the communication speed detector 61B have the same configuration, the communication speed detector 61A will be described below as an example.

クロック信号60は、周波数が80MHzのクロックパルス信号で、全ブロックに供給される。   The clock signal 60 is a clock pulse signal having a frequency of 80 MHz and is supplied to all blocks.

サンプリング部62Aは、受信信号RxA25をクロック信号60でサンプリングし、その結果をサンプリング信号としてエッジ検出部63Aに出力する。   The sampling unit 62A samples the reception signal RxA25 with the clock signal 60, and outputs the result as a sampling signal to the edge detection unit 63A.

エッジ検出部63Aは、サンプリング信号の信号レベルの変化を検出してエッジ検出信号を、パターン検出部65Aに出力する。また、エッジ検出部63Aは、エッジ種別信号を、パターン検出部65Aに出力する。エッジ種別信号は、エッジの種別、すなわち、信号レベルの変化が、HighレベルからLowレベルへの変化である立下りエッジであるか、LowレベルからHighレベルへの変化である立上りエッジであるかを示す。また、エッジ検出部63Aは、エッジ検出時に、カウンタリセット信号を、カウンタ部64Aに出力する。   The edge detection unit 63A detects a change in the signal level of the sampling signal and outputs an edge detection signal to the pattern detection unit 65A. Further, the edge detection unit 63A outputs an edge type signal to the pattern detection unit 65A. The edge type signal indicates the type of edge, that is, whether the change in signal level is a falling edge that is a change from High level to Low level or a rising edge that is a change from Low level to High level. Show. Further, the edge detection unit 63A outputs a counter reset signal to the counter unit 64A at the time of edge detection.

カウンタ部64Aは、カウンタリセット信号により、カウンタ値を1にリセットする。リセット後、カウンタ部64Aは、クロック信号60をカウントする。また、カウンタ部64Aは、カウンタリセット信号を受けて、リセット直前のカウンタ値を、カウンタ出力信号として、パターン検出部65Aに出力する。このリセット直前のカウンタ値が、サンプリング信号のHighレベルの期間、または、Lowレベルの期間でのサンプリング回数となる。   The counter unit 64A resets the counter value to 1 by the counter reset signal. After the reset, the counter unit 64A counts the clock signal 60. The counter unit 64A receives the counter reset signal and outputs the counter value immediately before the reset to the pattern detection unit 65A as a counter output signal. The counter value immediately before the reset is the number of times of sampling in the high level period or the low level period of the sampling signal.

パターン検出部65Aは、通信チャネル10Aの受信信号RxA25をサンプリングしたサンプリング信号に、部分信号56が含まれているか、否かを判定する機能を備える。つまり、パターン検出部65Aは、サンプリング信号に部分信号56が含まれることを、エッジ検出信号、エッジ種別信号とカウンタ出力信号を使用して検知する。そして、パターン検出部65Aは、通信速度検出信号Aを上位通信部66に出力する。   The pattern detection unit 65A has a function of determining whether or not the partial signal 56 is included in the sampling signal obtained by sampling the reception signal RxA25 of the communication channel 10A. That is, the pattern detection unit 65A detects that the partial signal 56 is included in the sampling signal using the edge detection signal, the edge type signal, and the counter output signal. Then, the pattern detection unit 65A outputs the communication speed detection signal A to the higher-level communication unit 66.

上位通信部66は、パターン検出部65Aとパターン検出部65Bより、通信速度検出信号A、または、通信速度検出信号Bのいずれかを検出すると、通信速度検出信号67を出力する。   When the upper communication unit 66 detects either the communication speed detection signal A or the communication speed detection signal B from the pattern detection unit 65A and the pattern detection unit 65B, it outputs a communication speed detection signal 67.

このように、通信速度検出部12は動作して、通信速度を自動で検知することができる。   As described above, the communication speed detection unit 12 operates and can automatically detect the communication speed.

図7は、本発明の第1の実施形態の通信速度検出部の動作を示した状態遷移図である。図7を参照して、図3から図6にて示した通信速度検出の動作について説明する。   FIG. 7 is a state transition diagram illustrating the operation of the communication speed detection unit according to the first embodiment of this invention. With reference to FIG. 7, the communication speed detection operation shown in FIGS. 3 to 6 will be described.

図7は、通信速度検出部12の通信速度検出部61A、通信速度検出部61Bのパターン検出部65A、パターン検出部65Bの状態遷移を示した図である。パターン検出部65Aは、パターン検出部65Bとは、同一構成を備える。ここでは、通信速度検出部61Aのパターン検出部65Aの状態遷移として説明し、パターン検出部65Bの説明を省略する。   FIG. 7 is a diagram illustrating state transitions of the communication speed detection unit 61A of the communication speed detection unit 12, the pattern detection unit 65A of the communication speed detection unit 61B, and the pattern detection unit 65B. The pattern detection unit 65A has the same configuration as the pattern detection unit 65B. Here, the state transition of the pattern detection unit 65A of the communication speed detection unit 61A will be described, and the description of the pattern detection unit 65B will be omitted.

通信速度検出部61Aのパターン検出部65Aは、受信信号RxA25のサンプリング信号をモニタリングする初期状態にある。   The pattern detection unit 65A of the communication speed detection unit 61A is in an initial state of monitoring the sampling signal of the reception signal RxA25.

そして、状態遷移の条件としては、次の6つの条件がある。   And there are the following six conditions as the condition for the state transition.

1)条件10
立上りエッジが検出され、カウンタのカウント数が、7、8または9であること。
1) Condition 10
A rising edge is detected, and the counter count is 7, 8, or 9.

2)条件11
立下りエッジが検出され、カウンタのカウント数が、7、8または9であること。
2) Condition 11
The falling edge is detected, and the count number of the counter is 7, 8, or 9.

3)条件20
立上りエッジが検出され、カウンタのカウント数が、15、16または17であること。
3) Condition 20
A rising edge is detected, and the counter count is 15, 16 or 17.

4)条件21
立下りエッジが検出され、カウンタのカウント数が、15、16または17であること。
4) Condition 21
A falling edge is detected, and the count number of the counter is 15, 16 or 17.

5)条件30
立上りエッジが検出され、カウンタのカウント数が、31、32または33であること。
5) Condition 30
A rising edge is detected, and the counter count is 31, 32, or 33.

6)条件31
立下りエッジが検出され、カウンタのカウント数が、31、32または33であること。
6) Condition 31
A falling edge is detected, and the counter count is 31, 32, or 33.

なお、条件10と条件11は、通信速度10MbpsのLowレベルとHighレベルを検知する条件である。条件20と条件21は、通信速度5MbpsのLowレベルとHighレベルを検知する条件である。条件30と条件31は、通信速度2.5MbpsのLowレベルとHighレベルを検知する条件である。   Conditions 10 and 11 are conditions for detecting a low level and a high level at a communication speed of 10 Mbps. Conditions 20 and 21 are conditions for detecting a low level and a high level at a communication speed of 5 Mbps. Conditions 30 and 31 are conditions for detecting a low level and a high level at a communication speed of 2.5 Mbps.

図7を参照して、通信速度10Mbpsを検出する動作を例に、パターン検出部65Aの状態遷移を説明する。   With reference to FIG. 7, the state transition of the pattern detection unit 65 </ b> A will be described with an example of an operation for detecting a communication speed of 10 Mbps.

初期状態において、立上りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件10により、初期状態からR10Step1に遷移する。条件10での判定により、部分信号56のBSSの後半のLowレベルが検出される。   When the rising edge is detected in the initial state and the count number of the counter is 8, the state of the pattern detection unit 65A transitions from the initial state to R10 Step 1 according to the condition 10. The low level in the second half of the BSS of the partial signal 56 is detected by the determination under the condition 10.

次に、立下りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件11により、R10Step1からR10Step2に遷移する。条件11での判定により、部分信号56の通信速度検出用パターンの1回目のHighレベルが検出される。   Next, when the falling edge is detected and the count number of the counter is 8, the state of the pattern detection unit 65A transitions from R10Step1 to R10Step2 according to the condition 11. Based on the determination under condition 11, the first High level of the communication speed detection pattern of the partial signal 56 is detected.

そして、立上りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件10により、R10Step2からR10Step3に遷移する。条件10での判定により、部分信号56の通信速度検出用パターンの1回目のLowレベルが検出される。   When the rising edge is detected and the count number of the counter is 8, the state of the pattern detection unit 65A transitions from R10Step2 to R10Step3 according to the condition 10. Based on the determination under the condition 10, the first Low level of the communication speed detection pattern of the partial signal 56 is detected.

さらに、立下りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件11により、R10Step3からR10Step4に遷移する。条件11での判定により、部分信号56の通信速度検出用パターンの2回目のHighレベルが検出される。   Furthermore, when the falling edge is detected and the count number of the counter is 8, the state of the pattern detection unit 65A transitions from R10Step3 to R10Step4 according to the condition 11. Based on the determination under condition 11, the second High level of the communication speed detection pattern of the partial signal 56 is detected.

また、立上りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件10により、R10Step4からR10Step5に遷移する。条件10での判定により、部分信号56の通信速度検出用パターンの2回目のLowレベルが検出される。   When the rising edge is detected and the count number of the counter is 8, the state of the pattern detection unit 65A transitions from R10Step4 to R10Step5 according to the condition 10. Based on the determination under the condition 10, the second Low level of the communication speed detection pattern of the partial signal 56 is detected.

次に、立下りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件11により、R10Step5からR10Step6に遷移する。条件11での判定により、部分信号56の通信速度検出用パターンの3回目のHighレベルが検出される。   Next, when the falling edge is detected and the count number of the counter is 8, the state of the pattern detection unit 65A changes from R10Step5 to R10Step6 according to the condition 11. Based on the determination under condition 11, the third High level of the communication speed detection pattern of the partial signal 56 is detected.

そして、立上りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件10により、R10Step6からR10Step7に遷移する。条件10での判定により、部分信号56の通信速度検出用パターンの3回目のLowレベルが検出される。   When the rising edge is detected and the count number of the counter is 8, the state of the pattern detection unit 65A transitions from R10Step6 to R10Step7 according to the condition 10. By the determination under the condition 10, the third Low level of the communication speed detection pattern of the partial signal 56 is detected.

さらに、立下りエッジを検出して、カウンタのカウント数が8のときに、パターン検出部65Aの状態は、条件11により、R10Step7から通信速度10Mbps検出の状態に遷移する。条件11での判定により、部分信号56の通信速度検出用パターンの4回目のHighレベルが検出される。   Further, when the falling edge is detected and the count number of the counter is 8, the state of the pattern detection unit 65A transitions from R10Step 7 to the communication speed 10 Mbps detection state according to the condition 11. As a result of the determination under condition 11, the fourth High level of the communication speed detection pattern of the partial signal 56 is detected.

この一連の状態遷移により、パターン検出部65Aは、部分信号56を検出した状態となり、そして、通信速度が10Mbpsであると判定した状態となる。   By this series of state transitions, the pattern detection unit 65A enters a state in which the partial signal 56 is detected, and enters a state in which it is determined that the communication speed is 10 Mbps.

なお、各遷移において、カウンタ部64Aのカウント数を8として説明したが、カウント数は7から9の範囲内であればよい。また、パターン検出部65Aの状態は、カウント数が7から9の範囲外であれば、初期状態に戻される。   In each transition, the count number of the counter unit 64A has been described as 8. However, the count number may be in the range of 7 to 9. The state of the pattern detection unit 65A is returned to the initial state if the count number is outside the range of 7 to 9.

このように、パターン検出部65Aは、部分信号56の検出を完了する。そして、パターン検出部65Aは、状態遷移の条件10と条件11から、通信速度が10Mbpsと判定して、10Mbpsの通信速度を示す通信速度検出信号Aを出力する。   Thus, the pattern detection unit 65A completes the detection of the partial signal 56. Then, the pattern detection unit 65A determines that the communication speed is 10 Mbps from the condition transition conditions 10 and 11 and outputs a communication speed detection signal A indicating a communication speed of 10 Mbps.

同様に、パターン検出部65Aは、条件20と条件21による状態遷移から5Mbpsの通信速度を判定し、条件30と31による状態遷移から2.5Mbpsの通信速度を判定する。   Similarly, the pattern detection unit 65A determines the communication speed of 5 Mbps from the state transitions according to the conditions 20 and 21, and determines the communication speed of 2.5 Mbps from the state transitions according to the conditions 30 and 31.

そして、上位通信部66は、パターン検出部65Aとパターン検出部65Bからの通信速度検出信号A、または、通信速度検出信号Bのいずれかを検出して、通信速度を示す通信速度検出信号67を出力する。   The upper communication unit 66 detects either the communication speed detection signal A or the communication speed detection signal B from the pattern detection unit 65A and the pattern detection unit 65B, and generates a communication speed detection signal 67 indicating the communication speed. Output.

このように、通信速度検出部12は、通信速度を自動的に検知することができる。   As described above, the communication speed detection unit 12 can automatically detect the communication speed.

図8は、本発明の第1の実施形態の動作を示したタイミングチャートである。図8を参照して、図3から図7にて示した通信速度検出の動作について説明する。   FIG. 8 is a timing chart showing the operation of the first embodiment of the present invention. With reference to FIG. 8, the communication speed detection operation shown in FIGS. 3 to 7 will be described.

図8は、通信速度検出部12の通信速度検出部61Aのパターン検出部65Aのタイミングチャートである。パターン検出部65Aは、パターン検出部65Bとは、同一構成を備える。ここでは、パターン検出部65Aのタイミングチャートとして通信速度検出の動作を説明し、パターン検出部65Bの説明を省略する。   FIG. 8 is a timing chart of the pattern detection unit 65A of the communication speed detection unit 61A of the communication speed detection unit 12. The pattern detection unit 65A has the same configuration as the pattern detection unit 65B. Here, the communication speed detection operation will be described as a timing chart of the pattern detection unit 65A, and the description of the pattern detection unit 65B will be omitted.

パターン検出部65Aは、受信信号RxA25のサンプリング信号をモニタリングする初期状態(図7に示した初期状態)にある。   The pattern detection unit 65A is in an initial state (initial state shown in FIG. 7) in which the sampling signal of the reception signal RxA25 is monitored.

T0より、通信速度検出部61Aのパターン検出部65Aは、通信速度検出用パターンを含む部分信号56の検出動作を開始する。通信速度検出部61Aのサンプリング部62Aは、受信信号RxA25をクロック信号60でサンプリングし、サンプリング信号を出力する。   From T0, the pattern detection unit 65A of the communication speed detection unit 61A starts the detection operation of the partial signal 56 including the communication speed detection pattern. The sampling unit 62A of the communication speed detection unit 61A samples the reception signal RxA25 with the clock signal 60 and outputs a sampling signal.

T1にて、通信速度検出部61Aのエッジ検出部63Aは、サンプリング信号から、立下りエッジを検出して、カウンタリセット信号をカウンタ部64Aに出力する。T2にて、カウンタ部64Aは、カウンタリセット信号を受けて、カウンタ値を1にリセットする。リセット後、カウンタ64Aは、クロック信号60をカウントする。   At T1, the edge detection unit 63A of the communication speed detection unit 61A detects a falling edge from the sampling signal, and outputs a counter reset signal to the counter unit 64A. At T2, the counter unit 64A receives the counter reset signal and resets the counter value to 1. After the reset, the counter 64A counts the clock signal 60.

ここで、T0にて、受信信号RxA25は、部分信号56のBSSの後段のLowレベルが開始されたものとする。   Here, at T0, it is assumed that the low level of the reception signal RxA25 starts after the BSS of the partial signal 56.

次に、通信速度検出部61Aは、このBSSの後段のLowに変化する立下りエッジと、それに続くLowレベルの受信動作について説明する。   Next, the communication speed detection unit 61A will describe the falling edge that changes to Low at the latter stage of the BSS and the subsequent reception operation at the Low level.

まず、T0からT4の間、受信信号RxA25のLowレベル(BSSの後段のLowレベル)は、維持される。T4にて、通信速度検出用パターンの1番目のHighレベルに変化する。T5にて、エッジ検出部63Aは、この立上りエッジを検出し、カウンタリセット信号を出力する。T6にて、カウンタ部64Aは、カウンタ値を1にリセットする。ここで、T2からT6の間に8クロック分の期間があるので、カウンタ部64Aのカウンタ値は、1から8まで進む。したがって、T6で、カウンタ部64Aは、リセット直前の値である8をカウンタ出力信号として出力する。このカウンタ出力信号は、直前の受信信号RxA25が、8クロック分の長さであることを示す。   First, during the period from T0 to T4, the low level of the reception signal RxA25 (the low level subsequent to the BSS) is maintained. At T4, the communication speed detection pattern changes to the first High level. At T5, the edge detection unit 63A detects this rising edge and outputs a counter reset signal. At T6, the counter unit 64A resets the counter value to 1. Here, since there is a period of 8 clocks from T2 to T6, the counter value of the counter unit 64A advances from 1 to 8. Therefore, at T6, the counter unit 64A outputs 8 which is a value immediately before reset as a counter output signal. This counter output signal indicates that the immediately preceding received signal RxA25 has a length of 8 clocks.

エッジ検出部62Aは、エッジ検出の1クロック後のT2とT6でエッジ検出信号とエッジ種別信号をパターン検出部65Aに出力する。エッジ種別信号は、立下りエッジ検出時にはLowレベル、立上りエッジ検出時にはHighレベルに変化する。T6で、パターン検出部65Aは、エッジ検出信号を検出し、エッジ種別信号をもとに立上りエッジであることと、カウンタ出力信号をもとにカウント値が8であることから、図7に示す条件10に一致すると判断する。そして、T7にて、パターン検出部65Aは、パターン検出状態を、初期状態からR10Step1の状態に遷移させる。これにより、部分信号56のBSSの後段のLowレベルの検知ができたこととなる。   The edge detection unit 62A outputs an edge detection signal and an edge type signal to the pattern detection unit 65A at T2 and T6 one clock after the edge detection. The edge type signal changes to a low level when a falling edge is detected, and changes to a high level when a rising edge is detected. At T6, the pattern detection unit 65A detects the edge detection signal, and it is a rising edge based on the edge type signal and the count value is 8 based on the counter output signal. It is determined that the condition 10 is met. Then, at T7, the pattern detection unit 65A changes the pattern detection state from the initial state to the state of R10Step1. As a result, the Low level of the subsequent stage of the BSS of the partial signal 56 can be detected.

次に、部分信号56の通信速度検出用パターンの1番目のHighレベルの検知の動作について説明する。   Next, the operation for detecting the first High level of the communication speed detection pattern of the partial signal 56 will be described.

T4で、BSSの後段のLowレベルから、通信速度検出用パターンの1番目のHighレベルに変化する。T5にて、エッジ検出部63Aは、サンプリング信号から立上りエッジを検出して、カウンタリセット信号をカウンタ部64Aに出力する。T6にて、カウンタ部64Aは、カウント値を1にリセットする。リセット後、カウンタ部64Aは、クロック信号60をカウントする。T4からT8の間、受信信号RxA25のHighレベル(通信速度検出用パターンの1番目のHighレベル)は、維持される。T8にて、通信速度検出用パターンの1番目のLowレベルに変化する。T9にて、エッジ検出部63Aは、サンプリング信号から立下りエッジを検出し、カウンタリセット信号を出力する。T10で、カウンタ部64Aは、カウンタ値を1にリセットする。ここで、T6からT10の間に8クロック分の期間があるので、カウンタ部64Aのカウンタ値は、1から8まで進む。したがって、T10で、カウンタ部64Aは、リセット直前の値である8をカウンタ出力信号として出力する。このカウンタ出力信号は、直前の受信信号RxA25が、8クロック分の長さであることを示す。   At T4, the low level after the BSS changes to the first high level of the communication speed detection pattern. At T5, the edge detection unit 63A detects a rising edge from the sampling signal, and outputs a counter reset signal to the counter unit 64A. At T6, the counter unit 64A resets the count value to 1. After the reset, the counter unit 64A counts the clock signal 60. During the period from T4 to T8, the High level of the reception signal RxA25 (the first High level of the communication speed detection pattern) is maintained. At T8, the communication speed detection pattern changes to the first low level. At T9, the edge detection unit 63A detects a falling edge from the sampling signal and outputs a counter reset signal. At T10, the counter unit 64A resets the counter value to 1. Here, since there is a period of 8 clocks from T6 to T10, the counter value of the counter unit 64A advances from 1 to 8. Therefore, at T10, the counter unit 64A outputs 8 which is a value immediately before reset as a counter output signal. This counter output signal indicates that the immediately preceding received signal RxA25 has a length of 8 clocks.

エッジ検出部62Aは、エッジ検出の1クロック後のT10で、エッジ検出信号とエッジ種別信号をパターン検出部65Aに出力する。このとき、エッジ種別信号は、立下りエッジ検出にてLowレベルとなる。T10で、パターン検出部65Aは、エッジ検出信号を検出し、エッジ種別信号をもとに立下りエッジであることと、カウンタ出力信号をもとにカウント値が8であることから、図7に示す条件11に一致すると判断する。そして、T11にて、パターン検出部65Aは、パターン検出状態を、R10Step1の状態からR10Step2の状態に遷移させる。これにより、部分信号56の通信速度検出用パターンの1番目のHighレベルの検知ができたこととなる。   The edge detection unit 62A outputs an edge detection signal and an edge type signal to the pattern detection unit 65A at T10 one clock after the edge detection. At this time, the edge type signal becomes the low level when the falling edge is detected. At T10, the pattern detection unit 65A detects the edge detection signal, and it is a falling edge based on the edge type signal and the count value is 8 based on the counter output signal. It is determined that the condition 11 shown is satisfied. At T11, the pattern detection unit 65A changes the pattern detection state from the state of R10Step1 to the state of R10Step2. As a result, the first High level of the communication speed detection pattern of the partial signal 56 can be detected.

次に、パターン検出部65Aの状態は、部分信号56の通信速度検出用パターンの1番目のLowレベル、2番目のHighレベル、2番目のLowレベル、3番目のHighレベル、3番目のLowレベル、4番目のHighレベルの受信信号RxA25を順次受信して、上記説明と同様の動作により、図7のR10Step7まで遷移する。   Next, the state of the pattern detection unit 65A is the first low level, the second high level, the second low level, the third high level, and the third low level of the communication speed detection pattern of the partial signal 56. The fourth high-level received signal RxA25 is sequentially received, and the process proceeds to R10Step7 in FIG. 7 by the same operation as described above.

そして、T12にて、受信信号RxA25は、通信速度検出用パターンの4番目のLowレベルに変化する。T13にて、エッジ検出部63Aは、サンプリング信号から立下りエッジを検出し、カウンタリセット信号を出力する。T14で、カウンタ部64Aは、カウンタ値を1にリセットする。ここで、T14までの間に8クロック分の期間があるので、カウンタ部64Aのカウンタ値は、1から8まで進む。したがって、T14で、カウンタ部64Aは、リセット直前の値である8をカウンタ出力信号として出力する。このカウンタ出力信号は、直前の受信信号RxA25が、8クロック分の長さであることを示す。   At T12, the reception signal RxA25 changes to the fourth low level of the communication speed detection pattern. At T13, the edge detection unit 63A detects a falling edge from the sampling signal and outputs a counter reset signal. At T14, the counter unit 64A resets the counter value to 1. Here, since there is a period of 8 clocks until T14, the counter value of the counter unit 64A advances from 1 to 8. Therefore, at T14, the counter unit 64A outputs 8 which is a value immediately before reset as a counter output signal. This counter output signal indicates that the immediately preceding received signal RxA25 has a length of 8 clocks.

エッジ検出部62Aは、エッジ検出の1クロック後のT14でエッジ検出信号とエッジ種別信号をパターン検出部65Aに出力する。このとき、エッジ種別信号は、立下りエッジ検出にてLowレベルとなる。T14で、パターン検出部65Aは、エッジ検出信号を検出し、エッジ種別信号をもとに立下りエッジであることと、カウンタ出力信号をもとにカウント値が8であることから、図7に示す条件11に一致すると判断する。そして、T15にて、パターン検出部65Aは、パターン検出状態を、R10Step7の状態から通信速度10Mbps検出の状態に遷移させる。   The edge detection unit 62A outputs the edge detection signal and the edge type signal to the pattern detection unit 65A at T14 one clock after the edge detection. At this time, the edge type signal becomes the low level when the falling edge is detected. At T14, the pattern detection unit 65A detects the edge detection signal, and it is a falling edge based on the edge type signal and the count value is 8 based on the counter output signal. It is determined that the condition 11 shown is satisfied. At T15, the pattern detection unit 65A changes the pattern detection state from the state of R10 Step 7 to the state of communication speed 10 Mbps detection.

これにより、パターン検出部65Aは、部分信号56の最後のHighレベルの検知ができたこととなる。そして、パターン検出部65Aは、受信信号RxA25から通信チャネル10Aの通信速度が、10Mbpsであると判定する。   As a result, the pattern detection unit 65A can detect the final High level of the partial signal 56. Then, the pattern detection unit 65A determines from the received signal RxA25 that the communication speed of the communication channel 10A is 10 Mbps.

なお、各遷移において、カウンタ部64Aのカウント数を8として説明したが、カウント数は7から9の範囲内であればよい。また、パターン検出部65Aの状態は、カウント数が7から9の範囲外であれば、図7に示した初期状態に戻される。   In each transition, the count number of the counter unit 64A has been described as 8. However, the count number may be in the range of 7 to 9. If the count number is outside the range of 7 to 9, the state of the pattern detection unit 65A is returned to the initial state shown in FIG.

このように、パターン検出部65Aは、図7に示した初期状態から通信速度10Mbps検出の状態まで順次遷移し、部分信号56を検出する。そして、状態遷移の条件10と条件11から、パターン検出部65Aは、通信速度が10Mbpsと判定し、T15にて、10Mbpsの通信速度を示す通信速度検出信号Aを出力する。   As described above, the pattern detection unit 65A sequentially transitions from the initial state shown in FIG. 7 to the state where the communication speed is 10 Mbps, and detects the partial signal 56. Then, from the state transition conditions 10 and 11, the pattern detection unit 65A determines that the communication speed is 10 Mbps, and outputs a communication speed detection signal A indicating a communication speed of 10 Mbps at T15.

同様に、パターン検出部65Aは、条件20と条件21による状態遷移から、5Mbpsの通信速度を判定する。また、パターン検出部65Aは、条件30と31による状態遷移から、2.5Mbpsの通信速度を判定する。   Similarly, the pattern detection unit 65A determines a communication speed of 5 Mbps from the state transitions according to the conditions 20 and 21. Further, the pattern detection unit 65A determines the communication speed of 2.5 Mbps from the state transitions according to the conditions 30 and 31.

そして、上位通信部66は、パターン検出部65Aとパターン検出部65Bより、通信速度検出信号A、または、通信速度検出信号Bのいずれかを検出すると、T16にて、通信速度を示す通信速度検出信号67を出力する。このように、通信速度検出部12は、通信速度を自動的に検知することができる。   When the upper communication unit 66 detects either the communication speed detection signal A or the communication speed detection signal B from the pattern detection unit 65A and the pattern detection unit 65B, the communication speed detection indicating the communication speed is performed at T16. A signal 67 is output. As described above, the communication speed detection unit 12 can automatically detect the communication speed.

以上説明したとおり、本実施形態では、通信システムに追加される通信装置が、通信システムの通信速度を自動的に検知して、通信パラメータを自動で設定する。したがって、本実施形態の通信システムは、通信装置を容易に追加することができ、利便性が高いという効果がある。
(第2の実施形態)
次に、本発明の第2の実施形態について説明する。
As described above, in the present embodiment, a communication device added to the communication system automatically detects the communication speed of the communication system and automatically sets communication parameters. Therefore, the communication system according to the present embodiment is advantageous in that a communication device can be easily added and convenience is high.
(Second Embodiment)
Next, a second embodiment of the present invention will be described.

図9は、本発明の第2の実施形態の通信システムの構成を示すブロック図である。図9を参照して、本発明の第2の実施形態の通信システム2の構成を説明する。   FIG. 9 is a block diagram showing a configuration of a communication system according to the second exemplary embodiment of the present invention. With reference to FIG. 9, the structure of the communication system 2 of the 2nd Embodiment of this invention is demonstrated.

図9の通信システム2は、通信路10と、通信装置A101〜10nと、通信装置B110を備える。   The communication system 2 in FIG. 9 includes a communication path 10, communication devices A101 to 10n, and a communication device B110.

通信装置A101〜10nは、既に通信路10を介して、相互に接続されている。通信装置B110は、通信システム2に新たに追加される通信装置である。   The communication devices A101 to 10n are already connected to each other via the communication path 10. The communication device B110 is a communication device newly added to the communication system 2.

通信装置A101〜10nの内の少なくとも1台は、通信速度検出用パターン送信部11と装置追加検出部92を備える。図9では、通信装置A101が通信速度検出用パターン送信部11と装置追加検出部92を備えるものとしている。装置追加検出部92は、通信路10から、装置が追加されたことを示す装置追加信号を受信する。   At least one of the communication devices A 101 to 10 n includes a communication speed detection pattern transmission unit 11 and a device addition detection unit 92. In FIG. 9, the communication device A 101 includes a communication speed detection pattern transmission unit 11 and a device addition detection unit 92. The device addition detection unit 92 receives a device addition signal indicating that a device has been added from the communication path 10.

通信装置B110は、通信速度検出部12と装置追加送出部91を備える。装置追加送出部91は、通信装置B110が通信路10に接続された際に、装置追加信号を通信路10に送出する。   The communication device B110 includes a communication speed detection unit 12 and a device additional transmission unit 91. The device addition sending unit 91 sends a device addition signal to the communication path 10 when the communication device B 110 is connected to the communication path 10.

第2の実施形態の通信システム2は、通信装置A101、通信装置B110に、それぞれ、装置追加検出部92、装置追加送出部91が追加されているところが、図1の第1の実施形態の通信システム1と相違している。同一の構成要素には、同一の名称、同一の番号を付記して説明を省略する。   In the communication system 2 of the second embodiment, a device addition detection unit 92 and a device addition sending unit 91 are added to the communication device A 101 and the communication device B 110, respectively. The communication of the first embodiment of FIG. It is different from the system 1. The same components are denoted by the same names and the same numbers, and the description thereof is omitted.

図9を参照して、本発明の第2の実施形態の通信システム2の動作の説明を行う。通信装置B110の装置追加送出部91は、通信装置B110が通信路10に接続された際に、装置追加信号を、通信路10に送出する。   With reference to FIG. 9, the operation of the communication system 2 according to the second exemplary embodiment of the present invention will be described. The device addition sending unit 91 of the communication device B 110 sends a device addition signal to the communication path 10 when the communication device B 110 is connected to the communication path 10.

通信装置A101の装置追加検出部92は、通信路10から装置追加信号を受信する。そして、通信装置A101は、第1の実施形態で説明したものと同じ通信速度検出用パターンと通信パラメータを、通信路10に送信する。これにより、追加された通信装置B110は、第1の実施形態と同様に、通信速度を自動的に検知して、通信パラメータを取得し、他の通信装置A101〜10nと通信することが可能となる。   The device addition detection unit 92 of the communication device A 101 receives a device addition signal from the communication path 10. Then, the communication apparatus A 101 transmits the same communication speed detection pattern and communication parameters as those described in the first embodiment to the communication path 10. As a result, the added communication device B110 can automatically detect the communication speed, acquire the communication parameters, and communicate with the other communication devices A101 to 10n, as in the first embodiment. Become.

そして、通信装置B110の装置追加送出部91は、通信が可能となった時点で、装置追加信号の送出を停止する。通信装置A101の装置追加検出部92は、装置追加信号の送出の停止を検知して、通信速度検出用パターンと通信パラメータの送信を停止する。   And the apparatus addition transmission part 91 of communication apparatus B110 stops transmission of an apparatus addition signal, when communication is attained. The device addition detection unit 92 of the communication device A 101 detects the stop of transmission of the device addition signal, and stops the transmission of the communication speed detection pattern and the communication parameter.

図10は、本発明の第2の実施形態の通信装置の内部構成を示すブロック図である。図10を参照して、本発明の第2の実施形態の通信装置D130の構成を説明する。通信装置A101および通信装置B110の内部の構成要素には、共通のものがある。そこで、説明の便宜上、通信装置A101および通信装置B110の内部の構成要素の両方を備える通信装置D130を用いて、通信装置A101および通信装置B110について説明する。   FIG. 10 is a block diagram illustrating an internal configuration of a communication apparatus according to the second embodiment of this invention. With reference to FIG. 10, the structure of the communication apparatus D130 of the 2nd Embodiment of this invention is demonstrated. The internal components of the communication device A101 and the communication device B110 are common. Therefore, for convenience of explanation, the communication device A101 and the communication device B110 will be described using the communication device D130 that includes both the communication device A101 and the internal components of the communication device B110.

通信装置D130は、装置追加送出部91と装置追加検出部92が追加されているところと、通信路10に信号ライン10Cが追加されているところが、図2の第1の実施形態と相違している。同一の構成には、同一の名称、同一の番号を付記して説明を省略する。   The communication device D130 is different from the first embodiment of FIG. 2 in that a device addition sending unit 91 and a device addition detection unit 92 are added and a signal line 10C is added to the communication path 10. Yes. The same name is assigned to the same configuration and the same number, and the description is omitted.

装置追加送出部91と装置追加検出部92は、図9にて説明したものと同じである。   The device addition sending unit 91 and the device addition detection unit 92 are the same as those described with reference to FIG.

信号ライン10Cは、装置追加送出部91の送出した装置追加信号を、他の通信装置D130の装置追加検出部92に伝える。   The signal line 10C transmits the device addition signal sent from the device addition sending unit 91 to the device addition detection unit 92 of another communication device D130.

図10を参照して、本発明の第2の実施形態の通信装置D130の動作の説明を行う。   With reference to FIG. 10, the operation of the communication apparatus D130 according to the second embodiment of the present invention will be described.

通信装置C120は、図9における通信装置B110として動作することができる。この場合、通信装置B110としての通信装置D130が通信路10に追加されると、装置追加送出部91は、装置追加信号を、通信路10の信号ライン10Cに送出する。また、装置追加送出部91は、通信速度検出部12と装置追加検出部92に、自装置が追加されたことを示す自装置信号を出力する。   The communication device C120 can operate as the communication device B110 in FIG. In this case, when the communication device D130 as the communication device B110 is added to the communication path 10, the device addition transmission unit 91 transmits a device addition signal to the signal line 10C of the communication path 10. Further, the device addition sending unit 91 outputs a self device signal indicating that the own device has been added to the communication speed detecting unit 12 and the device addition detecting unit 92.

自装置信号を受けた通信速度検出部12は、通信速度検出動作を開始する。また、自装置信号を受けた装置追加検出部92は、装置検出動作を停止する。   The communication speed detection unit 12 that has received the own device signal starts a communication speed detection operation. In addition, the device addition detection unit 92 that has received the own device signal stops the device detection operation.

通信路10に追加された通信装置D130の装置追加信号は、通信路10の信号ライン10Cを介して、他の通信装置D130伝えられる。   The device addition signal of the communication device D130 added to the communication path 10 is transmitted to another communication device D130 via the signal line 10C of the communication path 10.

通信装置C130は、図9における通信装置A101としても動作することができる。この場合、通信装置A101としての通信装置D130の装置追加検出部92は、装置追加信号を受信する。装置追加検出部92は、装置追加信号を受信して、装置追加検出信号を、通信速度検出用パターン送出部11とパラメータ設定部22に出力する。   The communication device C130 can also operate as the communication device A101 in FIG. In this case, the device addition detection unit 92 of the communication device D130 as the communication device A101 receives the device addition signal. The device addition detection unit 92 receives the device addition signal and outputs the device addition detection signal to the communication speed detection pattern sending unit 11 and the parameter setting unit 22.

通信速度検出用パターン送出部11は、装置追加検出信号を受けて、通信速度検出用パターンの送出を開始する。パラメータ設定部22は、通信パラメータの送出を開始する。   Upon receiving the device addition detection signal, the communication speed detection pattern sending unit 11 starts sending the communication speed detection pattern. The parameter setting unit 22 starts sending communication parameters.

通信装置A101としての通信装置C130による以上の動作により、第1の実施形態で説明したように、追加された通信装置B110としての通信装置C130は、通信速度検出部12にて通信速度を自動的に検出する。そして、通信装置C130は、自動コンフィギュレーション部23にて通信パラメータを取得する。従って、以降、追加された通信装置C130は、通信を行うことができる。   As described in the first embodiment, the communication device C130 as the added communication device B110 automatically increases the communication speed by the communication speed detection unit 12 by the above operation by the communication device C130 as the communication device A101. To detect. And the communication apparatus C130 acquires a communication parameter in the automatic configuration part 23. FIG. Therefore, thereafter, the added communication device C130 can perform communication.

なお、追加された通信装置D130は、通信が可能となった時点で、通信コントローラ部21から通信設定完了信号を装置追加送出部91に出力する。装置追加送出部92は、通信設定完了信号を受けて、装置追加信号と自装置信号の出力を停止する。自装置信号の出力の停止にて、通信速度検出部12は、通信速度検出の動作を停止する。そして、装置追加検出部92は、装置検出の動作を開始する。   Note that the added communication device D130 outputs a communication setting completion signal from the communication controller unit 21 to the device addition sending unit 91 when communication is possible. Upon receiving the communication setting completion signal, the device addition sending unit 92 stops outputting the device addition signal and the own device signal. When the output of the own apparatus signal is stopped, the communication speed detecting unit 12 stops the operation of detecting the communication speed. Then, the device addition detection unit 92 starts a device detection operation.

一方、通信装置A101としての通信装置D130の装置追加検出部92は、信号ライン10Cを介して、装置追加信号の送出の停止を受けて、装置追加検出信号の出力を停止する。これにより、通信速度検出用パターン送出部11は、通信速度検出用パターンの送出を停止する。パラメータ設定部22は、通信パラメータの送出を停止する。   On the other hand, the device addition detection unit 92 of the communication device D130 serving as the communication device A101 receives the stop of sending the device addition signal via the signal line 10C and stops outputting the device addition detection signal. As a result, the communication speed detection pattern sending unit 11 stops sending the communication speed detection pattern. The parameter setting unit 22 stops sending communication parameters.

このように、本実施形態では、追加された通信装置B110から通信装置A101に、装置が追加されたことを伝える。そして、通信装置A101は、装置追加に必要となる通信速度検出用パターンと通信パラメータの出力の開始と、装置追加完了で不要となる通信速度検出用パターンと通信パラメータの出力の停止を行う。また、通信装置B110は、装置追加に必要となる通信速度検出部12の動作の開始と、装置追加完了で不要となる通信速度検出部12の動作の停止を行う。   Thus, in this embodiment, the added communication device B110 notifies the communication device A101 that a device has been added. Then, the communication apparatus A 101 starts outputting the communication speed detection pattern and communication parameters necessary for adding the apparatus, and stops outputting the communication speed detection pattern and communication parameters which are unnecessary when the apparatus addition is completed. Further, the communication device B110 starts the operation of the communication speed detecting unit 12 necessary for adding the device and stops the operation of the communication speed detecting unit 12 which becomes unnecessary when the device addition is completed.

以上説明したとおり、本実施形態は、通信路10への装置追加の際にのみ、必要となる情報を送出し、必要となる通信装置の各部位を動作させることで、通信システムの利便性を向上し、通信の効率化とシステムの低消費電力化を図ることができる。   As described above, this embodiment increases the convenience of the communication system by transmitting necessary information only when adding a device to the communication path 10 and operating each part of the necessary communication device. It is possible to improve communication efficiency and system power consumption.

なお、本願発明は、上述の各実施形態に限定されるものではなく、本願発明の要旨を逸脱しない範囲で種々変更、変形して実施することができる。   Note that the present invention is not limited to the above-described embodiments, and various modifications and changes can be made without departing from the spirit of the present invention.

例えば、実施形態では、通信路10の通信チャネルを二重化して説明したが、二重化されていなくてもよい。逆に、通信路10の通信チャネルは、さらに多重化されていてもよい。   For example, in the embodiment, the communication channel of the communication path 10 has been described as being duplexed, but the channel may not be duplexed. Conversely, the communication channels of the communication path 10 may be further multiplexed.

さらに、前述のように、既存の通信システムを構成する通信装置の少なくとも1台が、通信速度検出用パターンと通信パラメータを通信路10に送出する機能を備えればよい。   Furthermore, as described above, at least one of the communication devices constituting the existing communication system only needs to have a function of transmitting a communication speed detection pattern and communication parameters to the communication path 10.

追加される通信装置は、通信路10から、通信速度検出用パターンを含む信号を受信して通信速度を自動的に検出し、その後、通信路10から通信パラメータを取得する機能を備える。   The added communication device has a function of receiving a signal including a communication speed detection pattern from the communication path 10 to automatically detect the communication speed, and then acquiring a communication parameter from the communication path 10.

本実施形態では、通信速度を10Mbps、5Mbps、2.5Mbpsの3種類で説明したが、他の通信速度の組み合わせでもよい。   In this embodiment, the three communication speeds of 10 Mbps, 5 Mbps, and 2.5 Mbps have been described, but other combinations of communication speeds may be used.

本実施形態では、通信路10にて送受される信号は、2値信号であるものとして説明したが、多値信号であってもよい。つまり、通信路10の信号を取り込んでサンプリングして、通信速度検出用パターンを含む部分信号の波形が、変調速度の逆数の周期(シンボル間隔)で、全ての変調信号レベルを網羅して順次変化すればよい。   In the present embodiment, the signal transmitted and received on the communication path 10 has been described as being a binary signal, but may be a multilevel signal. In other words, the signal of the communication channel 10 is taken in and sampled, and the waveform of the partial signal including the communication speed detection pattern changes in a cycle that is the reciprocal of the modulation speed (symbol interval) covering all the modulation signal levels. do it.

このとき、1シンボルの期間でのサンプリング回数をs回、サンプリング周期をt秒/回、変調信号レベルを網羅した数、すなわち多値数を2のm乗(mは1以上の整数)とすれば、1シンボルに対応する情報のビット数はmbitなので、通信速度S(bps)は、S=m/(s×t)にて求められる。   At this time, the number of samplings in the period of one symbol is s, the sampling period is t seconds / time, and the number covering the modulation signal level, that is, the multi-value number is 2 m (where m is an integer of 1 or more). For example, since the number of bits of information corresponding to one symbol is mbit, the communication speed S (bps) is obtained by S = m / (s × t).

さらに、本実施形態における通信装置は、通信機能を備えた端末や基板、モジュール、デバイスであってもよい。つまり、本実施形態における通信装置は、通信路に接続されて通信機能を果たすものであればよい。   Furthermore, the communication apparatus in the present embodiment may be a terminal, a board, a module, or a device that has a communication function. That is, the communication device in the present embodiment may be anything that is connected to a communication path and performs a communication function.

1、2 通信システム
10 通信路
10A、10B 通信チャネル
10C 信号ライン
11 通信速度検出用パターン送信部
12 通信速度検出部
21 通信コントローラ部
22 パラメータ設定部
23 自動コンフィギュレーション部
24A、24B バスドライバ
25 受信信号RxA
26 受信信号RxB
51 データフレーム
52 ヘッダ部
53 ペイロード部
54 CRC部
55 通信速度検出用パターン
56 通信速度検出を行う部分信号
60 クロック信号
61A、61B 通信速度検出部
62A、62B サンプリング部
63A、63B エッジ検出部
64A、64B カウンタ部
65A、65B パターン検出部
66 上位通信部
67 通信速度検出信号
91 装置追加送出部
92 装置追加検出部
101、102、10n 通信装置A
110 通信装置B
120 通信装置C
130 通信装置D
DESCRIPTION OF SYMBOLS 1, 2 Communication system 10 Communication path 10A, 10B Communication channel 10C Signal line 11 Communication speed detection pattern transmission part 12 Communication speed detection part 21 Communication controller part 22 Parameter setting part 23 Automatic configuration part 24A, 24B Bus driver 25 Reception signal RxA
26 Received signal RxB
51 Data frame 52 Header part 53 Payload part 54 CRC part 55 Communication speed detection pattern 56 Partial signal for communication speed detection 60 Clock signal 61A, 61B Communication speed detection part 62A, 62B Sampling part 63A, 63B Edge detection part 64A, 64B Counter unit 65A, 65B Pattern detection unit 66 Host communication unit 67 Communication speed detection signal 91 Device addition sending unit 92 Device addition detection unit 101, 102, 10n Communication device A
110 Communication device B
120 Communication device C
130 Communication device D

Claims (10)

変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化するパターンを通信路に送出する送出手段を備える第1の通信装置と、
前記通信路から受信した前記パターンを所定の間隔でサンプリングして、通信速度を検知する検知手段を備える第2の通信装置
を含むことを特徴とする通信システム。
A first communication device comprising sending means for sending to the communication path a pattern that changes in sequence and covers all modulation signal levels in a reciprocal period of the modulation speed;
A communication system, comprising: a second communication device comprising detection means for detecting the communication speed by sampling the pattern received from the communication path at predetermined intervals.
前記送出手段は、前記通信路に通信パラメータを送出し、
前記検知手段は、前記通信路から前記通信パラメータを取得し、前記通信速度及び前記通信パラメータを前記第2の通信装置に設定する
ことを特徴とする請求項1に記載の通信システム。
The sending means sends a communication parameter to the communication path,
The communication system according to claim 1, wherein the detection unit acquires the communication parameter from the communication path, and sets the communication speed and the communication parameter in the second communication device.
前記検知手段は、
前記通信路から前記パターンを所定の間隔でサンプリングするサンプリング手段と、
前記サンプリングの結果から前記パターンの信号レベルの変化を検出するエッジ種別検出手段と、
前記パターンの信号レベルが維持されている期間のサンプリングをカウントするカウント手段
を備えることを特徴とする請求項1または2に記載の通信システム。
The detection means includes
Sampling means for sampling the pattern at predetermined intervals from the communication path;
Edge type detection means for detecting a change in the signal level of the pattern from the sampling result;
The communication system according to claim 1, further comprising a counting unit that counts sampling during a period in which the signal level of the pattern is maintained.
前記カウント手段は、前記カウントによるカウント数が所定範囲内であることを判別する
ことを特徴とする請求項3に記載の通信システム。
The communication system according to claim 3, wherein the counting unit determines that the count number by the count is within a predetermined range.
前記検知手段は、前記検出された信号レベルの変化、及び前記カウント数の判別結果から、前記パターンを含む信号を検知する
ことを特徴とする請求項4に記載の通信システム。
The communication system according to claim 4, wherein the detection unit detects a signal including the pattern from the change in the detected signal level and the determination result of the count number.
前記第1の通信装置は、前記通信路から装置追加通知を受信する受信手段を備え、 前記第2の通信装置は、前記通信路に追加された際に前記装置追加通知を送信する送信手段を備える
ことを特徴とする請求項1から請求項5のいずれか1項に記載の通信システム。
The first communication device includes receiving means for receiving a device addition notification from the communication path, and the second communication device includes transmission means for transmitting the device addition notification when added to the communication path. The communication system according to any one of claims 1 to 5, further comprising:
変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化するパターンを送出する装置から受信した前記パターンを所定の間隔でサンプリングして、通信速度を検知する検知手段
を備えることを特徴とする通信速度自動検出装置。
It comprises detection means for detecting a communication speed by sampling the pattern received from a device that sends out a pattern that changes sequentially covering all modulation signal levels in a cycle that is a reciprocal of the modulation speed at a predetermined interval. A communication speed automatic detection device.
前記通信速度を設定する設定手段
を備えることを特徴とする請求項7に記載の通信速度自動検出装置。
The communication speed automatic detection device according to claim 7, further comprising setting means for setting the communication speed.
第1の変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化する第1のパターンを、前記第1のパターンを所定の間隔でサンプリングして、第1の通信速度を検知する検知手段を備える装置に送出する送出手段と、
第2の変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化する第2のパターンを送出する装置から受信した前記第2のパターンを所定の間隔でサンプリングして、第2の通信速度を検知する検知手段と、
を備えることを特徴とする通信装置。
The first communication speed is detected by sampling the first pattern that covers all the modulation signal levels in the reciprocal period of the first modulation speed and sequentially changing the first pattern at a predetermined interval. Sending means for sending to a device comprising detection means;
The second pattern received from the device that sends out the second pattern that sequentially changes and covers all the modulation signal levels in the reciprocal period of the second modulation rate is sampled at a predetermined interval, Detection means for detecting the communication speed;
A communication apparatus comprising:
変調速度の逆数の周期で全ての変調信号レベルを網羅して順次変化するパターンを通信路に送出し、
前記通信路から受信した前記パターンを所定の間隔でサンプリングして通信速度を検知する
ことを特徴とする通信速度設定方法。
Send out a pattern that changes sequentially covering all modulation signal levels in the reciprocal period of the modulation speed to the communication path,
A communication speed setting method, wherein the communication speed is detected by sampling the pattern received from the communication path at a predetermined interval.
JP2012220564A 2012-10-02 2012-10-02 Communication system, communication speed automatic detector, communication device and communication speed setting method Pending JP2014075634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012220564A JP2014075634A (en) 2012-10-02 2012-10-02 Communication system, communication speed automatic detector, communication device and communication speed setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012220564A JP2014075634A (en) 2012-10-02 2012-10-02 Communication system, communication speed automatic detector, communication device and communication speed setting method

Publications (1)

Publication Number Publication Date
JP2014075634A true JP2014075634A (en) 2014-04-24

Family

ID=50749523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012220564A Pending JP2014075634A (en) 2012-10-02 2012-10-02 Communication system, communication speed automatic detector, communication device and communication speed setting method

Country Status (1)

Country Link
JP (1) JP2014075634A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01188060A (en) * 1988-01-21 1989-07-27 Fujitsu Ltd Automatic transmission speed setting system for stepping synchronous transmission
JPH05236049A (en) * 1992-02-25 1993-09-10 Matsushita Electric Works Ltd Data transmitter
JPH07264263A (en) * 1994-03-25 1995-10-13 Sanyo Electric Co Ltd Serial communication interface device
JP2001251284A (en) * 2000-03-06 2001-09-14 Yamaha Corp Spdif signal receiving circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01188060A (en) * 1988-01-21 1989-07-27 Fujitsu Ltd Automatic transmission speed setting system for stepping synchronous transmission
JPH05236049A (en) * 1992-02-25 1993-09-10 Matsushita Electric Works Ltd Data transmitter
JPH07264263A (en) * 1994-03-25 1995-10-13 Sanyo Electric Co Ltd Serial communication interface device
JP2001251284A (en) * 2000-03-06 2001-09-14 Yamaha Corp Spdif signal receiving circuit

Similar Documents

Publication Publication Date Title
CN108965082B (en) Low power data bus receiver
JP4898187B2 (en) Modular numerical controller with low jitter synchronization
EP2684323B1 (en) Microcontroller with can bus module and auto speed detect
WO2016054245A1 (en) Confirming data accuracy in a distributed control system
JP4873663B2 (en) Method and apparatus for decoding a signal
JP2007324679A (en) Baud rate generator for serial communication
US8737426B1 (en) High speed embedded protocol for distributed control system
EP3576353B1 (en) Flexible data rate handling in a data bus receiver
JP2008518497A (en) Slave bus subscriber for serial data bus
US20140334314A1 (en) High Speed Embedded Protocol for Distributed Control Systems
JP6204587B2 (en) Apparatus for measuring internal delay time of CAN bus connection unit and measuring method
JP5393885B2 (en) Reception device, data identification / reproduction device, PON system, and data identification / reproduction method
EP3576354B1 (en) Slave node for a can bus network
JP2016534594A (en) Apparatus for adjusting bus system and method for driving CAN subscriber and CAN FD subscriber in bus system
US20210143972A1 (en) Detection of physical layer parameter of a master device in an ethernet network
JP2011035473A (en) Baud rate error detection circuit and baud rate error detection method
US20150234773A1 (en) Technique to avoid metastability condition and avoid unintentional state changes of legacy i2c devices on a multi-mode bus
US8675798B1 (en) Systems, circuits, and methods for phase inversion
US20150229432A1 (en) Full-duplex ethernet communications over coaxial links using time-division duplexing
CN112823496B (en) Frame masking unit, subscriber station for a serial bus system and method for communication in a serial bus system
US11824657B2 (en) Frame processing method and apparatus
CN107294731B (en) Switchable interface circuit for gigabit Ethernet controller
JP2014075634A (en) Communication system, communication speed automatic detector, communication device and communication speed setting method
CN210405365U (en) Multi-protocol aggregation transmission device and system
JP2008236217A (en) Flexray network connecting method, flexray network and electronic control unit for flexray network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150918

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160621

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161220