CN102882585A - Data recording and playback device, system and method - Google Patents

Data recording and playback device, system and method Download PDF

Info

Publication number
CN102882585A
CN102882585A CN2012103266101A CN201210326610A CN102882585A CN 102882585 A CN102882585 A CN 102882585A CN 2012103266101 A CN2012103266101 A CN 2012103266101A CN 201210326610 A CN201210326610 A CN 201210326610A CN 102882585 A CN102882585 A CN 102882585A
Authority
CN
China
Prior art keywords
fpga
data
memory cell
bus
signal
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.)
Granted
Application number
CN2012103266101A
Other languages
Chinese (zh)
Other versions
CN102882585B (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.)
CENTER FOR EARTH OBSERVATION AND DIGITAL EARTH CHINESE ACADEMY OF SCIENCES
Tsinghua University
Original Assignee
CENTER FOR EARTH OBSERVATION AND DIGITAL EARTH CHINESE ACADEMY OF SCIENCES
Tsinghua University
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 CENTER FOR EARTH OBSERVATION AND DIGITAL EARTH CHINESE ACADEMY OF SCIENCES, Tsinghua University filed Critical CENTER FOR EARTH OBSERVATION AND DIGITAL EARTH CHINESE ACADEMY OF SCIENCES
Priority to CN201210326610.1A priority Critical patent/CN102882585B/en
Publication of CN102882585A publication Critical patent/CN102882585A/en
Application granted granted Critical
Publication of CN102882585B publication Critical patent/CN102882585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a data recording and playback system. The system comprises a signal input circuit, a signal output circuit, two memory units, a first FPGA (Field Programmable Gate Array), a second FPGA and an external recording device, wherein the first FPGA collaborates with the second FPGA. A caching structure is formed by the two memory units and the second FPGA, so as to perform ping-pang caching process on data. The memory capacity of the two memory units is determined by the first FPGA according to data rate of input data. The data recording and playback system can adapt to the data rate variation in the high-speed data transmission in a self-adaptive manner rather than modifying the system manually. In addition, the problems of system overflow and the like caused by input and output of instant high-speed signals can also be eliminated.

Description

The device, the system and method that are used for data record and playback
Technical field
The present invention relates to digital communication technology field, more specifically, relate to and a kind of high-speed digital signal is recorded data record and playback system and method with playback.
Background technology
In the high-speed digital communication system design process, for the ease of debugging and testing communication system, need to produce specific data and use this particular data that systematic function is debugged and tested.Simultaneously, in order to improve actual test and the system-level uniting and adjustment efficient in when examination, the signal of receiving in the test process need to be recorded first as requested, and in the process of debugging, the recorded data file is carried out playback with the form code speed as required of the signal of telecommunication, so that in debug process, find the problem that exists in the correction system also.
In remote sensing and satellite communication system, message transmission rate can change in the scope of 1000Mbps at 1 MBPS (Mbps).In some main flow remote sensing and satellite communication system, message transmission rate has reached 100Mbps, or even the magnitude of Gigabits per second (Gbps), for example NASA and JAXA have had a plurality of satellite projects to realize the downlink transfer link of Gbps magnitude, and the transmission rate of China's Aerospace Satellite communication of future generation also will reach the Gbps magnitude.
For the changes in data rate of the 1Mbps in adaptive remote sensing and the satellite communication system to 1000Mbps, at present remote sensing and the employed high-speed data recording of satellite communication system and playback system, manual change system need to be set usually.These manual change systems cause the complicated operation of high-speed data recording and playback system and mistake occurs easily.In addition, in present high-speed record and playback system since moment high speed signal input and output, the unstable situation such as cause system to produce overflowing.
Summary of the invention
In view of the above problems, an object of the present invention is to provide a kind of data record and playback system and method, it is the variation in the adaptation data transmission rate adaptively.
Another object of the present invention provides a kind of device and method for realizing high-speed data recording.
Another object of the present invention provides a kind of device and method for realizing the high-speed data playback.
According to an aspect of the present invention, provide a kind of device for realizing high-speed data recording, comprising: signal input circuit is configured to receive the baseband signal from the outside input, and the baseband signal that receives is converted to data; The one FPGA, link to each other with described signal input circuit and link to each other with the external record device by bus, be configured to from the signal input circuit receive data, and the data that receive are continued to output to the 2nd FPGA, and after receiving data from the 2nd FPGA, the data communication device that receives is crossed bus transfer in the external record device, carry out record; The 2nd FPGA, link to each other with a described FPGA, be configured to be written to from the data that a FPGA receives in the memory cell the first and second memory cell, simultaneously from another memory cell reading out data and be buffered in the inner buffer of the 2nd FPGA, and when the size of the data of inner buffer institute buffer memory reaches the first predetermined value, the data of inner buffer are sent to a FPGA; The first and second memory cell, link to each other with described the 2nd FPGA, the ping-pong buffer operation is carried out in wherein said two memory cell and described the 2nd FPGA cooperation, wherein, the memory capacity equal and opposite in direction of described the first and second memory cell, and control the 2nd FPGA by a FPGA according to the speed of input signal and set.
In one or more examples aspect above-mentioned, described device can also comprise: level and serial to parallel conversion unit are used for the signal from the outside input is carried out level and serial to parallel conversion.
In one or more examples aspect above-mentioned, described device can also comprise: bridge, be used for the bridge joint between realization the first bus and the second bus, wherein, a described FPGA links to each other by the first bus with bridge, and described bridge links to each other by the second bus with the external record device.
In one or more examples aspect above-mentioned, described bridge can be PEX 8311.
According to a further aspect in the invention, provide a kind of device for realizing the high-speed data playback, comprising: signal output apparatus is used for the data that receive are converted to baseband signal; The 3rd FPGA, link to each other with described signal output apparatus and link to each other with the external record device by bus, be configured to read recorded data from the external record device, and the data that read are transferred to the 4th FPGA constantly, and after receiving data from the 4th FPGA, carry out playback after the data that receive are transferred to signal output apparatus and are converted to baseband signal according to assigned rate; The 4th FPGA, link to each other with described the 3rd FPGA, be configured to be written to from the data that the 3rd FPGA receives in the internal storage location the third and fourth memory cell, simultaneously from another internal storage location reading out data and be buffered in the inner buffer of the 4th FPGA, and when the size of the data of inner buffer institute buffer memory reaches the second predetermined value, the data of inner buffer are sent to the 3rd FPGA; And third and fourth memory cell, linking to each other with described the 4th FPGA, the ping-pong buffer operation is carried out in wherein said the third and fourth memory cell and described the 4th FPGA cooperation.
In one or more examples aspect above-mentioned, described signal output apparatus can also comprise: level and parallel serial conversion unit are used for carrying out and string and level translation from the data of the 3rd FPGA output.
In one or more examples aspect above-mentioned, described device can also comprise: bridge, be used for the bridge joint between realization the first bus and the second bus, wherein, described the 3rd FPGA links to each other by the first bus with bridge, and described bridge links to each other by the second bus with the external record device.
In one or more examples aspect above-mentioned, described assigned rate is according to the playback rate information setting in the data readback instruction that receives by the 3rd FPGA.
In one or more examples aspect above-mentioned, described assigned rate be by the 3rd FPGA according to the playback rate information in the data readback instruction that receives, set by frequency synthesizer.
According to a further aspect in the invention, provide a kind of data record and playback system, comprising: aforesaid device for realizing high-speed record; Aforesaid for realizing the high-speed playback device; And tape deck.
In one or more examples aspect above-mentioned, a described FPGA is identical with the 4th FPGA with described the 3rd FPGA respectively with the 2nd FPGA, and described the first and second memory cell are identical with described the third and fourth memory cell respectively.
According to a further aspect in the invention, a kind of data record method of being carried out by the device that is used for the realization high-speed data recording is provided, comprise: receive the baseband signal of inputting from the outside and be converted to data by signal input circuit, and the FPGA of the transfer of data to the after will changing; The one FPGA continues to output to the 2nd FPGA with the data that receive; The 2nd FPGA will be written to from the data that a FPGA receives in the memory cell the first and second memory cell, simultaneously from another memory cell reading out data and be buffered in the inner buffer of the 2nd FPGA, and when the size of the data of inner buffer institute buffer memory reaches the first predetermined value, the data of inner buffer are sent to a FPGA; And after receiving data from the 2nd FPGA, the one FPGA carries out record with the transfer of data that receives by bus in the external record device, wherein, the memory capacity equal and opposite in direction of described the first and second memory cell, and control the 2nd FPGA by a FPGA according to the speed of input signal and set.
According to a further aspect in the invention, a kind of data readback method of being carried out by the device that is used for the playback of realization high-speed data is provided, comprise: the 3rd FPGA reads recorded data by bus from the external record device, and the data that read are transferred to the 4th FPGA constantly; The 4th FPGA will be written to from the data that the 3rd FPGA receives in the internal storage location the third and fourth memory cell, simultaneously from another internal storage location reading out data and be buffered in the inner buffer of the 4th FPGA, and when the size of the data of inner buffer institute buffer memory reaches the second predetermined value, the data of inner buffer are sent to the 3rd FPGA; And after receiving data from the 4th FPGA, the 3rd FPGA is transferred to the data that receive signal output apparatus according to assigned rate and is converted to baseband signal and carries out playback.
Utilize above-mentioned data record and playback system, the changes in data rate in the adaptive high speed data transfer adaptively, and need not manually to change system.In addition, can also eliminate owing to moment high speed signal input and output the problem such as cause system to produce overflowing.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention comprise the feature that the back will describe in detail and particularly point out in the claims.Following explanation and accompanying drawing describe some illustrative aspects of the present invention in detail.Yet, the indication of these aspects only be some modes that can use in the variety of way of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
Description of drawings
According to following detailed description of carrying out with reference to accompanying drawing, above and other purpose of the present invention, feature and advantage will become more apparent.In the accompanying drawings:
Fig. 1 shows the structured flowchart according to the device that is used for high-speed data recording of the embodiment of the invention;
Fig. 2 shows the schematic diagram of a realization example of the signal input circuit of the device among Fig. 1;
Fig. 3 shows the bus control structure according to the embodiment of the invention;
Fig. 4 shows the data buffer storage structure according to the many speed of adaptation of the embodiment of the invention;
Fig. 5 shows the structured flowchart according to the device that is used for the high-speed data playback of the embodiment of the invention;
Fig. 6 shows the schematic diagram of a realization example of the signal output apparatus of the device among Fig. 5;
Fig. 7 shows the structured flowchart according to data record of the present invention and playback system;
Fig. 8 shows the schematic diagram according to an example of data record of the present invention and playback system;
Fig. 9 shows according to the Bit Error Code Statistics structure in data record of the present invention and the playback system;
Figure 10 shows the flow chart for the method for carrying out high-speed data recording according to the embodiment of the invention; With
Figure 11 shows the flow chart for the method for carrying out the high-speed data playback according to the embodiment of the invention.
Identical label is indicated similar or corresponding feature or function in institute's drawings attached.
Embodiment
Various aspects of the present disclosure are described below.Should be understood that the instruction of this paper can be with varied form imbody, and disclosed any concrete structure, function or both only are representational in this article.Based on the instruction of this paper, those skilled in the art should be understood that an aspect disclosed herein can be independent of any other side and realize, and the two or more aspects in these aspects can make up according to variety of way.For example, can use the aspect of any number described in this paper, implement device or hands-on approach.In addition, can use other structure, function or except one or more aspects described in this paper or be not the 26S Proteasome Structure and Function of one or more aspects described in this paper, realize this device or put into practice this method.In addition, any aspect described herein can comprise at least one element of claim.
Below in conjunction with description of drawings according to embodiments of the invention.
Fig. 1 shows the structured flowchart according to the device 100 that is used for high-speed data recording of the embodiment of the invention.
As shown in Figure 1, device 100 comprises signal input circuit 110, a FPGA 120, the 2nd FPGA130, the first internal storage location 140 and the second internal storage location 150.
Signal input circuit 110 links to each other with a FPGA.When carrying out high-speed data recording, signal input circuit 110 is configured to receive from the baseband signal of outside input, such as the ECL level signal from the outside input, and the baseband signal that receives is converted to data.Subsequently, will be through transfer of data to the FPGA 120 who obtains after the conversion.
In an embodiment according to the present invention, the level of the baseband signal that receives of signal input circuit 110 can require different from the level of the input signal of a FPGA 120.In addition, the baseband signal that signal input circuit 110 receives can be serial signal, rather than the desired parallel signal of the input signal of FPGA.In this case, signal input circuit 110 can also comprise level and serial to parallel conversion unit, is used for the baseband signal that receives from the outside is carried out level and serial to parallel conversion.Fig. 2 shows the configuration diagram of a realization example of signal input circuit in the time need to carrying out level and serial to parallel conversion to the baseband signal of outside input.
As shown in Figure 2, the level of the baseband signal of outside input is the ECL level.Shown in figure 2 in the circuit structure, at first, by EP 90 chips the baseband signal of this outside input being carried out level translation, is LVPECL with the level translation of this baseband signal.Then, utilize FPGA (Field Programmable Gate Array) delay chip MC10EP195 that the clock signal of EP 90 chips output is postponed, thereby realize strictly aliging of data and clock signal.The theoretical transmission rate of this chip is 1.2GHz, and delay precision is 10ps.Then, utilize the MC10EP445 chip data are gone here and there and to change, the data flow of maximum 1Gbps is become the parallel data stream of 8 road maximum 125MHz.Then, the parallel LVPECL signal that the MC10EP445 conversion is obtained by the MC100LVELT23 chip is converted into the LVTTL level signal and gives FPGA, and the MC100LVELT23 chip is that binary channels LVTTL drives chip, and the single channel transmission rate can reach more than the 180MHz.FPGA receives by the LVTTL interface.FPGA module (that is, a FPGA and the 2nd FPGA) adopts StratixII EP2S180F1020C3 chip, and maximum operating frequency reaches 550MHz, and wherein LVTTL interface transmission rate can reach 250Mbps.In addition, also comprise the MC100EPT22 chip in this signal input circuit, in order to realizing the LVTTL level to the conversion of LVPECL level, and realize control to above chip.
The one FPGA 120 is configured to receive the data from signal input circuit output.In addition, a FPGA 120 links to each other with the 2nd FPGA 130, is used for the data that receive are continued to output to the 2nd FPGA130.And, the one FPGA 120 also is configured to link to each other with the external record device by bus, be used for when carrying out data record, after the data that receive the 2nd FPGA 130 transmission, by bus the transfer of data that receives carried out record in the external record device.
The 2nd FPGA 130 links to each other with the second memory cell 150 with the first memory cell 140, and be configured to be written to from the data that a FPGA 120 receives in the memory cell the first memory cell 140 and the second memory cell 150, simultaneously from another memory cell reading out data and be buffered in the inner buffer of the 2nd FPGA130.In addition, when the size of the data of inner buffer institute buffer memory reached the first predetermined value, the 2nd FPGA 130 was configured to the data of inner buffer are sent to a FPGA 120.
Described the first memory cell 140 and the second memory cell 150 are configured to data cached.In the present invention, the mode of utilizing two memory cell (being in this example the DDR2 internal memory) to cooperate with the inside FIFO of the 2nd FPGA 130 is carried out the ping-pong buffer operation, realizes the buffer memory of highspeed serial data stream.When carrying out the ping-pong buffer operation, control the hardware time order of the first memory cell 140 and the second memory cell 150 by the 2nd FPGA 130.
For example, in the embodiment shown in fig. 1, the inner buffer of the first memory cell 140, the second memory cell 150 and the 2nd FPGA 130 (that is, FIFO) forms buffer structure, and cooperates to come together to the operation of data-signal execution ping-pong buffer.Described ping-pong buffer operation refers to when a memory cell is carried out write operation, and another memory cell is carried out read operation.To the first memory cell 140 and the second memory cell 150 carry out write and/or the switching sequence of read operation by the 2nd FPGA 130 controls.When 130 pairs of memory cell of the 2nd FPGA were carried out write operation and write full this memory cell, the 2nd FPGA 130 became this memory cell execution read operation.When 130 pairs of memory cell of the 2nd FPGA were carried out read operation and read empty this memory cell, the 2nd FPGA 130 became this memory cell execution write operation.In addition, the memory capacity of the first memory cell 140 and the second memory cell 150 is set to equal and opposite in direction usually, and should size controls the 2nd FPGA 130 by a FPGA 120 according to the speed of input signal and set.
In addition, in data recording process, data need to the device 100 and the external record device (for example, computer) transmits between, in order to reach the upper limit requirement of speed, device 100 can also comprise bridge 160, is used for the bridge joint between realization the first bus and the second bus.In this case, usually need to link to each other by the first bus (that is, local bus) between a FPGA 120 and the bridge 160, and bridge 160 and external record device are (for example, computer) links to each other by the second bus (for example, PCI-E bus).In an example of the present invention, described bridge 160 can adopt the PEX8311 of PLX company.
Fig. 3 shows the diagram according to an example of the bus control structure of the embodiment of the invention.Figure 3 illustrates the relation of fpga chip, PEX8311 chip and PCI-E interface bus.PEX8311 is the bridging chip that a PCI-E bus of PLX company arrives local bus, supports the one-way transmission speed of 2.5Gbps, and data can be transmitted mutually by PCI-E bus and computer, satisfies rate requirement.The clock that local bus adopts the 66M crystal oscillator to produce, data are with 32bit bit wide parallel transmission.
Fig. 4 shows the schematic diagram according to an example of the data buffer storage structure of the many speed of adaptation of the embodiment of the invention, adopt in the figure bridge PEX8311, when carrying out data record, the api function that at first utilizes PLX company to provide is opened the DMA transmission of PEX8311.
As shown in Figure 4, the work clock of DDR2 internal memory is 100MHz, is provided by FPGA.Owing to save as the 64bit highway width in the DDR2, so the interface rate of DDR2 internal memory can reach more than the 12Gbps, can tackle the serial data stream of 1Gbps fully.When carrying out data record, a FPGA 120 will input data and constantly be written to the 2nd FPGA 130, the two FPGA 130 and write data into and carry out buffer memory in the DDR2 internal memory.When a slice DDR2 internal memory is written into, the 2nd FPGA 130 sense data and being cached among the FIFO of the 2nd FPGA 130 from another sheet DDR2 internal memory.When data in the FIFO during greater than the first predetermined value, the 2nd FPGA 130 passes to a FPGA 120 with the data of buffer memory among the FIFO.Subsequently, a FPGA 120 passes to bridge PEX8311 with data.Then, by the DMA transmission, data-signal is transferred in the assigned address (for example, specified file) of external record device (for example, computer) from bridge PEX8311.In addition, when of short duration obstruction appears in the DMA of PEX8311 transmission, the 2nd FPGA 140 reading out data from the DDR2 internal memory also will suspend, but the data that do not affect another piece internal memory write.
In addition, can mate adaptively 1Mbps to the changes in data rate of 1000Mbps in order to make system, and can be because of the input and output of moment high speed signal, causing system to produce overflows, in the present invention, the memory capacity size (being buffer size) of the first memory cell 140 and the second memory cell 150 is set to set according to the data rate of input data, is namely set according to data rate control the 2nd FPGA of input signal by a FPGA.For example, externally the tape deck end (for example, the buffer size of the computer software end), according to input data rate needs being opened up reaches a FPGA 120, the one FPGA 120 by order and then can control the 2nd FPGA 130 and set buffer size.
In the present invention, buffer size is relevant with input data rate.When input data rate was fast, buffer area was set to larger, thereby it is low and cause cache overflow to prevent that factor data from writing the momentary rate of PEX8311.In addition, buffer size also cannot be set to excessive, otherwise in the starting stage, and data are write full a slice DDR2 internal memory to be needed for a long time, will cause the FPGA for a long time can't reading out data, affects record efficiency.
Fig. 5 shows the structured flowchart according to the device 500 that is used for the high-speed data playback of the embodiment of the invention.As shown in Figure 5, device 500 comprises signal output apparatus 510, the 3rd FPGA 520, the 4th FPGA530, the 3rd memory cell 540 and the 5th memory cell 550.
Signal output apparatus 510 is used for the data that receive are converted to baseband signal.The 3rd FPGA 520 links to each other with the external record device by bus.In addition, the 3rd FPGA 520 also links to each other with the 4th FPGA 530 with described signal output apparatus 510.When carrying out data readback, the 3rd FPGA 520 is configured to read recorded data by bus from external record device (for example, computer), and the data that read are transferred to the 4th FPGA constantly.In addition, after receiving data from the 4th FPGA 530, the 3rd FPGA 520 also is configured to the data that will receive, is transferred to signal output apparatus 510 according to assigned rate, and carries out playback after being converted to signal by signal output apparatus 510.Described assigned rate is according to the playback rate information setting in the data readback instruction that receives by the 3rd FPGA.In an example of the present invention, described assigned rate be by the 3rd FPGA according to the playback rate information in the data readback instruction that receives, set by the adjustable frequency synthesizer.
The 4th FPGA 530 links to each other with described the 3rd FPGA 520, the 3rd memory cell 540 and the 4th memory cell 550.The inner buffer of the 4th FPGA 530 and the third and fourth memory cell form buffer structure, and data-signal is carried out the ping-pong buffer operation.
The 4th FPGA 530 is configured to be written to from the data that the 3rd FPGA 520 receives in the internal storage location the third and fourth memory cell, simultaneously from another internal storage location reading out data and be buffered in the inner buffer of the 4th FPGA 530.In addition, when the size of the data of inner buffer institute buffer memory reaches the second predetermined value, the data of inner buffer are sent to the 3rd FPGA 520.
In another example of the present invention, device 500 can also comprise bridge 560, is used for the bridge joint between realization the first bus and the second bus.In this case, connect by the first bus (for example, local bus) between the 3rd FPGA 520 and the bridge 560, and bridge 560 and external record device are (for example, computer) connects by the second bus (for example, PCI-E bus) between.
In addition, in another example of the present invention, device 500 can also comprise frequency synthesizer 570, is used for the rate information according to the data readback instruction that receives from the 3rd FPGA, playback rate when data readback is set, namely the 3rd FPGA is transferred to the assigned rate of signal output apparatus.
In addition, in another example of the present invention, similar with the signal input circuit 110 among Fig. 1, data-signal output circuit 510 also can comprise and string and level translation unit, be used for to carrying out and string and level translation from the data of the 3rd FPGA output, to be converted to baseband signal.
Fig. 6 shows the schematic diagram according to operation principle and the process of data readback of the present invention.In this process, the user arranges playback rate by external record device end (for example, computer software end).When the 3rd FPGA 520 receives the data readback instruction, the playback rate size information is passed to frequency synthesizer 570 by command word.The sinusoidal signal of frequency synthesizer 570 output corresponding frequencies, sinusoidal signal is become the clock signal of PECL level by the MAX9600 chip, to give I/Q parallel-serial conversion chip be MC10EP446 to the PECL of MAX9600 chip output through driving all the time chip MC100EP14 again, it can carry out 1/8 frequency division according to input clock signal simultaneously, 1/8 fractional frequency signal that obtains given pass to FPGA after the MC100LVELT23 chip becomes the LVTTL level signal, realize the output of 8 parallel-by-bit data.In addition, in the circuit shown in Fig. 6, also adopt delay chip MC10EP195 that the serial i/Q signal of output is alignd with clock signal, be converted into the NECL level signal by the LVPECL clock signal of clock delay chip output and I, the Q two paths of signals of chip MC10EP446 output through the MC100EP91 chip.The end of playback section is the MC10EP16 chip, in order to driving N ECL level signal.
Here be noted that above-mentioned the first predetermined value and the second predetermined value are set to fixed value usually, can be identical, also can be different.
Fig. 7 shows the structured flowchart according to data record of the present invention and playback system 10.As shown in Figure 7, data record and playback system 10 comprise aforesaid device 100, aforesaid device 500, tape deck 200.
Fig. 8 shows the schematic diagram according to an example of data record of the present invention and playback system 10.In this example, a described FPGA is identical with the 4th FPGA with described the 3rd FPGA respectively with the 2nd FPGA, and described the first and second memory cell are identical with described the third and fourth memory cell respectively.In other words, a FPGA and the 3rd FPGA are same chips, and the 2nd FPGA and the 4th FPGA are same chips, and the first memory cell and the 3rd memory cell are same memory cell, and the second memory cell and the 4th memory cell are same memory cell.
In an example of the present invention, data record and playback system 10 can also have the Bit Error Code Statistics function.Fig. 9 shows the diagram according to the structure that is used for the realization Bit Error Code Statistics in the data record of the embodiment of the invention and the playback system.
As shown in Figure 9, in a FPGA of data record and playback system 10, can also comprise: local M sequence generation module, synchronization module/XOR module and counting/Bit Error Code Statistics module.
M sequence generation module in local M sequence generation module and the external circuit all uses shift register and XOR gate to consist of.
When the M sequence that the outside M sequence generation module of inputting is generated is carried out Bit Error Code Statistics, received front several (number depends on the pattern of M sequence) data are input in the shift register of local M sequence generation module, make register self circulation obtain correct M sequence with channel synchronization.The M sequence that self-channel transmission is come makes data synchronously with the local M sequence that produces by synchronization module and carries out the XOR bit that locates errors.Then, error rate of system is added up and calculated to counting/Bit Error Code Statistics module to the errored bit number.At last, by the Mailbox register error rate numerical value that comparison obtains is transferred to server, thus the statistics of the settling signal error rate.32 mailbox registers that the Mailbox register can adopt PEX8311 to provide, the value of these registers can be read and write arbitrarily at the software section Using API Function, also can be read and write according to certain sequential by local bus by FPGA in hardware.
In the present invention, when carrying out high-speed data playback or record, the DMA data-transmission mode that utilizes PEX8311 to provide.Under the DMA transmission mode, the api function that provides by PLX company starts and the DMA transmission is set, and utilizes the data that api function obtains recording or the data that spread out of playback.
As above referring to figs. 1 through Fig. 9 data record according to the present invention and playback system are illustrated.The below is described data record according to the present invention and back method to Figure 11 with reference to Figure 10.
Figure 10 shows the flow chart for the method for carrying out high-speed data recording according to the embodiment of the invention.
As shown in figure 10, when carrying out high-speed data recording, at first, at step S1010, receive from the signal of outside input by signal input circuit, the signal that receives is converted to data, then will be through transfer of data to the FPGA who obtains after the conversion.Receiving after the data of signal input circuit transmission, at step S1020, a FPGA continues to output to the 2nd FPGA with the data that receive.
Then, at step S1030, the 2nd FPGA will be written to from the data that a FPGA receives in the memory cell the first and second memory cell, simultaneously from another memory cell reading out data and be buffered in the inner buffer of the 2nd FPGA.Here, the memory capacity equal and opposite in direction of described the first and second memory cell, and control the 2nd FPGA by a FPGA according to the speed of input data and set.
Then, at step S1040, judge whether the size of the data of inner buffer reaches the first predetermined value.When the size of the data of inner buffer institute buffer memory reaches the first predetermined value, that is, the judged result of step S1040 at step S1050, is sent to a FPGA with the data of inner buffer when being.After receiving data from the 2nd FPGA, at step S1060, a FPGA carries out record with the transfer of data that receives by bus in the external record device, finish thus the high-speed data recording process.Exist bridge (for example, PEX8311) in the situation, also need to utilize api function to open the DMA transfer function of PEX8311, and pass through local bus, import data into PEX8311 from a FPGA, then PEX8311 crosses the PCI-E bus with data communication device and passes to the external record device.
Figure 11 shows the flow chart for the method for carrying out the high-speed data playback according to the embodiment of the invention.
When carrying out data readback, at first, at step S1110, the 3rd FPGA reads recorded data by bus from the external record device, and the data-signal that reads is transferred to the 4th FPGA constantly.Exist bridge (for example, PEX8311) in the situation, also need to utilize api function to open the DMA transfer function of PEX8311, and by the PCI-E bus, import data into PEX8311 from the external record device, then PEX8311 crosses local bus with data communication device and passes to the 3rd FPGA.
After receiving data from the 3rd FPGA, at step S1120, the 4th FPGA will be written to from the data that the 3rd FPGA receives in the internal storage location the third and fourth memory cell, simultaneously from another internal storage location reading out data and be buffered in the inner buffer of the 4th FPGA.
Then, at step S1130, judge whether the size of the data of inner buffer institute buffer memory reaches the second predetermined value.When the size of the data of inner buffer institute buffer memory reached the second predetermined value, namely the judged result of step S1130 was when being, at step S1140, the 4th FPGA is sent to the 3rd FPGA with the data of inner buffer.
After receiving data from the 4th FPGA, at step S1150, the 3rd FPGA is transferred to signal output apparatus with the data that receive according to assigned rate, and is converted to baseband signal and carries out playback.
Utilize data record of the present invention and playback system, be provided for the memory capacity size (buffer size) of data cached memory cell by the data rate according to the input data, the changes in data rate in the matched data transmission adaptively, and need not to arrange manual change system.
In addition, the cache size by buffer structure of the present invention is set to enough large, even the input and output of moment high speed signal occur, and can be because not overflowing obliterated data yet.
In addition, the method according to this invention can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions that limits in the method for the present invention.
In addition, said method step and system unit also can utilize controller (for example, processor) and be used for storage so that controller is realized the computer readable storage devices realization of the computer program of above-mentioned steps or Elementary Function.
Although the disclosed content in front shows exemplary embodiment of the present invention, should be noted that under the prerequisite of the scope of the present invention that does not deviate from the claim restriction, can carry out multiple change and modification.Function, step and/or action according to the claim to a method of inventive embodiments described herein do not need to carry out with any particular order.In addition, although element of the present invention can be with individual formal description or requirement, also it is contemplated that a plurality of, unless clearly be restricted to odd number.
Be described although as above described each embodiment according to the present invention with reference to figure, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, can also make various improvement on the basis that does not break away from content of the present invention.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (13)

1. device of be used for realizing high-speed data recording comprises:
Signal input circuit is configured to receive the baseband signal from the outside input, and the baseband signal that receives is converted to data;
The one FPGA, link to each other with described signal input circuit and link to each other with the external record device by bus, be configured to from the signal input circuit receive data, and the data that receive are continued to output to the 2nd FPGA, and after receiving data from the 2nd FPGA, the data communication device that receives is crossed bus transfer in the external record device, carry out record;
The 2nd FPGA, link to each other with a described FPGA, be configured to be written to from the data that a FPGA receives in the memory cell the first and second memory cell, simultaneously from another memory cell reading out data and be buffered in the inner buffer of the 2nd FPGA, and when the size of the data of inner buffer institute buffer memory reaches the first predetermined value, the data of inner buffer are sent to a FPGA;
The first and second memory cell link to each other with described the 2nd FPGA, and the ping-pong buffer operation is carried out in wherein said two memory cell and described the 2nd FPGA cooperation,
Wherein, the memory capacity equal and opposite in direction of described the first and second memory cell, and control the 2nd FPGA by a FPGA according to the speed of input signal and set.
2. device as claimed in claim 1, wherein, described signal input circuit also comprises:
Level and serial to parallel conversion unit are used for carrying out level and serial to parallel conversion from the baseband signal of outside input.
3. device as claimed in claim 1 also comprises:
Bridge is used for the bridge joint between realization the first bus and the second bus,
Wherein, a FPGA links to each other by the first bus with bridge, and described bridge links to each other by the second bus with the external record device.
4. device as claimed in claim 1, wherein, described bridge is PEX 8311.
5. device of be used for realizing the high-speed data playback comprises:
Signal output apparatus is used for the data that receive are converted to baseband signal;
The 3rd FPGA, link to each other with described signal output apparatus and link to each other with the external record device by bus, be configured to read recorded data from the external record device, and the data that read are transferred to the 4th FPGA constantly, and after receiving data from the 4th FPGA, carry out playback after the data that receive are transferred to signal output apparatus and are converted to baseband signal according to assigned rate;
The 4th FPGA, link to each other with described the 3rd FPGA, be configured to be written to from the data that the 3rd FPGA receives in the internal storage location the third and fourth memory cell, simultaneously from another internal storage location reading out data and be buffered in the inner buffer of the 4th FPGA, and when the size of the data of inner buffer institute buffer memory reaches the second predetermined value, the data of inner buffer are sent to the 3rd FPGA; And
The third and fourth memory cell links to each other with described the 4th FPGA, and the ping-pong buffer operation is carried out in wherein said the third and fourth memory cell and described the 4th FPGA cooperation.
6. device as claimed in claim 5, wherein, described signal output apparatus also comprises:
Level and parallel serial conversion unit are used for carrying out and string and level translation from the data of described the 3rd FPGA output.
7. device as claimed in claim 5 also comprises:
Bridge is used for the bridge joint between realization the first bus and the second bus,
Wherein, described the 3rd FPGA links to each other by the first bus with bridge, and described bridge links to each other by the second bus with the external record device.
8. device as claimed in claim 5, wherein, described set rate is according to the playback rate information setting in the data readback instruction that receives by the 3rd FPGA.
9. device as claimed in claim 8, wherein, described set rate be by the 3rd FPGA according to the playback rate information in the data readback instruction that receives, set by frequency synthesizer.
10. a data record and playback system comprise:
Such as any one described device in the claim 1 to 4;
Such as any one described device in the claim 5 to 9;
Tape deck.
11. data record as claimed in claim 10 and playback system, wherein, a described FPGA is identical with the 4th FPGA with described the 3rd FPGA respectively with the 2nd FPGA, and described the first and second memory cell are identical with described the third and fourth memory cell respectively.
12. a data record method of being carried out by device claimed in claim 1 comprises:
Receive the baseband signal of inputting from the outside and be converted to data by signal input circuit, and will be through transfer of data to the FPGA who is converted to;
The one FPGA continues to output to the 2nd FPGA with the data that receive;
The 2nd FPGA will be written to from the data that a FPGA receives in the memory cell the first and second memory cell, simultaneously from another memory cell reading out data and be buffered in the inner buffer of the 2nd FPGA, and when the size of the data of inner buffer institute buffer memory reaches the first predetermined value, the data of inner buffer are sent to a FPGA; And
After receiving data from the 2nd FPGA, a FPGA carries out record with the transfer of data that receives by bus in the external record device,
Wherein, the memory capacity equal and opposite in direction of described the first and second memory cell, and control the 2nd FPGA by a FPGA according to the speed of input signal and set.
13. a data readback method of being carried out by device claimed in claim 5 comprises:
The 3rd FPGA reads recorded data by bus from the external record device, and the data that read are transferred to the 4th FPGA constantly;
The 4th FPGA will be written to from the data that the 3rd FPGA receives in the internal storage location the third and fourth memory cell, simultaneously from another internal storage location reading out data and be buffered in the inner buffer of the 4th FPGA, and when the size of the data of inner buffer institute buffer memory reaches the second predetermined value, the data of inner buffer are sent to the 3rd FPGA; And
After receiving data from the 4th FPGA, the 3rd FPGA is transferred to the data that receive signal output apparatus according to assigned rate and is converted to baseband signal and carries out playback.
CN201210326610.1A 2012-09-05 2012-09-05 Data recording and playback device, system and method Active CN102882585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210326610.1A CN102882585B (en) 2012-09-05 2012-09-05 Data recording and playback device, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210326610.1A CN102882585B (en) 2012-09-05 2012-09-05 Data recording and playback device, system and method

Publications (2)

Publication Number Publication Date
CN102882585A true CN102882585A (en) 2013-01-16
CN102882585B CN102882585B (en) 2014-10-15

Family

ID=47483759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210326610.1A Active CN102882585B (en) 2012-09-05 2012-09-05 Data recording and playback device, system and method

Country Status (1)

Country Link
CN (1) CN102882585B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572527A (en) * 2014-12-29 2015-04-29 中国船舶重工集团公司七五○试验场 Waveform reproduction technology based on massive data
CN105141352A (en) * 2015-07-24 2015-12-09 哈尔滨工业大学 Satellite high-speed data transmission baseband data error statistics and frame sequencing processing system and method
CN109492263A (en) * 2018-10-17 2019-03-19 郑州云海信息技术有限公司 A kind of high-speed cable selection method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080186829A1 (en) * 2007-02-02 2008-08-07 Ryo Abiko Recording apparatus and recording method for data and file system information
CN101419282A (en) * 2008-12-05 2009-04-29 航天恒星科技有限公司 Integration high speed remote sensing data receiving and processing equipment
CN101441271A (en) * 2008-12-05 2009-05-27 航天恒星科技有限公司 SAR real time imaging processing device based on GPU
CN101807214A (en) * 2010-03-22 2010-08-18 湖南亿能电子科技有限公司 High-speed signal acquisition, storage and playback device based on FPGA
CN101938285A (en) * 2010-08-30 2011-01-05 武汉邮电科学研究院 Method and device for realizing RRU data interface by using ping-pong operation
CN102279401A (en) * 2011-04-01 2011-12-14 北京遥测技术研究所 Recording-type satellite signal simulation method
CN203071936U (en) * 2012-09-05 2013-07-17 中国科学院对地观测与数字地球科学中心 Data recording and playback device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080186829A1 (en) * 2007-02-02 2008-08-07 Ryo Abiko Recording apparatus and recording method for data and file system information
CN101419282A (en) * 2008-12-05 2009-04-29 航天恒星科技有限公司 Integration high speed remote sensing data receiving and processing equipment
CN101441271A (en) * 2008-12-05 2009-05-27 航天恒星科技有限公司 SAR real time imaging processing device based on GPU
CN101807214A (en) * 2010-03-22 2010-08-18 湖南亿能电子科技有限公司 High-speed signal acquisition, storage and playback device based on FPGA
CN101938285A (en) * 2010-08-30 2011-01-05 武汉邮电科学研究院 Method and device for realizing RRU data interface by using ping-pong operation
CN102279401A (en) * 2011-04-01 2011-12-14 北京遥测技术研究所 Recording-type satellite signal simulation method
CN203071936U (en) * 2012-09-05 2013-07-17 中国科学院对地观测与数字地球科学中心 Data recording and playback device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572527A (en) * 2014-12-29 2015-04-29 中国船舶重工集团公司七五○试验场 Waveform reproduction technology based on massive data
CN105141352A (en) * 2015-07-24 2015-12-09 哈尔滨工业大学 Satellite high-speed data transmission baseband data error statistics and frame sequencing processing system and method
CN109492263A (en) * 2018-10-17 2019-03-19 郑州云海信息技术有限公司 A kind of high-speed cable selection method and system
CN109492263B (en) * 2018-10-17 2022-02-18 郑州云海信息技术有限公司 High-speed cable model selection method and system

Also Published As

Publication number Publication date
CN102882585B (en) 2014-10-15

Similar Documents

Publication Publication Date Title
US9979432B2 (en) Programmable distributed data processing in a serial link
US10423567B2 (en) Unidirectional clock signaling in a high-speed serial link
JP5570619B2 (en) Time division multiplexing at different speeds to access different memory types
CN102301364B (en) Cpu interconnecting device
US11907140B2 (en) Serial interface for semiconductor package
CN100585852C (en) Semiconductor device tested using minimum pins and methods of testing the same
CN103825696A (en) Device for realizing high-speed real-time communication by optical fibers based on FPGA (Field Programmable Gate Array)
CN103109507A (en) Method and system of adapting communication links to link conditions on a platform
CN104915303A (en) High-speed digital I/O system based on PXIe bus
EP3200089B1 (en) Method, apparatus, communication equipment and storage media for determining link delay
CN102882585B (en) Data recording and playback device, system and method
CN103164314B (en) Peripheral component interface express (PCIe) interface chip hardware verification method based on asynchronous physical layer interface
CN110515879B (en) Asynchronous transmission device and transmission method thereof
CN103592594B (en) Circuit test system and circuit testing method
US9851400B1 (en) System on a chip serial communication interface method and apparatus
CN203071936U (en) Data recording and playback device and system
US20120317380A1 (en) Device and method for a half-rate clock elasticity fifo
CN105242903A (en) Random number generation device and method
US6957309B1 (en) Method and apparatus for re-accessing a FIFO location
CN114721983B (en) DDR4 accelerating read-write device
CN105550089A (en) FC network frame header data fault injection method based on digital circuit
Pham-Thai et al. A novel multichannel UART design with FPGA-based implementation
CN115699668A (en) Wide elastic buffer
Wu et al. Implementing a Serial ATA Controller base on FPGA
CN209486665U (en) A kind of hard-disk interface signal adapting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant