JP6289147B2 - Data transmission device, data transmission system, calibration method, and program - Google Patents

Data transmission device, data transmission system, calibration method, and program Download PDF

Info

Publication number
JP6289147B2
JP6289147B2 JP2014026128A JP2014026128A JP6289147B2 JP 6289147 B2 JP6289147 B2 JP 6289147B2 JP 2014026128 A JP2014026128 A JP 2014026128A JP 2014026128 A JP2014026128 A JP 2014026128A JP 6289147 B2 JP6289147 B2 JP 6289147B2
Authority
JP
Japan
Prior art keywords
data
card
transmission
calibration
reception
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
Application number
JP2014026128A
Other languages
Japanese (ja)
Other versions
JP2015154233A (en
Inventor
由貴奈 岩本
由貴奈 岩本
敬央 山本
敬央 山本
佐藤 亮
亮 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2014026128A priority Critical patent/JP6289147B2/en
Publication of JP2015154233A publication Critical patent/JP2015154233A/en
Application granted granted Critical
Publication of JP6289147B2 publication Critical patent/JP6289147B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

この発明は、データ伝送装置、データ伝送システム、キャリブレーション方法及びプログラムに関する。   The present invention relates to a data transmission device, a data transmission system, a calibration method, and a program.

一般的なシリアル通信方式の1つにPCI Expressがある。PCI Expressは、2002年にPCI−SIGによって策定されたI/Oシリアルインタフェース(拡張バスの一種)である。PCI Expressは、データを送信する送信装置とそのデータを受信する受信装置との間で共通クロックを有しない。このため、送信装置と受信装置との間で周波数偏差が発生する。   One common serial communication method is PCI Express. PCI Express is an I / O serial interface (a type of expansion bus) formulated by PCI-SIG in 2002. PCI Express does not have a common clock between a transmitting device that transmits data and a receiving device that receives the data. For this reason, a frequency deviation occurs between the transmission device and the reception device.

この周波数偏差、すなわち送信装置のクロックと、受信装置のクロックとの速度差を吸収するため、エラスティック・バッファと呼ばれるFIFO(First In First Out)記憶部が用いられている。このバッファでは、送信装置のクロックの方が受信装置のクロックより早い場合にはオーバーフローが発生する。一方、受信装置のクロックの方が送信装置より早い場合にはアンダーフローが発生する。   In order to absorb this frequency deviation, that is, the speed difference between the clock of the transmission device and the clock of the reception device, a FIFO (First In First Out) storage unit called an elastic buffer is used. In this buffer, an overflow occurs when the clock of the transmitting device is earlier than the clock of the receiving device. On the other hand, underflow occurs when the clock of the receiving device is earlier than the transmitting device.

エラスティック・バッファのオーバーフローが発生すると、受信装置において、送信装置から送信されたシリアルデータの一部が消失する、いわゆるデータ欠落が発生する。データ欠落を防止するため、送信装置は、送信するシリアルデータに、予め、PCI Expressの規格で想定されている最大周波数偏差から求めた速度調整用のSKPシンボル(ダミーキャラクタ)を一定数挿入したうえで、シリアルデータを送信している(例えば、特許文献1、非特許文献1参照)。このSKPシンボルを受信装置で間引くことにより、速度差が吸収される。一方、送信装置のクロックの方が受信装置のクロックより遅いときは、受信装置でSKPシンボルが挿入され、シンボル数が調整される。   When an overflow of the elastic buffer occurs, a so-called data loss occurs in which a part of serial data transmitted from the transmission device is lost in the reception device. In order to prevent data loss, the transmitting apparatus inserts a predetermined number of SKP symbols (dummy characters) for speed adjustment obtained from the maximum frequency deviation assumed in the PCI Express standard in advance in the serial data to be transmitted. Thus, serial data is transmitted (see, for example, Patent Document 1 and Non-Patent Document 1). By thinning out the SKP symbol by the receiving apparatus, the speed difference is absorbed. On the other hand, when the clock of the transmitting device is slower than the clock of the receiving device, the receiving device inserts SKP symbols and adjusts the number of symbols.

この他、データを送信する送信装置とそのデータを受信する受信装置との間で同期をとるために、回線の状況に応じて周期信号の挿入間隔を自動的に変更させるなど、様々な手法が導入されている(例えば、特許文献2参照)。   In addition, in order to synchronize between a transmitting apparatus that transmits data and a receiving apparatus that receives the data, there are various methods such as automatically changing the periodic signal insertion interval according to the line condition. It has been introduced (for example, see Patent Document 2).

特開2006−201909号公報JP 2006-201909 A 特開平1−191539号公報JP-A-1-191539

畑山仁 著 「PCI Express設計の基礎と応用」CQ出版株式会社、2010年5月15日、p.45Book by Hitoshi Hatayama “Basics and Applications of PCI Express Design” CQ Publishing Co., Ltd., May 15, 2010, p. 45

各種電気信号を処理する信号処理装置では、その装置の規模が大きくなるにしたがって、装置が有する複数の機能が、例えば機能ごとにモジュールとして分割されるようになる。このようなシステムでは、機能モジュール間でデータ伝送が必要となる。このような構成では、デイジーチェーン接続により、各機能モジュールが接続されるのが一般的である。デイジーチェーン接続では、機能モジュールが接続された順番に、データ処理結果が伝送される。   In a signal processing device that processes various electrical signals, as the size of the device increases, a plurality of functions of the device are divided into modules for each function, for example. Such a system requires data transmission between functional modules. In such a configuration, each functional module is generally connected by daisy chain connection. In daisy chain connection, data processing results are transmitted in the order in which the functional modules are connected.

信号処理装置における機能モジュール間のデイジーチェーン接続で行われる高速シリアル通信においても、PCI Expressと同様に、送信装置と受信装置とのクロック周波数のズレ(クロック偏差)を特定のコードの挿抜により吸収する必要がある。このコードをSYNCコードという。SYNCコードは、送信装置と受信装置との間で同期をとるためのコードであり、いわゆるダミーキャラクタである。SYNCコードは、送信装置が送信データを作成する際、送信データに、一定間隔で挿入される。SYNCコードの挿入間隔は、送信データの伝送レートに影響しない程度とする必要がある。SYNCコードの挿入間隔が短くなり、その挿入頻度が高まれば、送信データの伝送レートが低下するからである。   Also in high-speed serial communication performed by daisy chain connection between functional modules in a signal processing device, similarly to PCI Express, a clock frequency shift (clock deviation) between a transmission device and a reception device is absorbed by insertion / extraction of a specific code. There is a need. This code is called a SYNC code. The SYNC code is a code for synchronizing between the transmission device and the reception device, and is a so-called dummy character. The SYNC code is inserted into the transmission data at regular intervals when the transmission apparatus creates transmission data. The SYNC code insertion interval needs to be set so as not to affect the transmission rate of transmission data. This is because if the SYNC code insertion interval is shortened and the frequency of insertion is increased, the transmission rate of transmission data is lowered.

ダミーキャラクタを一定間隔で挿入する際には、主として、以下の(1)、(2)、(3)の課題が生じる。
(1)送信データ間に挿入されるSYNCコードの挿入頻度が高い場合、シリアルデータに含まれる送信データの比率が下がって、遅延が生じ、データ伝送が低速になる。PCI EXpressでは、規格で想定される最大周波数偏差に基づいて、SKPシンボルの数が決定されている。このため、実際の周波数偏差が小さい場合には、余分なSKPシンボルが送信装置で送信データに挿入されることになる。その余分なSKPシンボルは、データ伝送効率を低下させる。
(2)デイジーチェーン接続された複数の通信カードを経由してシリアルデータを伝送する場合には、隣接する通信カードの間で個別にクロック偏差が発生する。この場合、複数のクロック偏差に基づいて、最適なデータ伝送条件を導くのは極めて困難である。
(3)ダミーキャラクタの挿入間隔を調整する場合には、調整処理が必要となり、この調整処理が、却ってデータ伝送レートを低下させるおそれがある。
When inserting dummy characters at regular intervals, the following problems (1), (2), and (3) mainly occur.
(1) When the insertion frequency of SYNC codes inserted between transmission data is high, the ratio of transmission data included in serial data decreases, delay occurs, and data transmission becomes slow. In PCI Express, the number of SKP symbols is determined based on the maximum frequency deviation assumed in the standard. For this reason, when the actual frequency deviation is small, an extra SKP symbol is inserted into the transmission data by the transmission device. The extra SKP symbol reduces data transmission efficiency.
(2) When serial data is transmitted via a plurality of communication cards connected in a daisy chain, a clock deviation is individually generated between adjacent communication cards. In this case, it is extremely difficult to derive an optimum data transmission condition based on a plurality of clock deviations.
(3) When adjusting the insertion interval of the dummy character, adjustment processing is necessary, and this adjustment processing may reduce the data transmission rate.

この発明は、上記実情に鑑みてなされたものであり、データ欠損を発生することなく、高速なデータ伝送が可能となるデータ伝送装置、データ伝送システム、キャリブレーション方法及びプログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a data transmission device, a data transmission system, a calibration method, and a program capable of high-speed data transmission without causing data loss. And

上記目的を達成するため、この発明に係るデータ伝送装置、データ伝送システム、キャリブレーション方法及びプログラムは、受信カードが送信カードから送信された実データを含むシリアルデータを受信するデータ伝送の前に、キャリブレーションを実施してダミーデータの設定挿入間隔を、隣接する通信カードの組についてそれぞれ予め決定するために、キャリブレーション用試験データを記憶し、記憶されたキャリブレーション用試験データに挿入されるキャリブレーション用ダミーデータの挿入間隔を変化させながら、キャリブレーション用試験データを、送信カードから受信カードに送受信させ、受信カードの受信結果を得て、受信カードの受信結果に基づいて、データ欠損が発生しないキャリブレーション用ダミーデータの最大挿入間隔をダミーデータの設定挿入間隔として決定すること特徴とするものであるIn order to achieve the above object, a data transmission device , a data transmission system, a calibration method and a program according to the present invention are provided before a data transmission in which a reception card receives serial data including actual data transmitted from a transmission card. Calibration data is stored in order to pre-determine the dummy data set insertion interval for each set of adjacent communication cards, and calibration is inserted into the stored calibration test data. The test data for calibration is transmitted and received from the sending card to the receiving card while changing the insertion interval of the dummy data for calibration, and the receiving result of the receiving card is obtained, and data loss occurs based on the receiving result of the receiving card Maximum dummy data for calibration Those, wherein determining the input interval as set insertion interval of the dummy data.

この発明によれば、実際にシリアルデータを転送する前に、複数の異なる挿入間隔でダミーデータが挿入されたキャリブレーション用試験データの送受信を送信カードと受信カードの間で実際に行う。このキャリブレーションにより、データ欠損が発生しないダミーデータの最大挿入間隔をデータ送受信に先だって求めることができる。このため、データ欠損が発生しないダミーデータの最大挿入間隔でのシリアルデータの転送が可能になる。この結果、送信カードと受信カードとの間のクロックの周波数偏差を考慮することなく、データ欠損が発生しない、高速なデータ伝送が可能となる。   According to the present invention, before actually transferring serial data, calibration test data in which dummy data is inserted at a plurality of different insertion intervals is actually transmitted and received between the transmission card and the reception card. By this calibration, the maximum insertion interval of dummy data that does not cause data loss can be obtained prior to data transmission / reception. Therefore, serial data can be transferred at the maximum insertion interval of dummy data that does not cause data loss. As a result, it is possible to perform high-speed data transmission without data loss without considering the clock frequency deviation between the transmitting card and the receiving card.

この発明の実施の形態1に係るデータ伝送装置の構成を示すブロック図である。It is a block diagram which shows the structure of the data transmission apparatus which concerns on Embodiment 1 of this invention. シリアルデータ(実データ)のデータ構造を示す図である。It is a figure which shows the data structure of serial data (actual data). SYNCコードが挿入されたシリアルデータのデータ構造を示す図である。It is a figure which shows the data structure of the serial data in which the SYNC code was inserted. 実施の形態1に係るデータ伝送装置のCPUカードで実行されるキャリブレーション処理のフローチャートである。4 is a flowchart of calibration processing executed by the CPU card of the data transmission apparatus according to the first embodiment. 実施の形態1に係るデータ伝送装置のデータの流れ(その1)を示す図である。6 is a diagram showing a data flow (part 1) of the data transmission apparatus according to the first embodiment. FIG. SYNCコードの挿入間隔が更新される様子を示す図である。It is a figure which shows a mode that the insertion space | interval of a SYNC code is updated. データ欠損が発生する様子を示す図である。It is a figure which shows a mode that data loss occurs. 実施の形態1に係るデータ伝送装置のデータの流れ(その2)を示す図である。6 is a diagram showing a data flow (part 2) of the data transmission apparatus according to the first embodiment. FIG. この発明の実施の形態2に係るデータ伝送システムの構成を示すブロック図である。It is a block diagram which shows the structure of the data transmission system which concerns on Embodiment 2 of this invention. 実施の形態2に係るデータ伝送システムのデータの流れを示す図である。FIG. 10 is a diagram illustrating a data flow of the data transmission system according to the second embodiment. この発明の実施の形態3に係るデータ伝送システムのデータの流れを示す図である。It is a figure which shows the data flow of the data transmission system which concerns on Embodiment 3 of this invention.

この発明に係る実施の形態について図面を参照して詳細に説明する。   Embodiments according to the present invention will be described in detail with reference to the drawings.

実施の形態1.
まず、この発明の実施の形態1について説明する。
Embodiment 1 FIG.
First, a first embodiment of the present invention will be described.

図1に示すように、データ伝送装置100は、シリアルデータを送信する送信カード1及びそのシリアルデータを受信する受信カード2を備える。送信カード1と受信カード2は所定の通信ネットワークで接続されている。シリアルデータは、この通信ネットワークを介して送受信される。   As shown in FIG. 1, the data transmission device 100 includes a transmission card 1 that transmits serial data and a reception card 2 that receives the serial data. The transmission card 1 and the reception card 2 are connected by a predetermined communication network. Serial data is transmitted and received via this communication network.

送信カード1は、送信部10とクロック発生部11とを備える。送信部10は、シリアルデータを受信カード2に送信する。クロック発生部11は、シリアルデータの送信用のクロック信号を送信部10に出力する。送信部10は、クロック発生部11で発生したクロック信号に従って、シリアルデータを受信カード2に送信する。   The transmission card 1 includes a transmission unit 10 and a clock generation unit 11. The transmission unit 10 transmits serial data to the reception card 2. The clock generator 11 outputs a clock signal for serial data transmission to the transmitter 10. The transmission unit 10 transmits serial data to the reception card 2 in accordance with the clock signal generated by the clock generation unit 11.

図2には、送信カード1から送信されるシリアルデータ(実データ)が示されている。図2に示すシリアルデータには、送信部10により、図3に示すように、挿入間隔LでSYNCコードが挿入される。SYNCコードは所定バイトのダミーキャラクタから成るコードである。結果的に、送信カード1から送信されるのはSYNCコードが一定間隔Lで挿入されたシリアルデータである(図3参照)。Lは、SYNCコード間にある実データのデータ長であるということもできる。以上のように、送信カード1は、送信側と受信側のクロックの差を調整するためのダミーデータ(SYNCコード)が一定の挿入間隔Lで挿入されたシリアルデータを送信する。   FIG. 2 shows serial data (actual data) transmitted from the transmission card 1. In the serial data shown in FIG. 2, the transmission unit 10 inserts a SYNC code at an insertion interval L as shown in FIG. The SYNC code is a code composed of dummy characters of a predetermined byte. As a result, what is transmitted from the transmission card 1 is serial data in which SYNC codes are inserted at a constant interval L (see FIG. 3). It can also be said that L is the data length of the actual data between the SYNC codes. As described above, the transmission card 1 transmits serial data in which dummy data (SYNC code) for adjusting a difference between clocks on the transmission side and the reception side is inserted at a constant insertion interval L.

受信カード2は、受信部20とクロック発生部21とを備える。受信部20は、送信カード1から送信されるシリアルデータを受信する。クロック発生部21は、受信用のクロック信号を発生させる。受信部20は、クロック発生部21で発生するクロック信号に従って、シリアルデータを受信する。   The reception card 2 includes a reception unit 20 and a clock generation unit 21. The receiving unit 20 receives serial data transmitted from the transmission card 1. The clock generation unit 21 generates a clock signal for reception. The receiving unit 20 receives serial data according to the clock signal generated by the clock generating unit 21.

図1に示すように、データ伝送装置100は、CPUカード3と記憶部4、5をさらに備える。   As shown in FIG. 1, the data transmission device 100 further includes a CPU card 3 and storage units 4 and 5.

CPUカード3は、データ伝送装置100全体を統括制御する。CPUカード3は、送信カード1及び受信カード2との通信インターフェイスを有する。この通信インターフェイスを介して、CPUカード3は、送信カード1及び受信カード2を制御する。また、CPUカード3は、記憶部4、5に対してデータの書き込み/読み出しが可能である。また、送信カード1は、記憶部5からのデータの読み出しが可能である。   The CPU card 3 performs overall control of the data transmission apparatus 100 as a whole. The CPU card 3 has a communication interface with the transmission card 1 and the reception card 2. The CPU card 3 controls the transmission card 1 and the reception card 2 via this communication interface. The CPU card 3 can write / read data to / from the storage units 4 and 5. The transmission card 1 can read data from the storage unit 5.

記憶部4、5は、データを格納する記憶部、ハードディスクなどの記憶装置である。第1の記憶部としての記憶部4は、データ伝送装置100のキャリブレーション用試験データ(そのデータパターン)を記憶する。第2の記憶部としての記憶部5は、データ伝送装置100において実施されたキャリブレーションの結果(SYNCコードの設定挿入間隔L等)を記憶する。すなわち、記憶部5は、CPUカード3で決定されたSYNCコードの設定挿入間隔Lを記憶する。   The storage units 4 and 5 are storage devices such as a storage unit for storing data and a hard disk. The storage unit 4 as the first storage unit stores calibration test data (its data pattern) for the data transmission apparatus 100. The storage unit 5 as the second storage unit stores the result of the calibration performed in the data transmission apparatus 100 (such as the setting insertion interval L of the SYNC code). That is, the storage unit 5 stores the set insertion interval L of the SYNC code determined by the CPU card 3.

CPUカード3は、CPU(Central Processing Unit)を中心として構成されるコンピュータ(情報処理装置)であり、コントローラ(制御装置)である。CPUカード3では、CPUがメモリに格納されたプログラム(処理)を実行することにより、その機能が実現される。   The CPU card 3 is a computer (information processing device) configured around a CPU (Central Processing Unit), and is a controller (control device). In the CPU card 3, the function is realized by the CPU executing a program (processing) stored in the memory.

CPUカード3は、制御部30と、決定部31とを備える。制御部30は、記憶部4で記憶されたキャリブレーション用試験データに挿入されるSYNCコード(ダミーデータ)の挿入間隔Lを変化させながら、キャリブレーション用試験データを、送信カード1から受信カード2に送受信させる。そして、制御部30は、受信カード2の受信結果を得る。   The CPU card 3 includes a control unit 30 and a determination unit 31. The control unit 30 changes the test data for calibration from the transmission card 1 to the reception card 2 while changing the insertion interval L of the SYNC code (dummy data) to be inserted into the calibration test data stored in the storage unit 4. To send and receive. Then, the control unit 30 obtains the reception result of the reception card 2.

決定部31は、受信カード2の受信結果に基づいて、データ欠損が発生しないSYNCカード(ダミーデータ)の最大挿入間隔LをSYNCコードの設定挿入間隔Lとして決定する。   Based on the reception result of the reception card 2, the determination unit 31 determines the maximum insertion interval L of the SYNC card (dummy data) in which no data loss occurs as the set insertion interval L of the SYNC code.

キャリブレーション終了後、送信カード1は、記憶部5に記憶された設定挿入間隔LでSYNCコード(ダミーデータ)が挿入されたシリアルデータを受信カード2に送信する。   After the calibration is completed, the transmission card 1 transmits the serial data in which the SYNC code (dummy data) is inserted at the set insertion interval L stored in the storage unit 5 to the reception card 2.

次に、この発明の実施の形態に係るデータ伝送装置100の動作について説明する。   Next, the operation of the data transmission apparatus 100 according to the embodiment of the present invention will be described.

このデータ伝送装置100では、シリアルデータ(実データ)の伝送前に、事前にキャリブレーション処理が行われる。図4には、実施の形態1に係るデータ伝送装置100のCPUカード3で行われるキャリブレーション処理の流れが示されている。   In this data transmission apparatus 100, calibration processing is performed in advance before transmission of serial data (actual data). FIG. 4 shows a flow of calibration processing performed by the CPU card 3 of the data transmission apparatus 100 according to the first embodiment.

図4に示すように、まず、CPUカード3は、キャリブレーション用試験データを記憶部4に記憶する(ステップ300)。CPUカード3は、キャリブレーション用試験データを記憶部4から取得して、送信カード1に送信する(ステップ301)。図5のA1、A2には、このときの試験データの流れが示されている。   As shown in FIG. 4, first, the CPU card 3 stores calibration test data in the storage unit 4 (step 300). The CPU card 3 acquires calibration test data from the storage unit 4 and transmits it to the transmission card 1 (step 301). A1 and A2 in FIG. 5 show the flow of test data at this time.

続いて、CPUカード3は、送信カード1に、SYNCコードの挿入間隔Lを設定する(ステップ302)。ここでは、挿入間隔Lの初期値(デフォルト値)が設定される。挿入間隔Lの初期値には、データ欠損が発生しないことが十分に確実な値が設定されている。   Subsequently, the CPU card 3 sets the insertion interval L of the SYNC code in the transmission card 1 (step 302). Here, an initial value (default value) of the insertion interval L is set. The initial value of the insertion interval L is set to a value with sufficient certainty that no data loss will occur.

続いて、CPUカード3は、送信カード1に、キャリブレーション用試験データにSYNCコードを一定間隔Lで挿入してシリアルデータを生成し、生成したシリアルデータを受信カード2に送信させる(ステップ303)。図5のA3に、このときのシリアルデータの流れが示されている。   Subsequently, the CPU card 3 causes the transmission card 1 to generate serial data by inserting the SYNC code into the calibration test data at a constant interval L, and transmits the generated serial data to the reception card 2 (step 303). . A flow of serial data at this time is shown in A3 of FIG.

続いて、CPUカード3は、受信カード2で受信されたシリアルデータを受信カード2から取得する(ステップ304)。図5のA4には、このときのデータの流れが示されている。   Subsequently, the CPU card 3 acquires the serial data received by the receiving card 2 from the receiving card 2 (step 304). A data flow at this time is shown in A4 of FIG.

続いて、CPUカード3は、キャリブレーション用試験データと受信されたシリアルデータとを比較して、受信に失敗したか否かを判定する(ステップ305)。データ欠損等がなく、受信が失敗していなければ(ステップ305;No)、CPUカード3は、前回送信した試験データ長より長くなるように、すなわちSYNCコードの挿入間隔Lが長くなるように、Lを設定(更新)する(ステップ301)。具体的には、図6に示すように、挿入間隔Lを例えば1バイト分長くする。   Subsequently, the CPU card 3 compares the calibration test data with the received serial data to determine whether or not the reception has failed (step 305). If there is no data loss or the like and the reception has not failed (step 305; No), the CPU card 3 is set to be longer than the previously transmitted test data length, that is, the SYNC code insertion interval L is increased. L is set (updated) (step 301). Specifically, as shown in FIG. 6, the insertion interval L is increased by, for example, 1 byte.

このように、ステップ305でデータの受信に失敗していないとの判定が続く限り(ステップ305;No)、ステップ302、ステップ303、ステップ304、ステップ305の処理が繰り返される。データの受信に失敗したと判定されると(ステップ305;Yes)、CPUカード3は、キャリブレーション結果(送信が失敗しなかった最後のSYNCコードの挿入間隔L)を設定挿入間隔Lとして記憶部5に記憶する(ステップ306)。図8のA5には、そのデータの流れが示されている。   As described above, as long as it is determined in step 305 that reception of data has not failed (step 305; No), the processing of step 302, step 303, step 304, and step 305 is repeated. If it is determined that the data reception has failed (step 305; Yes), the CPU card 3 stores the calibration result (the insertion interval L of the last SYNC code whose transmission has not failed) as the set insertion interval L. 5 (step 306). A data flow is shown in A5 of FIG.

例えば、図7(A)に示すように、送信側におけるSYNCコードの挿入間隔Lが1024バイトだった場合に、受信したシリアルデータの1023バイト目が欠損していた場合には、その直前の試験データ長1023バイトが、シリアルデータ(実データ)の1単位のデータ長とされ、そのデータ長が、SYNCコードの設定挿入間隔Lとして決定される。   For example, as shown in FIG. 7A, when the insertion interval L of the SYNC code on the transmission side is 1024 bytes, if the 1023rd byte of the received serial data is missing, the test immediately before that The data length of 1023 bytes is used as a data length of one unit of serial data (actual data), and the data length is determined as the set insertion interval L of the SYNC code.

続いて、CPUカード3は、記憶部5から、求められたSYNCコードの設定挿入間隔Lを読み込み(図8のA6)、送信カード1に、シリアルデータの送信を開始させる(ステップ307)。これにより、送信カード1は、記憶部5に記憶されたSYNCコードの設定挿入間隔Lで、SYNCコードを挿入してシリアルデータを生成して、受信カード2に送信するようになる。図8のA7には、このデータの流れが示されている。   Subsequently, the CPU card 3 reads the obtained setting insertion interval L of the SYNC code from the storage unit 5 (A6 in FIG. 8), and causes the transmission card 1 to start transmitting serial data (step 307). Thereby, the transmission card 1 generates serial data by inserting the SYNC code at the set insertion interval L of the SYNC code stored in the storage unit 5 and transmits the serial data to the reception card 2. A data flow is shown in A7 of FIG.

このように、この実施の形態では、制御部30は、SYNCコード(ダミーデータ)の挿入間隔Lを順番に減少させながら、キャリブレーション用試験データの送受信を受信カード2での受信が失敗するまで繰り返す。決定部31は、受信カード2で受信が初めて失敗したキャリブレーション用試験データに含まれるSYNCコード(ダミーデータ)の挿入間隔Lを、SYNCコード(ダミーデータ)の設定挿入間隔Lとして決定する。   As described above, in this embodiment, the control unit 30 decreases the insertion interval L of the SYNC code (dummy data) in order until transmission / reception of the calibration test data fails in the reception card 2. repeat. The determination unit 31 determines the insertion interval L of the SYNC code (dummy data) included in the calibration test data for which reception has failed for the first time at the reception card 2 as the set insertion interval L of the SYNC code (dummy data).

以上詳細に説明したように、この実施の形態によれば、実際にシリアルデータ(実データ)を転送する前に、複数の異なる挿入間隔LでSYNCコード(ダミーデータ)が挿入されたキャリブレーション用試験データの送受信を送信カード1と受信カード2の間で実際に行う。これにより、データ欠損が発生しないSYNCコード(ダミーデータ)の最大挿入間隔Lをデータ伝送前に求めることができる。この結果、データ欠損が発生しないダミーデータの最大挿入間隔Lでのシリアルデータの転送が可能になる。この結果、送信カードと受信カードとの間のクロックの周波数偏差を考慮することなく、データ欠損が発生しない、高速なデータ伝送が可能となる。   As described above in detail, according to this embodiment, the SYNC code (dummy data) is inserted at a plurality of different insertion intervals L before actually transferring serial data (actual data). Test data is actually transmitted and received between the transmission card 1 and the reception card 2. As a result, the maximum insertion interval L of SYNC codes (dummy data) that does not cause data loss can be obtained before data transmission. As a result, serial data can be transferred at the maximum insertion interval L of dummy data that does not cause data loss. As a result, it is possible to perform high-speed data transmission without data loss without considering the clock frequency deviation between the transmitting card and the receiving card.

なお、制御部30は、SYNCコード(ダミーデータ)の挿入間隔Lを受信が失敗する十分な長さとし、挿入間隔Lを順番に減少させながら、キャリブレーション用試験データの送受信を受信カード2での受信が成功するまで繰り返するようにしてもよい。この場合、決定部31は、受信カード2で受信が初めて成功したキャリブレーション用試験データに含まれるSYNCコード(ダミーデータ)の挿入間隔Lを、SYNCコードの設定挿入間隔として決定するようになる。   Note that the control unit 30 sets the insertion interval L of the SYNC code (dummy data) to a length that is sufficient to cause reception failure, and reduces the insertion interval L in order while transmitting and receiving calibration test data at the receiving card 2. It may be repeated until reception is successful. In this case, the determination unit 31 determines the insertion interval L of the SYNC code (dummy data) included in the calibration test data successfully received for the first time by the reception card 2 as the set insertion interval of the SYNC code.

また、実データの送受信中に、SYNCコードの挿抜のような調整処理を行う必要がないので、そのために伝送レートが低下するおそれもない。   Further, since it is not necessary to perform adjustment processing such as insertion / extraction of the SYNC code during transmission / reception of actual data, there is no possibility that the transmission rate is lowered.

実施の形態2.
次に、この発明の実施の形態2について説明する。
Embodiment 2. FIG.
Next, a second embodiment of the present invention will be described.

図9に示すように、実施の形態2に係るデータ伝送システム200は、送受信装置101を備える。送受信装置101は、伝送データを生成する装置である。このデータ伝送システム200は、通信カード1021〜102nをさらに備える。 As shown in FIG. 9, the data transmission system 200 according to Embodiment 2 includes a transmission / reception device 101. The transmission / reception device 101 is a device that generates transmission data. The data transmission system 200 further includes communication cards 102 1 to 102 n .

通信カード1021〜102nは、この順で、デイジーチェーン接続されている。通信カード1021は、送受信装置101から伝送データを受け取り、高速シリアル通信にてデータを通信カード1022に送信する。また、通信カード1021から送信されたシリアルデータは、通信カード1022で受信される。この順で、シリアルデータは、最終的に通信カード102nによって受信される。このデータ伝送システム200は、表示装置104をさらに備える。表示装置104は、伝送されたシリアルデータの結果を表示する。 The communication cards 102 1 to 102 n are daisy chain connected in this order. The communication card 102 1 receives transmission data from the transmission / reception device 101 and transmits the data to the communication card 102 2 by high-speed serial communication. The serial data transmitted from the communication card 102 1 is received by the communication card 102 2 . In this order, the serial data is finally received by the communication card 102 n . The data transmission system 200 further includes a display device 104. The display device 104 displays the result of the transmitted serial data.

図10には、実施の形態2に係るデータ伝送システム200のデータの流れの一例が示されている。図10に示す構成は、図1のデータ伝送装置の構成とほぼ同じである。この実施の形態では、デイジーチェーン接続において、隣接して接続する通信カードの組についてそれぞれキャリブレーションが行われる。送信カード201は、図9の通信カード102kであり、受信カード202は、図9の通信カード102k+1である(kは1〜n−1のいずれか)。 FIG. 10 shows an example of the data flow of the data transmission system 200 according to the second embodiment. The configuration shown in FIG. 10 is almost the same as the configuration of the data transmission apparatus of FIG. In this embodiment, in the daisy chain connection, calibration is performed for each pair of communication cards connected adjacently. The transmission card 201 is the communication card 102 k in FIG. 9, and the reception card 202 is the communication card 102 k + 1 in FIG. 9 (k is any one of 1 to n−1).

CPUカード203は、データ伝送システム200全体の制御を行う。記憶部204は、データを格納する記憶装置である。記憶部204は、データ伝送システム200のキャリブレーション用データ(そのデータパターン)を記憶する。記憶部205は、データを格納する記憶装置である。記憶部205は、データ伝送システム200において取得されたキャリブレーション結果(SYNCコードの設定挿入間隔L)を記憶する。   The CPU card 203 controls the entire data transmission system 200. The storage unit 204 is a storage device that stores data. The storage unit 204 stores calibration data (its data pattern) for the data transmission system 200. The storage unit 205 is a storage device that stores data. The storage unit 205 stores a calibration result (SYNC code setting insertion interval L) acquired in the data transmission system 200.

この実施の形態でも、CPUカード203は、制御部30及び決定部31を備えている。制御部30は、キャリブレーション用試験データに挿入されるSYNCコード(ダミーデータ)の挿入間隔Lを変化させながら、キャリブレーション用試験データを、送信カード201から受信カード202に送受信させ、受信カード202の受信結果を得る。決定部31は、受信カード202の受信結果に基づいて、データ欠損が発生しないSYNCコード(ダミーデータ)の最大挿入間隔Lを求め、設定挿入間隔Lとして決定する。   Also in this embodiment, the CPU card 203 includes the control unit 30 and the determination unit 31. The control unit 30 transmits / receives the calibration test data from the transmission card 201 to the reception card 202 while changing the insertion interval L of the SYNC code (dummy data) to be inserted into the calibration test data. The result of receiving is obtained. The determination unit 31 obtains the maximum insertion interval L of the SYNC code (dummy data) that does not cause data loss based on the reception result of the reception card 202 and determines the set insertion interval L.

次に、この実施の形態に係るデータ伝送システム200の動作について説明する。   Next, the operation of the data transmission system 200 according to this embodiment will be described.

図10は、実施の形態2に係るデータ伝送システム200のデータの流れを示すデータフローである。この実施の形態では、実データの伝送前に、事前にキャリブレーションが行われる。まず、CPUカード203が記憶部204からキャリブレーション用試験データを取得して、キャリブレーション用試験データを送信カードに送信する。このデータの流れは、図10のB1、B2として示されている。   FIG. 10 is a data flow showing a data flow of the data transmission system 200 according to the second embodiment. In this embodiment, calibration is performed in advance before transmission of actual data. First, the CPU card 203 acquires calibration test data from the storage unit 204 and transmits the calibration test data to the transmission card. This data flow is shown as B1 and B2 in FIG.

続いて、送信カード201は、受信カード202へキャリブレーション用試験データを送信する。このデータの流れは、図10のB3として示されている。   Subsequently, the transmission card 201 transmits calibration test data to the reception card 202. This data flow is shown as B3 in FIG.

受信カード202は、キャブレーション試験データを受信し、受信結果をCPUカード203へ書き込む。このデータの流れは、図10のB4として示されている。   The reception card 202 receives the calibration test data and writes the reception result to the CPU card 203. This data flow is shown as B4 in FIG.

続いて、CPUカード203は、受信に失敗したか否かを判定する。データ欠損等がなく、受信が失敗していなければ、前回送信した試験データ長より長いデータ長、すなわちSYNCコードの挿入頻度を上げて、再度送信する。ここで、図10のB2、B3、B4のデータの流れが繰り返される。   Subsequently, the CPU card 203 determines whether or not reception has failed. If there is no data loss or the like and reception has not failed, the data length longer than the previously transmitted test data length, that is, the SYNC code insertion frequency is increased, and the data is transmitted again. Here, the data flow of B2, B3, and B4 in FIG. 10 is repeated.

このようにデータの受信に失敗したと判定されるまで、上述の処理が繰り返される。データの受信に失敗したと判定されると、CPUカード203は、キャリブレーション結果(最後に送信成功したSYNCコードの設定挿入間隔L)を記憶部205に記憶する。ここでは、失敗する直前の試験データ長が、データ長とされ、SYNCの挿入頻度が求められる。このデータの流れが、図10のB5に示されている。   As described above, the above-described processing is repeated until it is determined that the data reception has failed. If it is determined that the data reception has failed, the CPU card 203 stores the calibration result (the setting insertion interval L of the last successfully synchronized SYNC code L) in the storage unit 205. Here, the test data length immediately before the failure is the data length, and the SYNC insertion frequency is obtained. This data flow is shown in B5 of FIG.

続いて、CPUカード203は、SYNCコードの設定挿入間隔Lを記憶部205から読み出す(図10のB6)。SYNCコードの設定挿入間隔Lは、CPUカード203から送信カード201に送られる(図10のB7)。送信カード201は、送信成功したSYNCコードの設定挿入間隔Lに基づいて、シリアルデータにSYNCコードを挿入することにより、データ伝送を開始する(図10のB8)。   Subsequently, the CPU card 203 reads the setting insertion interval L of the SYNC code from the storage unit 205 (B6 in FIG. 10). The set insertion interval L of the SYNC code is sent from the CPU card 203 to the transmission card 201 (B7 in FIG. 10). The transmission card 201 starts data transmission by inserting the SYNC code into the serial data based on the set insertion interval L of the SYNC code that has been successfully transmitted (B8 in FIG. 10).

この実施の形態では、上述のSYNCコードの挿入間隔Lのキャリブレーション処理が、隣接する通信カード(1021、1022)、(1022、1023)、…、(102n-1、102n)についてそれぞれ行われ、それぞれのSYNCコードの設定挿入間隔Lが求められる。これにより、この結果、送信カードと受信カードとの間のクロックの周波数偏差を考慮することなく、データ欠損が発生しない、高速なデータ伝送が可能となる。 In this embodiment, the calibration processing of the SYNC code insertion interval L described above is performed by the adjacent communication cards (102 1 , 102 2 ), (102 2 , 102 3 ),..., (102 n−1 , 102 n ) To determine the set insertion interval L of each SYNC code. As a result, it is possible to perform high-speed data transmission without data loss without considering the frequency deviation of the clock between the transmission card and the reception card.

実施の形態3.
次に、この発明の実施の形態3について説明する。
Embodiment 3 FIG.
Next, a third embodiment of the present invention will be described.

上記実施の形態2では、デイジーチェーン接続された通信カード1021〜102nのデータ伝送について、隣接する通信カード間でそれぞれSYNCコードの挿入間隔Lのキャリブレーションを行った。本実施の形態では、通信カード(送信カード)1021が、複数の通信カード(中間カード)1022〜102n-1を介して、通信カード(受信カード)102nにシリアルデータを送信するものとして、通信カード1021〜102n全体で、SYNCコードの設定挿入間隔Lが求められる。 In the second embodiment, calibration of the SYNC code insertion interval L is performed between adjacent communication cards for data transmission of the communication cards 102 1 to 102 n connected in a daisy chain. In the present embodiment, the communication card (transmission card) 102 1 transmits serial data to the communication card (reception card) 102 n via the plurality of communication cards (intermediate cards) 102 2 to 102 n−1. As described above, the set insertion interval L of the SYNC code is obtained for the entire communication cards 102 1 to 102 n .

図11には、実施の形態3に係るデータ伝送システム200でのデータの流れが示されている。このデータ伝送システム200では、複数の通信カード1021〜102nの間でデータ送受信が行われる。 FIG. 11 shows a data flow in the data transmission system 200 according to the third embodiment. In the data transmission system 200, data transmission / reception is performed between the plurality of communication cards 102 1 to 102 n .

CPUカード404は、CPUカード3、203と同一のCPUカードである。CPUカード404はデータ伝送システム200の制御を行う。記憶部405は、記憶部204と同一のデータを格納する記憶装置である。記憶部405はデータ伝送システム200のキャリブレーション用試験データ(そのデータパターン)を記憶する記憶装置である。記憶部405は、記憶部205と同一のデータを記憶する記憶装置である。記憶部406は、データ伝送システム200において実施したキャリブレーション結果(SYNCコードの設定挿入間隔L)を記憶する記憶装置である。   The CPU card 404 is the same CPU card as the CPU cards 3 and 203. The CPU card 404 controls the data transmission system 200. The storage unit 405 is a storage device that stores the same data as the storage unit 204. The storage unit 405 is a storage device that stores calibration test data (its data pattern) for the data transmission system 200. The storage unit 405 is a storage device that stores the same data as the storage unit 205. The storage unit 406 is a storage device that stores a calibration result (SYNC code setting insertion interval L) performed in the data transmission system 200.

シリアルデータをデイジーチェーン接続にて複数の通信カード1021〜102n間で送受信を行うデータ伝送システムにおいて、実データの伝送前に、事前にキャリブレーションが行われる。CPUカード404は、キャブレーション用試験データを取得して通信カード1021に送る(図11のC1、C2)。通信カード1021から複数の通信カード1022〜102n-1を経由し、通信カード102nへキャリブレーション用試験データを送信する(図11のC3、C4、C5)。通信カード102nは、キャリブレーション用試験データを受信し、受信結果をCPUカード404へ書き込む(図11のC6)。受信が成功(データ欠損等がない)であれば、キャリブレーション用試験データへのSYNCコードの挿入間隔Lを変更しながら、図11のC2、C3、C4、C5、C6に示す処理が繰り返される。 In a data transmission system that transmits and receives serial data between a plurality of communication cards 102 1 to 102 n by daisy chain connection, calibration is performed in advance before transmission of actual data. CPU card 404 and sends the acquired test data for carburetion in communication card 102 1 (C1 in FIG. 11, C2). Via the communication card 102 1 a plurality of communication cards 102 2 to 102 n-1, transmits the test data for calibration to the communication card 102 n (C3 in FIG. 11, C4, C5). The communication card 102 n receives the calibration test data and writes the reception result to the CPU card 404 (C6 in FIG. 11). If the reception is successful (no data loss or the like), the processing shown in C2, C3, C4, C5, and C6 in FIG. 11 is repeated while changing the insertion interval L of the SYNC code into the calibration test data. .

受信が失敗するまでこの処理は繰り返される。受信に失敗した時点で、通信カード1021は、失敗する直前の試験データ長をデータ長とするSYNCコードの挿入間隔Lが求められる。CPUカード404は、このキャリブレーション結果(送信が成功したSYNCコードの設定挿入間隔L)を記憶する(図11のC7)。通信カード1021は、記憶されたSYNCコードの設定挿入間隔Lを読み出して(図11のC8)、通信カード1021は、SYNCコードの設定挿入間隔Lで、シリアルデータのSYNCコードを挿入して、データ伝送を開始する(図11のC9、C10、C11)。適切な設定挿入間隔Lとなっているため、通信カード102nでは、シリアルデータを正確に受信することができる。 This process is repeated until reception fails. When it fails to receive, the communication card 102 1, the insertion distance L SYNC code which the test data length immediately before failure and the data length is obtained. The CPU card 404 stores the calibration result (the setting insertion interval L of the SYNC code that has been successfully transmitted) (C7 in FIG. 11). The communication card 102 1 reads the stored setting interval L of the SYNC code (C8 in FIG. 11), and the communication card 102 1 inserts the SYNC code of the serial data at the setting insertion interval L of the SYNC code. Then, data transmission is started (C9, C10, C11 in FIG. 11). Since the set insertion interval L is appropriate, the communication card 102 n can receive serial data accurately.

以上詳細に説明したように、この実施の形態によれば、デイジーチェーン接続された複数の通信カード1021〜102nを経由した高速シリアル通信において、キャリブレーションを行うことにより、データ欠損が発生しないSYNCコードの最大挿入間隔Lをデータ伝送前に求めることができる。このため、周波数偏差を考慮することなく、データ欠損のない最速なデータ伝送が可能となる。 As described in detail above, according to this embodiment, data loss does not occur by performing calibration in high-speed serial communication via a plurality of communication cards 102 1 to 102 n connected in a daisy chain. The maximum SYNC code insertion interval L can be obtained before data transmission. For this reason, the fastest data transmission without data loss is possible without considering the frequency deviation.

この実施の形態では、隣接する通信カードについてそれぞれキャリブレーションを行わずにすむので、キャリブレーションに要する時間を少なくすることができる。また、中間カードで、SYNCコードの挿入を行わずにすむので、伝送レートを向上させることができる。   In this embodiment, since it is not necessary to perform calibration for adjacent communication cards, the time required for calibration can be reduced. Further, since it is not necessary to insert a SYNC code in the intermediate card, the transmission rate can be improved.

なお、上記各実施の形態では、キャリブレーション用シリアルデータを1つだけ用意し、送信カードでSYNCコードの挿入間隔Lを変更しながら、キャリブレーションを行ったが、SYNCコードの挿入間隔Lが異なるキャリブレーション用試験データを記憶部4に複数記憶しておき、それらのキャリブレーション用試験データを用いてキャリブレーションを行うようにしてもよい。   In each of the above-described embodiments, only one calibration serial data is prepared, and calibration is performed while changing the SYNC code insertion interval L on the transmission card. However, the SYNC code insertion interval L is different. A plurality of calibration test data may be stored in the storage unit 4, and calibration may be performed using the calibration test data.

なお、上記各実施の形態では、前述のように、SYNCコードの挿入間隔Lを次第に増加させていったが、SYNCコードの挿入間隔Lを最大にして、その挿入間隔Lを短くして、初めてデータ欠損が発生しなかった、すなわち受信に成功した挿入間隔Lを、設定挿入間隔Lとして送信カード1に設定するようにしてもよい。   In each of the above embodiments, as described above, the insertion interval L of the SYNC code is gradually increased. However, the insertion interval L of the SYNC code is maximized and the insertion interval L is shortened for the first time. The insertion interval L in which no data loss has occurred, that is, the reception has succeeded, may be set in the transmission card 1 as the set insertion interval L.

なお、上記各実施の形態では、SYNCコードの挿入間隔Lのキャリブレーションを行ったが、SYNCコードのデータ長のキャリブレーションを行うようにしてもよい。   In each of the above embodiments, the calibration of the SYNC code insertion interval L is performed. However, the data length of the SYNC code may be calibrated.

この発明は、この発明の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、この発明を説明するためのものであり、この発明の範囲を限定するものではない。すなわち、この発明の範囲は、実施の形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、この発明の範囲内とみなされる。   Various embodiments and modifications can be made to the present invention without departing from the broad spirit and scope of the present invention. The above-described embodiments are for explaining the present invention and do not limit the scope of the present invention. In other words, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.

1…送信カード、2…受信カード、3…CPUカード、4、5…記憶部、10…送信部、11…クロック発生部、20…受信部、21…クロック発生部、30…制御部、31…決定部、100…データ伝送装置、101…送受信装置、1021〜102n…通信カード、104…表示装置、200…データ伝送システム、201…送信カード、202…受信カード、203…CPUカード、204、205…記憶部、404…CPUカード、405、406…記憶部。 DESCRIPTION OF SYMBOLS 1 ... Transmission card, 2 ... Reception card, 3 ... CPU card, 4, 5 ... Memory | storage part, 10 ... Transmission part, 11 ... Clock generation part, 20 ... Reception part, 21 ... Clock generation part, 30 ... Control part, 31 ... determining unit, 100 ... data transmission unit, 101 ... reception device, 102 1 to 102 n ... communication card, 104 ... display unit, 200 ... data transmission system, 201 ... transmission card, 202 ... reception card, 203 ... CPU card, 204, 205 ... storage unit, 404 ... CPU card, 405, 406 ... storage unit.

Claims (6)

送信側と受信側のクロックの差を調整するためのダミーデータが一定の挿入間隔で挿入されたシリアルデータを送信する送信カードと、
前記送信カードから送信されたデータを受信する受信カードと、
を備え
複数の通信カードがデイジーチェーン接続されており、前記複数の通信カードのうち、隣接する通信カードを前記送信カード及び前記受信カードとするデータ伝送装置において、
前記受信カードが前記送信カードから送信された実データを含む前記シリアルデータを受信するデータ伝送の前に、キャリブレーションを実施して前記ダミーデータの設定挿入間隔を前記隣接する通信カードの組についてそれぞれ予め決定するために、第1の記憶部、制御部、決定部、第2の記憶部を有し、
前記第1の記憶部は、キャリブレーション用試験データを記憶
前記制御部は、前記第1の記憶部で記憶された前記キャリブレーション用試験データに挿入されるキャリブレーション用ダミーデータの挿入間隔を変化させながら、前記キャリブレーション用試験データを、前記送信カードから前記受信カードに送受信させ、前記受信カードの受信結果を得て
前記決定部は、前記受信カードの受信結果に基づいて、データ欠損が発生しない前記キャリブレーション用ダミーデータの最大挿入間隔を前記ダミーデータの前記設定挿入間隔として決定
前記第2の記憶部は、前記決定部で決定された前記設定挿入間隔を記憶し、
前記送信カードは、前記第2の記憶部に記憶された前記設定挿入間隔で前記ダミーデータを、前記実データを含む前記シリアルデータに挿入して前記受信カードに送信する前記データ伝送を開始するデータ伝送装置。
A transmission card for transmitting serial data in which dummy data for adjusting the difference between the clock on the transmission side and the reception side is inserted at a fixed insertion interval;
A receiving card for receiving data transmitted from the transmitting card;
Equipped with a,
A plurality of communication cards are daisy-chained among the plurality of communication cards, in the data transmission device you communication card adjacent to the transmitting card and the receiver card,
Before the data transmission in which the receiving card receives the serial data including the actual data transmitted from the transmitting card, calibration is performed and the dummy data set insertion interval is set for each of the adjacent communication cards. In order to determine in advance, a first storage unit, a control unit, a determination unit, a second storage unit,
The first storage unit stores test data for calibration,
The control unit changes the insertion interval of calibration dummy data to be inserted into the calibration test data stored in the first storage unit, while transferring the calibration test data from the transmission card. Send and receive to the receiving card, obtain the reception result of the receiving card,
The determining unit based on the reception result of the receiving card, determines the maximum insertion distance of dummy data the calibration data loss does not occur as the setting interval of the insertion of the dummy data,
The second storage unit stores the setting insertion interval determined by the determination unit ,
The transmission card, a pre-Symbol said dummy data in said stored set insertion interval in the second storage unit, wherein by inserting the serial data to start the data transmission to be transmitted to the receiver card that contains the actual data Data transmission equipment.
前記制御部は、前キャリブレーション用ダミーデータの挿入間隔を前記データ欠損が発生しない値から、増加させながら、前記キャリブレーション用試験データの送受信を前記受信カードでの受信が失敗するまで繰り返し、
前記決定部は、前記受信カードで受信が最後に成功した前記キャリブレーション用試験データに含まれる前記キャリブレーション用ダミーデータの挿入間隔を、前記設定挿入間隔として決定する、
請求項1に記載のデータ伝送装置。
Wherein the control unit repeats the insertion interval before Symbol dummy data for calibration from the data loss does not occur value, while increasing, until the reception of the transmission and reception of the test data for the calibration by the reception card fails,
The determination section, the insertion interval of the dummy data for the calibration contained in the calibration test data received in the previous SL received card is last successful, determined as before Ki設 constant insertion interval,
The data transmission apparatus according to claim 1.
前記制御部は、前キャリブレーション用ダミーデータの挿入間隔を前記データ欠損が発生する値から、減少させながら、前記キャリブレーション用試験データの送受信を前記受信カードでの受信が成功するまで繰り返し、
前記決定部は、前記受信カードで受信が最初に成功した前記キャリブレーション用試験データに含まれる前記キャリブレーション用ダミーデータの挿入間隔を、前記設定挿入間隔として決定する、
請求項1に記載のデータ伝送装置。
Wherein the control unit repeats the insertion interval before Symbol dummy data for calibration from the values the data loss occurs, while decreasing, until the reception of the transmission and reception of the test data for the calibration by the reception card is successful,
The determination section, the insertion interval of the dummy data for the calibration contained in the calibration test data received in the previous SL received card first successful, determined as before Ki設 constant insertion interval,
The data transmission apparatus according to claim 1.
請求項1からのいずれか一項に記載のデータ伝送装置と
前記実データを含む前記シリアルデータを生成し、前記データ伝送装置に送信する送受信装置と、
前記データ伝送装置の前記受信カードでのシリアルデータの受信結果を表示する表示装置と、
を備えるデータ伝送システム。
A data transmission device according to any one of claims 1 to 3 ,
A transmission / reception device that generates the serial data including the actual data and transmits the serial data to the data transmission device;
A display device for displaying a reception result of serial data at the receiving card of the data transmission device;
A data transmission system comprising:
送信側と受信側のクロックの差を調整するためのダミーデータが一定の挿入間隔で挿入されたシリアルデータを送信する送信カードと、
前記送信カードから送信されたデータを受信する受信カードと、
を備え
複数の通信カードがデイジーチェーン接続されており、前記複数の通信カードのうち、隣接する通信カードを前記送信カード及び前記受信カードとするデータ伝送装置のキャリブレーション方法において、
前記受信カードが前記送信カードから送信された実データを含む前記シリアルデータを受信するデータ伝送の前に、キャリブレーションを実施して前記ダミーデータの設定挿入間隔を前記隣接する通信カードの組についてそれぞれ予め決定するために、第1の記憶ステップ、制御ステップ、決定ステップ、第2の記憶ステップを有し、
前記第1の記憶ステップは、キャリブレーション用試験データを記し、
前記制御ステップは、前記第1の記憶ステップで記憶された前記キャリブレーション用試験データに挿入されるキャリブレーション用ダミーデータの挿入間隔を変化させながら、前記キャリブレーション用試験データを、前記送信カードから前記受信カードに送受信させ、前記受信カードの受信結果を得て、
前記決定ステップは、前記受信カードの受信結果に基づいて、データ欠損が発生しない前記キャリブレーション用ダミーデータの最大挿入間隔を前記ダミーデータの前記設定挿入間隔として決定し、
前記第2の記憶ステップは、前記決定ステップで決定された前記設定挿入間隔を記憶するキャリブレーション方法。
A transmission card for transmitting serial data in which dummy data for adjusting the difference between the clock on the transmission side and the reception side is inserted at a fixed insertion interval;
A receiving card for receiving data transmitted from the transmitting card;
Equipped with a,
A plurality of communication cards are daisy-chained among the plurality of communication cards, in the calibration method of the data transmission device you communication card adjacent to the transmitting card and the receiver card,
Before the data transmission in which the receiving card receives the serial data including the actual data transmitted from the transmitting card, calibration is performed and the dummy data set insertion interval is set for each of the adjacent communication cards. A first storage step, a control step, a determination step, a second storage step to determine in advance;
The first storage step, the test data for calibration remembers,
The control step is configured to change the calibration test data from the transmission card while changing the insertion interval of the calibration dummy data inserted into the calibration test data stored in the first storage step . Send and receive to the receiving card, obtain the reception result of the receiving card ,
It said determining step, based on the reception result of the receiving card, determines the maximum insertion distance of dummy data the calibration data loss does not occur as the setting interval of the insertion of the dummy data,
Said second storing step, said set insertion interval remembers to Ruki catcher calibration method determined in the determining step.
送信側と受信側のクロックの差を調整するためのダミーデータが一定の挿入間隔で挿入されたシリアルデータを送信する送信カードと、
前記送信カードから送信されたデータを受信する受信カードと、
を備え
複数の通信カードがデイジーチェーン接続されており、前記複数の通信カードのうち、隣接する通信カードを前記送信カード及び前記受信カードとするデータ伝送装置を制御するコンピュータを、
前記受信カードが前記送信カードから送信された実データを含む前記シリアルデータを受信するデータ伝送の前に、キャリブレーションを実施して前記ダミーデータの設定挿入間隔を前記隣接する通信カードの組についてそれぞれ予め決定するために、第1の記憶部、制御部、決定部、第2の記憶部として機能させるプログラムであって、
前記第1の記憶部は、キャリブレーション用試験データを記憶し、
前記制御部は、前記第1の記憶部で記憶された前記キャリブレーション用試験データに挿入されるキャリブレーション用ダミーデータの挿入間隔を変化させながら、前記キャリブレーション用試験データを、前記送信カードから前記受信カードに送受信させ、前記受信カードの受信結果を得て、
前記決定部は、前記受信カードの受信結果に基づいて、データ欠損が発生しない前記キャリブレーション用ダミーデータの最大挿入間隔を前記ダミーデータの前記設定挿入間隔として決定し、
前記第2の記憶部は、前記決定部で決定された前記設定挿入間隔を記憶し、
前記送信カードに、前記第2の記憶部に記憶された前記設定挿入間隔で前記ダミーデータを、前記実データを含む前記シリアルデータに挿入して前記受信カードに送信する前記データ伝送を開始させるプログラム。
A transmission card for transmitting serial data in which dummy data for adjusting the difference between the clock on the transmission side and the reception side is inserted at a fixed insertion interval;
A receiving card for receiving data transmitted from the transmitting card;
Equipped with a,
A plurality of communication cards are connected in a daisy chain, and among the plurality of communication cards, a computer that controls a data transmission device using adjacent communication cards as the transmission card and the reception card ,
Before the data transmission in which the receiving card receives the serial data including the actual data transmitted from the transmitting card, calibration is performed and the dummy data set insertion interval is set for each of the adjacent communication cards. In order to determine in advance, a program that functions as a first storage unit, a control unit, a determination unit, a second storage unit,
The first storage unit stores calibration test data ,
The control unit changes the insertion interval of calibration dummy data to be inserted into the calibration test data stored in the first storage unit, while transferring the calibration test data from the transmission card. Send and receive to the receiving card, obtain the reception result of the receiving card ,
The determining unit based on the reception result of the receiving card, determines the maximum insertion distance of dummy data the calibration data loss does not occur as the setting interval of the insertion of the dummy data,
The second storage unit stores the setting insertion interval determined by the determination unit ,
In the transmission card, the dummy data in the previous SL said set insertion interval stored in the second storage unit, the cause starts the data transmission to be transmitted to the insert and the receiver card to the serial data including the real data program.
JP2014026128A 2014-02-14 2014-02-14 Data transmission device, data transmission system, calibration method, and program Active JP6289147B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014026128A JP6289147B2 (en) 2014-02-14 2014-02-14 Data transmission device, data transmission system, calibration method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014026128A JP6289147B2 (en) 2014-02-14 2014-02-14 Data transmission device, data transmission system, calibration method, and program

Publications (2)

Publication Number Publication Date
JP2015154233A JP2015154233A (en) 2015-08-24
JP6289147B2 true JP6289147B2 (en) 2018-03-07

Family

ID=53896090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014026128A Active JP6289147B2 (en) 2014-02-14 2014-02-14 Data transmission device, data transmission system, calibration method, and program

Country Status (1)

Country Link
JP (1) JP6289147B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912354B (en) * 2016-03-16 2019-06-21 昆山软龙格自动化技术有限公司 A kind of method for burn-recording of the quick I2C of CMOS chip
CN111312157B (en) * 2020-03-04 2021-05-25 深圳市艾比森光电股份有限公司 LED display screen, configuration updating method thereof, receiving card and display module

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01191539A (en) * 1988-01-27 1989-08-01 Nitsuko Corp Variable synchronizing character number transmission system
JP3851721B2 (en) * 1998-03-11 2006-11-29 株式会社東芝 Multimedia data input / output interface apparatus and constant rate stream output method applied to the apparatus
JP3206648B2 (en) * 1998-04-15 2001-09-10 ブラザー工業株式会社 Multi-function peripheral
JP4704050B2 (en) * 2005-01-19 2011-06-15 株式会社リコー Data transfer system and electronic device
JP2011082934A (en) * 2009-10-09 2011-04-21 Cloud Scope Technologies Inc Stream data transmission device and method, and program
JP5545146B2 (en) * 2010-09-15 2014-07-09 株式会社リコー Serial communication system

Also Published As

Publication number Publication date
JP2015154233A (en) 2015-08-24

Similar Documents

Publication Publication Date Title
CN100399312C (en) Automatic hardware data link initialization method and system
US6757348B1 (en) High-speed coordinated multi-channel elastic buffer
US20130101058A1 (en) Multi-protocol serdes phy apparatus
KR102091302B1 (en) Timestamp correction in a multi-lane communication link with skew
CN105578585B (en) Method, device and communication equipment for determining link delay
CN108694148B (en) Method and apparatus for Universal Serial Bus (USB) communication
JP6289147B2 (en) Data transmission device, data transmission system, calibration method, and program
CN108471308B (en) Semiconductor device and data synchronization method
CN103684736A (en) Clock synchronization method for high-speed communication
US11757608B2 (en) Communication apparatus, communication system, communication method, and computer readable medium
CN108241586B (en) Controller circuit and estimated delay compensation method
CN109327284B (en) Data transmission method and device and electronic equipment
US20220045778A1 (en) Communication system
JP5545146B2 (en) Serial communication system
CN111124997B (en) Data sending method, data receiving method, data sending device, data receiving device, processor chip and server
CN114650138A (en) I2C communication method, system, equipment and medium
JP2019047326A (en) Data transmission device, arithmetic processing device, and method for controlling data transmission device
US8803714B2 (en) Transmitting device and receiving device
JP5804930B2 (en) Serial communication method, communication apparatus, and serial communication system
CN107122325B (en) Data transmission system and method based on universal serial bus
CN114564441B (en) System on chip, data processing method and computer equipment
CN107925557B (en) Identification codeword for rate-adapted version of data stream
WO2011077707A1 (en) Information processing apparatus or information processing method
WO2017012415A1 (en) Packet slicing method and apparatus, and computer-readable medium
JP4567400B2 (en) Semiconductor integrated circuit emulator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170802

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: 20180109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180206

R150 Certificate of patent or registration of utility model

Ref document number: 6289147

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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