JP6033877B2 - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- JP6033877B2 JP6033877B2 JP2014537871A JP2014537871A JP6033877B2 JP 6033877 B2 JP6033877 B2 JP 6033877B2 JP 2014537871 A JP2014537871 A JP 2014537871A JP 2014537871 A JP2014537871 A JP 2014537871A JP 6033877 B2 JP6033877 B2 JP 6033877B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- data
- training pattern
- length
- string
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
Description
本発明は、通信装置に関するものであり、特に伝送されるデータの構成に関するものである。 The present invention relates to a communication apparatus, and more particularly to a configuration of transmitted data.
通信装置間で通信を行う際に、伝送されるデータの内容によってはデータ列に“0”もしくは“1”が連続する場合がある。この場合、同じビット値のデータの連続が途切れビット値が反転する際、反転信号が鈍ってしまうおそれがある。この鈍りにより信号のレベルが反転のレベルに到達する前にデータの取り込みが行われてしまう結果、ビット値を誤って認識してしまうおそれがある。 When communication is performed between communication apparatuses, “0” or “1” may continue in the data string depending on the content of the transmitted data. In this case, when the data having the same bit value is interrupted and the bit value is inverted, the inverted signal may be dull. Due to this blunting, data is taken in before the signal level reaches the inversion level, and as a result, the bit value may be erroneously recognized.
これを避けるため、伝送路を伝播するデータにスクランブルをかけることで同一ビット値の連続を制限することがある。例えば、“0”もしくは“1”データのようにデータが全て同じ値であるときに、データにスクランブルをかけることで、“0”もしくは“1”データの偏りを分散させる技術が従来より知られている。スクランブル技術としては、対象となるデータと予め用意されたビット列であるスクランブルパターンとの排他的論理和(ExOR)を、論理演算回路などにより求めるものが開示されている(特許文献1など)。
In order to avoid this, the continuity of the same bit value may be limited by scrambling the data propagating through the transmission path. For example, when all data has the same value, such as “0” or “1” data, a technique for distributing the bias of “0” or “1” data by scrambling the data has been conventionally known. ing. As a scramble technique, a technique for obtaining an exclusive OR (ExOR) between target data and a scramble pattern, which is a bit string prepared in advance, by a logical operation circuit or the like is disclosed (
また、通信において、リードソロモン符号を用いることにより、受信データに発生した誤りバーストを修正する技術が、従来より知られている(特許文献5など)。 In addition, a technique for correcting an error burst generated in received data by using a Reed-Solomon code in communication has been known (Patent Document 5 and the like).
特許文献1などに記載されている技術では、スクランブルされたデータ(スクランブルデータ)に通信伝送路を伝送中にランダム誤りによるエラービットを含む場合、デコード処理により復号されるデータ(復号データ)に含まれるエラービット数は、スクランブルデータのエラービット数より増加してしまう恐れがある。スクランブルにより、元のデータはビットの並びが大きく異なるデータ列に変換されるため、スクランブルデータにエラービットが発生すると、対応する復号データは元のデータとは大きく異なるデータ列となってしまう場合があるからである。その結果、復号データは元のデータに対して多数のエラービットを含むこととなり、スクランブルデータに発生するエラービットより多数のエラービットを含む場合がある。
In the technique described in
そこで、デコード処理により増加したエラービットを訂正するため、特許文献5などに記載されているリードソロモン符号を用いることが考えられる。しかしながら、一般的に、複数ビットの誤り訂正には、エラー訂正処理にかかる遅延時間が長くなる。よって、サーボモータなどの駆動制御等の迅速な応答が必要な場合には、遅延時間が長い複数ビットの誤り訂正を適用することが困難である。 Therefore, it is conceivable to use a Reed-Solomon code described in Patent Document 5 or the like in order to correct error bits increased by the decoding process. However, in general, in the case of error correction of a plurality of bits, a delay time required for error correction processing becomes long. Therefore, when a quick response such as drive control of a servo motor or the like is required, it is difficult to apply multi-bit error correction with a long delay time.
本発明は、このような実情に鑑みてなされたものであり、通信装置間で通信を行う際に、伝送路上に発生するランダム誤りの検出・訂正機能を備えていればデータにスクランブルをかけることなく所定のビットエラーレートを確保することができ、データ処理にかかる遅延を低減することが可能な通信装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and scrambles data if it has a function of detecting and correcting random errors occurring on a transmission line when communicating between communication apparatuses. It is an object of the present invention to provide a communication apparatus that can ensure a predetermined bit error rate and reduce a delay in data processing.
上記課題を解決するために、本願の請求項1に記載の通信装置は、付加データ付与部と、付加データ除去部とを備える。付加データ付与部は、伝送対象のデータのビット長N毎に、ビット長Nのデータでの同一ビット値の連続性を遮断する付加データを挿入する。付加データ除去部は、送信データから付加データを除去してデータを再生する。
In order to solve the above-described problem, a communication apparatus according to
また、付加データは前続するビット長Nのデータにおける最後尾ビットあるいは後続するビット長Nのデータにおける先頭ビットとは相補の関係にある単ビットデータである。 Also, with pressure data is a single bit data are complementary to the first bit in the data of the last bit or subsequent bit length N of the data before connection to the bit length N.
また、制御部を備える。制御部は、送信手段と、受信手段と、判定手段とを備え、データ伝送に先立って、予め定められたトレーニングパターンデータによりビット長Nを決定するトレーニングルーチンを制御する。送信手段は、トレーニングパターンデータを送信する。受信手段は、送信部により送信されるトレーニングパターンデータを受信する。トレーニングパターンデータは、同じビット値が連続するビット列が、ビット列とは相補の関係にある少なくとも1ビットを挟んで、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータである。判定手段は、受信部により受信されるトレーニングパターンデータにより、連続するビット列(ビット長(X))(X=1以上の整数)毎に、その後段に配置される単ビットのエラーを検出して、ビット長Xのビットエラーレートを算出し、ビット長Nを決定する。 In addition, it equipped with a control section. The control unit includes a transmission unit, a reception unit, and a determination unit, and controls a training routine for determining the bit length N using predetermined training pattern data prior to data transmission. The transmission means transmits training pattern data. The receiving means receives the training pattern data transmitted by the transmitting unit. The training pattern data is data in which a bit string in which the same bit value is continuous is arranged such that the number of consecutive bits is increased or decreased by 1 bit with at least one bit having a complementary relationship with the bit string interposed therebetween. The determination means detects a single bit error arranged in the subsequent stage for each continuous bit string (bit length (X)) (X = 1 or more integer) based on the training pattern data received by the receiving unit. The bit error rate of bit length X is calculated, and the bit length N is determined.
また、請求項2に記載の通信装置において、トレーニングパターンデータは、同じビット値が連続するビット列が、ビット列とは相補の関係にある単ビットを挟んで、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータである Further, in the communication device according to claim 2 , the training pattern data includes a bit string in which the same bit value is continuous, and the number of continuous bits should be increased by one bit with a single bit having a complementary relationship with the bit string interposed therebetween, or It is data that should line up
また、請求項3に記載の通信装置において、トレーニングパターンデータは、ビット値が互いに相補の関係にあり、各々のビット値の連続ビット数が同数に並ぶビット列がペアをなし、ビット列のペアごとに、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータである。 Further, in the communication device according to claim 3 , the training pattern data has a bit value complementary to each other, and a bit string in which the number of consecutive bits of each bit value is the same number forms a pair, and for each pair of bit strings This is data in which the number of consecutive bits is increased or decreased by 1 bit.
また、請求項4に記載の通信装置において、トレーニングルーチンは、トレーニングパターンデータを所定回数伝送し、連続するビット列毎に、その後段に配置される単ビットがエラーする回数を積算して連続するビット列毎にビットエラーレートを算出し、算出されたビットエラーレートが規定のレート以下であるもののうち、最長のビット列をビット長Nとする。 5. The communication device according to claim 4 , wherein the training routine transmits the training pattern data a predetermined number of times, and for each successive bit string, accumulates the number of times that a single bit arranged in the subsequent stage has an error and continues the bit string. The bit error rate is calculated every time, and the longest bit string among the calculated bit error rates equal to or less than the specified rate is defined as the bit length N.
また、本願の請求項5に記載の電子部品装着装置は、電子部品の基板への実装作業に係る各種のデータを伝送する。電子部品装着装置は、付加データ付与部と、付加データ除去部とを備える。付加データ付与部は、伝送対象のデータのビット長N毎に、ビット長Nのデータでの同一ビット値の連続性を遮断する付加データを挿入する。付加データ除去部は、送信データから付加データを除去してデータを再生する。
また、付加データは前続するビット長Nのデータにおける最後尾ビットあるいは後続するビット長Nのデータにおける先頭ビットとは相補の関係にある単ビットデータである。
また、制御部を備える。制御部は、送信手段と、受信手段と、判定手段とを備え、データ伝送に先立って、予め定められたトレーニングパターンデータによりビット長Nを決定するトレーニングルーチンを制御する。送信手段は、トレーニングパターンデータを送信する。受信手段は、送信部により送信されるトレーニングパターンデータを受信する。トレーニングパターンデータは、同じビット値が連続するビット列が、ビット列とは相補の関係にある少なくとも1ビットを挟んで、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータである。判定手段は、受信部により受信されるトレーニングパターンデータにより、連続するビット列(ビット長(X))(X=1以上の整数)毎に、その後段に配置される単ビットのエラーを検出して、ビット長Xのビットエラーレートを算出し、ビット長Nを決定する。
Moreover, the electronic component mounting apparatus according to claim 5 of the present application transmits various data related to the mounting operation of the electronic component on the substrate. The electronic component mounting apparatus includes an additional data adding unit and an additional data removing unit. For each bit length N of the data to be transmitted, the additional data adding unit inserts additional data that blocks the continuity of the same bit value in the bit length N data. The additional data removing unit removes the additional data from the transmission data and reproduces the data.
The additional data is single-bit data complementary to the last bit in the preceding bit length N data or the leading bit in the following bit length N data.
A control unit is also provided. The control unit includes a transmission unit, a reception unit, and a determination unit, and controls a training routine for determining the bit length N using predetermined training pattern data prior to data transmission. The transmission means transmits training pattern data. The receiving means receives the training pattern data transmitted by the transmitting unit. The training pattern data is data in which a bit string in which the same bit value is continuous is arranged such that the number of consecutive bits is increased or decreased by 1 bit with at least one bit having a complementary relationship with the bit string interposed therebetween. The determination means detects a single bit error arranged in the subsequent stage for each continuous bit string (bit length (X)) (X = 1 or more integer) based on the training pattern data received by the receiving unit. The bit error rate of bit length X is calculated, and the bit length N is determined.
請求項1に記載の通信装置、および請求項5に記載の電子部品装着装置では、伝送対象のデータのビット長N毎に付加データを挿入することで、ビット長Nのデータでの同一ビット値の連続性を遮断する。よって、同じビット値のデータが連続した後の反転ビットに生じる、信号反転の遅延を低減できる。これにより、信号レベルが反転のレベルに到達する前にデータを取り込んでしまいビット値を誤認識する不具合を抑制し、所定のビットエラーレートを確保することが可能となる。
また、請求項1に記載の通信装置、および請求項5に記載の電子部品装着装置では、付加データ付与部により、伝送対象のデータに付加データを挿入することで送信データを生成し、付加データ除去部により、送信データから付加データを除去してデータを再生する。これにより、データ伝送に際しデータにスクランブルを行なわないため、データ処理にかかる遅延を低減することが可能となる。また、スクランブル用の回路も不要となり、これに伴い電流消費を低減することができる。
In the communication device according to
In the communication device according to
また、前に続くビット長Nのデータにおける最後尾ビットあるいは後続するビット長Nのデータにおける先頭ビットとは相補の関係にある単ビットデータを付加データにすることで、同一ビット値のデータの連続性を遮断することが可能となる。 Further, by adding single-bit data complementary to the last bit in the preceding bit length N data or the leading bit in the following bit length N data, the data of the same bit value can be continued. It becomes possible to block sex.
また、同じビット値が連続するビット列が、ビット列とは相補の関係にある少なくとも1ビットを挟んで、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶトレーニングパターンデータを伝送路に伝播する。受信されるトレーニングパターンデータに備えられ、連続するビット列(ビット長(X))(X=1以上の整数)毎に、その後段に配置される単ビットのエラーを検出することで、ビット長Xのビットエラーレートを算出することが可能となる。
通信装置。
In addition, a bit string in which the same bit value is continuous propagates training pattern data in which the number of consecutive bits is increased or decreased by 1 bit across the transmission line with at least one bit having a complementary relationship with the bit string. The bit length X is detected by detecting a single bit error arranged in the subsequent stage for each successive bit string (bit length (X)) (X = 1 or greater integer), which is provided in the received training pattern data. It is possible to calculate the bit error rate.
Communication device.
請求項2に記載の通信装置において、トレーニングパターンデータによって、連続するビット列毎に、その後段に配置される単ビットのエラーを検出することが可能となる。 In the communication apparatus according to claim 2 , it is possible to detect a single-bit error arranged in the subsequent stage for each continuous bit string by the training pattern data.
請求項3に記載の通信装置において、トレーニングパターンデータによって、連続するビット列毎に、“0”から“1”に遷移する際のビットエラーと“1”から“0”に遷移する際のビットエラーの両方を検出することが可能となる。 4. The communication apparatus according to claim 3 , wherein a bit error at the time of transition from “0” to “1” and a bit error at the time of transition from “1” to “0” for each continuous bit string according to the training pattern data. Both of them can be detected.
請求項4に記載の通信装置では、トレーニングパターンデータを所定回数伝送し、連続するビット列毎に、その後段に配置される単ビットがエラーする回数を積算することで連続するビット列毎にビットエラーレートを算出する。算出されたビットエラーレートが規定のレート以下であるもののうち、最長のビット列をビット長Nとすることが可能となる。 5. The communication apparatus according to claim 4, wherein the training pattern data is transmitted a predetermined number of times, and the bit error rate for each successive bit string is accumulated for each successive bit string by accumulating the number of times that a single bit arranged in the subsequent stage has an error. Is calculated. Among the calculated bit error rates that are equal to or less than the prescribed rate, the longest bit string can be set to the bit length N.
以下、本発明を実施するための形態として、本発明の実施例を、図を参照しつつ詳しく説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as modes for carrying out the present invention.
<対基板作業機の構成>
図1および図2に、本発明の実施例の対基板作業機(以下、「作業機」と略す場合がある)10を示す。図1は、作業機10の斜視図であり、図2は、作業機10を上方からの視点において示した概略平面図である。作業機10は、回路基板12に対して回路部品の装着作業を行う回路部品装着機であり、回路基板12を搬送する搬送装置14と、回路基板12に対して回路部品を装着する作動ヘッド16と、その作業ヘッド16を移動させる移動装置18と、回路部品を供給する1対の供給装置20、22とを備えている。
<Configuration of substrate working machine>
1 and 2 show a substrate working machine (hereinafter, sometimes abbreviated as “working machine”) 10 according to an embodiment of the present invention. FIG. 1 is a perspective view of the
搬送装置14は、1対のコンベアベルト24を有しており、それら1対のコンベアベルト24を電磁モータ26によって周回させることで、コンベアベルト24に支持される回路基板12を搬送する。それら1対のコンベアベルト24の一方は、ベース28に固定され、他方は、搬送装置14による回路基板12の搬送方向に直角な方向に移動させることが可能である。搬送装置14は、基板保持装置32を有しており、所定の位置(図2での回路基板12が図示されている位置)において回路基板12を固定的に保持する。なお、本実施例では、搬送装置14による回路基板12の搬送方向(図2における左右方向)をX軸方向とし、その方向に直角な方向をY軸方向と称し、説明を行う。
The
作業ヘッド16は、搬送装置14によって保持された回路基板12に対して回路部品を装着するものである。吸着ノズル34は、正負圧供給装置36(図3参照)を介して負圧エア、正圧エア通路に通じており、負圧にて回路部品を吸着保持し、僅かな正圧が供給されることで保持した回路部品を離脱させる。作業ヘッド16は、吸着ノズル34を昇降させるノズル昇降装置38(図3参照)および吸着ノズル34をそれの軸心回りに自転させるノズル自転装置40(図3参照)を有しており、保持する回路部品の上下方向の位置および回路部品の保持姿勢を変更することが可能である。
The
作業ヘッド16は、移動装置18によって、ベース28上の任意の位置に移動可能である。詳しく言えば、移動装置18は、作業ヘッド16をX軸方向に移動させるためのX軸方向スライド機構50と、作業ヘッド16をY軸方向に移動させるためのY軸方向スライド機構52とを備えている。X軸方向スライド機構50は、X軸方向に移動可能にベース28上に設けられたX軸スライダ54と、駆動源としての電磁モータ56(図3参照)とを有しており、その電磁モータ56によって、X軸スライダ54がX軸方向の任意の位置に移動可能である。また、Y軸方向スライド機構52は、Y軸方向に移動可能にX軸スライダ54の側面に設けられたY軸スライダ58と、駆動源としての電磁モータ60(図3参照)とを有しており、その電磁モータ60によって、Y軸スライダ58がY軸方向の任意の位置に移動可能とされている。そして、そのY軸スライダ58に作業ヘッド16が取り付けられることで、作業ヘッド16は、移動装置18によって、ベース28上の任意の位置に移動可能である。
The
また、1対の供給装置20、22は、搬送装置14を挟むようにして、ベース28のY軸方向における両側部に配設されている。それら1対の供給装置20、22の一方は、フィーダ型の供給装置20とされており、他方は、トレイ型の供給装置22とされている。フィーダ型の供給装置20は、テーピング化された回路部品を保持して1つずつ回路部品を送り出すテープフィーダ70を複数有しており、それら複数のテープフィーダ70の各々によって、作業ヘッド16への供給位置に回路部品を供給する。一方、トレイ型の供給装置22は、複数の回路部品が載置された部品トレイ72を複数有しており、それら複数の部品トレイ72のうちの任意のものをトレイ移動機構74(図3参照)によって作業ヘッド16への供給位置に移動させる。
The pair of
なお、各供給装置20、22は、供給するべき回路部品の不足、回路部品の種類の交換等に対応するべく、ベース28に着脱可能とされており、各供給装置20、22がベース28に取り付けられた状態を維持するため、つまり、各供給装置20、22をベース28に固定するための供給装置固定機構76、78(図3参照)が設けられている。各供給装置固定機構76、78は、供給装置20、22をベース28から取り外せないようにロックした状態と、そのロックを解除した状態とで切換可能とされている。つまり、供給装置20、22の交換が禁止された状態と許容された状態とで切換可能である。
The
また、作業機10は、マークカメラ80(図3参照)およびパーツカメラ82(図3参照)を備えている。マークカメラ80は、下方を向いた状態でY軸スライダ58の下面に固定されており、移動装置18によって移動させられることで、回路基板12の表面を任意の位置において撮像することが可能である。一方、パーツカメラ82は、上を向いた状態で設けられており、作業ヘッド16の有する吸着ノズル34によって吸着保持された回路部品を撮像することが可能である。マークカメラ80によって得られた画像データおよび、パーツカメラ82によって得られた画像データは、画像処理装置84(図3参照)において処理され、回路基板12に関する情報、基板保持装置32による回路基板12の保持位置誤差、吸着ノズル34による回路部品の保持位置誤差等が取得される。
The
さらに、作業機10は、図3に示すように、制御装置90を備えている。制御装置90は、CPU、ROM、RAM等を備えたコンピュータを主体とするコントローラ92と、上記電磁モータ26、56、60、コンベア幅替機構30、基板保持装置32、正負圧供給装置36、ノズル昇降装置38、ノズル自転装置40、テープフィーダ70、トレイ移動機構74、供給装置固定機構76、78の各々に対応する複数の駆動回路94と、表示装置86、88の制御回路96とを備えている。コントローラ92には、マークカメラ80およびパーツカメラ82によって得られた画像データを処理する画像処理装置84が接続されている。
Furthermore, the
また、コントローラ92には、各駆動回路94を介して搬送装置14、移動装置18、装着ヘッド16、フィーダ型供給装置20、トレイ供給装置22、供給装置固定機構76、78等の各装置に対して駆動制御指令が発せられ、各装置の作動を制御する。また、各装置に備えられている不図示のセンサ等から発せられる位置情報やトルク情報等の各装置の可動状況に関する駆動制御情報がコントローラ92に送られる。
In addition, the
また、作業機10には、図1に示すように、Y軸方向における両側面に1対の表示装置86、88が設けられている。各表示装置86、88は、作業ヘッド16等による装着作業に関する情報であり、タッチパネル式の表示装置である。コントローラ92には、表示装置86、88が接続されており、表示装置86、88に表示される選択・操作ボタン105の操作結果が入力される。また、制御回路96を介して各種情報が表示される。
In addition, as shown in FIG. 1, the
移動装置18には光無線装置3が備えられている。光無線装置3は光無線装置1との間で光無線伝送を行う。光無線装置1は制御装置90側に備えられている。光無線装置3は、光無線装置1との間で光軸が一致するように移動装置18のX軸スライダ54に設けられる。これにより、光無線装置1と光無線装置3との間で、画像データ、各装置への駆動制御指令や各装置からの駆動制御情報、選択・操作ボタン105等の入力装置からの入力情報、さらには表示装置86、88への各種表示情報等のデータが、レーザ光による光無線伝送により、移動装置18と制御装置90との間で行われる。
The
ここで、画像データとは、画像処理装置84によって処理されるデータである。回路基板12に関する情報、回路基板12の保持位置情報、吸着ノズル34による吸着情報等の情報である。
Here, the image data is data processed by the
図4は、作業機10が備える光無線装置1、3の構成を模式的に示す図である。図4では、光無線の一例として、制御装置90と各装置のうち駆動モータ56、60(図4において、電磁モータMと表記)との間に光無線装置1、3を設けた構成を模式的に示す図である。
FIG. 4 is a diagram schematically illustrating the configuration of the
制御装置90は、PC等のコンピュータシステムで構成されるコントローラ92により制御される。駆動制御ボード90Aは、電磁モータMを駆動制御する際の指令である駆動制御動作指令や、電磁モータMからフィードバックされる位置情報やトルク情報などの駆動制御情報の入出力を制御するボードである。コントローラ92は、駆動制御ボード90Aを介して、光無線装置1が接続されている伝送路7の一端に接続されている。伝送路7においてレーザ光による光無線伝送が行われる。伝送路7の他端は光無線装置3を介して、電磁モータMに接続されている。
The
図5は、光無線装置1、3のうち、制御装置90側に備えられる光無線装置1について例示するブロック図である。光無線装置1と同様の機能ブロックを備えることから、電磁モータM側に備えられる光無線装置3のブロック図は省略する。
FIG. 5 is a block diagram illustrating the
まず、データの入力側から説明する。駆動制御ボード90Aから出力されるデータは、制御部100に入力される。制御部100は、光無線装置1の通信モードとトレーニングモードとの切替を行なう。通信モードとは、通常の通信を行うモードである。光無線装置1、3間でデータの光無線伝送を行なう。トレーニングモードとは、伝送されるデータが“0”もしくは“1”の同じビット値で連続させることが可能なビット長を決定するモードである。データ伝送に際し、同じビット値が連続した後にビット値が反転すると、連続するビット長によっては、その後に反転したビット値のレベル遷移が遅延してしまう現象がある。この現象が強く出てしまうと反転ビットのビット値を正しく認識できずビットエラーを招来してしまう恐れがある。トレーニングモードでは、予め定められたビットエラーレートに収まるビット長Nを決定するものである。光無線通信の通信環境に応じて連続可能なビット長は変動するため、実機においてトレーニングパターンを伝送して、エラーレートを実測することにより決定する。同じビット値を順次、昇べきあるいは降べきに1ビットずつ連続ビット数を増加あるいは減少させたテストビット列を生成し、テストビット列の間に反転ビットを挿入してトレーニングパターンデータとする。この場合、そして、反転ビットのビットエラーレートを検出する。ビットエラーレートの検出は連続するビット列のビット長ごとに付随する反転ビット毎に行なわれる。検出されたビットエラーレートが規定のレート以下であるもののうち、最長のビット長をビット長Nとして決定する。
First, the data input side will be described. Data output from the
通信モードにおいて、制御部100は、駆動制御ボード90Aから光無線装置1に入出力されるデータの制御を行い、データが入力される場合には、データを誤り訂正符号付与部101に出力する。また、制御部100は、後述するトレーニングモードで決定されたビット長Nを反転ビット付与部103および反転ビット除去部104に設定する。
In the communication mode, the
制御部100から出力されるデータは、誤り訂正符号付与部101において誤り訂正符号が付与された上で、反転ビット付与部103に出力される。誤り訂正符号付与部101は、伝送により発生するデータのビットエラーを訂正する誤り訂正符号を付与する。誤り訂正符号により、伝送路7のデータ伝送によって発生するビットエラーレートを所定値以下に抑えることで、伝送路7間の通信品質が保たれる。
The data output from the
誤り訂正符号付与部101において誤り訂正符号が付与されたデータは、反転ビット付与部103に出力される。反転ビット付与部103は、入力されるデータのNビット毎に反転ビットを挿入する。反転ビット付与部103における、反転ビットの挿入について説明する。反転ビット付与部103は、データに同期するクロック信号の遷移を数えることで、データのビット長を計測する。N回目のクロック信号の遷移を数えることでビット長Nを計測し、N回目のクロック信号に同期するデータのビット値とは相補の関係にある反転ビットを生成する。そして、反転ビットは、(N+1)回目のクロック信号に同期する位置に挿入される。反転ビット付与部103は、(N+1)回目のクロック信号の遷移ごとに反転ビットの挿入を繰り返す。反転ビットが挿入されたデータは、反転ビット付与部103に備えられる不図示の出力バッファを介して受発光モジュール105に出力される。これにより、同一のビット値が連続した後の反転ビットにおける遷移遅延に伴うビットエラーを規定のビットエラーレート以下に抑えることができ、先に説明した誤り訂正符号付与部101による伝送路7でのビットエラーレートの抑制と併せて通信品質を維持することができる。
The data to which the error correction code is added by the error correction
受発光モジュール105は、反転ビット付与部103から出力されたデータを光信号に変換して、図示しない発光部から伝送路7に送信する。
The light emitting / receiving
次に、光信号の入力側を説明する。伝送路7を伝送した光信号は受発光モジュール105の受光部(不図示)で受光されて電気信号であるデータに変換される。
Next, the input side of the optical signal will be described. The optical signal transmitted through the
受発光モジュール105から出力されるデータは反転ビット除去部104に入力される。反転ビット除去部104は、入力されるデータの(N+1)ビット毎に付与されている反転ビットを除去し、誤り訂正符号が付与されたデータを再生する。反転ビット除去部104における、反転ビットの除去について説明する。反転ビット除去部104は、反転ビット付与部103と同様に、データに同期するクロック信号の遷移を数えることで、データのビット長を計測する。(N+1)回目のクロック信号に同期するデータは、反転ビット付与部103で付与された反転ビットである。反転ビット除去部104は、(N+1)回目のクロック信号の遷移ごとに反転ビットの除去を繰り返す。再生されたデータは、反転ビット除去部104に備えられる不図示の出力バッファを介して誤り訂正復号部102に出力される。
Data output from the light emitting / receiving
再生されたデータは、誤り訂正復号部102により誤りの検出および訂正が行われる。誤り訂正されたデータは制御部100に出力される。制御部100は、データを駆動制御ボード90Aに出力する。
The reproduced data is subjected to error detection and correction by the error
図6は、トレーニングモードにおけるトレーニングルーチンの処理のフローチャートである。ステップS0で、制御装置90は、例えば表示装置86、88に表示される選択・操作ボタン105から、トレーニングモードのコマンドを受付ける。トレーニングモードのコマンドは、制御装置90側に備えられる光無線装置1に入力され、同時に伝送路7を介して電磁モータM側に備えられる光無線装置3にも入力される。
FIG. 6 is a flowchart of the training routine process in the training mode. In step S0, the
次に、制御装置90は、光無線装置1、3をトレーニングモードに設定する(S2)。このとき、制御装置90側に備えられる光無線装置1を送信側、電磁モータM側に備えられる光無線装置3を受信側に設定する。光無線装置1、3に備える誤り訂正符号付与部101、誤り訂正復号部102、反転ビット付与部103、および反転ビット除去部104における動作を休止させ、入力されるデータに処理を加えず出力するように設定する。同様に、光無線装置3では、誤り訂正符号付与部101、誤り訂正復号部102、反転ビット付与部103、および反転ビット除去部104における動作を休止させ、受発光モジュール105で受光した光信号を、制御部100を介して光無線装置1に送り返すように設定する。この設定により、後述するトレーニングパターンデータは、ループバックが行なわれ、光無線装置1から送信され、光無線装置3を介して、光無線装置1に戻される。
Next, the
トレーニングモードにおいてループバックを行なうことで、トレーニングルーチンにおけるビット長Nの決定等の処理を制御装置90で行なうことができる。また、トレーニングパターンデータは、光無線装置1、3の間を伝送路7を介して往復して送受信される。これにより、伝送路7の往復それぞれの方向におけるエラーを網羅することができる。伝送路7だけでなく、光無線装置1、3の各々に備えられる受発光部105の受光部、発光部やその他の回路におけるエラー状況をも網羅したビットエラーレートを算出することができる。
By performing loopback in the training mode, the
次に、送信側である光無線装置1は、制御部100に記憶されているトレーニングパターンデータを、光無線装置3に向けて送信する(S4)。受信側である光無線装置3は、受信したトレーニングパターンデータを、再度、光無線装置1に向けて送信する(S6)。送信側である光無線装置1は、トレーニングパターンデータを受信する(S8)。光無線装置1に受信されたトレーニングパターンデータは、光無線装置1の制御部100に入力される。
Next, the
図7A、図7B、および図7Cは、のトレーニングパターンデータを示す図である。図7A、および図7Bに示す1つ目のトレーニングパターンデータは、同じビット値が連続するテストビット列と、テストビット列とは相補の関係にあって、テストビット列の間に挿入される1ビットの反転ビットを備える。テストビット列は、反転ビットが挿入される度に連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶ。テストビット列の長さは、最小値の1ビットから、光無線装置1、3がビット長Nの決定ができる程度に十分に大きなビット値まで連続してビット数が増加する構成である。
7A, 7B, and 7C are diagrams showing the training pattern data. The first training pattern data shown in FIG. 7A and FIG. 7B is an inversion of 1 bit inserted between the test bit strings because the test bit string having the same bit value and the test bit string are complementary to each other. With bits. The test bit string is arranged so that the number of consecutive bits increases or decreases by one bit every time an inverted bit is inserted. The length of the test bit string is a configuration in which the number of bits continuously increases from a minimum value of 1 bit to a bit value large enough to allow the
図7Aは、1つ目のトレーニングパターンデータを示す図である。図7Aでは、テストビット列に含まれるビット値を“0”とし、反転ビットのビット値を“1”とする。まず、ビット値が“0”である1ビットのテストビット列の後に反転ビットである“1”挿入される。反転ビットの後には、1ビット昇べきして“0”が2ビット連続するテストビット列が続き、その後に反転ビット“1”が挿入される。以降同様に、反転ビット“1”を挟み、“0”の連続数が1ビットごとに増加しながら、連続数が順次増大して続いていく。一方、図7Bの、1つ目のトレーニングパターンデータの別例では、テストビット列に含まれるビット値を“1”とし、反転ビットのビット値を“0”とする。この場合も、同様に、ビット値が“1”である1ビットのテストビット列の後に反転ビットである“0”挿入される。反転ビットの後には、1ビット昇べきした2ビットの“1”が連続してテストビット列が続き、以下同様に連続する。 FIG. 7A is a diagram showing first training pattern data. In FIG. 7A, the bit value included in the test bit string is “0”, and the bit value of the inverted bit is “1”. First, an inverted bit “1” is inserted after a 1-bit test bit string whose bit value is “0”. The inverted bit is followed by a test bit string in which 1 bit is incremented and “0” continues for 2 bits, and then the inverted bit “1” is inserted. In the same manner, the number of consecutive “0” s continues to increase in succession while the number of consecutive “0” s increases every bit while sandwiching the inverted bit “1”. On the other hand, in another example of the first training pattern data in FIG. 7B, the bit value included in the test bit string is set to “1”, and the bit value of the inverted bit is set to “0”. In this case as well, “0” which is an inverted bit is inserted after the 1-bit test bit string whose bit value is “1”. The inverted bit is followed by 2 bits “1”, which is increased by 1 bit, followed by a test bit string, and so on.
図7Cは、2つ目のトレーニングパターンデータを示す図である。図7Cでは、ビット値“0”、“1”のそれぞれが同じビット数で並ぶ“0”のテストビット列と“1”のテストビット列とをペアとするテストビット列である。ペアごとに、“0”、“1”の連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶ。2つ目のトレーニングパターンデータでは、テストビット列は、“0”のビット列の連続の後に、その反転ビットである“1”のビット列が始まり、“1”のビット列の連続の後に、その反転ビットである“0”のビット列が始まる。2つ目のトレーニングパターンデータにおける“0”、“1”の各々のテストビット列の先頭ビットは、1つ目のトレーニングパターンデータの反転ビットに相当する。また、図7A、図7Bと同様に、テストビット列の長さは、最小値の1ビットから、光無線装置1、3がビット長Nの決定ができる程度に十分に大きなビット値まで連続してビット数が増加する構成である。2つ目のトレーニングパターンデータでは、ビット値“0”と“1”とが交互に連続するので、ビット値“0”が連続した後の反転ビット“1”と、ビット値“1”が連続した後の反転ビット“0”とのトレーニングを共に行うことができる。双方向のビット値の反転に対してトレーニングを行うことができる。
FIG. 7C is a diagram showing second training pattern data. In FIG. 7C, the bit values “0” and “1” are test bit strings each having a pair of a “0” test bit string and a “1” test bit string arranged in the same number of bits. For each pair, the number of consecutive bits of “0” and “1” is arranged to increase or decrease by 1 bit. In the second training pattern data, the test bit string starts with the inverted bit “1” after the “0” bit string continues, and with the inverted bit after the “1” bit string continues. A bit string of “0” starts. The first bit of each of the test bit strings “0” and “1” in the second training pattern data corresponds to the inverted bit of the first training pattern data. Similarly to FIG. 7A and FIG. 7B, the length of the test bit string is continuously from a minimum value of 1 bit to a bit value large enough to allow the
2つ目のトレーニングパターンデータを示す図7Cでは、ビット列のペアを“0”のテストビット列の後に“1”のテストビット列が続くペアとする。始めに、ビット値が“0”である1ビットのテストビット列の後にビット値が“1”である1ビットのテストビット列が続く。 “1”のテストビット列の後には、“0”のビット値が2ビット連続するテストビット列が続く。“0”のテストビット列の後に、“1”のビット値が2ビット連続するテストビット列が続く。これにより、1ビットのテストビット列のペアの後、1ビット昇べきした2ビットのテストビット列のペアが挿入される。以下順次、1ビット毎に昇べきしてビット列のペアが続く。 In FIG. 7C showing the second training pattern data, a pair of bit strings is a pair in which a test bit string “1” is followed by a test bit string “0”. First, a 1-bit test bit string whose bit value is “0” is followed by a 1-bit test bit string whose bit value is “1”. The test bit string “1” is followed by a test bit string in which the bit value “0” continues for 2 bits. After the test bit string “0”, a test bit string in which the bit value “1” continues for 2 bits follows. As a result, after a pair of 1-bit test bit strings, a 2-bit test bit string pair that has been increased by 1 bit is inserted. Subsequently, the bit string pair continues by increasing every bit.
トレーニングモードでは、光無線装置1、3に備える誤り訂正符号付与部101、誤り訂正復号部102、反転ビット付与部103、反転ビット除去部104、および光無線装置3の制御部100では、データに処理を加えず、データを次段の機能ブロックに出力する。
In the training mode, the error correction
次に、光無線装置1の制御部100で、ループバックされたトレーニングパターンデータに含まれ、各テストビット列の後に続く反転ビットのビットエラーのカウントが行なわれる(S10)。トレーニングパターンデータは、伝送路7に伝播させることによって、所定のエラー確率でテストビット列に続く反転ビットのビット値が反転する際にビットエラーが発生する。このビットエラーは、エラー回数として、トレーニングルーチン毎にカウントされる。カウントは、反転ビットの前段にあるテストビット列のビット長ごとに行われ、ビット長ごと制御部100に記憶される。また、図7Cに示した2つ目のトレーニングパターンデータでは、テストビット列に続く反転ビットが“0”の場合と“1”の場合とが交互に現れる。よって、制御部100に記憶するエラー回数は、“0”から“1”に遷移する際のビットエラーを“0”のテストビット列のビット長に応じて記憶するとともに、“1”から“0”に遷移する際のビットエラーを“1”のテストビット列のビット長に応じて記憶する。
Next, the
次に、トレーニングルーチンの回数を検出する(S12)。トレーニング回数とは、トレーニングパターンデータを、光無線装置3に送信し(S4)、ループバックされて受信したトレーニングパターンデータのビットエラーをステップS10でカウントする処理ルーチンの回数である。トレーニングルーチンが所定の回数(M1回)に達していない場合には(S12:NO)、再度トレーニングパターンデータを、光無線装置3に送信する(S4)。 Next, the number of training routines is detected (S12). The number of trainings is the number of processing routines in which training pattern data is transmitted to the optical wireless device 3 (S4), and bit errors of the training pattern data received after being looped back are counted in step S10. If the training routine has not reached the predetermined number of times (M1 times) (S12: NO), the training pattern data is transmitted again to the optical wireless device 3 (S4).
トレーニング回数が所定の回数(M1回)に達した場合には(S12:YES)、ステップS14に移行してビット長Nの決定を行なう。まず、各テストビット列ごとに検出されたエラー回数M2を所定のトレーニング回数M1で除算し、ビットエラーレートを求める。エラー回数M2とは、トレーニングルーチンの所定の回数(M1回)のうち、反転ビットのビットエラーが起こった回数であり、反転ビットの前段にあるテストビット列のビット長ごとに制御部100に記憶される。次に、求められたテストビット列ごとのビットエラーレートと規定のビットエラーレートBERとを比較する。ビット長Nは、求められたビットエラーレートが規定のビットエラーレートBERを下回るテストビット列の中で最長のビット長を求めることで決定される。ここで、規定のビットエラーレートBERとは、同じビット値のデータの連続が途切れビット値が反転する際に生じる、反転ビットのビットエラーレートの基準値である。規定のビットエラーレートBERを下回るとき、通信品質は確保される。
When the number of training times reaches a predetermined number (M1 times) (S12: YES), the process proceeds to step S14 and the bit length N is determined. First, the error number M2 detected for each test bit string is divided by a predetermined training number M1 to obtain a bit error rate. The number of errors M2 is the number of times that a bit error of an inverted bit has occurred out of a predetermined number of times (M1) in the training routine, and is stored in the
ビット長Nが決定されると、光無線装置1側で決定されたビット長Nは、電磁モータM側に備えられる光無線装置3に送信される(S16)。光無線装置3にもビット長Nが設定され、トレーニングルーチンの処理が終了する(S18)。
When the bit length N is determined, the bit length N determined on the
図8Aは、トレーニングパターンデータに含まれるビット長Nのテストビット列を示す図である。図8Bは、トレーニングパターンデータに含まれるビット長N+1のテストビット列を示す図である。図8A、および図8Bのテストビット列は、図7A、図7B、および図7Cに示すトレーニングパターンデータの一部を示す図である。図8Aはビット値“0”が連続するテストビット列のビット長がNビットの場合を示し、図8Bはビット値“0”が連続するテストビット列のビット長が(N+1)ビットの場合を示す。 FIG. 8A is a diagram showing a test bit string having a bit length N included in training pattern data. FIG. 8B is a diagram showing a test bit string of bit length N + 1 included in the training pattern data. 8A and 8B are diagrams showing a part of the training pattern data shown in FIGS. 7A, 7B, and 7C. 8A shows a case where the bit length of the test bit string in which the bit value “0” is continuous is N bits, and FIG. 8B shows a case in which the bit length of the test bit string in which the bit value “0” is continuous is (N + 1) bits.
図8Aの場合、Nビットの“0”のテストビット列に続く反転ビット“1”は、ビットエラーとなる割合が既定のビットエラーレートBERより小さい(M2/M1<BER)ものとする。一方図8Bの場合、(N+1)ビットの“0”のテストビット列に続く反転ビット“1”は、ビットエラーとなる割合が既定のビットエラーレートBERより大きく(M2/M1>BER)なるものとする。つまり、ビット長Nは、反転ビットのビットエラーレートが規定のビットエラーレートBERを下回るテストビット列の中で最長のビット長である。 In the case of FIG. 8A, the inverted bit “1” following the N-bit “0” test bit string has a bit error rate smaller than the predetermined bit error rate BER (M2 / M1 <BER). On the other hand, in the case of FIG. 8B, the inverted bit “1” following the test bit string of (N + 1) bits “0” has a bit error rate larger than the predetermined bit error rate BER (M2 / M1> BER). To do. That is, the bit length N is the longest bit length in the test bit string in which the bit error rate of the inverted bit is lower than the specified bit error rate BER.
図9は、通信モードにおけるデータDおよび反転ビットとを説明する図である。データDおよび反転ビットは、光無線装置1、3間を伝送するデータである。データDは、光無線装置1、3に接続される制御装置90や、電磁モータMで利用される実データである。通信モードであるので、データDのビット長は、トレーニングモードで決定されたNビットに設定される。ここで、データDは、先頭ビットから最後尾ビットの1ビット前までのデータが“0”で、最後尾ビットのデータが“1”であるとする。また、データDの前に挿入される反転ビットのデータは、データDの前段に続くデータの最後尾ビットの “1”を反転させた“0”であるものとする。この場合、データDの前に挿入される反転ビットから、データDの最後尾ビットの1ビット前までのデータが“0”で連続し、そのビット長はNビットである。このNビットは、データDの最後尾ビット“1”のビットエラーレートが規定のビットエラーレートBERより下回るビット列の中で最長のビット長である。通信モードの時、図8A、図8Bのように、データDの前段にある反転ビットからデータDの最後尾ビットの1ビット前までのビット値が連続し、データDの最後尾のビットで連続性が途切れる場合が最悪の場合であるところ、この場合であっても、同一のビット値の連続ビット長はNであり、最後尾ビットのビットエラーレートは規定のビットエラーレートBERを下回ることとなる。
FIG. 9 is a diagram for explaining the data D and the inverted bit in the communication mode. The data D and the inverted bit are data transmitted between the
以上、詳細に説明した通り、本実施例によれば、データの送信側に備える反転ビット付与部103は、入力されるデータに対して、Nビット毎に反転ビットを挿入する。データの受信側に備える反転ビット除去部104は、入力されるデータの(N+1)ビット毎に付与されている反転ビットを除去し、データを再生する。これにより、伝送対象のデータにビット長Nごとに反転ビットを挿入することで、ビット長Nのデータで同一ビット値の連続性が遮断される。よって、同じビット値のデータの連続が途切れビット値が反転する際に生じる信号反転の遅延に起因するビットエラーレートが規定のビットエラーレートBERを下回ることとなる。また、伝送に際して、データにスクランブルを行なわないため、データ処理にかかる遅延を低減することが可能となる。また、スクランブル回路等が不要であるためデータ伝送に伴う電流消費の低減を図ることができる。
As described above in detail, according to the present embodiment, the inverted
また、光無線装置1は、制御部100に記憶されるトレーニングパターンデータを、光無線装置3に送信し、光無線装置3においてそのまま送り返される。すなわち、トレーニングパターンデータはループバックされて光無線装置1に戻される。光無線装置1は、ループバックされたトレーニングパターンデータを受信する。テストビット列のビット長ごとにエラー回数M2がカウントされ、トレーニングルーチンの処理回数(M1回)で除算することにより、テストビット列のビット長ごとにビットエラーレートが求められる。そして、ビットエラーレートが規定のビットエラーレートBERを下回るテストビット列の中で最長のビット長を求めることでビット長Nが決定される。決定されたビット長Nは光無線装置3に送信することで設定される。
Further, the
なお、本発明は、上記実施例に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。
実施例においては、付加データの一例として反転ビットを例示して説明したが、本願はこれに限定されるものではない。例えば、複数ビットの乱数データであっても構わない。連続ビットの後のデータ反転の際にノイズが発生することがある。そのとき、データのビット長N毎に乱数データ挿入することで、ノイズを低減することが可能となる場合がある。
In addition, this invention is not limited to the said Example, It is possible to implement in the various aspect which gave various change and improvement based on the knowledge of those skilled in the art.
In the embodiment, the inversion bit is exemplified as an example of the additional data, but the present application is not limited to this. For example, it may be multi-bit random number data. Noise may occur during data inversion after successive bits. At that time, it may be possible to reduce noise by inserting random number data for each bit length N of data.
トレーニングパターンデータは、予め記憶されていることが必要であるとは。トレーニングの度に制御部100で生成されても良い。また、テストビット列の連続ビット数が1ビットずつ昇べきあるいは降べきであることが必要であるとは限らない。2ビット、3ビットずつ昇べきあるいは降べきに構成されていてもよい。また、図7Cのトレーニングパターンデータにおいて、先頭の1ビットのテストビット列の前にビット値が相補の関係にある1ビットを挿入してもよい。これにより、先頭の1ビットのテストビット列も、ビットエラーのカウントの対象とすることができる。同様に、テストビット列の長さを降べきにする場合には、先頭のテストビット列の前に、同じビット長で相補の関係にあるテストビット列を挿入しても構わない。
The training pattern data needs to be stored in advance. It may be generated by the
実施例においては、トレーニングパターンデータを光無線装置3で折り返す、ループバックを行なった。しかしながら本願はこれに限定されるものではない。ループバックの代わりに、光無線装置3でステップS10(図6)のビットエラーのカウント、ステップS14(図6)のビット長Nを決定して、決定されたビット長Nを光無線装置1に送信しても構わない。
In the embodiment, loopback is performed in which the training pattern data is turned back by the optical wireless device 3. However, the present application is not limited to this. Instead of loopback, the optical wireless device 3 determines the bit error count in step S10 (FIG. 6) and the bit length N in step S14 (FIG. 6), and the determined bit length N is transferred to the
また、エラー回数M2が規定値を越えた場合に、トレーニング回数がM1回に達していなくても、ステップS10(図6)のビットエラーのカウントを終了させても構わない。この場合、エラー回数M2が規定値を越えたテストビット列のビット長から1ビット減算した値をビット長Nとしても構わない。
また、トレーニング回数がM1回に達しても、全てのテストビット列に対応するエラー回数M2が規定値を満たさない場合には、ビット長Nは予め設定されたデフォルト値を採用しても構わない。
また、算出されたビットエラーレートが規定のビットエラーレートBERを下回れば、ビット長Nは、ビットエラーレートが規定のビットエラーレートBERより下回るテストビット列の中で最長のビット長であることは必ずしも必要ではないことは言うまでもない。
Further, when the error count M2 exceeds the specified value, the bit error count in step S10 (FIG. 6) may be terminated even if the training count does not reach M1. In this case, the bit length N may be a value obtained by subtracting one bit from the bit length of the test bit string in which the error count M2 exceeds the specified value.
In addition, even if the number of training times reaches M1, if the error number M2 corresponding to all the test bit strings does not satisfy the specified value, a preset default value may be adopted as the bit length N.
Further, if the calculated bit error rate is lower than the prescribed bit error rate BER, the bit length N is not necessarily the longest bit length in the test bit string in which the bit error rate is lower than the prescribed bit error rate BER. It goes without saying that it is not necessary.
また、図6において、ステップS4の光無線装置1からトレーニングパターンデータの送信から、ステップS10のビットエラーのカウントまでの期間は、一定である。これにより、トレーニングモードの所要時間と、規定のビットエラーレートBERを外部から入力することで、トレーニング回数M1とエラー回数M2とが、決定される。
In FIG. 6, the period from the transmission of the training pattern data from the
また、光無線装置1、3により求められたビット長Nは、制御装置90を介して、作業機10が備える他の光無線装置(不図示)に提供しても構わない。また、図示しないI/Oを介して、他の作業機(不図示)に提供しても構わない。
Further, the bit length N obtained by the
ちなみに、上記実施例において、光無線装置1、3は通信装置の一例であり、また、反転ビット付与部103は付加データ付与部の一例であり、また、反転ビット除去部104は付加データ除去部の一例であり、また、ステップS4は送信手段の一例であり、また、ステップS8は受信手段の一例であり、また、ステップS14は判定手段の一例であり、また、対基板作業機10は電子部品装着装置の一例である。
Incidentally, in the above embodiment, the
1、3:光無線装置 90:制御装置 90A:駆動制御ボード 100:制御部 101:誤り訂正符号付与部 102:誤り訂正復号部 103:反転ビット付与部 104:反転ビット除去部 105:受発光モジュール
DESCRIPTION OF
Claims (5)
前記データに前記付加データを付与した送信データから前記付加データを除去して前記データを再生する付加データ除去部とを備え、
前記付加データは、前続する前記ビット長Nのデータにおける最後尾ビットあるいは後続する前記ビット長Nのデータにおける先頭ビットとは相補の関係にある単ビットデータであり、
データ伝送に先立って、予め定められたトレーニングパターンデータにより前記ビット長Nを決定するトレーニングルーチンを制御する制御部を更に備え、
前記制御部は、
前記トレーニングパターンデータを送信する送信手段と、
送信される前記トレーニングパターンデータを受信する受信手段と、
受信される前記トレーニングパターンデータによりビットエラーレートを算出し、前記ビット長Nを決定する判定手段とを備え、
前記トレーニングパターンデータは、同じビット値が連続するビット列が、該ビット列とは相補の関係にある少なくとも1ビットを挟んで、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータであり、
前記判定手段は、前記連続するビット列(ビット長(X))(X=1以上の整数)毎に、その後段に配置される前記単ビットのエラーを検出して、ビット長Xのビットエラーレートを算出することを特徴とする通信装置。 For each bit length N of data to be transmitted, an additional data adding unit that inserts additional data that blocks continuity of the same bit value in the data of the bit length N;
An additional data removal unit that removes the additional data from the transmission data to which the additional data is attached to the data and reproduces the data ;
The additional data is single-bit data complementary to the last bit in the preceding data of the bit length N or the leading bit in the subsequent data of the bit length N,
Prior to data transmission, further comprising a control unit for controlling a training routine for determining the bit length N based on predetermined training pattern data,
The controller is
Transmitting means for transmitting the training pattern data;
Receiving means for receiving the transmitted training pattern data;
A bit error rate is calculated from the received training pattern data, and determination means for determining the bit length N is provided.
The training pattern data is data in which a bit string in which the same bit value is continuous is arranged such that the number of consecutive bits is increased or decreased by 1 bit with at least one bit having a complementary relationship with the bit string,
The determination means detects a single-bit error arranged in a subsequent stage for each successive bit string (bit length (X)) (an integer equal to or greater than 1), and a bit error rate of a bit length X communication device characterized that you calculated.
同じビット値が連続するビット列が、該ビット列とは相補の関係にある単ビットを挟んで、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータであることを特徴とする請求項1に記載の通信装置。 The training pattern data is
Bit string same bit value is continuous, across the single bits are complementary to the said bit sequence, to claim 1, wherein the number of consecutive bits is data arranged in to ascending powers or descending bit by bit The communication device described.
ビット値が互いに相補の関係にあり、各々のビット値の連続ビット数が同数に並ぶビット列がペアをなし、前記ビット列のペアごとに、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータであることを特徴とする請求項1に記載の通信装置。 The training pattern data is
Data in which bit values are complementary to each other, and bit strings in which the number of consecutive bits of each bit value are arranged in the same number form a pair, and for each pair of bit strings, the number of consecutive bits increases or decreases by 1 bit. The communication apparatus according to claim 1 , wherein:
前記トレーニングパターンデータを所定回数伝送し、
前記連続するビット列毎に、その後段に配置される前記単ビットがエラーする回数を積算して前記連続するビット列毎にビットエラーレートを算出し、
前記算出されたビットエラーレートが規定のレート以下であるもののうち、最長のビット列を前記ビット長Nとすることを特徴とする請求項1乃至3の何れか1項に記載の通信装置。 The training routine includes
Transmitting the training pattern data a predetermined number of times,
For each successive bit string, calculate the bit error rate for each successive bit string by accumulating the number of times the single bit placed in the subsequent stage has an error.
Among those the calculated bit error rate is less than the specified rate, the communication device according longest bit string to any one of claims 1 to 3, characterized in that said bit length N.
伝送対象のデータのビット長N毎に、該ビット長Nのデータでの同一ビット値の連続性を遮断する付加データを挿入する付加データ付与部と、
前記データに前記付加データを付与した送信データから前記付加データを除去して前記データを再生する付加データ除去部とを備え、
前記付加データは、前続する前記ビット長Nのデータにおける最後尾ビットあるいは後続する前記ビット長Nのデータにおける先頭ビットとは相補の関係にある単ビットデータであり、
データ伝送に先立って、予め定められたトレーニングパターンデータにより前記ビット長Nを決定するトレーニングルーチンを制御する制御部を更に備え、
前記制御部は、
前記トレーニングパターンデータを送信する送信手段と、
送信される前記トレーニングパターンデータを受信する受信手段と、
受信される前記トレーニングパターンデータによりビットエラーレートを算出し、前記ビット長Nを決定する判定手段とを備え、
前記トレーニングパターンデータは、同じビット値が連続するビット列が、該ビット列とは相補の関係にある少なくとも1ビットを挟んで、連続ビット数が1ビットずつ昇べきあるいは降べきに並ぶデータであり、
前記判定手段は、前記連続するビット列(ビット長(X))(X=1以上の整数)毎に、その後段に配置される前記単ビットのエラーを検出して、ビット長Xのビットエラーレートを算出することを特徴とする電子部品装着装置。 An electronic component mounting apparatus for transmitting various data related to mounting work of electronic components on a board,
For each bit length N of data to be transmitted, an additional data adding unit that inserts additional data that blocks continuity of the same bit value in the data of the bit length N;
An additional data removal unit that removes the additional data from the transmission data to which the additional data is attached to the data and reproduces the data ;
The additional data is single-bit data complementary to the last bit in the preceding data of the bit length N or the leading bit in the subsequent data of the bit length N,
Prior to data transmission, further comprising a control unit for controlling a training routine for determining the bit length N based on predetermined training pattern data,
The controller is
Transmitting means for transmitting the training pattern data;
Receiving means for receiving the transmitted training pattern data;
A bit error rate is calculated from the received training pattern data, and determination means for determining the bit length N is provided.
The training pattern data is data in which a bit string in which the same bit value is continuous is arranged such that the number of consecutive bits is increased or decreased by 1 bit with at least one bit having a complementary relationship with the bit string,
The determination means detects a single-bit error arranged in a subsequent stage for each successive bit string (bit length (X)) (an integer equal to or greater than 1), and a bit error rate of a bit length X an electronic component mounting apparatus characterized that you calculated.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2012/074573 WO2014049689A1 (en) | 2012-09-25 | 2012-09-25 | Communications device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2014049689A1 JPWO2014049689A1 (en) | 2016-08-22 |
JP6033877B2 true JP6033877B2 (en) | 2016-11-30 |
Family
ID=50387158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014537871A Active JP6033877B2 (en) | 2012-09-25 | 2012-09-25 | Communication device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6033877B2 (en) |
WO (1) | WO2014049689A1 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10145437A (en) * | 1996-11-12 | 1998-05-29 | Toshiba Corp | Continuous same code avoiding circuit |
JP4001423B2 (en) * | 1998-08-24 | 2007-10-31 | 富士通株式会社 | Same sign strength test equipment |
JP2001197043A (en) * | 2000-01-07 | 2001-07-19 | Fujitsu Ltd | Testing device for tolerance against identical-code succession |
-
2012
- 2012-09-25 JP JP2014537871A patent/JP6033877B2/en active Active
- 2012-09-25 WO PCT/JP2012/074573 patent/WO2014049689A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2014049689A1 (en) | 2014-04-03 |
JPWO2014049689A1 (en) | 2016-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6057359B2 (en) | Production control system for component mounters | |
JP2015076447A (en) | Tape feeder | |
JP2004119637A (en) | Electronic component mounting method and apparatus thereof, and electronic component mounting program | |
JP6033877B2 (en) | Communication device | |
JP5009939B2 (en) | Mounting condition determination method | |
EP2819497A1 (en) | Substrate conveying device | |
JP5980944B2 (en) | Production monitoring system and production monitoring method for component mounting line | |
JPWO2016046932A1 (en) | Mounting apparatus and mounting method | |
JP5989776B2 (en) | Electrical equipment | |
JP5931918B2 (en) | Multiplex communication system, transmission device, reception device, and processing device for electronic component mounting device | |
JP5969789B2 (en) | Electronic component mounting equipment | |
JP2010092970A (en) | Transferred substrate detecting device | |
JP4609500B2 (en) | Carrier tape carrier device for electronic parts and computer program | |
CN111727672B (en) | Component mounting machine | |
JP2010098212A (en) | Bottleneck announcing device for electronic component mounting line, and bottleneck announcing method for electronic component mounting line | |
JP4907604B2 (en) | Optimization processing method, optimization processing apparatus, component mounter, and program | |
CN107926151B (en) | Required precision setting device | |
JP6095768B2 (en) | Database, database construction method, communication apparatus, and electronic component mounting apparatus | |
WO2022185428A1 (en) | Substrate transfer apparatus and substrate transfer method | |
JP6043794B2 (en) | Optical wireless system and electronic component mounting device | |
JP7223136B2 (en) | Component mounter | |
US11596091B2 (en) | Component mounter, component mounting line, and manufacturing method of mounting board | |
JP2011233818A (en) | Component mounting device, and method for identifying cause of decreased production throughput thereof | |
JP4580809B2 (en) | How to determine the number of bulk feeders | |
JP7088809B2 (en) | Work work device, work work system, and control method of work work device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160726 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160919 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20161018 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161026 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6033877 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |