JP2011257840A - Data regeneration device and data regeneration method - Google Patents

Data regeneration device and data regeneration method Download PDF

Info

Publication number
JP2011257840A
JP2011257840A JP2010129952A JP2010129952A JP2011257840A JP 2011257840 A JP2011257840 A JP 2011257840A JP 2010129952 A JP2010129952 A JP 2010129952A JP 2010129952 A JP2010129952 A JP 2010129952A JP 2011257840 A JP2011257840 A JP 2011257840A
Authority
JP
Japan
Prior art keywords
data
transmission
serial
cpu
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010129952A
Other languages
Japanese (ja)
Inventor
Noriyuki Ogawa
憲之 小川
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2010129952A priority Critical patent/JP2011257840A/en
Publication of JP2011257840A publication Critical patent/JP2011257840A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve a problem of being unable to transfer a serial data signal through multiple repetitions per basic cycle.SOLUTION: A data regeneration device 4 according to an embodiment comprises: a personal computer body 4a which has a nonvolatile memory unit 16 for holding recorded data, a CPU 19, a volatile memory unit 23 and an input-output bus 20; and a serial transmission card 15 which generates multiple serial data signals from regeneration data transferred from the volatile memory unit 23 respectively and transmits each of the serial data signals to a signal processor 2 per basic cycle via a transmission path 3. The serial transmission card 15 generates each of the serial data signals within a period longer than a response processible time of the CPU 19, which is obtained by multiplying the basic cycle by the preset number of transmissions, and after a lapse of the period, it serially transmits each of the serial data signals per processing cycle at regular intervals within a subsequent period longer than the time.

Description

一実施形態はデータ再生装置およびデータ再生方法に関する。   One embodiment relates to a data reproducing apparatus and a data reproducing method.

移動目標の距離や方向を演算するレーダ装置には信号処理装置が設けられており、この信号処理装置にはDSPカードなどを用いたDSPソフトウェアが実装されている。DSPソフトウェアをデバッグする場合、アンテナ部から出力されるNチャネル分のシリアルデータ信号に対してDSPカードが信号処理演算を行う。デバッグでは、各チャネル分のシリアルデータ信号が決められたタイミングで転送され又は演算処理されているかどうか、あるいは正しい答えが出力されているかどうか、あるいは正しい答えが出力されるまでにデータ制御が行われているかどうかといったことが検証される。データ制御とは、各シリアルデータ信号を例えば50〜100μ秒の範囲の時間値を持つ基本周期内に記憶媒体から読出して出力すること、基本周期毎に各チャネルの信号処理演算が実行されることを指す。   A radar device that calculates the distance and direction of the moving target is provided with a signal processing device, and DSP software using a DSP card or the like is mounted on the signal processing device. When debugging DSP software, the DSP card performs signal processing operations on serial data signals for N channels output from the antenna unit. In debugging, data control is performed until serial data signals for each channel are transferred or processed at a predetermined timing, whether a correct answer is output, or until a correct answer is output. It is verified whether or not. Data control means that each serial data signal is read from a storage medium and output within a basic period having a time value in the range of, for example, 50 to 100 μs, and signal processing operations for each channel are executed for each basic period. Point to.

レーダ装置はレーダ受信波を検波して大量のデータを出力する。従来、遠隔地のレーダ装置が実測したデータを収集し、実測データを蓄積するデータ収集装置が知られている(特許文献1参照)。実環境においてレーダ装置が出力したデータを実測データとしてデータ収集装置は大容量の外部記憶装置に保存する。この記録データをデータ再生装置が読出してデバッグに用いる。デバッグは、実環境下での記録データを外部記憶装置からデータ再生装置が読出して信号処理装置へ送り、DSPカード上のDSPの出力をモニタすること等を行う。信号処理装置が信号処理演算を行って、その結果が演算式より導かれる結果に一致するかどうかが検証される。   The radar apparatus detects a radar reception wave and outputs a large amount of data. Conventionally, a data collection apparatus that collects data measured by a remote radar apparatus and accumulates the measured data is known (see Patent Document 1). In the actual environment, the data output by the radar device is stored as actual measurement data in a large-capacity external storage device. The recorded data is read out by the data reproducing apparatus and used for debugging. In debugging, recorded data in an actual environment is read from an external storage device by a data reproducing device and sent to a signal processing device, and the output of the DSP on the DSP card is monitored. The signal processing apparatus performs a signal processing operation, and it is verified whether the result matches the result derived from the arithmetic expression.

デバッグでは更に、信号処理装置に高速レートの記録データが入力されてから演算出力されるまでに、データ制御が正しく行われているかどうかが検証される。高速レートの記録データとは例えば50μ秒を繰返し周期とするパルス信号の列を指す。与えられた実測データが順番に信号処理されていく際、データ処理の進行の過程や、各過程の動作や、動作タイミングの制御等を検証する必要がある。   In the debugging, it is further verified whether the data control is correctly performed from the time when the recording data at a high rate is input to the signal processing apparatus until the calculation is output. High-speed recording data refers to a train of pulse signals having a repetition period of 50 μs, for example. When the given measured data is sequentially signal-processed, it is necessary to verify the process of data processing, the operation of each process, the control of the operation timing, and the like.

レーダ装置や、あるいはレーダ情報を用いて対象の位置を可視化する画像処理装置にはリアルタイム制御が求められる。レーダ装置や画像処理装置は、処理すべき入力シリアルデータの転送レートが100〜400MBytes/secと高速である特徴を持つ。   Real-time control is required for a radar apparatus or an image processing apparatus that visualizes the position of an object using radar information. The radar device and the image processing device have a feature that the transfer rate of input serial data to be processed is as high as 100 to 400 Mbytes / sec.

レーダ装置では、データに対する処理周期が数十μ秒〜数百m秒と短く、さらに処理すべきデータ量が巨大であり、データ速度が100〜400MBytes/secと高速である。このため、試験用データや、実環境下にて保存されたデータを、本器であるDSPカード上の動作の周期と同一の制御タイミングで送信することは重要である。   In the radar apparatus, the data processing cycle is as short as several tens of microseconds to several hundreds of milliseconds, the amount of data to be processed is huge, and the data rate is as high as 100 to 400 Mbytes / sec. For this reason, it is important to transmit the test data and the data stored in the actual environment at the same control timing as the operation cycle on the DSP card which is this device.

現在、様々なデータ再生装置が市販されている。市販のデータ再生装置はデータ通信の高速性と外部記憶装置(例えばRAID HDD、シリコンDISKなど)の低速性とを吸収した仕組みを有し、この仕組みが各社独自技術により実現されている。   Currently, various data reproducing apparatuses are commercially available. A commercially available data reproducing apparatus has a mechanism that absorbs the high speed of data communication and the low speed of an external storage device (for example, RAID HDD, silicon DISK, etc.), and this mechanism is realized by a technology unique to each company.

収集対象のデータが人間系応答データであってデータ発生周期が長くデータ発生密度が低いデータの再生方法に関しては、従来、航空機等に関するレーダ情報と、管制官等による入力操作に応じた操作データをレーダ画面に一致させて表示する作画データの記録再生出力を可能にしたレーダ情報処理装置が知られている(例えば特許文献2)。   Regarding the data reproduction method in which the data to be collected is human system response data and the data generation cycle is long and the data generation density is low, conventionally, radar information on aircraft etc. and operation data corresponding to input operations by controllers etc. There is known a radar information processing apparatus that enables recording / reproducing output of drawing data displayed in conformity with a radar screen (for example, Patent Document 2).

特開2009−199315号公報JP 2009-199315 A 特開2007−193516号公報JP 2007-193516 A

しかし、市販品のデータ再生装置の間に共通する点は、データ通信の高速性と外部記憶装置(例えばRAID HDD、シリコンDISKなど)の低速性とを吸収した仕組みを各社独自技術にて実現している点であり、その点が装置の非汎用性、高コスト化を招いている。   However, the common point between commercially available data playback devices is that each company's proprietary technology realizes a mechanism that absorbs the high speed of data communication and the low speed of external storage devices (for example, RAID HDD, silicon DISK, etc.). This point leads to non-genericity and high cost of the device.

汎用オペレーティングシステム(OS)を実装したパソコンでは、高速レートのシリアルデータ信号を読出して転送する処理を実行することができない。ホスト装置からデータ読出しの指令を受信してからデータを読出すまでの間、制御がOSに渡されるため、極めて短時間内で膨大な量のデータをパソコンCPUがRAID HDDや、シリコンディスクより読出して通信バス経由でデバッグ対象に転送することができない。レーダ装置が出力するような50〜100μ秒の範囲の送信間隔で1000回連続してシリアルデータ信号を転送することはパソコンCPUにはできない。   A personal computer equipped with a general-purpose operating system (OS) cannot execute processing for reading and transferring a serial data signal at a high rate. Since the control is transferred to the OS from when the data read command is received from the host device to when the data is read, the personal computer CPU reads a huge amount of data from the RAID HDD or silicon disk within an extremely short time. Cannot be transferred to the debug target via the communication bus. A personal computer CPU cannot transfer a serial data signal 1000 times continuously at a transmission interval in the range of 50 to 100 μs such that the radar device outputs.

汎用のパソコン及び汎用の通信バスでは、たとえどんなに性能がよいプロセッサやデータバスを用いたとしても、記録データを外部記憶装置から読出すことができない。それぞれが短い時間間隔を有し一定周期で発生する複数チャネルの記録データを再生することや、これらの記録データを転送することができない。   With a general-purpose personal computer and a general-purpose communication bus, recording data cannot be read from an external storage device, no matter how good a processor or data bus is used. It is impossible to reproduce or transfer recording data of a plurality of channels, each of which has a short time interval and is generated at a constant period.

このような課題を解決するため、一実施形態によれば、データ信号に対する処理をこの処理の基本周期ごとに複数回繰返して実行する信号処理装置の動作を検証するための記録データを保持する不揮発性記憶部と、この不揮発性記憶部に内部バスを介してアクセスし前記基本周期よりも長い時間を応答処理可能な時間とするCPU、このCPUが前記記録データを再生して形式変換した再生データを記憶する揮発性記憶部、およびこれらのCPU及び揮発性記憶部とバスプロトコル変換部を介して接続された入出力バスを有するパソコン本体と、それぞれこのパソコン本体の前記入出力バスを介して前記揮発性記憶部より転送される前記再生データから複数のシリアルデータ信号を生成し各シリアルデータ信号を前記基本周期ごとに伝送路を介して前記信号処理装置へ送信するシリアル送信カードと、を備え、このシリアル送信カードは、前記基本周期に予め設定された送信回数を乗じて得られる前記CPUの応答処理可能な時間よりも長い期間内に前記各シリアルデータ信号を生成し、この期間の経過後、前記時間よりも長い次の期間内に前記各シリアルデータ信号を前記処理周期ごとに一定間隔でシリアル送信することを特徴とするデータ再生装置が提供される。   In order to solve such a problem, according to one embodiment, a nonvolatile memory that holds recording data for verifying the operation of a signal processing device that repeatedly executes a process on a data signal at a plurality of basic cycles of the process. And a non-volatile storage unit that is accessed via an internal bus and has a time longer than the basic cycle as a response processable time. A personal computer body having an input / output bus connected to the CPU and the volatile storage unit via a bus protocol conversion unit, and the personal computer body via the input / output bus of the personal computer body, respectively. A plurality of serial data signals are generated from the reproduction data transferred from the volatile storage unit, and each serial data signal is transmitted through the transmission path for each basic period. A serial transmission card that transmits to the signal processing device, and the serial transmission card is a period longer than a time during which the CPU can perform response processing obtained by multiplying the basic cycle by a preset number of transmissions. The serial data signals are generated in the serial data signal, and the serial data signals are serially transmitted at regular intervals for each processing cycle within the next period longer than the time after the elapse of this period. A playback device is provided.

また、別の一実施形態によれば、データ信号に対する処理をこの処理の基本周期ごとに複数回繰返して実行する信号処理装置に伝送路を介して接続されたシリアル送信カードを装着し、この信号処理装置の動作検証用の記録データを保持する不揮発性記憶部に接続されたパソコン本体のCPUが、このシリアル送信カードに対して送信開始を指令し、前記基本周期に予め設定された送信回数を乗じて得られる前記CPUの応答処理可能な時間よりも長い第1の期間内に、前記シリアル送信カードは複数のシリアルデータ信号を前記処理周期ごとに一定間隔でシリアル送信するとともに、前記不揮発性記憶部に前記CPUが再生出力した再生データから別の複数のシリアルデータ信号を生成し、前記第1の期間の経過後、前記CPUの応答処理可能な時間よりも長い第2の期間内に、前記シリアル送信カードは前記別の複数のシリアルデータ信号を前記処理周期ごとに一定間隔でシリアル送信することを特徴とするデータ再生方法が提供される。   According to another embodiment, a serial transmission card connected via a transmission line is mounted on a signal processing device that repeatedly executes a process on a data signal for each basic period of the process, and this signal The CPU of the personal computer main body connected to the non-volatile storage unit that holds the recording data for verifying the operation of the processing device instructs the serial transmission card to start transmission, and sets the number of transmissions set in advance in the basic period. The serial transmission card serially transmits a plurality of serial data signals at regular intervals for each processing cycle within a first period longer than the CPU's response processing time obtained by multiplication, and the nonvolatile memory Generating a plurality of other serial data signals from the reproduction data reproduced and output by the CPU, and after the first period, the CPU response processing Provided is a data reproduction method in which the serial transmission card serially transmits the plurality of other serial data signals at regular intervals for each processing cycle within a second period longer than an effective time. .

一実施形態に係るデータ再生装置を含むデータ再生システムの構成図である。1 is a configuration diagram of a data reproduction system including a data reproduction apparatus according to an embodiment. シリアル送信カードの機能ブロック図である。It is a functional block diagram of a serial transmission card. (a)〜(c)はデータ再生装置における送信完了割込み肯定応答を出力するタイミングを示すタイミングチャートである。(A)-(c) is a timing chart which shows the timing which outputs the transmission completion interruption acknowledgment in a data reproducing | regenerating apparatus. 信号処理装置内の各部及びデータ再生装置内の各部における処理のタイミングを示すタイミングチャートである。It is a timing chart which shows the timing of the process in each part in a signal processing apparatus, and each part in a data reproduction apparatus. デバイスドライバによる送信完了割込み処理を説明するためのフローチャートである。It is a flowchart for demonstrating the transmission completion interruption process by a device driver. 外部記憶装置のメモリマップの一例を示す図である。It is a figure which shows an example of the memory map of an external storage device. CPUによるデータ再生処理を説明するための第1のフローチャートである。It is a 1st flowchart for demonstrating the data reproduction process by CPU. 図7に続く第2のフローチャートである。It is the 2nd flowchart following FIG.

以下、一実施形態に係るデータ再生装置およびデータ再生方法について、図1乃至図8を参照しながら説明する。尚、各図において同一箇所については同一の符号を付すとともに、重複した説明は省略する。   Hereinafter, a data reproducing apparatus and a data reproducing method according to an embodiment will be described with reference to FIGS. 1 to 8. In the drawings, the same portions are denoted by the same reference numerals, and redundant description is omitted.

図1は一実施形態に係るデータ再生装置を含むデータ再生システムの構成図である。データ再生システム1は、デバッグ対象であるDSPカード2(信号処理装置)と、このDSPカード2に接続されたN本のデータバス3と、Nチャネル分のシリアルデータ信号を記憶媒体から読出してこれらのシリアルデータ信号を各チャネルのデータバス3に出力するデータ再生装置PC4(データ再生装置)とを備えている。   FIG. 1 is a configuration diagram of a data reproduction system including a data reproduction apparatus according to an embodiment. The data reproduction system 1 reads out a DSP card 2 (signal processing device) to be debugged, N data buses 3 connected to the DSP card 2, and serial data signals for N channels from a storage medium. And a data reproducing device PC4 (data reproducing device) for outputting the serial data signal to the data bus 3 of each channel.

データ再生装置PC4は、予め実環境下にて記録された記録データを保持するパソコン本体4aと、このパソコン本体4aに装着されNチャネル分の同期シリアルデジタルデータを生成して出力する高速シリアル通信カード15(シリアル送信カード)と、パソコン本体4a内のCPU19とを有する。この高速シリアル通信カード15が実行する処理は、一基本周期の処理を予め設定した回数分繰返した後、CPU19への割込みを1回生成する処理である。一基本周期は各シリアルデータ信号の送信周期である。一基本周期は固定値であり、起動時の設定により決められる。   The data reproducing apparatus PC4 includes a personal computer main body 4a that holds recorded data recorded in advance in a real environment, and a high-speed serial communication card that is attached to the personal computer main body 4a and generates and outputs synchronous serial digital data for N channels. 15 (serial transmission card) and a CPU 19 in the personal computer main body 4a. The process executed by the high-speed serial communication card 15 is a process of generating an interrupt to the CPU 19 once after repeating a process of one basic period for a preset number of times. One basic period is a transmission period of each serial data signal. One basic period is a fixed value and is determined by the setting at the time of activation.

本実施形態では、データ再生装置PC4がこの基本周期に予め設定された送信回数を乗じてCPU19の処理応答が可能な時間にまで拡げてやり、このCPU処理応答可能な時間内に次回送信する各シリアルデータ信号をセットし、且つNチャネル分の再生データをデータバス3上でDSPカード2へ送信する。このCPU処理応答可能な時間内で、データ再生装置PC4は、記録データをパソコン本体4aから読出すこと、読出した記録データを再生データに形式変換すること、及びこの再生データを送信バッファにセットする処理を行う。   In the present embodiment, the data reproducing apparatus PC4 multiplies the basic period by a preset number of transmissions to extend the time when the CPU 19 can respond to processing, and transmits each time within the time when the CPU processing response is possible. A serial data signal is set, and reproduction data for N channels is transmitted to the DSP card 2 on the data bus 3. Within the time when this CPU processing response is possible, the data reproducing apparatus PC4 reads the recorded data from the personal computer main body 4a, converts the format of the read recorded data into the reproduced data, and sets the reproduced data in the transmission buffer. Process.

本実施形態に係るデータ再生方法は、データ再生装置PC4内のCPU19が高速シリアル通信カード15に対してシリアルデータ信号の送信回数を例えば1000にセットし、この後、高速シリアル通信カード15に送信開始を指令する。高速シリアル通信カード15は一基本周期の処理を1000回繰返す。高速シリアル通信カード15が1000回の処理の実行が終了した時点で、高速シリアル通信カード15はCPU19へ割込みを発生させる方法である。   In the data reproduction method according to this embodiment, the CPU 19 in the data reproduction apparatus PC4 sets the number of transmissions of the serial data signal to the high-speed serial communication card 15, for example, 1000, and then starts transmission to the high-speed serial communication card 15. Is commanded. The high-speed serial communication card 15 repeats the processing of one basic cycle 1000 times. This is a method in which the high-speed serial communication card 15 causes the CPU 19 to generate an interrupt when the high-speed serial communication card 15 finishes executing 1000 processes.

基本周期を例えば50μ秒に設定し、CPU19が高速シリアル通信カード15に50μ秒の処理を1000回実行させた後、この高速シリアル通信カード15に1回だけ完了割込みをCPU19に出力させることにより、データ再生装置PC4はCPU19への割込みの発生の頻度を、50μ秒に1回の割合から、50m秒に1回の割合に減らすようにしている。高速シリアル通信カード15によって割込み発生回数が間引かれるようになっている。CPU19への割込みの発生間隔を、このCPU19及びCPU周辺回路が処理可能な範囲内の時間オーダにまで拡げてやり、パソコンを用いた高速データの転送と、データ再生とを可能にしている。   For example, by setting the basic period to 50 μsec and the CPU 19 causes the high-speed serial communication card 15 to execute the processing of 50 μsec 1000 times, and then causing the high-speed serial communication card 15 to output a completion interrupt to the CPU 19 only once. The data reproducing apparatus PC4 reduces the frequency of interrupts to the CPU 19 from a rate of once every 50 μs to a rate of once every 50 milliseconds. The high-speed serial communication card 15 thins out the number of interruptions. The interrupt generation interval to the CPU 19 is extended to a time order within a range that can be processed by the CPU 19 and the CPU peripheral circuit, thereby enabling high-speed data transfer and data reproduction using a personal computer.

図1に示すDSPカード2はフラッシュROM5から信号処理演算用のプログラムを読込みし、ディジタルフィルタ処理やFFT処理などの信号処理演算を行う。データバス3にはメタルケーブルや光ケーブルが用いられる。DSPカード2及びデータ再生装置PC4の異なる基板間がシリアル通信路により接続されている。   The DSP card 2 shown in FIG. 1 reads a signal processing calculation program from the flash ROM 5 and performs signal processing calculations such as digital filter processing and FFT processing. A metal cable or an optical cable is used for the data bus 3. Different substrates of the DSP card 2 and the data reproducing apparatus PC4 are connected by a serial communication path.

DSPカード2は、それぞれ内部メモリ6及びDMAコントローラ(DMAC)7を持つK個のDSP8と、各DMAコントローラ7に接続される第1のデータバス9と、このデータバス9に接続されたバスプロトコル変換機能部10と、このバスプロトコル変換機能部10に第2のデータバス11を介して接続された外部記憶装置12と、バスプロトコル変換機能部10に第3のデータバス13を介して接続された高速シリアル通信装置14(シリアル送信カード)とを備える。   The DSP card 2 includes K DSPs 8 each having an internal memory 6 and a DMA controller (DMAC) 7, a first data bus 9 connected to each DMA controller 7, and a bus protocol connected to the data bus 9. The conversion function unit 10, the external storage device 12 connected to the bus protocol conversion function unit 10 via the second data bus 11, and the bus protocol conversion function unit 10 connected to the bus protocol conversion function unit 10 via the third data bus 13. And a high-speed serial communication device 14 (serial transmission card).

例えば5個のDSP8の各内部メモリ6は小容量の記憶領域を有する。DMAコントローラ7はこの内部メモリ6に記憶されるデータをDMA転送する。フラッシュROM5は、各DSP8の信号処理用のプログラムを保持する。各プログラムはDSPカード2が起動された後、各DMAコントローラ7によりそれぞれの内部メモリ6へ転送されるようにされている。起動後、各DSP8は、内部メモリ6に記憶されたプログラムの計算命令にしたがって割当てられたDSPソフトウェアの演算処理を行うようになっている。   For example, each internal memory 6 of five DSPs 8 has a small storage area. The DMA controller 7 DMA transfers the data stored in the internal memory 6. The flash ROM 5 holds a signal processing program for each DSP 8. Each program is transferred to the internal memory 6 by each DMA controller 7 after the DSP card 2 is activated. After the activation, each DSP 8 performs arithmetic processing of the assigned DSP software in accordance with a program calculation instruction stored in the internal memory 6.

バスプロトコル変換機能部10はバス幅やデータ転送単位が異なるデータバス9、11、13の間で、これらのバスのプロトコルに応じてデータをプロトコル変換してから転送する。外部記憶装置12は揮発性の記憶装置であり、ページメモリのような大容量のメモリが用いられている。高速シリアル通信装置14は高い転送レートのシリアルデータ信号を受信する。   The bus protocol conversion function unit 10 converts data between the data buses 9, 11, and 13 having different bus widths and data transfer units according to the protocol of these buses and then transfers the data. The external storage device 12 is a volatile storage device and uses a large-capacity memory such as a page memory. The high-speed serial communication device 14 receives a serial data signal having a high transfer rate.

これにより、DSPカード2をデバッグする場合、高速シリアル通信装置14にはデータ再生装置PC4から、それぞれNチャネル分のシリアルデータ信号が基本周期間隔に送られてこのDSPカード2へ転送される。DSP8のうちのいずれか1つはこれらのシリアルデータ信号をバスプロトコル変換機能部10経由で外部記憶装置12に書込む。K個のDSP8は外部記憶装置12からデータを読出して信号処理演算を行う。例えばprintf文などを用いて出力結果などがモニタされる。   Thus, when debugging the DSP card 2, serial data signals for N channels are sent to the high-speed serial communication device 14 from the data reproduction device PC4 at basic cycle intervals and transferred to the DSP card 2. Any one of the DSPs 8 writes these serial data signals to the external storage device 12 via the bus protocol conversion function unit 10. The K DSPs 8 read data from the external storage device 12 and perform signal processing operations. For example, an output result or the like is monitored using a printf statement or the like.

また、データ再生装置PC4を構成するパソコン本体4aはスロット部やマザーボードを有する。高速シリアル通信カード15はこのスロット部に装着される。   The personal computer main body 4a constituting the data reproducing apparatus PC4 has a slot part and a mother board. The high-speed serial communication card 15 is inserted into this slot portion.

パソコン本体4aは、例えば遠隔地のレーダ装置がレーダ受信波を記録データとして保持してあるハードディスクドライブ16(不揮発性記憶部)と、このハードディスクドライブ16へアクセスされるデータの読み書きを制御するハードディスクドライブ制御カード18と、ホストプロセッサとしてのCPU19と、このCPU19及び高速シリアル通信カード15間をインターフェースするバスプロトコル変換機能部22と、揮発性の外部記憶装置23(揮発性記憶部)とを備えている。   The personal computer main body 4a includes, for example, a hard disk drive 16 (nonvolatile storage unit) in which a radar device at a remote location holds a radar reception wave as recording data, and a hard disk drive that controls reading and writing of data accessed to the hard disk drive 16 A control card 18, a CPU 19 as a host processor, a bus protocol conversion function unit 22 that interfaces between the CPU 19 and the high-speed serial communication card 15, and a volatile external storage device 23 (volatile storage unit) are provided. .

ハードディスクドライブ16はDSPカード2へ送信される再生データの元となる記録データを保存した不揮発性の外部記憶装置である。ハードディスクドライブ16は、ウィンドウズ(登録商標)あるいはlinux(登録商標)といったOSと、OS上で動作し、シリアルデータ信号の送信回数の設定、送信指令を行うためのアプリケーション(アプリケーションプログラム)と、外部記憶装置23に読出された記録データを高速シリアル通信カード15へ転送するためのデバイスドライバとを保持する。デバイスドライバはOSカーネルのメモリ空間に組込まれた状態で動作し、アプリケーションからの処理要求をOSカーネル経由で受け付ける。ハードディスクドライブ16は、これらのデバイスドライバやアプリケーションプログラムはブート時にハードディスクドライブ16から外部記憶装置23へロードされCPU19により実行される。ハードディスクドライブ16の機能は、RAID構成のハードディスクドライブや、シリコンディスクによって実現される。   The hard disk drive 16 is a non-volatile external storage device that stores recording data that is a source of reproduction data transmitted to the DSP card 2. The hard disk drive 16 has an OS such as Windows (registered trademark) or Linux (registered trademark), an application (application program) for operating on the OS, setting the number of transmissions of serial data signals, and instructing transmission, and an external storage A device driver for transferring the recording data read to the device 23 to the high-speed serial communication card 15 is held. The device driver operates in a state incorporated in the memory space of the OS kernel, and accepts a processing request from an application via the OS kernel. In the hard disk drive 16, these device drivers and application programs are loaded from the hard disk drive 16 to the external storage device 23 and executed by the CPU 19 at the time of booting. The functions of the hard disk drive 16 are realized by a RAID hard disk drive or a silicon disk.

ハードディスクドライブ制御カード18はCPU19からの指令を受けると、ハードディスクドライブ16から記録データを読出して外部記憶装置23に書込む。バスプロトコル変換機能部22は、高速シリアル通信カード15側のデータバス20(入出力バス)、CPU19側のデータバス21a、ハードディスクドライブ制御カード18側のデータバス17、及び揮発性の外部記憶装置23側のデータバス21bの間をブリッジする。データバス20はPCI(Peripheral Component InterConnect)エクスプレス等に準拠した入出力バスであり、データバス17、21a、21bはいずれも内部バスである。バスプロトコル変換機能部22は、バス幅やデータ転送単位が異なる4つのデータバス20、17、21a、21bの間で、これらのバスのプロトコルに応じてデータをプロトコル変換してから転送する。外部記憶装置23はDRAMであり、例えばページメモリのような大容量の記憶領域を有する。   When the hard disk drive control card 18 receives a command from the CPU 19, it reads the recorded data from the hard disk drive 16 and writes it to the external storage device 23. The bus protocol conversion function unit 22 includes a data bus 20 (input / output bus) on the high-speed serial communication card 15 side, a data bus 21a on the CPU 19 side, a data bus 17 on the hard disk drive control card 18 side, and a volatile external storage device 23. The data bus 21b on the side is bridged. The data bus 20 is an input / output bus compliant with PCI (Peripheral Component InterConnect) Express, and the data buses 17, 21a, and 21b are all internal buses. The bus protocol conversion function unit 22 converts data between four data buses 20, 17, 21a, and 21b having different bus widths and data transfer units according to the protocol of these buses and then transfers the data. The external storage device 23 is a DRAM and has a large-capacity storage area such as a page memory.

高速シリアル通信カード15の構造は、バッファ制御機能やDMA(Direct Memory Access)転送機能などを有するFPGA(Field Programmable Gate Array)と、このFPGAを基板面上に配線しその一側端部にエッジ電極が形成された基板と、この基板面上この基板が差し込まれる方向とは反対側の端部に設けられメタルケーブル等に接続されるコネクタとを有する。   The structure of the high-speed serial communication card 15 is an FPGA (Field Programmable Gate Array) having a buffer control function, a DMA (Direct Memory Access) transfer function, and the like, and this FPGA is wired on the substrate surface and an edge electrode is formed on one side end thereof. And a connector provided on an end of the substrate surface opposite to the direction in which the substrate is inserted and connected to a metal cable or the like.

パソコン本体4aのマザーボードには、マザーボード側コネクタを介してカード型のPCI拡張アダプタがこのマザーボード上に立設した状態で装着されている。このPCI拡張アダプタの面部にはそれぞれ上下等間隔に配置された複数の導電性コンタクト付きのアダプタ側コネクタが取り付けられており、高速シリアル通信カード15がいずれかのアダプタ側コネクタに嵌合されることにより、この高速シリアル通信カード15のエッジ電極と導電性コンタクトとが電気的に接続されるようになっている。高速シリアル通信カード15は本発明者によって内製されたものであり、PCIカードや、LANカード、USBカード、RAIDカード、SCSIカードあるいはグラフィックスカード等のサイズと略同じサイズを有する。   A card-type PCI expansion adapter is mounted on the motherboard of the personal computer main body 4a in a standing state on the motherboard via a motherboard-side connector. A plurality of adapter-side connectors with conductive contacts arranged at equal intervals in the vertical direction are attached to the surface of the PCI expansion adapter, and the high-speed serial communication card 15 is fitted to any one of the adapter-side connectors. Thus, the edge electrode of the high-speed serial communication card 15 and the conductive contact are electrically connected. The high-speed serial communication card 15 is manufactured in-house by the present inventor and has substantially the same size as a PCI card, a LAN card, a USB card, a RAID card, a SCSI card, or a graphics card.

高速シリアル通信カード15は、各シリアルデータ信号を基本周期ごとに読出して転送する。各シリアルデータ信号はいずれも同じデータ量を有する。   The high-speed serial communication card 15 reads and transfers each serial data signal every basic period. Each serial data signal has the same amount of data.

図2は高速シリアル通信カード15の機能ブロック図である。既述の符号はそれらと同じ要素を表す。高速シリアル通信カード15は、CPU19からこの高速シリアル通信カード15内の各部へのアクセス要求をインターフェース処理するバスインターフェース(PCIエクスプレスインターフェース)24と、データ再生装置PC4内のデータバス20上のデータをDMA転送するDMAコントローラ(DMAC)25とを備える。更に高速シリアル通信カード15は、それぞれNチャネル分の再生データを記憶するN個の送信バッファ27と、これらの送信バッファ27に記憶されたパラレルデータ形式の再生データをパラレルシリアル変換し、シリアルデータ信号をDSPカード2宛てに出力するN個のシリアルデータ送信部26とを備える。   FIG. 2 is a functional block diagram of the high-speed serial communication card 15. The above described symbols represent the same elements. The high-speed serial communication card 15 DMAs data on the bus interface (PCI express interface) 24 for interface processing access requests from the CPU 19 to each part in the high-speed serial communication card 15 and data on the data bus 20 in the data reproducing apparatus PC4. And a DMA controller (DMAC) 25 for transfer. Furthermore, the high-speed serial communication card 15 performs parallel-serial conversion on N transmission buffers 27 each storing reproduction data for N channels, and parallel data format reproduction data stored in these transmission buffers 27 to obtain a serial data signal. And N serial data transmission units 26 that output to the DSP card 2.

バスインターフェース24はバスプロトコルをインターフェースする。DMAコントローラ25は、フォーマット変換された状態で外部記憶装置23に記憶されている再生データをデータバス20から読出し、読出した再生データをパラレルデータ形式で各送信バッファ27に書込む。各送信バッファ27はDRAMであり、例えばページメモリのような大容量の記憶領域を有する。チャネル番号1〜N用の各送信バッファ27はいずれも第1バンク及び第2バンクを有するダブルバッファ構成を有する。各シリアルデータ送信部26は、各送信バッファ27に記憶された再生データを基本周期ごとに読出す。各シリアルデータ送信部26は、後述する制御機能部29からの制御信号を受けると、パラレルデータをシリアルデータ信号に変換し、N本のシリアルデータ信号をそれぞれデータバス3に出力する。   The bus interface 24 interfaces a bus protocol. The DMA controller 25 reads the reproduction data stored in the external storage device 23 in the format-converted state from the data bus 20, and writes the read reproduction data to each transmission buffer 27 in a parallel data format. Each transmission buffer 27 is a DRAM and has a large-capacity storage area such as a page memory. Each of the transmission buffers 27 for channel numbers 1 to N has a double buffer configuration having a first bank and a second bank. Each serial data transmission unit 26 reads the reproduction data stored in each transmission buffer 27 for each basic period. When each serial data transmission unit 26 receives a control signal from a control function unit 29 described later, each serial data transmission unit 26 converts parallel data into a serial data signal and outputs N serial data signals to the data bus 3.

更に高速シリアル通信カード15は、パソコン本体4a及びデータ再生装置PC4間で制御用の情報を受け渡しするためのI/Oレジスタ28と、N個のシリアルデータ送信部26を制御する制御機能部29とを備える。パソコン側のアプリケーションは、ユーザ入力された送信回数1000回などの制御パラメータを、デバイスドライバ経由で高速シリアル通信カード15に制御をかけるようになっており、I/Oレジスタ28はステータス(装置情報)と、複数種類の制御パラメータとを記憶する。I/Oレジスタ28の値はデバイスドライバ及び制御機能部29の双方によって読み書きされる。制御機能部29がライトしたステータス値をデバイスドライバがリードすることにより、アプリケーションは送信中か否かを判定する。デバイスドライバがライトした各種の制御パラメータの値を制御機能部29がリードすることにより、制御機能部29は各シリアルデータ送信部26の送信動作と送信停止とを制御する。パソコン側のアプリケーションは、これらのI/Oレジスタ28及びデバイスドライバを介してハードウェアである各シリアルデータ送信部26を制御する。   Furthermore, the high-speed serial communication card 15 includes an I / O register 28 for passing control information between the personal computer main body 4a and the data reproducing apparatus PC4, and a control function unit 29 for controlling the N serial data transmission units 26. Is provided. The application on the personal computer side controls the high-speed serial communication card 15 via the device driver based on the control parameter such as the number of transmissions 1000 times input by the user, and the I / O register 28 has a status (device information). And a plurality of types of control parameters. The value in the I / O register 28 is read and written by both the device driver and the control function unit 29. When the device driver reads the status value written by the control function unit 29, the application determines whether transmission is in progress. When the control function unit 29 reads the values of various control parameters written by the device driver, the control function unit 29 controls the transmission operation and transmission stop of each serial data transmission unit 26. The application on the personal computer side controls each serial data transmission unit 26 which is hardware via the I / O register 28 and the device driver.

本実施形態では、CPU19が高速シリアル通信カード15に対して送信指令を通知した後、各シリアルデータ送信部26が各シリアルデータ信号を1000回連続する送信を終えると、高速シリアル通信カード15がCPU19に対して送信完了割込みを1回出力する。   In the present embodiment, after the CPU 19 notifies the high-speed serial communication card 15 of a transmission command, when each serial data transmission unit 26 finishes transmitting each serial data signal 1000 times, the high-speed serial communication card 15 detects the CPU 19. A transmission completion interrupt is output once.

図3(a)〜図3(c)はデータ再生装置PC4における送信完了割込み肯定応答を出力するタイミングを説明するためのタイミングチャートである。制御機能部29がI/Oレジスタ28のステータスを書替えし、このステータスをデバイスドライバがリードすることにより、送信完了割込み肯定応答が行われる。CPU19が実行するこのデバイスドライバは、CPU19が実行するアプリケーションに対して送信完了通知を出力する。デバイスドライバを介して高速シリアル通信カード15からアプリケーションへ、1000回分の再生データの送信に対して1回の送信完了が通知されるようになっている。   FIGS. 3A to 3C are timing charts for explaining the timing of outputting a transmission completion interrupt acknowledgment in the data reproducing apparatus PC4. When the control function unit 29 rewrites the status of the I / O register 28 and the device driver reads this status, a transmission completion interrupt acknowledgment is performed. The device driver executed by the CPU 19 outputs a transmission completion notification to the application executed by the CPU 19. One transmission completion is notified to the application from the high-speed serial communication card 15 via the device driver for 1000 times of reproduction data transmission.

I/Oレジスタ28が記憶するステータスは、高速シリアル通信カード15からDSPカード2へ至る転送区間で再生データが送信中かどうかを表す情報である。I/Oレジスタ28が記憶する制御パラメータは、1000回という送信回数、各送信バッファ27に書込まれた再生データの先頭アドレス、再生データのデータサイズ、Nチャネル分のうちの送信動作を有効とするチャネル数、例えば通信レートなどの通信条件、及び基本周期を変更するための送信周期情報等である。制御機能部29は送信管理用のダウンカウンタを有する。   The status stored in the I / O register 28 is information indicating whether reproduction data is being transmitted in the transfer section from the high-speed serial communication card 15 to the DSP card 2. The control parameters stored in the I / O register 28 are the number of transmissions of 1000 times, the start address of the reproduction data written in each transmission buffer 27, the data size of the reproduction data, and the transmission operation for N channels are valid. The number of channels to be transmitted, for example, communication conditions such as a communication rate, and transmission cycle information for changing the basic cycle. The control function unit 29 has a transmission management down counter.

制御パラメータについて具体的に述べると、送信回数は、CPU19が実行するデバイスドライバによって書込まれる。送信回数がI/Oレジスタ28にセットされると制御機能部29がこの送信回数の値をダウンカウンタのカウンタ値にセットする。制御機能部29は基本周期ごとの再生データが送信される度にダウンカウンタをデクリメントする。制御機能部29はカウンタ値が0になると、バスインターフェース24に通知する。バスインターフェース24はCPU19に対して1回だけ割込み信号を出力する。アドレスは制御機能部29によって更新される。制御機能部29はこのアドレスを各シリアルデータ送信部26に渡す。各シリアルデータ送信部26はアドレスからシリアルデータ信号を出力する。   Specifically, the control parameters are written by the device driver executed by the CPU 19. When the number of transmissions is set in the I / O register 28, the control function unit 29 sets the value of the number of transmissions to the counter value of the down counter. The control function unit 29 decrements the down counter every time reproduction data for each basic period is transmitted. The control function unit 29 notifies the bus interface 24 when the counter value becomes zero. The bus interface 24 outputs an interrupt signal to the CPU 19 only once. The address is updated by the control function unit 29. The control function unit 29 passes this address to each serial data transmission unit 26. Each serial data transmitter 26 outputs a serial data signal from the address.

ステータス値0は送信が行われていない初期状態を示す。CPU19がI/Oレジスタ28に1を書込むと、制御機能部29はI/Oレジスタ28に付随する回路から呼び出される。制御機能部29は各シリアルデータ送信部26に送信を指令する。シリアルデータ送信部26は各送信バッファ27からのデータを送信し始める。   A status value 0 indicates an initial state in which transmission is not performed. When the CPU 19 writes 1 to the I / O register 28, the control function unit 29 is called from a circuit attached to the I / O register 28. The control function unit 29 instructs each serial data transmission unit 26 to perform transmission. The serial data transmission unit 26 starts transmitting data from each transmission buffer 27.

制御機能部29が1000回の再生データの転送を終えると、制御機能部29はステータス値を0から1に書替える。デバイスドライバはステータス値を読込む。ステータス値が1であることによってデバイスドライバは割込みを検出する。即ち、デバイスドライバは割込みをアプリケーションの代理で受ける機能を有する。割込みをデバイスドライバが検出しない間、デバイスドライバは無限ループの中におり、割込みを検出すると、制御機能部29に対する肯定応答を行ってアプリケーションに割込み検出を示す値を返す。   When the control function unit 29 finishes transferring the reproduction data 1000 times, the control function unit 29 rewrites the status value from 0 to 1. The device driver reads the status value. When the status value is 1, the device driver detects an interrupt. That is, the device driver has a function of receiving an interrupt on behalf of the application. While the device driver does not detect an interrupt, the device driver is in an infinite loop. When an interrupt is detected, an acknowledgment is sent to the control function unit 29 and a value indicating interrupt detection is returned to the application.

つまりデバイスドライバはアプリケーションと、各シリアルデータ送信部26との間を仲立ちしている。デバイスドライバにより、アプリケーションは、ハードウェアである各シリアルデータ送信部26に対して送信開始を命令する。CPU19が仮にハードディスクドライブ16から記録データを各シリアルデータ送信部26にメモリコピーすると時間がかり、50μ秒という短時間で処理を行うことがそもそもできないからである。デバイスドライバを介在させることによりメモリコピーをDMAコントローラ25が実行しているときでも、CPU19が他に発生した仕事を実行することが可能になっている。CPU19が他に発生した仕事を実行している間に、CPU19は1000回の送信が終了したことを示す割込みを拾えるようにしている。   In other words, the device driver mediates between the application and each serial data transmission unit 26. The application instructs the serial data transmission unit 26, which is hardware, to start transmission by the device driver. This is because it takes time for the CPU 19 to copy the recording data from the hard disk drive 16 to each serial data transmission unit 26, and processing cannot be performed in a short time of 50 μs in the first place. By interposing the device driver, even when the DMA copy is being executed by the DMA controller 25, the CPU 19 can execute other generated work. While the CPU 19 is performing other work, the CPU 19 can pick up an interrupt indicating that 1000 transmissions have been completed.

制御機能部29による制御は、各シリアルデータ送信部26に対してデータをDSPカード2へ送るよう指令すること、各送信バッファ27の記憶領域を読込むよう指令すること、及びCPU19からの指令を受けてDMAコントローラ25を起動することである。CPU19がI/Oレジスタ28に、必要な制御情報を書込むと、このI/Oレジスタ28に付随する回路は制御機能部29へ書込みがあったことを通知する。   Control by the control function unit 29 instructs each serial data transmission unit 26 to send data to the DSP card 2, instructs each serial buffer 27 to read the storage area of each transmission buffer 27, and receives a command from the CPU 19. The DMA controller 25 is activated. When the CPU 19 writes necessary control information into the I / O register 28, a circuit associated with the I / O register 28 notifies the control function unit 29 that the writing has been performed.

(作用)
このような構成のデータ再生装置PC4がDSPカード2に対して、シリアルのデジタルデータを送信するときのこのデータ再生装置PC4の動作について詳述する。
(Function)
The operation of the data reproduction apparatus PC4 when the data reproduction apparatus PC4 having such a configuration transmits serial digital data to the DSP card 2 will be described in detail.

(1)全体処理タイミング
図4はDSPカード2内の各部及びデータ再生装置PC4内の各部における処理のタイミングを示すタイミングチャートである。図4(a)〜図4(d)には、DSPカード2がデータ再生装置PC4から各シリアルデータ信号を受信してから、DSPカード2の各DSP8が信号処理演算を開始するまでのDSPカード2側のタイミングが示されている。図4(e)〜図4(i)にはデータ再生装置PC4における3種類の処理タイミングが重畳的に示されている。3種類の処理タイミングとは、送信完了割込み肯定応答のタイミングと、再生データが外部記憶装置23から各送信バッファ27に転送されるタイミングと、記録データがハードディスクドライブ16から読出されて外部記憶装置23に書込まれるタイミングとを指す。
(1) Overall Processing Timing FIG. 4 is a timing chart showing processing timings in each part in the DSP card 2 and each part in the data reproducing apparatus PC4. 4 (a) to 4 (d), a DSP card from when the DSP card 2 receives each serial data signal from the data reproducing device PC4 until each DSP 8 of the DSP card 2 starts a signal processing operation is shown. Two side timing is shown. In FIG. 4 (e) to FIG. 4 (i), three types of processing timings in the data reproducing apparatus PC4 are shown in a superimposed manner. The three types of processing timings are a transmission completion interrupt acknowledgment response timing, a timing at which reproduction data is transferred from the external storage device 23 to each transmission buffer 27, and a recording data read from the hard disk drive 16 to the external storage device 23. Refers to the timing at which data is written.

図4(c)、図4(d)に示すように、DSPカード2は、チャネル1〜Nの各シリアルデータ信号を受信すると、図4(a)、図4(b)に示すように、K個のDSP8が基本周期(1)を経過した後、各チャネルのシリアル受信データに対して信号処理演算を行う。   As shown in FIGS. 4 (c) and 4 (d), when the DSP card 2 receives the serial data signals of channels 1 to N, as shown in FIGS. 4 (a) and 4 (b), After the K DSPs 8 have passed the basic period (1), signal processing operations are performed on the serially received data of each channel.

図4(i)に示す時間内に、高速シリアル通信カード15はハードディスクドライブ16の記録データを読出し、フォーマット変換して記録データにヘッダ情報を付与し、フォーマット変換した再生データを、外部記憶装置23に書込む。高速シリアル通信カード15は、再生データに各送信バッファ27の何番地から送信するか等を示す送信条件の値を付与する。   Within the time shown in FIG. 4 (i), the high-speed serial communication card 15 reads the recording data of the hard disk drive 16, converts the format, adds header information to the recording data, and converts the playback data after the format conversion to the external storage device 23. Write to. The high-speed serial communication card 15 assigns a value of a transmission condition indicating, for example, from which address of each transmission buffer 27 the reproduction data is transmitted.

この図4(i)の時間内で生成された再生データを、図4(h)に示す時間内に、各送信バッファ27のダブルバッファの一方のバンクへ高速シリアル通信カード15が転送する。図4(h)の例では、前後2つの再生データD1、D2が示されている。再生データD2は図4(i)で生成され一方のバンクへ転送されたばかりのNチャネル分のデータである。この再生データD2よりも先にNチャネル分の再生データD1が他方のバンクに溜められている。この再生データD1は、図4(g)の時点t1にて送信完了割込肯定応答が入ると、再生データD1を高速シリアル通信カード15は、図4(e)、図4(f)の時点t2にて読出してDSPカード2へシリアル送信を開始する。チャネル2〜N−1の各チャネルのシリアルデータ信号の送信も、図4のチャネル1、Nの例と同じである。   The reproduction data generated within the time shown in FIG. 4 (i) is transferred by the high-speed serial communication card 15 to one bank of the double buffer of each transmission buffer 27 within the time shown in FIG. 4 (h). In the example of FIG. 4 (h), two front and rear reproduction data D1 and D2 are shown. The reproduction data D2 is data for N channels just generated in FIG. 4 (i) and transferred to one bank. Prior to this reproduction data D2, N channels of reproduction data D1 are stored in the other bank. When the transmission data interruption acknowledgment is received at time t1 in FIG. 4 (g), the high-speed serial communication card 15 sends the reproduction data D1 to the reproduction data D1 at the time shown in FIGS. 4 (e) and 4 (f). At t2, the data is read and serial transmission to the DSP card 2 is started. Transmission of serial data signals of channels 2 to N-1 is the same as that of channels 1 and N in FIG.

チャネル1〜Nの各シリアルデータ送信部26は、CPU19が指定した送信周期、データサイズ、送信回数に基づき、データ送信を実行する。DSPカード2は、図1の(3)、(4)に示すとおりに受信後、次回基本周期にて信号処理を行う。   Each serial data transmission unit 26 of channels 1 to N executes data transmission based on the transmission cycle, data size, and number of transmissions designated by the CPU 19. The DSP card 2 performs signal processing in the next basic period after reception as shown in (3) and (4) of FIG.

また、DSPカード2における各処理と、データ再生装置PC4におけるシリアルデータ送信部26の処理と、送信割込み肯定応答をデバイスドライバが検知する処理とは、全て基本周期に同期して行われている。データ再生装置PC4の再生データ転送処理、及びハードディスクドライブ16のデータ再生/フォーマット変換処理は、この基本周期とは非同期である。   In addition, each process in the DSP card 2, the process of the serial data transmission unit 26 in the data reproducing apparatus PC4, and the process in which the device driver detects a transmission interrupt acknowledgment is all performed in synchronization with the basic period. The reproduction data transfer process of the data reproduction apparatus PC4 and the data reproduction / format conversion process of the hard disk drive 16 are asynchronous with this basic cycle.

以降、データ再生装置PC4の詳細について、(2)、(3)、(4)、(5)にて説明を行う。   Hereinafter, details of the data reproducing apparatus PC4 will be described in (2), (3), (4), and (5).

(2)高速シリアル通信カード15の動作
図2において、実線はデータの流れを示し、点線は制御の流れを示す。幅広矢印は装置間のインターフェースを示す。図1の(1)、(2)に示すとおり、高速シリアル通信カード15は、ハードディスクドライブ16から読出したデータを受信側の要求に合わせてフォーマット変換した後、チャネル毎に独立して設けられた送信バッファ27に一時保存する。
(2) Operation of High-Speed Serial Communication Card 15 In FIG. 2, the solid line indicates the data flow, and the dotted line indicates the control flow. Wide arrows indicate the interface between the devices. As shown in (1) and (2) of FIG. 1, the high-speed serial communication card 15 is provided independently for each channel after the format of the data read from the hard disk drive 16 is converted according to the request on the receiving side. Temporarily stored in the transmission buffer 27.

チャネル番号1用の送信バッファ27について述べると、シリアルデータ送信部26が一方のバンクに記憶されているチャネル番号1用のシリアルデータ信号をデータバス3に出力している最中、DMAコントローラ25は他方のバンクに外部記憶装置3より次回送出するデータを書込む。シリアルデータ送信部26は、チャネル番号1用のシリアルデータ信号(設定バイト数のデータサイズを持つシリアルデータ信号)を一基本周期内で1回送信し、これを1000回繰返す。シリアルデータ送信部26が一方のバンクからのデータ送信を1000回繰返している間、DMAコントローラ25は次回送出するデータを他方のバンクに溜める。シリアルデータ送信部26による1000回のデータ送信が完了するまでに、次回送出用のシリアルデータ信号が他方のバンクに揃えられる。   The transmission buffer 27 for channel number 1 will be described. While the serial data transmission unit 26 is outputting the serial data signal for channel number 1 stored in one bank to the data bus 3, the DMA controller 25 Data to be transmitted next time from the external storage device 3 is written in the other bank. The serial data transmission unit 26 transmits a serial data signal for channel number 1 (a serial data signal having a data size of a set number of bytes) once within one basic period, and repeats this 1000 times. While the serial data transmission unit 26 repeats data transmission from one bank 1000 times, the DMA controller 25 stores data to be transmitted next time in the other bank. By the time the serial data transmission unit 26 completes 1000 data transmissions, serial data signals for the next transmission are arranged in the other bank.

シリアルデータ送信部26が一方のバンクからのシリアルデータ信号の送信が完了すると、間髪入れずに、シリアルデータ送信部26は他方のバンクからのシリアルデータ信号の送信を開始する。引き続き、シリアルデータ送信部26が他方のバンクからのデータ送信を1000回繰返している間、DMAコントローラ25は次回送出するデータを一方のバンクに溜めていき、他方のバンクからの1000回のデータ送信が完了するまでに、DMAコントローラ25は次回送出用のシリアルデータ信号を一方のバンクに揃える。ダブルバッファ構成により、現在実行中の1000回分の送信単位の完了と、次に実行される1000回分の送信単位の開始との間のタイムラグがなくなり、リアルタイムにデータ転送可能になる。チャネル番号2〜N用の送信バッファ27もそれぞれ2つのバンクを有する。各2つのバンクはチャネル番号1用の送信バッファ27の例と同様に切替えられる。   When the serial data transmission unit 26 completes transmission of the serial data signal from one bank, the serial data transmission unit 26 starts transmission of the serial data signal from the other bank without any delay. Subsequently, while the serial data transmission unit 26 repeats data transmission from the other bank 1000 times, the DMA controller 25 accumulates data to be transmitted next time in one bank, and 1000 data transmission from the other bank. By the time, the DMA controller 25 aligns serial data signals for next transmission in one bank. With the double buffer configuration, there is no time lag between the completion of 1000 transmission units currently being executed and the start of 1000 transmission units to be executed next, and data can be transferred in real time. The transmission buffers 27 for channel numbers 2 to N each have two banks. Each of the two banks is switched in the same manner as the transmission buffer 27 for channel number 1.

このように、CPU19が、送信周期、データサイズ、送信回数を指定した後、高速シリアル通信カード15が送信処理を開始し、高速シリアル通信カード15は、送信制御パラメータに従い、送信を全て行った後、送信完了割込みを1回出力する。高速シリアル通信カード15は、PCIexpressなどを介してホストCPU19の一構成品として機能する。   As described above, after the CPU 19 specifies the transmission cycle, the data size, and the number of transmissions, the high-speed serial communication card 15 starts transmission processing, and the high-speed serial communication card 15 performs all transmissions according to the transmission control parameters. , Send a transmission completion interrupt once. The high-speed serial communication card 15 functions as a component of the host CPU 19 via PCI express or the like.

(3)送信完了割込み処理
CPU19が実行するデバイスドライバによる処理と、アプリケーションによる処理とについて図5から図8を参照して詳述する。図5はデバイスドライバによる送信完了割込み処理を説明するためのフローチャートである。図6は外部記憶装置23のメモリマップの一例を示す図であり、CPU19側のメモリ構成が示されている。既述の符号はそれらと同じ要素を表す。
(3) Transmission Completion Interrupt Processing Processing by the device driver executed by the CPU 19 and processing by the application will be described in detail with reference to FIGS. FIG. 5 is a flowchart for explaining a transmission completion interrupt process by the device driver. FIG. 6 is a diagram showing an example of a memory map of the external storage device 23, and shows a memory configuration on the CPU 19 side. The above described symbols represent the same elements.

図6に示すように、外部記憶装置23へデータが転送される処理よりも上流の処理はデバイスドライバと、再生プログラムであるアプリケーションにより行われている。外部記憶装置23からデータが送信される処理よりも下流の処理はハードウェアにより行われている。   As shown in FIG. 6, processing upstream of the processing for transferring data to the external storage device 23 is performed by a device driver and an application that is a playback program. The processing downstream of the processing for transmitting data from the external storage device 23 is performed by hardware.

図5において、データ再生システム1は電源を投入された後、ステップA1において、CPU19は、OS起動時にデバイスドライバプログラムをハードディスクドライブ16からRAMにロードし、これをデバイスドライバとして組込み、実行する。送信フラグ(フラグ情報)は0にされる。ステップA2、A3において、デバイスドライバは送信完了割込みが発生するまで待機する(ステップA3のNOルート)。送信完了割込みが発生すると、ステップA3のYESルートを通り、ステップA4において、デバイスドライバは、送信完了割込みの肯定応答を行う。ステップA5、A6において、デバイスドライバは送信フラグを1にセットして処理を終える。   In FIG. 5, after the data reproduction system 1 is turned on, in step A1, the CPU 19 loads a device driver program from the hard disk drive 16 to the RAM when the OS is activated, and incorporates and executes it as a device driver. The transmission flag (flag information) is set to 0. In steps A2 and A3, the device driver waits until a transmission completion interrupt occurs (NO route in step A3). When the transmission completion interrupt occurs, the device driver performs an affirmative response to the transmission completion interrupt in step A4 through the YES route in step A3. In steps A5 and A6, the device driver sets the transmission flag to 1 and ends the process.

(4)データ再生処理は、CPU19は、データ再生に先立ち、高速シリアル通信カード15のチャネル1〜Nの各シリアルデータ送信部26に対し、初期設定、及び通信設定処理を行う。 (4) In the data reproduction processing, the CPU 19 performs initial setting and communication setting processing for each serial data transmission unit 26 of channels 1 to N of the high-speed serial communication card 15 prior to data reproduction.

CPU19がOS起動時にデバイスドライバを組込みした後、このCPU19によるデータ再生処理は図1の(1)、(2)、及び図4に示すとおり、ハードディスクドライブ16から送信データファイルを読み出し、通信ヘッダの作成など受信側の高速シリアル通信カード14に合わせたフォーマット変換を行う。記録データのフォーマットから再生データのフォーマットにアプリケーションは変換する。   After the CPU 19 incorporates the device driver when the OS is started, the data reproduction processing by the CPU 19 reads the transmission data file from the hard disk drive 16 as shown in FIGS. 1 (1), (2), and FIG. Format conversion is performed in accordance with the high-speed serial communication card 14 on the receiving side such as creation. The application converts the recording data format to the reproduction data format.

フォーマット変換後、高速シリアル通信カード15内の各送信バッファ27へ転送する。データ再生処理は、高速シリアル通信カード15へCPU19が送信開始アドレス、送信周期、データサイズ、送信回数を指定した後、送信処理を開始することにより行われる。高速シリアル通信カード15の全チャネルのうち、送信を有効とされたチャネル数分のチャネルから送信完了割込みが発生するまでCPU19は待つ。   After the format conversion, the data is transferred to each transmission buffer 27 in the high-speed serial communication card 15. The data reproduction process is performed by starting the transmission process after the CPU 19 designates the transmission start address, the transmission cycle, the data size, and the number of transmissions to the high-speed serial communication card 15. The CPU 19 waits until a transmission completion interrupt is generated from the channels corresponding to the number of channels that are validated for transmission among all the channels of the high-speed serial communication card 15.

次に、送信完了割込み処理は、CPU19が送信完了割込みを受けた後、高速シリアル通信カード15が出力した割込みを1回でCPU19はクリアする。また、デバイスドライバとデータ再生処理との間で共有されるフラグ情報をCPU19は更新する。   Next, in the transmission completion interrupt process, after the CPU 19 receives the transmission completion interrupt, the CPU 19 clears the interrupt output from the high-speed serial communication card 15 once. Further, the CPU 19 updates flag information shared between the device driver and the data reproduction process.

(5)データ再生処理
CPU19によるデータ再生手順及び送信完了割込み処理の手順を図7、図8を参照して述べる。図7はCPU19によるデータ再生処理を説明するための第1のフローチャートである。図8は図7に続く第2のフローチャートである。
(5) Data Reproduction Process The data reproduction procedure and transmission completion interrupt process by the CPU 19 will be described with reference to FIGS. FIG. 7 is a first flowchart for explaining the data reproduction processing by the CPU 19. FIG. 8 is a second flowchart following FIG.

再生処理が開始されると、ステップB1において、CPU19は、データ再生用のアプリケーションを、ハードディスクドライブ16からロードしてこのアプリケーションを実行する。   When the reproduction process is started, in step B1, the CPU 19 loads an application for data reproduction from the hard disk drive 16 and executes the application.

ステップB2において、CPU19は送信フラグを0に設定する。   In step B2, the CPU 19 sets the transmission flag to 0.

ステップB3において、CPU19は有効チャネルと、通信条件とをI/Oレジスタ28に設定する。この設定により、1チャネル分、数チャネル分あるいは全チャネル分のデータ再生処理を高速シリアル通信カード15が行うようこの高速シリアル通信カード15はイネーブルにされる。データ再生装置PC4からDSPカード2までのシリアル通信コネクションが確立して通信が始められる。   In step B <b> 3, the CPU 19 sets an effective channel and communication conditions in the I / O register 28. With this setting, the high-speed serial communication card 15 is enabled so that the high-speed serial communication card 15 performs data reproduction processing for one channel, several channels, or all channels. A serial communication connection from the data reproducing apparatus PC4 to the DSP card 2 is established and communication is started.

引き続き、ステップB4において、CPU19は送信繰返し回数を設定する。ステップB5においてCPU19は送信フラグを0にする。   Subsequently, in step B4, the CPU 19 sets the number of transmission repetitions. In step B5, the CPU 19 sets the transmission flag to 0.

続く図8のステップB6において、CPU19は、送信開始アドレス、送信周期、データサイズ、及び送信回数を、I/Oレジスタ28に設定する。この設定では、CPU19が外部記憶装置23において内部変数として予め送信開始アドレス等を作成しておき、この送信開始アドレス等をI/Oレジスタ28に書込む。   In subsequent step B6 of FIG. 8, the CPU 19 sets the transmission start address, the transmission cycle, the data size, and the number of transmissions in the I / O register 28. In this setting, the CPU 19 creates a transmission start address or the like as an internal variable in the external storage device 23 in advance, and writes this transmission start address or the like in the I / O register 28.

ステップB7において、送信開始をCPU19は高速シリアル通信カード15へ通知し、高速シリアル通信カード15は送信を始める。   In step B7, the CPU 19 notifies the transmission start to the high-speed serial communication card 15, and the high-speed serial communication card 15 starts transmission.

ステップB8において、CPU19は、ハードディスクドライブ16から次回送信するための記録データを読出し、外部記憶装置23上でこの記録データのフォーマットを再生データのフォーマットに変換する。 In step B8, the CPU 19 reads the recording data to be transmitted next time from the hard disk drive 16, and converts the format of the recording data to the format of the reproduction data on the external storage device 23.

ステップB9において、CPU19は、外部記憶装置23から再生データを読出し、この再生データを次回の送信データとして、いずれかの送信バッファ27のダブルバッファのうち、次回送信用のバッファへDMA転送する。   In step B9, the CPU 19 reads the reproduction data from the external storage device 23, and DMA-transfers this reproduction data to the next transmission buffer among the double buffers of any one of the transmission buffers 27 as the next transmission data.

ステップB10において、CPU19は送信フラグが1であるかどうかを判定し、送信フラグが1でない間はNOルートを通り、待機する。送信フラグが1であることをCPU19が検出するとYESルートを通る。   In step B10, the CPU 19 determines whether or not the transmission flag is 1. If the transmission flag is not 1, the CPU 19 waits through the NO route. If the CPU 19 detects that the transmission flag is 1, the YES route is taken.

ステップB11において、CPU19は繰返し変数iをインクリメントする。再度、ステップB4に戻り、CPU19はステップB4〜ステップB11までの処理のループを実行する。繰返し変数iが指定回数に達すると、そのときの処理ループでのステップB11を抜けて、ステップB12において、CPU19はこのCPU19と高速シリアル通信カード15との間の通信を終える処理を行う。CPU19は、高速シリアル通信カード15の状態をディスイネーブル状態にする等の通信終了処理を行う。高速シリアル通信カード15ではシリアルデータ信号の送信が終わる。   In step B11, the CPU 19 increments the repetition variable i. Returning to step B4 again, the CPU 19 executes a loop of processing from step B4 to step B11. When the iteration variable i reaches the specified number of times, the process loops out of step B11 at that time, and in step B12, the CPU 19 performs a process of ending the communication between the CPU 19 and the high-speed serial communication card 15. The CPU 19 performs communication end processing such as disabling the state of the high-speed serial communication card 15. The high-speed serial communication card 15 finishes transmitting the serial data signal.

ハードディスクドライブ16から記録データをリードして外部記憶装置23にライトすること、外部記憶装置23上でフォーマット変換を行うこと、フォーマット変換された再生データを高速シリアル通信カード15の送信バッファ27にライトするといった各処理はパソコンOSによって制御される。これらのリード、ライト、変換等の各処理の速度はOSの処理負荷に応じて50m秒よりも速くなることや50m秒よりも遅くなることがある。つまり制御がパソコンOSに渡されている間の処理速度には揺らぎがある。本実施形態では、あらかじめ処理速度を評価したパソコン本体4aを選定して使うことにより、選定したパソコン本体4aのOSが支配中の処理の処理速度がたとえ揺らいだとしても、記録データのリード、ライト、変換等の各処理に要する時間が50m秒以内に収まるようにしている。これらのパソコンOS支配下の各処理は、送信バッファ27からシリアルデータ信号を高速シリアル通信カード15が送信している最中に実行されるため、リード等の処理の時間変動はシリアルデータ信号の送信のタイミングには影響を与えない。   Reading recorded data from the hard disk drive 16 and writing it to the external storage device 23, performing format conversion on the external storage device 23, and writing the format-converted reproduction data to the transmission buffer 27 of the high-speed serial communication card 15. These processes are controlled by the personal computer OS. The speed of each processing such as reading, writing, and conversion may be faster than 50 milliseconds or slower than 50 milliseconds depending on the processing load of the OS. That is, there is a fluctuation in the processing speed while the control is transferred to the personal computer OS. In the present embodiment, by selecting and using the personal computer main body 4a whose processing speed has been evaluated in advance, even if the processing speed of the process controlled by the OS of the selected personal computer main body 4a fluctuates, the read / write of recorded data is performed. The time required for each processing such as conversion is kept within 50 milliseconds. Each process under the control of the personal computer OS is executed while the high-speed serial communication card 15 is transmitting the serial data signal from the transmission buffer 27. It does not affect the timing.

N個の送信バッファ27のバッファサイズと、外部記憶装置23のバッファサイズとは、これらの送信バッファ27や外部記憶装置23からデータを読出して送信や転送することが50m秒の範囲内であるようにして決められる。CPU19がスタートをかけてから送信完了割込み応答が出るまでの時間内に、処理速度の揺らぎの最大値が収まるようにして、大量のシリアルデータ信号を一定周期内に一定間隔で転送する処理を成立させている。このように、データ再生装置PC4の再生データ転送、及びハードディスクドライブ16の再生/フォーマット変換処理は、高速シリアル通信カード15内の送信バッファ及び外部記憶装置23に設けられたバッファの許容範囲を満たすことを条件に、DSPカード2側及びシリアルデータ送信部26の基本周期とは非同期の処理である。   The buffer size of the N transmission buffers 27 and the buffer size of the external storage device 23 are such that reading and transmitting data from these transmission buffer 27 and external storage device 23 is within the range of 50 milliseconds. Can be decided. Processing to transfer a large amount of serial data signals at regular intervals within a certain period is established so that the maximum value of the processing speed fluctuation is accommodated within the time from when the CPU 19 is started until the transmission completion interrupt response is issued. I am letting. As described above, the reproduction data transfer of the data reproduction device PC4 and the reproduction / format conversion processing of the hard disk drive 16 satisfy the allowable range of the transmission buffer in the high-speed serial communication card 15 and the buffer provided in the external storage device 23. As a condition, the basic cycle of the DSP card 2 side and the serial data transmission unit 26 is asynchronous processing.

レーダ装置ではレーダアンテナが方位方向で360度回転する。レーダアンテナは6〜12秒で1周する。6〜12秒を50μ秒で除して得られるデータの個数は膨大である。デバッグでは、データ再生装置PC4は膨大な量のシリアルデータ信号をDSPカード2へ送る。DSPカード2が同じデータを使い回すことは処理の検証にはならない。周回毎に異なる複数周分の記録データをハードディスクドライブ16は保持している。ハードディスクドライブ16から記録データを毎回読出せる環境が必要である。本実施形態に係るデータ再生装置PC4は、このハードディスクドライブ16からのデータ読出しを、汎用OSの力を借りつつ、所望する50ms内にリード、ライト及び変換等の一連の処理を行うことができるようになった。   In the radar apparatus, the radar antenna rotates 360 degrees in the azimuth direction. The radar antenna makes one turn in 6 to 12 seconds. The number of data obtained by dividing 6 to 12 seconds by 50 μs is enormous. In debugging, the data reproducing apparatus PC4 sends a huge amount of serial data signals to the DSP card 2. Using the same data by the DSP card 2 does not verify the process. The hard disk drive 16 holds recording data for a plurality of rounds that differ for each round. An environment in which recorded data can be read from the hard disk drive 16 every time is necessary. The data reproducing apparatus PC4 according to the present embodiment can perform a series of processes such as reading, writing, and conversion within a desired 50 ms while reading the data from the hard disk drive 16 with the help of a general-purpose OS. Became.

一実施形態に係るデータ再生装置およびデータ再生方法によれば、シリアル通信を利用したデータ再生装置に対して、低コストと高速/低ゆらぎのデータ再生機能を実現できるようになる。また、汎用PCと汎用OSの組み合わせによりデータを再生することから、コスト低減が可能である。安価な汎用パソコンを用いて、高い転送レート且つ一定間隔で記録データを転送でき、本器であるDSPカード2の処理のタイミングと同じタイミングで記録データをこのDSPカード2へ供給することができるようになる。データ再生用ソフトウェアの組込み、及びハードウェア(高速シリアル通信カード)と、外部記憶装置23より読み出した記録データを用いて、一定の送信時間間隔で繰返し送信する機能を、安価に構築することができるようになる。   According to the data reproducing device and the data reproducing method according to the embodiment, a data reproducing function with low cost and high speed / low fluctuation can be realized for a data reproducing device using serial communication. In addition, since data is reproduced by a combination of a general-purpose PC and a general-purpose OS, the cost can be reduced. Using an inexpensive general-purpose personal computer, the recording data can be transferred at a high transfer rate and at a constant interval, and the recording data can be supplied to the DSP card 2 at the same timing as the processing of the DSP card 2 as this device. become. A function for repeatedly transmitting data at a fixed transmission time interval can be constructed at a low cost by using software for reproducing data and using hardware (high-speed serial communication card) and recorded data read from the external storage device 23. It becomes like this.

レーダ装置を構成する各機材が基本周期ごとに動作しているかどうかを確認するためには、電波を放射しなければならない。試験電波を放射した実環境を再現することは、法令上、手続き上、困難である。そこで、遠隔地でレーダ装置が実測した記録データを使えば、所望する収集条件を満たす実環境下における状況を作り出すことができ、デバッグを行うことができる。信号処理演算の高速なデータ転送を再現することができ、デバッグによる動作確認を正しく行えるようになる。実環境において生じる電波反射物により電波が反射された状況下で本物の実測データを用いたレーダ装置のデバッグが可能になる。   In order to confirm whether or not each equipment constituting the radar apparatus is operating at every basic period, it is necessary to emit radio waves. It is difficult to reproduce the actual environment that radiated the test radio wave in terms of laws and procedures. Therefore, using recorded data actually measured by the radar apparatus at a remote location can create a situation in a real environment that satisfies a desired collection condition, and can be debugged. High-speed data transfer of signal processing operations can be reproduced, and operation check by debugging can be performed correctly. The radar apparatus can be debugged using actual measurement data under the condition that the radio wave is reflected by the radio wave reflector generated in the actual environment.

尚、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage.

また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。   In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment.

1…データ再生システム、2…DSPカード(信号処理装置)、3…データバス(伝送路)、4…データ再生装置PC(データ再生装置)、4a…パソコン本体、5…フラッシュROM、6…内部メモリ、7…DMAコントローラ、8…DSP、9,11,13…データバス、10…バスプロトコル変換機能部、12…外部記憶装置、14…高速シリアル通信装置(シリアル送信カード)、15…高速シリアル通信カード(シリアル送信カード)、16…ハードディスクドライブ(不揮発性記憶部)、17,21a,21b…データバス(内部バス)、18…ハードディスクドライブ制御カード、19…CPU、20…データバス(入出力バス)、22…バスプロトコル変換機能部、23…外部記憶装置(揮発性記憶部)、24…バスインターフェース、25…DMAコントローラ、26…シリアルデータ送信部、27…送信バッファ、28…I/Oレジスタ、29…制御機能部。   DESCRIPTION OF SYMBOLS 1 ... Data reproduction system, 2 ... DSP card (signal processing device), 3 ... Data bus (transmission path), 4 ... Data reproduction device PC (data reproduction device), 4a ... PC main body, 5 ... Flash ROM, 6 ... Inside Memory, 7 ... DMA controller, 8 ... DSP, 9, 11, 13 ... Data bus, 10 ... Bus protocol conversion function unit, 12 ... External storage device, 14 ... High-speed serial communication device (serial transmission card), 15 ... High-speed serial Communication card (serial transmission card), 16... Hard disk drive (nonvolatile storage unit), 17, 21a, 21b... Data bus (internal bus), 18... Hard disk drive control card, 19. Bus), 22 ... Bus protocol conversion function unit, 23 ... External storage device (volatile storage unit), 24 ... Bus interface Face, 25 ... DMA controller, 26 ... serial data transmission unit, 27 ... transmission buffer, 28 ... I / O register, 29 ... control function unit.

Claims (4)

データ信号に対する処理をこの処理の基本周期ごとに複数回繰返して実行する信号処理装置の動作を検証するための記録データを保持する不揮発性記憶部と、
この不揮発性記憶部に内部バスを介してアクセスし前記基本周期よりも長い時間を応答処理可能な時間とするCPU、このCPUが前記記録データを再生して形式変換した再生データを記憶する揮発性記憶部、およびこれらのCPU及び揮発性記憶部とバスプロトコル変換部を介して接続された入出力バスを有するパソコン本体と、
それぞれこのパソコン本体の前記入出力バスを介して前記揮発性記憶部より転送される前記再生データから複数のシリアルデータ信号を生成し各シリアルデータ信号を前記基本周期ごとに伝送路を介して前記信号処理装置へ送信するシリアル送信カードと、を備え、
このシリアル送信カードは、前記基本周期に予め設定された送信回数を乗じて得られる前記CPUの応答処理可能な時間よりも長い期間内に前記各シリアルデータ信号を生成し、この期間の経過後、前記時間よりも長い次の期間内に前記各シリアルデータ信号を前記処理周期ごとに一定間隔でシリアル送信することを特徴とするデータ再生装置。
A non-volatile storage unit that holds recording data for verifying the operation of the signal processing device that repeatedly executes the processing on the data signal for each basic period of the processing;
A CPU that accesses this nonvolatile storage unit via an internal bus and uses a time longer than the basic cycle as a response processable time, and a volatility in which the CPU reproduces the recorded data and stores the reproduced data. A storage unit, and a personal computer body having an input / output bus connected to the CPU and the volatile storage unit via a bus protocol conversion unit;
A plurality of serial data signals are generated from the reproduction data transferred from the volatile storage unit via the input / output bus of the personal computer body, and each serial data signal is transmitted through the transmission path for each basic period. A serial transmission card for transmitting to the processing device,
This serial transmission card generates each serial data signal within a period longer than the time that the CPU can process the response obtained by multiplying the basic cycle by a preset number of transmissions, and after the elapse of this period, A data reproducing apparatus for serially transmitting each serial data signal at a fixed interval for each processing cycle within a next period longer than the time.
前記シリアル送信カードは、
それぞれ複数のチャネル毎に前記再生データを記憶する複数のバッファと、
これらのバッファに前記再生データを、前記揮発性記憶部から前記入出力バスを介してDMA転送するDMAコントローラと、
このDMAコントローラによってデータをDMA転送された前記各バッファから前記各シリアルデータ信号を互いに前記基本周期に同期させて前記信号処理装置へ送信する複数のシリアルデータ送信部と、
これらのシリアルデータ送信部が各シリアルデータ信号を送信したときに出力する送信完了割込みの回数を計測するカウンタと、
このカウンタの計測値が前記送信回数に達すると、前記送信完了割込みを前記CPUに対して送信する制御機能部と、を備えたことを特徴とする請求項1記載のデータ再生装置。
The serial transmission card is
A plurality of buffers each storing the reproduction data for each of a plurality of channels;
A DMA controller that DMA-transfers the reproduction data to the buffers from the volatile storage unit via the input / output bus;
A plurality of serial data transmission units for transmitting each serial data signal from each buffer DMA-transferred by the DMA controller to the signal processing device in synchronization with the basic period;
A counter for measuring the number of transmission completion interrupts output when these serial data transmission units transmit each serial data signal;
The data reproducing apparatus according to claim 1, further comprising: a control function unit that transmits the transmission completion interrupt to the CPU when a measured value of the counter reaches the number of transmissions.
データ信号に対する処理をこの処理の基本周期ごとに複数回繰返して実行する信号処理装置に伝送路を介して接続されたシリアル送信カードを装着し、この信号処理装置の動作検証用の記録データを保持する不揮発性記憶部に接続されたパソコン本体のCPUが、このシリアル送信カードに対して送信開始を指令し、
前記基本周期に予め設定された送信回数を乗じて得られる前記CPUの応答処理可能な時間よりも長い第1の期間内に、前記シリアル送信カードは複数のシリアルデータ信号を前記処理周期ごとに一定間隔でシリアル送信するとともに、前記不揮発性記憶部に前記CPUが再生出力した再生データから別の複数のシリアルデータ信号を生成し、
前記第1の期間の経過後、前記CPUの応答処理可能な時間よりも長い第2の期間内に、前記シリアル送信カードは前記別の複数のシリアルデータ信号を前記処理周期ごとに一定間隔でシリアル送信することを特徴とするデータ再生方法。
Attach a serial transmission card connected via a transmission line to a signal processing device that repeatedly executes processing on the data signal multiple times per basic cycle of this processing, and retains recording data for operation verification of this signal processing device The CPU of the personal computer connected to the non-volatile storage unit instructs the serial transmission card to start transmission,
The serial transmission card sets a plurality of serial data signals at each processing cycle within a first period longer than the time that the CPU can perform response processing, which is obtained by multiplying the basic cycle by a preset number of transmissions. Serially transmit at intervals, and generate another serial data signal from the reproduction data reproduced and output by the CPU to the nonvolatile storage unit,
After the elapse of the first period, the serial transmission card serializes the plurality of other serial data signals at regular intervals for each processing cycle within a second period longer than the time during which the CPU can process the response. A data reproduction method comprising transmitting the data.
前記第1の期間の経過後、前記シリアル送信カードは、前記各シリアルデータ信号の送信回数を計測し、
計測値が前記送信回数に達すると、前記シリアル送信カードは、前記送信回数分の前記送信完了割込みを前記CPUに対して送信することを特徴とする請求項3記載のデータ再生方法。
After the elapse of the first period, the serial transmission card measures the number of transmissions of each serial data signal,
4. The data reproduction method according to claim 3, wherein when the measured value reaches the number of transmissions, the serial transmission card transmits the transmission completion interrupt for the number of transmissions to the CPU.
JP2010129952A 2010-06-07 2010-06-07 Data regeneration device and data regeneration method Pending JP2011257840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010129952A JP2011257840A (en) 2010-06-07 2010-06-07 Data regeneration device and data regeneration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010129952A JP2011257840A (en) 2010-06-07 2010-06-07 Data regeneration device and data regeneration method

Publications (1)

Publication Number Publication Date
JP2011257840A true JP2011257840A (en) 2011-12-22

Family

ID=45473988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010129952A Pending JP2011257840A (en) 2010-06-07 2010-06-07 Data regeneration device and data regeneration method

Country Status (1)

Country Link
JP (1) JP2011257840A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115282A1 (en) * 2012-01-31 2013-08-08 株式会社ユニテックス Interface conversion device, interface conversion method, information processing device, information processing system, information processing method, program and storage medium
WO2020004302A1 (en) * 2018-06-26 2020-01-02 日本電産株式会社 Data communication method, data structure, and data communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115282A1 (en) * 2012-01-31 2013-08-08 株式会社ユニテックス Interface conversion device, interface conversion method, information processing device, information processing system, information processing method, program and storage medium
WO2020004302A1 (en) * 2018-06-26 2020-01-02 日本電産株式会社 Data communication method, data structure, and data communication system

Similar Documents

Publication Publication Date Title
KR101561854B1 (en) Non-mounted storage test device based on fpga
US7685499B2 (en) XOR circuit, RAID device capable of recovering a plurality of failures and method thereof
US20150095712A1 (en) Non-mounted storage test device based on fpga
US5388060A (en) Simulated host computer/channel interface system
EP2530593A2 (en) Nonvolatile memory, memory controller, nonvolatile memory accessing method, and program
US7107343B2 (en) Method and apparatus for improved RAID 1 write performance in low cost systems
US20140258783A1 (en) Software testing using statistical error injection
WO2024001338A1 (en) Data transmission method, system and apparatus, and storage medium
US10142169B2 (en) Diagnosis device, diagnosis method, and non-transitory recording medium storing diagnosis program
US10042585B2 (en) Pervasive drive operating statistics on SAS drives
JPWO2011114383A1 (en) Information processing apparatus and device information collection processing method for information processing apparatus
JP2011257840A (en) Data regeneration device and data regeneration method
US20060265523A1 (en) Data transfer circuit and data transfer method
CN113177388B (en) Device, system and method for testing and verifying IP (Internet protocol) core
US7159142B2 (en) Pseudo I/O system and method
Van Tonder et al. Lowering the {USB} Fuzzing Barrier by Transparent {Two-Way} Emulation
US11604600B2 (en) Stand-alone bridging test method
US20170206178A1 (en) Information processing apparatus, method of transferring data, and non-transitory computer-readable recording medium
US7302508B2 (en) Apparatus and method for high speed data transfer
JP4791496B2 (en) Interface board test apparatus and interface board test method
US7992012B2 (en) Power source control circuit, power source control device, power source control system, and information processing device
US7568121B2 (en) Recovery from failure in data storage systems
JP5673197B2 (en) Test program and test method
KR100865990B1 (en) Bidirectional emulator of interface card
CN117292738A (en) System and method for verifying micro instruction sequence