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 PDFInfo
- 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
Links
Images
Abstract
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は、端末装置と入出力装置の間の調歩同期伝送における通信速度の設定方式が開示されている。
特許文献1の技術では、追加先の通信システムの通信速度を、追加されるECUに、予め静的に設定しておく必要がある。一方、特許文献2の技術は、端末装置と入出力装置の間の初期化時に、端末装置から特定データを送出して、入出力装置側でその特定データをサンプリングする。入出力装置は、サンプリングして得られるパターンを、所定のパターンに対比させて通信速度を判定する方式である。
In the technique of
このように、特許文献1、2の技術では、通信速度を自動的に検出し、動的に設定することはできない。そのため、特許文献1、2の技術では、既に動作している通信システムに通信装置を追加するためには、ユーザが、追加する通信装置にマニュアル操作で所定の設定を行わなければならない。
As described above, the techniques of
特許文献2の技術を用いれば、動作中の通信システムの通信速度を判定することができる。しかし、通信路での信号波形の変動や多様な通信速度の組み合わせに対応するためには、変動する信号波形に対応できる各種のパターンをすべて用意しなければならないという課題がある。
If the technique of
本発明の目的は、上記の課題に鑑みてなされたもので、通信システムの通信速度を自動的に検知して、通信装置を追加する際の利便性を向上させた通信システム、通信速度自動検出装置、通信装置および通信速度設定方法を提供することにある。 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の実施形態)
本発明の第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
図1の通信システム1は、通信路10と、通信装置A101〜10n(nは1以上の整数)と、通信装置B110を備える。
The
通信装置A101〜10nは、既に通信路10を介して、相互に接続されている。通信装置B110は、通信システム1に新たに追加される通信装置である。
The communication devices A101 to 10n are already connected to each other via the
通信装置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
通信装置B110は、通信速度検出部12を備える。通信速度検出部12は、通信路10から受信した信号から、予め設定された通信速度検出用パターンを含む通信速度検出を行う部分信号を検知して、通信速度を検出する。
The communication device B110 includes a communication
図1を参照して、本発明の第1の実施形態の通信システム1の動作の説明を行う。通信システム1の通信装置A101の通信速度検出用パターン送出部11は、予め設定された通信速度検出用パターンを通信路10に送出する。
With reference to FIG. 1, operation | movement of the
通信装置B110は、通信路10に、新たに追加される。そのとき、通信装置B110の通信速度検出部12は、通信路10の信号を取り込み、予め設定された通信速度検出用パターンを含む部分信号の検出を開始する。そして、通信速度検出部12は、通信速度検出用パターンを含む部分信号を検出して、通信システム1の通信速度を確定し、通信速度以外の通信パラメータの自動設定を開始する。
The communication device B110 is newly added to the
図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
ここで、通信速度検出用パターン送出部11と通信速度検出部12は、図1にて説明したと同様の機能を有し、同一の名称、同一の番号を付記して、説明を省略する。
Here, the communication speed detection
通信コントローラ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
図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
通信装置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
通信速度検出部12は、受信信号RxA25およびRxB26から、通信装置A101として通信装置C120が送出する通信速度検出用パターンを含む部分信号の検出を開始する。そして、通信速度検出部12は、受信信号RxA25もしくはRxB26の中に部分信号を検出すると、検出した通信速度を示す通信速度検出信号をパラメータ設定部22に出力する。 パラメータ設定部22は、通信速度検出信号にしたがって、検出した通信速度を示すパラメータを設定する。そして、パラメータ設定部22は、通信コントローラ部21と自動コンフィギュレーション部23に、設定された通信速度のパラメータに基づいて通信速度を設定する通信速度設定信号を出力して、通信速度の設定を行う。
The communication
自動コンフィギュレーション部23は、通信速度の設定を受けて、バスドライバ24A、24Bからの受信信号RxA25およびRxB26のデータストリームを受信することが可能となる。そして、自動コンフィギュレーション部23は、受信信号RxA25およびRxB26のデータストリームから、通信装置A101が送出する通信パラメータを抽出して、通信コントローラ部21とパラメータ設定部22に通信パラメータを設定する。
The
そこで、通信コントローラ部21は、通信速度設定と通信パラメータ設定を完了して、バスドライバ24A、24Bを介して、通信チャネル10A、10B上のデータストリームの送受信を行うことが可能となる。
Therefore, the
パラメータ設定部22は、通信パラメータを保持する。
The
したがって、通信装置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
このように、通信装置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
図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
データフレーム51は、ヘッダ部52と、ペイロード部53と、CRC部54を含む。ヘッダ部52は、データフレーム51の種別を示す部分である。ペイロード部53は、通信装置A101〜10nがユーザとなって情報を時分割で送受信する部分である。CRC部54は、データフレーム51のチェックと誤り訂正に使用される部分である。
The
ペイロード部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
図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
図6の通信速度検出部12は、図3の通信速度検出部12に対応する。したがって、同一の構成については、同一の名称、同一の番号を付記して説明を省略する。
The communication
図6の通信速度検出部12は、通信速度検出部61Aと、通信速度検出部61Bと、上位通信部66を備える。通信速度検出部61Aは、受信信号RxA25から通信速度を検出して通信速度検出信号Aを出力する。通信速度検出部61Bは、受信信号RxB26から通信速度を検出して速度検出信号Bを出力する。上位通信部66は、通信速度検出部61Aの通信速度検出信号A、または、通信速度検出部61Bの通信速度検出信号Bを受けて、通信速度検出信号67を出力する。
The communication
通信速度検出部61Aは、サンプリング部62Aと、エッジ検出部63Aと、カウンタ部64Aと、パターン検出部65Aを備える。
The communication
サンプリング部62Aは、受信信号RxA25を、クロック信号60にてサンプリングし、サンプリング信号を出力する。
The
エッジ検出部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
パターン検出部65Aは、エッジ検出信号、エッジ種別信号、カウンタ出力信号を受けて、部分信号56を検出して、通信速度検出信号Aを出力する。
The pattern detection unit 65A receives the edge detection signal, the edge type signal, and the counter output signal, detects the
通信速度検出部61Bは、通信速度検出部61Aと同様の構成を備えるので、説明を省略する。
Since the communication
上位通信部66は、通信速度検出部61Aの通信速度検出信号A、または、通信速度検出部61Bの通信速度検出信号Bを受けて、通信速度検出信号67を出力する。
The host communication unit 66 receives the communication speed detection signal A of the communication
図6を参照して、通信速度検出部12の動作について説明する。
The operation of the communication
通信速度検出部61Aと通信速度検出部61Bとは、同一構成を備えるため、以下は、通信速度検出部61Aを例に説明する。
Since the
クロック信号60は、周波数が80MHzのクロックパルス信号で、全ブロックに供給される。
The
サンプリング部62Aは、受信信号RxA25をクロック信号60でサンプリングし、その結果をサンプリング信号としてエッジ検出部63Aに出力する。
The
エッジ検出部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
パターン検出部65Aは、通信チャネル10Aの受信信号RxA25をサンプリングしたサンプリング信号に、部分信号56が含まれているか、否かを判定する機能を備える。つまり、パターン検出部65Aは、サンプリング信号に部分信号56が含まれることを、エッジ検出信号、エッジ種別信号とカウンタ出力信号を使用して検知する。そして、パターン検出部65Aは、通信速度検出信号Aを上位通信部66に出力する。
The pattern detection unit 65A has a function of determining whether or not the
上位通信部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
このように、通信速度検出部12は動作して、通信速度を自動で検知することができる。
As described above, the communication
図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
通信速度検出部61Aのパターン検出部65Aは、受信信号RxA25のサンプリング信号をモニタリングする初期状態にある。
The pattern detection unit 65A of the communication
そして、状態遷移の条件としては、次の6つの条件がある。 And there are the following six conditions as the condition for the state transition.
1)条件10
立上りエッジが検出され、カウンタのカウント数が、7、8または9であること。
1)
A rising edge is detected, and the counter count is 7, 8, or 9.
2)条件11
立下りエッジが検出され、カウンタのカウント数が、7、8または9であること。
2)
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)
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レベルを検知する条件である。
図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
次に、立下りエッジを検出して、カウンタのカウント数が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
そして、立上りエッジを検出して、カウンタのカウント数が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
さらに、立下りエッジを検出して、カウンタのカウント数が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
また、立上りエッジを検出して、カウンタのカウント数が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
次に、立下りエッジを検出して、カウンタのカウント数が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
そして、立上りエッジを検出して、カウンタのカウント数が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
さらに、立下りエッジを検出して、カウンタのカウント数が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
この一連の状態遷移により、パターン検出部65Aは、部分信号56を検出した状態となり、そして、通信速度が10Mbpsであると判定した状態となる。
By this series of state transitions, the pattern detection unit 65A enters a state in which the
なお、各遷移において、カウンタ部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
同様に、パターン検出部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
そして、上位通信部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
このように、通信速度検出部12は、通信速度を自動的に検知することができる。
As described above, the communication
図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
パターン検出部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
T1にて、通信速度検出部61Aのエッジ検出部63Aは、サンプリング信号から、立下りエッジを検出して、カウンタリセット信号をカウンタ部64Aに出力する。T2にて、カウンタ部64Aは、カウンタリセット信号を受けて、カウンタ値を1にリセットする。リセット後、カウンタ64Aは、クロック信号60をカウントする。
At T1, the edge detection unit 63A of the communication
ここで、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
次に、通信速度検出部61Aは、このBSSの後段のLowに変化する立下りエッジと、それに続くLowレベルの受信動作について説明する。
Next, the communication
まず、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
次に、部分信号56の通信速度検出用パターンの1番目のHighレベルの検知の動作について説明する。
Next, the operation for detecting the first High level of the communication speed detection pattern of the
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
エッジ検出部62Aは、エッジ検出の1クロック後のT10で、エッジ検出信号とエッジ種別信号をパターン検出部65Aに出力する。このとき、エッジ種別信号は、立下りエッジ検出にてLowレベルとなる。T10で、パターン検出部65Aは、エッジ検出信号を検出し、エッジ種別信号をもとに立下りエッジであることと、カウンタ出力信号をもとにカウント値が8であることから、図7に示す条件11に一致すると判断する。そして、T11にて、パターン検出部65Aは、パターン検出状態を、R10Step1の状態からR10Step2の状態に遷移させる。これにより、部分信号56の通信速度検出用パターンの1番目のHighレベルの検知ができたこととなる。
The
次に、パターン検出部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
そして、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
これにより、パターン検出部65Aは、部分信号56の最後のHighレベルの検知ができたこととなる。そして、パターン検出部65Aは、受信信号RxA25から通信チャネル10Aの通信速度が、10Mbpsであると判定する。
As a result, the pattern detection unit 65A can detect the final High level of the
なお、各遷移において、カウンタ部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
同様に、パターン検出部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
そして、上位通信部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
以上説明したとおり、本実施形態では、通信システムに追加される通信装置が、通信システムの通信速度を自動的に検知して、通信パラメータを自動で設定する。したがって、本実施形態の通信システムは、通信装置を容易に追加することができ、利便性が高いという効果がある。
(第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
図9の通信システム2は、通信路10と、通信装置A101〜10nと、通信装置B110を備える。
The
通信装置A101〜10nは、既に通信路10を介して、相互に接続されている。通信装置B110は、通信システム2に新たに追加される通信装置である。
The communication devices A101 to 10n are already connected to each other via the
通信装置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
通信装置B110は、通信速度検出部12と装置追加送出部91を備える。装置追加送出部91は、通信装置B110が通信路10に接続された際に、装置追加信号を通信路10に送出する。
The communication device B110 includes a communication
第2の実施形態の通信システム2は、通信装置A101、通信装置B110に、それぞれ、装置追加検出部92、装置追加送出部91が追加されているところが、図1の第1の実施形態の通信システム1と相違している。同一の構成要素には、同一の名称、同一の番号を付記して説明を省略する。
In the
図9を参照して、本発明の第2の実施形態の通信システム2の動作の説明を行う。通信装置B110の装置追加送出部91は、通信装置B110が通信路10に接続された際に、装置追加信号を、通信路10に送出する。
With reference to FIG. 9, the operation of the
通信装置A101の装置追加検出部92は、通信路10から装置追加信号を受信する。そして、通信装置A101は、第1の実施形態で説明したものと同じ通信速度検出用パターンと通信パラメータを、通信路10に送信する。これにより、追加された通信装置B110は、第1の実施形態と同様に、通信速度を自動的に検知して、通信パラメータを取得し、他の通信装置A101〜10nと通信することが可能となる。
The device
そして、通信装置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
図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
装置追加送出部91と装置追加検出部92は、図9にて説明したものと同じである。
The device addition sending unit 91 and the device
信号ライン10Cは、装置追加送出部91の送出した装置追加信号を、他の通信装置D130の装置追加検出部92に伝える。
The signal line 10C transmits the device addition signal sent from the device addition sending unit 91 to the device
図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
自装置信号を受けた通信速度検出部12は、通信速度検出動作を開始する。また、自装置信号を受けた装置追加検出部92は、装置検出動作を停止する。
The communication
通信路10に追加された通信装置D130の装置追加信号は、通信路10の信号ライン10Cを介して、他の通信装置D130伝えられる。
The device addition signal of the communication device D130 added to the
通信装置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
通信速度検出用パターン送出部11は、装置追加検出信号を受けて、通信速度検出用パターンの送出を開始する。パラメータ設定部22は、通信パラメータの送出を開始する。
Upon receiving the device addition detection signal, the communication speed detection
通信装置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
なお、追加された通信装置D130は、通信が可能となった時点で、通信コントローラ部21から通信設定完了信号を装置追加送出部91に出力する。装置追加送出部92は、通信設定完了信号を受けて、装置追加信号と自装置信号の出力を停止する。自装置信号の出力の停止にて、通信速度検出部12は、通信速度検出の動作を停止する。そして、装置追加検出部92は、装置検出の動作を開始する。
Note that the added communication device D130 outputs a communication setting completion signal from the
一方、通信装置A101としての通信装置D130の装置追加検出部92は、信号ライン10Cを介して、装置追加信号の送出の停止を受けて、装置追加検出信号の出力を停止する。これにより、通信速度検出用パターン送出部11は、通信速度検出用パターンの送出を停止する。パラメータ設定部22は、通信パラメータの送出を停止する。
On the other hand, the device
このように、本実施形態では、追加された通信装置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
以上説明したとおり、本実施形態は、通信路10への装置追加の際にのみ、必要となる情報を送出し、必要となる通信装置の各部位を動作させることで、通信システムの利便性を向上し、通信の効率化とシステムの低消費電力化を図ることができる。
As described above, this embodiment increases the convenience of the communication system by transmitting necessary information only when adding a device to the
なお、本願発明は、上述の各実施形態に限定されるものではなく、本願発明の要旨を逸脱しない範囲で種々変更、変形して実施することができる。 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
さらに、前述のように、既存の通信システムを構成する通信装置の少なくとも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
追加される通信装置は、通信路10から、通信速度検出用パターンを含む信号を受信して通信速度を自動的に検出し、その後、通信路10から通信パラメータを取得する機能を備える。
The added communication device has a function of receiving a signal including a communication speed detection pattern from the
本実施形態では、通信速度を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
このとき、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
26 Received signal RxB
51
110 Communication device B
120 Communication device C
130 Communication device D
Claims (10)
前記通信路から受信した前記パターンを所定の間隔でサンプリングして、通信速度を検知する検知手段を備える第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から請求項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.
第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.
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)
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 |
-
2012
- 2012-10-02 JP JP2012220564A patent/JP2014075634A/en active Pending
Patent Citations (4)
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 |