CN201378851Y - A CCD image data acquisition device - Google Patents
A CCD image data acquisition device Download PDFInfo
- Publication number
- CN201378851Y CN201378851Y CN200820161204U CN200820161204U CN201378851Y CN 201378851 Y CN201378851 Y CN 201378851Y CN 200820161204 U CN200820161204 U CN 200820161204U CN 200820161204 U CN200820161204 U CN 200820161204U CN 201378851 Y CN201378851 Y CN 201378851Y
- Authority
- CN
- China
- Prior art keywords
- sdram
- chip
- data
- camera
- fpga
- 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.)
- Expired - Fee Related
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 13
- 230000008901 benefit Effects 0.000 abstract description 5
- 238000013480 data collection Methods 0.000 abstract 1
- 230000005540 biological transmission Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 9
- 230000003139 buffering effect Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Image Input (AREA)
Abstract
一种CCD图像数据采集装置,该装置包括CCD相机,Camera Link接口转换芯片,FPGA,SDRAM缓存芯片和PCI接口芯片。其中,CCD相机通过Camera Link接口采集CCD相机数据,Camera Link接口转换芯片实现将采集的CCD相机数据进行转换后输入至FPGA;在FPGA内部主要实现三个模块单元:FIFO缓冲单元、SDRAM控制器单元和PCI接口模块。SDRAM控制器单元用于SDRAM芯片的读写控制,实现对整帧CCD图像数据的缓存;PCI接口模块单元和PCI接口芯片相连,把从SDRAM缓存中输出的数据集传输到计算机,从而实现CCD图像数据的采集,该装置具有实时性好的优点且对不同分辨率CCD相机均适用。
A CCD image data acquisition device comprises a CCD camera, a Camera Link interface conversion chip, an FPGA, an SDRAM cache chip and a PCI interface chip. Among them, the CCD camera collects CCD camera data through the Camera Link interface, and the Camera Link interface conversion chip realizes the conversion of the collected CCD camera data and then inputs it to the FPGA; three module units are mainly implemented inside the FPGA: FIFO buffer unit, SDRAM controller unit and PCI interface modules. The SDRAM controller unit is used for reading and writing control of the SDRAM chip, and realizes the cache of the entire frame of CCD image data; the PCI interface module unit is connected with the PCI interface chip, and transmits the data set output from the SDRAM cache to the computer, thereby realizing the CCD image For data collection, the device has the advantages of good real-time performance and is applicable to CCD cameras with different resolutions.
Description
技术领域 technical field
本实用新型涉及实时图像采集领域,尤其是一种CCD图像数据采集装置。The utility model relates to the field of real-time image acquisition, in particular to a CCD image data acquisition device.
背景技术 Background technique
针对CCD实时采集处理场合,设计了一CCD图像数据采集装置。目前,通常的传输接口有USB接口,1394接口和LVDS(Low Voltage DifferentialSignaling)接口。其中LVDS接口又以其低功耗,低噪声和传输距离远的优点为各种实时数据处理场合常用。但是在大容量数据高速传输的场合,上述接口的传输速度无法满足实时性要求。Aiming at the occasion of CCD real-time acquisition and processing, a CCD image data acquisition device is designed. At present, the usual transmission interfaces include USB interface, 1394 interface and LVDS (Low Voltage Differential Signaling) interface. Among them, the LVDS interface is commonly used in various real-time data processing occasions due to its advantages of low power consumption, low noise and long transmission distance. However, in the case of high-speed transmission of large-capacity data, the transmission speed of the above-mentioned interface cannot meet the real-time requirements.
实用新型内容 Utility model content
为了解决高分辨率高帧频的CCD相机传输速率不匹配的问题,本实用新型提出了一种CCD图像数据采集装置。该装置可实现高分辨率,高帧频的CCD相机的实时采集传输,具有传输速率快,实时性好的优点。In order to solve the problem of mismatching transmission rate of CCD cameras with high resolution and high frame frequency, the utility model proposes a CCD image data acquisition device. The device can realize real-time acquisition and transmission of a CCD camera with high resolution and high frame rate, and has the advantages of fast transmission rate and good real-time performance.
本实用新型的CCD图像数据采集装置,该装置包括CCD相机,Camera Link接口转换芯片,FPGA,SDRAM缓存芯片和PCI接口芯片。其中,CCD相机通过Camera Link接口采集CCD相机数据,Camera Link接口转换芯片实现将采集的CCD相机数据进行接口转换后输入至FPGA。对输入至FPGA的CCD数据,在FPGA内部主要实现三个模块单元:FIFO缓冲单元,SDRAM控制器单元和PCI接口模块单元。FIFO缓冲单元实现对原始CCD图像的缓冲,解决CCD相机输出速率和FPGA输入速率不匹配的问题;SDRAM控制器单元和SDRAM缓存芯片相连,实现对整帧CCD图像数据的缓存;PCI接口模块单元和PCI接口芯片相连,实现对从SDRAM缓存的输出数据通过PCI总线,快速的传输到PC机上。CCD image data acquisition device of the present utility model, this device comprises CCD camera, Camera Link interface conversion chip, FPGA, SDRAM cache chip and PCI interface chip. Among them, the CCD camera collects CCD camera data through the Camera Link interface, and the Camera Link interface conversion chip realizes the interface conversion of the collected CCD camera data and then inputs it to the FPGA. For the CCD data input to FPGA, three module units are mainly realized inside FPGA: FIFO buffer unit, SDRAM controller unit and PCI interface module unit. The FIFO buffer unit realizes the buffering of the original CCD image, and solves the problem of the mismatch between the output rate of the CCD camera and the input rate of the FPGA; the SDRAM controller unit is connected with the SDRAM buffer chip to realize the buffering of the entire frame of CCD image data; the PCI interface module unit and The PCI interface chip is connected to realize the rapid transmission of the output data from the SDRAM cache to the PC through the PCI bus.
该装置通过CCD相机和高速Camera Link接口相连,实现CCD相机数据的高速传输。对于从Camera Link接口输出的数据通过Camera Link解码芯片解码后传输至FPGA。由于解码后的CCD相机速率和FPGA的输入速率不相同,因此首先通过FPGA内部的FIFO(先进先出)单元,实现对读出的CCD相机数据的缓冲。然后,经FIFO缓冲后的CCD相机数据输入至SDRAM进行整幀图像数据的缓存。由于SDRAM是一个复杂的状态控制机,因此在FPGA内构造SDRAM控制器实现对SDRAM的读写控制。这里,SDRAM控制器和SDRAM芯片相连。最后,将SDRAM缓存后的输出数据输入至FPGA内构造的PCI接口模块单元,该单元通过和PCI接口芯片的连接,最终实现对从SDRAM缓存的输出数据通过PCI总线,快速的传输到PC机上。The device is connected with a high-speed Camera Link interface through a CCD camera to realize high-speed transmission of CCD camera data. The data output from the Camera Link interface is decoded by the Camera Link decoding chip and then transmitted to the FPGA. Since the rate of the decoded CCD camera is different from the input rate of the FPGA, the buffering of the read CCD camera data is realized first through the FIFO (first in first out) unit inside the FPGA. Then, the CCD camera data buffered by FIFO is input to SDRAM to cache the whole frame image data. Because SDRAM is a complex state control machine, the SDRAM controller is constructed in FPGA to realize the read and write control of SDRAM. Here, the SDRAM controller is connected to the SDRAM chip. Finally, the output data cached by SDRAM is input to the PCI interface module unit constructed in the FPGA. This unit is connected with the PCI interface chip, and finally the output data from the SDRAM cache is quickly transmitted to the PC through the PCI bus.
本实用新型实现了对于高分辨率高帧频的CCD相机数据的实时采集传输,具有实时性好的优点且对不同分辨率CCD相机均适用。The utility model realizes the real-time acquisition and transmission of CCD camera data with high resolution and high frame frequency, has the advantage of good real-time performance and is applicable to CCD cameras with different resolutions.
附图说明 Description of drawings
本实用新型将通过例子并参照附图的方式说明,其中:The utility model will be explained by way of example and with reference to the accompanying drawings, wherein:
图1为本实用新型的原理示意图。Fig. 1 is the schematic diagram of the principle of the utility model.
图2为SDRAM的读/写状态转移图。Fig. 2 is the read/write state transfer diagram of SDRAM.
具体实施方式 Detailed ways
图1为本实用新型的原理示意图,该装置包括CCD相机、Camera Link接口转换芯片、FPGA、SDRAM缓存芯片和PCI接口芯片。其中,CCD相机通过CameraLink接口采集CCD相机数据,Camera Link接口转换芯片实现将采集的CCD相机数据进行接口转换后输入至FPGA。FPGA内部主要实现三个模块单元:FIFO缓冲单元,SDRAM控制器单元和PCI接口模块单元。FIFO缓冲单元实现对原始CCD图像的缓冲,解决CCD相机输出速率和FPGA输入速率不匹配的问题;SDRAM控制器单元和SDRAM缓存芯片相连,用于控制SDRAM的读写,实现对整帧CCD图像数据的缓存;PCI接口模块单元和PCI接口芯片相连,从SDRAM缓存的输出数据通过PCI总线,快速的传输到PC机上。Fig. 1 is the principle schematic diagram of the present utility model, and this device comprises CCD camera, Camera Link interface conversion chip, FPGA, SDRAM cache chip and PCI interface chip. Among them, the CCD camera collects CCD camera data through the CameraLink interface, and the Camera Link interface conversion chip realizes the interface conversion of the collected CCD camera data and then inputs it to the FPGA. FPGA mainly implements three module units: FIFO buffer unit, SDRAM controller unit and PCI interface module unit. The FIFO buffer unit realizes the buffering of the original CCD image and solves the problem of the mismatch between the output rate of the CCD camera and the input rate of the FPGA; the SDRAM controller unit is connected with the SDRAM cache chip to control the reading and writing of the SDRAM and realize the entire frame of CCD image data The cache; the PCI interface module unit is connected to the PCI interface chip, and the output data from the SDRAM cache is quickly transmitted to the PC through the PCI bus.
CCD相机和高速Camera Link接口相连,实现CCD相机数据的高速传输。对于从Camera Link接口输出的数据通过Camera Link解码芯片DS90CR288A解码后传输至FPGA。由于解码后的CCD相机数据速率和FPGA的输入速率不相同,因此首先通过FPGA内部的FIFO(先进先出)单元,实现对读出的CCD相机数据的缓冲。然后,经FIFO缓冲后的CCD相机数据输入至SDRAM进行整帧图像数据的缓存。由于SDRAM是一个复杂的状态控制机,因此在FPGA内构造SDRAM控制器实现对SDRAM的读写控制。这里,SDRAM控制器和SDRAM芯片相连。最后,将SDRAM缓存后的输出数据输入至FPGA内构造的PCI接口模块单元,该PCI接口模块单元通过和PCI接口芯片PCI9054的连接,最终实现从SDRAM缓存的输出数据通过PCI总线,快速的传输到PC机上。The CCD camera is connected with the high-speed Camera Link interface to realize the high-speed transmission of CCD camera data. The data output from the Camera Link interface is decoded by the Camera Link decoder chip DS90CR288A and then transmitted to the FPGA. Since the data rate of the decoded CCD camera is different from the input rate of the FPGA, the buffering of the read CCD camera data is realized first through the FIFO (first in first out) unit inside the FPGA. Then, the CCD camera data buffered by FIFO is input to SDRAM to cache the whole frame image data. Because SDRAM is a complex state control machine, the SDRAM controller is constructed in FPGA to realize the read and write control of SDRAM. Here, the SDRAM controller is connected to the SDRAM chip. Finally, the output data cached by SDRAM is input to the PCI interface module unit constructed in the FPGA, and the PCI interface module unit is connected with the PCI interface chip PCI9054, and finally the output data from the SDRAM cache is quickly transmitted to the on the PC.
根据装置的功能和设计要求,提出了基于可编程逻辑器件(FPGA)的硬件平台。由于该装置实时性要求非常高,同时,需要进行大量数据的吞吐(高达80MHz),对于现有的处理器,进行如此大吞吐量的数据并实时处理是非常困难的。因此,装置中选用FPGA构造专门的处理单元,一方面可以利用器件丰富的I/O管脚完成数据吞吐,另一方面可以利用它来提高实时性;同时,利用FPGA在复杂逻辑控制方面的优越性,在FPGA内构造SDRAM控制器和PCI接口模块实现对SDRAM芯片和PCI接口芯片的复杂逻辑时序控制。According to the function and design requirements of the device, a hardware platform based on programmable logic device (FPGA) is proposed. Because the real-time requirements of the device are very high, and at the same time, a large amount of data throughput (up to 80 MHz) is required, it is very difficult for existing processors to process such large-throughput data in real time. Therefore, FPGA is used to construct a special processing unit in the device. On the one hand, the rich I/O pins of the device can be used to complete data throughput, and on the other hand, it can be used to improve real-time performance; at the same time, the superiority of FPGA in complex logic control The SDRAM controller and the PCI interface module are constructed in the FPGA to realize the complex logic timing control of the SDRAM chip and the PCI interface chip.
首先,CCD相机和Camera Link接口间的数据交换。当前,多数数字视频解决方案被看作是LVDS通信技术。虽然,LVDS已经较RS-422有了改进,但是它仍然需要大容量的线缆,在传输速率方面也受限制。为了解决这个问题,National Semiconductor公司基于Channel Link技术发展了Camera Link标准。Channel Link是基于LVDS技术发展而来的,它是一种用来传输视频数据的新技术。Channel Link使用一个并转串驱动器和一个串转并接收器传输数据,其最高速率可达2.38G。Channel Link驱动器将28位CMOS/TTL信号转换为四条LVDS数据流。一个锁相环传偷时钟通过第五条LVDS链路与其它LVDS数据流并行传输。在传输时钟的每个周期,28位输入数据被采样和传输。Channel Link接收器将数据流转换回28位的CMOS/TTL并行数据。First, the data exchange between the CCD camera and the Camera Link interface. Currently, most digital video solutions are considered as LVDS communication technology. Although LVDS has been improved compared to RS-422, it still requires large-capacity cables and is limited in transmission rate. In order to solve this problem, National Semiconductor developed the Camera Link standard based on Channel Link technology. Channel Link is developed based on LVDS technology, which is a new technology used to transmit video data. Channel Link uses a parallel-to-serial driver and a serial-to-parallel receiver to transmit data, and its maximum rate can reach 2.38G. The Channel Link driver converts 28-bit CMOS/TTL signals into four LVDS data streams. A PLL clock is transmitted in parallel with the other LVDS data streams over the fifth LVDS link. In each cycle of the transmit clock, 28 bits of input data are sampled and transmitted. The Channel Link receiver converts the data stream back to 28-bit CMOS/TTL parallel data.
在Camera Link标准中,相机信号分为4种:In the Camera Link standard, camera signals are divided into 4 types:
1.高速相机控制信号:4对LVDS差分信号作为常规的相机控制信号。它们分别是外同步信号(EXSYNC),重置信号(PRIN),向前信号(FORWARD)和保留信号(Future Use)。1. High-speed camera control signal: 4 pairs of LVDS differential signals are used as conventional camera control signals. They are external synchronization signal (EXSYNC), reset signal (PRIN), forward signal (FORWARD) and reserved signal (Future Use).
2.视频数据:4对LVDS数据信号(X0,X1,X2,X3)和一对LVDS时钟信号(XCLK)2. Video data: 4 pairs of LVDS data signals (X0, X1, X2, X3) and a pair of LVDS clock signals (XCLK)
3.电源:由专用的电缆进行传输。3. Power supply: transmitted by a dedicated cable.
4.低速串行通信:两对LVDS信号作为相机与板卡之间异步通信信号。Serial-To-Frame-Grabbers(SerTFG)是由相机输出板卡接收的通信信号;Serial-To-Camera(SerTC)则是由板卡输出相机接收的通信信号。通信协议遵守异步通信协议也就是RS232协议。Camera Link标准推荐使用最小9600bps,1位起始位,8位数据位,1位停止位无握手无校验的格式。4. Low-speed serial communication: Two pairs of LVDS signals are used as asynchronous communication signals between the camera and the board. Serial-To-Frame-Grabbers (SerTFG) is the communication signal received by the camera output board; Serial-To-Camera (SerTC) is the communication signal received by the camera output by the board. The communication protocol complies with the asynchronous communication protocol, which is the RS232 protocol. The Camera Link standard recommends using a format with a minimum of 9600bps, 1 start bit, 8 data bits, 1 stop bit, no handshake and no parity.
可见,CCD数字相机通过Camera Link接口的连接,实现多位高速并行的数据线转换为串行数据线输出。同时,接收板卡通过接收芯片DS90CR288A实现对CCD相机输出的串行数据还原为原始的并行数据输出,同时提供相应的CCD相机通讯信号和有效控制信号。It can be seen that the CCD digital camera realizes the conversion of multiple high-speed parallel data lines into serial data line output through the connection of the Camera Link interface. At the same time, the receiving board restores the serial data output by the CCD camera to the original parallel data output through the receiving chip DS90CR288A, and at the same time provides the corresponding CCD camera communication signals and effective control signals.
然后,对DS90CR288A解码输出的CCD相机数据输入至FPGA。在FPGA内部主要由以下三个处理单元:FIFO缓冲单元,SDRAM控制器单元和PCI接口模块单元。Then, input the CCD camera data that DS90CR288A decodes and outputs to FPGA. There are mainly three processing units in FPGA: FIFO buffer unit, SDRAM controller unit and PCI interface module unit.
FIFO缓冲单元主要实现对从DS90CR288A解码输出的CCD相机数据速率和FPGA速率的匹配。The FIFO buffer unit mainly realizes the matching of the CCD camera data rate and FPGA rate decoded and outputted from DS90CR288A.
SDRAM控制器单元通过在FPGA内部构造SDRAM控制器,实现对原始图像的缓存。这里,SDRAM控制器单元和SDRAM存储器芯片相连。SDRAM存储器选取了HYNIX公司生产的HY57V281620HCT,其同步接口和完全流水线的内部结构,使其拥有极大的数据速率,非常适合大吞吐量的数据存储。The SDRAM controller unit realizes the cache of the original image by constructing the SDRAM controller inside the FPGA. Here, the SDRAM controller unit is connected to the SDRAM memory chip. SDRAM memory chooses HY57V281620HCT produced by HYNIX Company. Its synchronous interface and fully pipelined internal structure make it have a huge data rate, which is very suitable for large throughput data storage.
SDRAM控制器采用状态机实现。该状态机包括以下状态:初始化状态,空闲状态,读写状态,预充状态,刷新状态,激活状态。当系统上电复位后,首先完成SDRAM的初始化。初始化包含初始化延时,初始化预充电,初始化刷新和初始化模式寄存器设置。考虑到效率问题,模式寄存器工作方式为全页突发,固定CAS(读命令输入到数据输出延时)为2个时钟周期。初始化结束后,SDRAM进入空闲状态。在空闲状态时,如向SDRAM发出读写请求,SDRAM控制器进入行激活状态,经过两个时钟周期后进入读/写状态就可对SDRAM进行读写了。The SDRAM controller is implemented using a state machine. The state machine includes the following states: initialization state, idle state, read-write state, pre-charge state, refresh state, and activation state. When the system is powered on and reset, the initialization of SDRAM is completed first. Initialization includes initialization delay, initialization precharge, initialization refresh and initialization mode register setting. Considering the efficiency problem, the working mode of the mode register is a full-page burst, and the fixed CAS (read command input to data output delay) is 2 clock cycles. After initialization, SDRAM enters the idle state. In the idle state, if a read and write request is sent to SDRAM, the SDRAM controller enters the row activation state, and then enters the read/write state after two clock cycles to read and write SDRAM.
在SDRAM进入写数据状态后,由于采用全页突发工作方式,则一次写操作即可写完一行数据。需要注意,在上一次写操作结束到下次写操作前,必须将当前行关闭执行预充命令。预充状态后,经两个时钟周期后才能再一次激活下一行进行下一次写操作。由于动态存储器都存在定时刷新问题,在数据写入存储单元后,要想数据不丢失,需在给定间隔内进行刷新,即进入刷新状态。可见,在SDRAM高速时钟速率的控制下,通过全页突发写操作方式,对于采集的视频图像完全可在行消隐期间即可完成对一行图像数据的传输。在接收下一行图像数据时,重复上述操作,直至整幅图像数据全部写入SDRAM。After the SDRAM enters the state of writing data, due to the full-page burst working mode, one line of data can be written in one write operation. It should be noted that the current line must be closed to execute the prefill command before the last write operation ends and the next write operation. After the pre-charge state, the next line can be activated again for the next write operation after two clock cycles. Since the dynamic memory has the problem of timing refresh, after data is written into the storage unit, if the data is not lost, it needs to be refreshed within a given interval, that is, it enters the refresh state. It can be seen that under the control of the high-speed clock rate of SDRAM, through the full-page burst write operation mode, the transmission of one line of image data can be completed during the line blanking period for the collected video image. When receiving the next line of image data, repeat the above operations until the entire image data is written into the SDRAM.
在SDRAM进入读数据状态后,须经过CAS(读命令输入到数据输出延时)时间后,SDRAM数据端方可读出数据。由于SDRAM读/写操作均采用全页突发方式,因此当SDRAM读完一行数据后,则完成了一次读数据操作。此时执行预充命令将当前行关闭。在预充状态后,又需经两个时钟周期后才能再一次激活下一行。由于SDRAM采用电容存储数据信息,同写操作一样,同样需要对数据进行定时刷新。在刷新操作结束后,才可再次发读命令,直至一帧数据全部读出。整个SDRAM的状态转移图见图2。After the SDRAM enters the state of reading data, the SDRAM data terminal can read the data only after the CAS (read command input to data output delay) time. Since the SDRAM read/write operation adopts the full-page burst mode, when the SDRAM reads a row of data, a read data operation is completed. At this time, execute the precharge command to close the current row. After the precharge state, it takes two clock cycles to activate the next row again. Since SDRAM uses capacitors to store data information, the data needs to be refreshed regularly just like the write operation. After the refresh operation is completed, the read command can be sent again until all the data of one frame is read out. The state transition diagram of the entire SDRAM is shown in Figure 2.
最后,将SDRAM缓存后的输出数据输入至PCI接口模块单元。PCI的含义为外设部件互联(Peripheral Component Interconnect)。PCI局部总线是一种具有多路地址线和数据线的高性能的32/64位总线。它在高密度集成的外围控制器件,外围插件板和处理器/存储器之间作为互联机构应用。这里,PCI芯片选用的是美国PLX公司推出的PCI9054。PCI9054采用了先进的PLX数据管道结构技术,可以使局部总线上的数据被快速传输到PCI总线上。在该接口设计中,我们采用了以下设计方式:Finally, the output data cached by the SDRAM is input to the PCI interface module unit. The meaning of PCI is Peripheral Component Interconnect. The PCI local bus is a high-performance 32/64-bit bus with multiple address lines and data lines. It is used as an interconnect mechanism between high-density integrated peripheral control devices, peripheral plug-in boards and processors/memory. Here, what the PCI chip chooses is the PCI9054 that American PLX Company puts out. PCI9054 adopts the advanced PLX data pipeline structure technology, which can make the data on the local bus be quickly transferred to the PCI bus. In this interface design, we adopted the following design methods:
1.传输方式的选择:PCI9054作为总线主控设备,支持主设备、从设备和DMA传输三种传输方式。1. Selection of transmission mode: PCI9054, as a bus master device, supports three transmission modes: master device, slave device and DMA transfer.
主设备方式是指本地处理器用于PCI总线控制权发起总线传输。The master device mode means that the local processor uses the PCI bus control right to initiate bus transmission.
从设备方式,指PCI总线上的主设备拥有PCI总线控制权,发起总线传输,对本地端操作。The slave device mode means that the master device on the PCI bus has the control right of the PCI bus, initiates bus transmission, and operates on the local end.
DMA传输方式是这种总线主控设备特有的,支持两个方向的传输。The DMA transfer method is unique to this bus master device and supports transfers in two directions.
根据实际需求,在系统中主要应用了从设备方式实现系统的高速存储,另外设计了DMA方式备用。According to actual needs, the slave device mode is mainly used in the system to realize the high-speed storage of the system, and the DMA mode is designed for backup.
2.工作模式的选择:PCI9054支持三种工作模式:C模式,J模式和M模式。C模式是一种非复用总线工作模式可通过片内逻辑控制,将地址线和数据线分开。M模式是为与一些特定处理器的无缝连接而设计的,硬件接口设计简单,无需任何多余的连接。J模式是一种服用总线工作模式,它的好处是地址数据线没有分开,严格仿效PCI总线的时序,为设计者了解PCI协议和更好地控制PCI通信提供了良好的环境,但增加了很多的控制信号,2. Selection of working mode: PCI9054 supports three working modes: C mode, J mode and M mode. C mode is a non-multiplexed bus mode that can be controlled by on-chip logic to separate address lines from data lines. M mode is designed for seamless connection with some specific processors, and the hardware interface design is simple without any redundant connection. J mode is a working mode of taking the bus. Its advantage is that the address and data lines are not separated, and it strictly imitates the timing of the PCI bus, which provides a good environment for designers to understand the PCI protocol and better control PCI communication, but it adds a lot the control signal,
在实际设计中,为了逻辑控制简单可靠,选择了C模式。In the actual design, the C mode is chosen for simple and reliable logic control.
通过FPGA内部的PCI接口模块单元对PCI9054接口芯片的时序逻辑控制,很好的完成命令和参数的传递,实现了对SDRAM缓存的输出数据通过PCI总线迅速的传输到PC机上。Through the timing logic control of the PCI interface module unit inside the FPGA to the PCI9054 interface chip, the transmission of commands and parameters is well completed, and the output data of the SDRAM cache is quickly transmitted to the PC through the PCI bus.
本说明书(包括任何附加权利要求、摘要和附图)中公开的任一特征,除非特别叙述,均可被其他等效或具有类似目的的替代特征加以替换。即,除非特别叙述,每个特征只是一系列等效或类似特征中的一个例子而已。Any feature disclosed in this specification (including any appended claims, abstract and drawings), unless expressly stated otherwise, may be replaced by alternative features which are equivalent or serve a similar purpose. That is, unless expressly stated otherwise, each feature is one example only of a series of equivalent or similar features.
以上所述仅为本实用新型的较佳实施例而已,并不用以限制本实用新型,凡在本实用新型的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本实用新型的保护范围之内。The above descriptions are only preferred embodiments of the present utility model, and are not intended to limit the present utility model. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present utility model shall be included in this utility model. within the scope of protection of utility models.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200820161204U CN201378851Y (en) | 2008-11-17 | 2008-11-17 | A CCD image data acquisition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200820161204U CN201378851Y (en) | 2008-11-17 | 2008-11-17 | A CCD image data acquisition device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN201378851Y true CN201378851Y (en) | 2010-01-06 |
Family
ID=41518969
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200820161204U Expired - Fee Related CN201378851Y (en) | 2008-11-17 | 2008-11-17 | A CCD image data acquisition device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN201378851Y (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101841698A (en) * | 2010-04-22 | 2010-09-22 | 中国科学院长春光学精密机械与物理研究所 | Long-distance transfer system for video data |
| CN103049413A (en) * | 2012-12-28 | 2013-04-17 | 中国航空工业集团公司第六三一研究所 | Data conversion and transmission method based on FC (fiber channel) and Camlink buses |
| CN104065905A (en) * | 2014-07-02 | 2014-09-24 | 中国科学院长春光学精密机械与物理研究所 | A Reconfigurable Topological Real-time Image Processing System |
| CN104426851A (en) * | 2013-08-23 | 2015-03-18 | 北大方正集团有限公司 | Image signal transmission system and method |
| CN107809635A (en) * | 2011-11-14 | 2018-03-16 | 深圳迈辽技术转移中心有限公司 | Information carrying means |
| CN108417233A (en) * | 2017-02-09 | 2018-08-17 | 爱思开海力士有限公司 | Storage device, writing and reading method thereof, and storage system |
| CN115022644A (en) * | 2022-06-20 | 2022-09-06 | 西安微电子技术研究所 | A Bayer Format Color Image Compression System Based on ADV212 |
-
2008
- 2008-11-17 CN CN200820161204U patent/CN201378851Y/en not_active Expired - Fee Related
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101841698A (en) * | 2010-04-22 | 2010-09-22 | 中国科学院长春光学精密机械与物理研究所 | Long-distance transfer system for video data |
| CN107809635A (en) * | 2011-11-14 | 2018-03-16 | 深圳迈辽技术转移中心有限公司 | Information carrying means |
| CN103049413A (en) * | 2012-12-28 | 2013-04-17 | 中国航空工业集团公司第六三一研究所 | Data conversion and transmission method based on FC (fiber channel) and Camlink buses |
| CN103049413B (en) * | 2012-12-28 | 2015-12-09 | 中国航空工业集团公司第六三一研究所 | Based on data conversion and the transmission method of FC and Camlink bus |
| CN104426851A (en) * | 2013-08-23 | 2015-03-18 | 北大方正集团有限公司 | Image signal transmission system and method |
| CN104065905A (en) * | 2014-07-02 | 2014-09-24 | 中国科学院长春光学精密机械与物理研究所 | A Reconfigurable Topological Real-time Image Processing System |
| CN108417233A (en) * | 2017-02-09 | 2018-08-17 | 爱思开海力士有限公司 | Storage device, writing and reading method thereof, and storage system |
| CN108417233B (en) * | 2017-02-09 | 2021-12-07 | 爱思开海力士有限公司 | Storage device, writing and reading method thereof, and storage system |
| CN115022644A (en) * | 2022-06-20 | 2022-09-06 | 西安微电子技术研究所 | A Bayer Format Color Image Compression System Based on ADV212 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN201378851Y (en) | A CCD image data acquisition device | |
| CN105224482B (en) | A kind of FPGA accelerator cards high-speed memory system | |
| CN102025934B (en) | Digital television system on a chip (SoC) storage and control method based on automatic X-ray inspection (AXI) bus | |
| CN104599227B (en) | DDR3 arbitration controllers and method for high-speed CCD data storage | |
| CN103853642A (en) | Injection type simulation system for infrared digital image based on USB3.0 and method thereof | |
| CN102694997A (en) | Design of general data collection and transmission board based on FPGA and camera link protocol-based interface | |
| CN101694609A (en) | Structure and method for improving speed of external memory interface of high-definition image real-time collecting system DSP | |
| CN203812236U (en) | Data exchange system based on processor and field programmable gate array | |
| CN108536615A (en) | A kind of ping-pang cache controller and its design method | |
| CN101882302A (en) | A Motion Blurred Image Restoration System Based on Multi-Core | |
| CN108134912B (en) | Video stream conversion method | |
| CN105786741B (en) | SOC high-speed low-power-consumption bus and conversion method | |
| CN107908587A (en) | Real-time data acquisition transmitting device based on USB3.0 | |
| CN104811643A (en) | Image data high speed storage system based on SD card array | |
| CN101567979A (en) | Data acquisition system between infrared vidicon and computer based on USB2.0 | |
| CN102520892A (en) | Multifunctional solid state data storage playback instrument | |
| CN101477347B (en) | A Data Acquisition Method for Alternate Storage Synchronous Continuous Transmission | |
| CN111966628B (en) | Multi-core combined type large-capacity data synchronous storage method | |
| CN102012948B (en) | Data real-time acquisition and storage system and method based on USB | |
| CN116431539A (en) | A Design of Reading and Writing Based on FDMA DDR Memory | |
| CN107608654B (en) | Transmission control device and method for multi-path asynchronous information | |
| CN206136104U (en) | Image acquisition system based on CMOS image sensor | |
| CN201355815Y (en) | An IEEE1394 Bus Protocol Controller Applied to Space Technology | |
| CN204667393U (en) | A kind of multi-chip data interaction device based on FPGA and Upp interface | |
| CN201449607U (en) | Data Collector Based on USB2.0 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100106 Termination date: 20101117 |