Image acquisition card and system with time sequence synchronization and preprocessing functions
By integrating the FPGA processor and optical fiber interface module into the image acquisition card, the timing synchronization and image data preprocessing of the detector module are realized, which solves the problems of data transmission bandwidth and synchronization settings in the CT system and improves system performance.
Patent Information
- Application Number
- CN202420476546.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2034-03-12
AI Technical Summary
The image acquisition cards in existing CT systems lack detector synchronization timing control and image preprocessing functions, and cannot meet the high requirements of static CT systems for data transmission bandwidth and synchronization settings.
Using FPGA processor, DDR memory array, FC fiber optic interface module and QSFP+ fiber optic interface module, combined with MAC module, VDMA module, storage controller module, image preprocessing module, data bus interconnection module, PCIe DMA bus module and synchronization timing generation module , realizing the collection, storage, transmission, preprocessing and timing synchronization control of image data.
It realizes the image data collection and preprocessing of multi-channel detector modules, ensures the timing synchronization and working parameter settings of the detector modules, meets the data transmission bandwidth and synchronization setting requirements of the CT system, and improves system performance.
Smart Images

Figure CN221886583U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to an image acquisition card with synchronous timing and preprocessing functions, and also relates to an image acquisition system comprising the image acquisition card, belonging to the technical field of radiation imaging. Background Art
[0002] Computed tomography (CT) equipment is a three-dimensional imaging device widely used in the fields of medical treatment, security inspection, industrial detection, etc. In the actual operation of CT equipment, the CT system needs to transmit a large amount of detector image data to the computer for reconstruction processing, especially the static CT system has a larger detector area, which has higher requirements for the amount of transmitted image data and transmission bandwidth.
[0003] In the prior art, high-speed image data transmission is usually completed using a PCIe image acquisition card or a PCIe network card. The interface between this type of card and the computer end is a PCIe interface, and the interface with the detector end is an SFP+ or QSFP+ optical fiber interface. However, the PCIe image acquisition card or PCIe network card only provides image data acquisition functions, and does not have detector timing synchronization control functions and image preprocessing functions. The static CT system requires the image acquisition card to generate a system synchronization timing for the detector in addition to meeting the data transmission bandwidth, so that each detector works synchronously according to the system design, and sends the relevant system information to the detector to be packaged into the image data. At the same time, the image acquisition card is also required to preprocess the detector image. Therefore, in order to solve the above technical problems, it is very necessary to provide an image acquisition card that can realize the detector synchronization timing generation and image preprocessing functions to meet the actual needs of the CT system.
[0004] In the Chinese invention patent with patent number ZL 202111650739.3, an image acquisition card, an image acquisition method and an image acquisition system are disclosed. The image acquisition card includes at least one Ethernet physical layer chip; a communication bus; a memory; an image processing chip, including at least one image processing subsystem; wherein each image processing subsystem communicates with the camera through the Ethernet physical layer chip and communicates with the computing device through the communication bus. The image acquisition card can perform some data processing operations instead of the computing device, thereby saving computing resources. Summary of the invention
[0005] The primary technical problem to be solved by the utility model is to provide an image acquisition card with synchronous timing and preprocessing functions.
[0006] Another technical problem to be solved by the utility model is to provide an image acquisition system including the image acquisition card.
[0007] In order to achieve the above purpose, the utility model adopts the following technical solutions:
[0008] According to a first aspect of an embodiment of the utility model, there is provided an image acquisition card with synchronous timing and preprocessing functions, comprising an FPGA processor, a DDR memory array, an FC optical fiber interface module and at least one QSFP+ optical fiber interface module; wherein,
[0009] The FPGA processor is coupled and connected to the DDR memory array, the QSFP+ optical fiber interface module, and the FC optical fiber interface module respectively;
[0010] The FPGA processor is used to control and manage the acquisition, storage and transmission of image data, as well as image preprocessing, synchronization timing and working parameter settings;
[0011] The DDR memory array is used to store the image data;
[0012] The QSFP+ optical fiber interface module is used to couple with the physical layer interface of the detector module to realize data transmission between the FPGA processor and the detector module;
[0013] The FC optical fiber interface module is used to couple with the physical layer interface of the timing control module in the CT system to realize data transmission between the FPGA processor and the timing control module in the CT system.
[0014] Preferably, the FPGA processor includes a MAC module, a VDMA module, a storage controller module, an image preprocessing module, a data bus interconnection module, a PCIe DMA bus module, a synchronous timing generation module and a detector control module; wherein,
[0015] The VDMA module, the image preprocessing module and the PCIe DMA bus module are all coupled and connected with the storage controller module through the data bus interconnection module;
[0016] The synchronization timing generation module, the detector control module, the MAC module and the VDMA module are coupled and connected in sequence;
[0017] The PCIe DMA bus module is coupled to the detector control module.
[0018] Preferably, the PCIe DMA bus module is used to couple with a PCIe interface of a host computer to achieve transmission of the image data or operating parameter data between the FPGA processor and the host computer;
[0019] The image preprocessing module is used to perform a specified preprocessing operation on the collected image data;
[0020] The synchronous timing generation module is used to receive the synchronous timing data provided by the CT system, and send it to the detector control module after parsing;
[0021] The detector control module is used to receive the synchronization timing data sent by the synchronization timing generation module or the working parameter data sent by the PCIe DMA bus module, and repackage the data and then send it to the MAC module.
[0022] Preferably, the MAC module is used to encapsulate the interactive data between the FPGA processor and the detector module into an Ethernet packet for sending or receiving;
[0023] The VDMA module is used to perform format conversion and cache processing on the received image data;
[0024] The storage controller module is used to implement access control to the external DDR memory;
[0025] The data bus interconnection module is used for interconnection management of the internal data bus to realize a unified data bus interface for the storage controller module.
[0026] Preferably, according to the synchronization timing provided by the CT system, the image acquisition card sequentially performs timing synchronization operations on the detector module through the FC fiber optic interface module, the synchronization timing generation module in the FPGA processor, the detector control module and the MAC module, and the QSFP+ fiber optic interface module.
[0027] Preferably, according to the working parameters provided by the host computer, the image acquisition card sequentially performs working parameter setting operations on the detector module through the PCIe DMA bus module, the synchronous timing generation module and the MAC module in the FPGA processor, and the QSFP+ optical fiber interface module.
[0028] Preferably, each of the detector modules is coupled to an SFP+ channel of the QSFP+ optical fiber interface module; and the number of the QSFP+ optical fiber interface modules configured in the image acquisition card is determined according to the number of the detector modules.
[0029] According to a second aspect of an embodiment of the utility model, an image acquisition system is provided, comprising a CT detector module, a CT timing control module, a host computer and the above-mentioned image acquisition card with synchronization timing and preprocessing functions.
[0030] Compared with the prior art, the image acquisition card with synchronous timing and preprocessing functions provided by the utility model, by adopting a technical solution combining an FPGA processor, a DDR memory array, an FC optical fiber interface module and at least one QSFP+ optical fiber interface module, can complete the image data acquisition operation of the multi-channel detector module while also realizing the preprocessing operation of the image data, the timing synchronization operation of the multi-channel detector module and the working parameter setting operation and other functions, thereby meeting the requirements of the CT system, especially the static CT system, for the data transmission bandwidth and the related functions of synchronous setting, preprocessing and the like. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A structural block diagram of an image acquisition card with synchronous timing and preprocessing functions provided by the utility model;
[0032] Figure 2 This is a structural block diagram of an FPGA processor in an embodiment of the utility model;
[0033] Figure 3 This is a working principle diagram of the image acquisition card for acquiring and storing image data of the detector module in the embodiment of the utility model;
[0034] Figure 4 This is a working principle diagram of the image acquisition card uploading image data in an embodiment of the utility model;
[0035] Figure 5 This is a working principle diagram of the image acquisition card performing timing synchronization on the detector module in an embodiment of the utility model;
[0036] Figure 6 This is a working principle diagram of the image acquisition card preprocessing image data in an embodiment of the utility model. DETAILED DESCRIPTION
[0037] The technical content of the present utility model is described in detail below with reference to the accompanying drawings and specific embodiments.
[0038] like Figure 1 As shown, the utility model provides an image acquisition card with synchronous timing and preprocessing functions, including an FPGA (field programmable gate array) processor, a DDR (double data rate) memory array, an FC (mesh channel) fiber interface module and at least one QSFP+ (quad small form factor pluggable) fiber interface module. The FPGA processor is coupled to the DDR memory array, the QSFP+ fiber interface module, and the FC fiber interface module respectively. When the image acquisition card is working, the FPGA processor is connected to the host computer (i.e. Figure 1The QSFP+ optical fiber interface module is coupled and connected to the detector module; the FC optical fiber interface module is coupled and connected to the timing control module of the CT system.
[0039] The FPGA processor is used to control and manage the data acquisition, storage and transmission of the image acquisition card, as well as synchronization timing, image preprocessing and working parameter setting operations. It is the core functional unit of the image acquisition card.
[0040] The DDR memory array is used to store the collected image data of the detector module and the pre-processed image data.
[0041] The QSFP+ optical fiber interface module is used to couple with the physical layer interface of the detector module to realize data transmission between the FPGA processor and the detector module, and the transmission data includes image data, synchronization timing data, and working parameter data. Usually, the bandwidth of the QSFP+ optical fiber interface module is the same as the bandwidth of the physical layer interface of the detector module, which is 10Gbit / s.
[0042] Each QSFP+ optical fiber interface module has four SFP+ channels, and each detector module is connected to one SFP+ channel of the QSFP+ optical fiber interface module. Therefore, each QSFP+ optical fiber interface module can achieve coupling connection with four detector modules.
[0043] The FC fiber interface module is used to couple with the physical layer interface of the timing control module in the CT system to realize the transmission of data between the FPGA processor and the timing control module in the CT system. The transmission data is mainly synchronous timing data. Usually, its bandwidth is 1.25Gbit / s.
[0044] In one embodiment of the present invention, Figure 2 As shown, the FPGA processor includes a MAC (Media Access Control) module, a VDMA (Video Direct Memory Access) module, a storage controller module, an image preprocessing module, a data bus interconnection module, a PCIe DMA bus module, a synchronous timing generation module and a detector control module. Among them, the VDMA module, the image preprocessing module and the PCIe DMA bus module are coupled and connected with the storage controller module through the data bus interconnection module; the synchronous timing generation module, the detector control module, the MAC module and the VDMA module are coupled and connected in sequence; the PCIe DMA bus module is coupled and connected with the detector control module.
[0045] The MAC module is used to implement Ethernet media access control. It encapsulates the interactive data with the detector module into Ethernet packets for sending or receiving. The received data is the image data collected by the detector module, and the sent data is the synchronous timing data or working parameter data of the detector module. The bandwidth of the MAC module is 10Gbit / s.
[0046] The VDMA module is used to convert the format of the received image data and perform buffer processing, and then send it to the data bus interconnection module through the internal data bus, thereby accessing the external DDR memory to store the image data.
[0047] The memory controller module is used to implement access control to the external DDR memory, and it converts the internal data bus protocol into access control to the external DDR memory.
[0048] The image preprocessing module is used to perform specified preprocessing operations on the acquired image data. The specific preprocessing operations can be set in advance by the CT system. The preprocessed image data is sent to the data bus interconnection module through the internal data bus, thereby accessing the external DDR memory to realize the storage of image data.
[0049] The data bus interconnection module is used for the interconnection management of the internal data bus. It integrates and controls the multiple data buses from the VDMA module, image preprocessing module, and PCIe DMA bus module to realize a unified data bus interface for the storage controller module.
[0050] The PCIe DMA bus module is used to couple with the PCIe interface of the host computer to realize the transmission of image data or working parameter data between the FPGA processor and the host computer.
[0051] The synchronous timing generation module is used to receive the synchronous timing data provided by the outside (ie, the CT system), and send it to the detector control module after parsing.
[0052] The detector control module is used to receive the synchronization timing data sent by the synchronization timing generation module or the working parameter data sent by the PCIe DMA bus module, and repackage the data and send it to the MAC module.
[0053] The following describes the working principle of the image acquisition card and its functional units through the operation process of each specific function of the image acquisition card.
[0054] The image acquisition card collects and stores image data from the detector module. Figure 3As shown, it should be noted that in the CT system, the image data of the detector module is collected, stored and processed in units of one frame, and each detector module splits one frame of image into multiple Ethernet data packets for transmission. When the image acquisition card collects image data from the detector module, the detector module sequentially sends the Ethernet data packet to the QSFP+ optical fiber interface module of the image acquisition card, and the QSFP+ optical fiber interface module converts the received optical fiber data signal into an electrical data signal and sends it to the FPGA processor. The MAC module in the FPGA processor is responsible for receiving the detector image data packet, and the MAC module encapsulates the received image data into an Ethernet packet and writes it to the VDMA module. The VDMA module automatically caches the received image data after format conversion. When the image data cached in the VDMA module reaches a complete frame of image data, the VDMA module writes one frame of image data into the DDR memory through the storage controller module, and the image data of different detector modules are stored in different address segments of the DDR memory. The above process completes the acquisition of one frame of image data. The acquisition and storage of the image data of the detector module with a specified number in the CT system are all performed frame by frame according to the above process, and the acquisition channel of each detector module can reach a data acquisition bandwidth of 10Gbit / s. Since the image acquisition card is equipped with a DDR memory array, it can cache multiple frames of image data of multiple detector modules, providing convenient operation for image retransmission and image preprocessing of the entire CT system.
[0055] The working process of the image acquisition card uploading image data is as follows: Figure 4 As shown in the figure, after a frame of image data is saved in the DDR memory, the host computer (i.e. Figure 4 The computer in the image acquisition card will receive a notification that the image data has been saved in the image acquisition card. Then the host computer accesses the PCIe DMA bus module inside the FPGA processor in the image acquisition card through the PCIe interface. The PCIe DMA bus module reads the image data in the DDR memory through the storage controller module. Since the image data in the DDR memory is stored continuously according to the predefined address space, when the host computer reads the image data in the DDR memory, the CPU of the host computer only needs to configure the operation parameters and start the DMA operation. The image data in the DDR memory will be automatically and continuously copied to the designated memory space of the host computer under the control of the PCIe DMA bus module. In this process, the CPU of the host computer does not need to intervene, which reduces the resource occupation of the CPU. It can also avoid the problem of frame loss and data loss in image acquisition due to computer resources.
[0056] The working process of the image acquisition card to synchronize the detector module is as follows: Figure 5As shown, first, the timing control module of the CT system generates a synchronous timing control signal for the detector module, that is, synchronous timing data, and sends the synchronous timing data to the FC fiber interface module of the image acquisition card through an optical fiber. The FC fiber interface module converts the optical signal into an electrical signal and sends it to the FPGA processor. The synchronous timing generation module in the FPGA processor receives the synchronous timing data and parses it, and sends the parsed data to the detector control module. The detector control module repackages the received data and sends it to the MAC module. The MAC module uses the downlink data channel to send the synchronous timing data to the QSFP+ fiber interface module. The QSFP+ fiber interface module converts the electrical signal into an optical fiber signal and sends it to the detector module for timing synchronization operation, thereby realizing synchronous timing control of the detector module. The image acquisition card provided in this embodiment is equipped with a detector synchronous timing control interface, which can realize synchronous timing control of the detector module by the CT system, and the synchronous timing protocol can be customized according to the dedicated CT system.
[0057] In addition, if Figure 5 As shown, the synchronous timing generation module can also cooperate with the host computer to complete the setting operation of the working parameters of the detector module. When the host computer sends the working parameter data to the detector module, the host computer first sends the working parameter data to the PCIe DMA bus module of the FPGA processor through the downlink channel of the PCIe interface. The PCIe DMA bus module sends the working parameter data to the synchronous timing generation module. The synchronous timing generation module packages the working parameter data and sends it to the MAC module. The MAC module sends the working parameter data to the detector module through the QSFP+ optical fiber interface module, thereby realizing the host computer's setting operation of the detector module's working parameters.
[0058] The image acquisition card preprocesses the image data. Figure 6 As shown, in the image acquisition card, the image preprocessing module of the FPGA processor reads the image data in the DDR memory through the storage controller module, and then preprocesses the image data in the image preprocessing module. After the preprocessing operation is completed, the image preprocessing module rewrites the preprocessed image data into the DDR memory through the storage controller module.
[0059] The image preprocessing module can customize and expand the preprocessing operation items according to the needs of the CT system to realize various image data preprocessing functions, such as compressing image data to reduce the size of image data; performing operations such as correction, flipping, filtering, etc. on images, and performing arithmetic operations on multiple frames of images by cooperating with DDR memory. Among them, the preprocessing operation items of image data can be selected by the host computer, and the preprocessing parameters can be set. By performing image data preprocessing operations in the image acquisition card, the occupation of computer resources can be reduced, thereby improving system performance.
[0060] It should be noted that the image acquisition card is a PCIe high-speed image acquisition card, and the interface between it and the host computer (such as a computer) is PCIe. It is installed in the PCIe slot of the computer through a gold finger, complies with the PCIe specification standard, and supports PCIe bidirectional DMA transmission. In the image acquisition card, the number of QSFP+ fiber optic interface modules coupled to the detector module can be determined according to the specific situation of the CT system. For example, when the CT system has 8 detector modules that need to collect image data, the image acquisition card can be configured with 2 QSFP+ fiber optic interface modules to connect 8 optical fibers with a bandwidth of 10Gbit / S to achieve coupling connection with 8 detector modules. One FC fiber optic interface module configured on the image acquisition card is coupled to the timing control module in the CT system to realize the sending of the synchronous timing and related information of the CT system to the detector module.
[0061] Based on the above-mentioned image acquisition card with synchronous timing and preprocessing functions, the embodiment of the utility model further provides an image acquisition system, including a CT detector module, a CT timing control module, a host computer and an image acquisition card. Among them, the image acquisition card is coupled with the CT detector module, the CT timing control module and the host computer respectively, and the image acquisition card is used to collect, store and transmit image data of the CT detector module. At the same time, in conjunction with the CT timing control module and the host computer, it can also realize the preprocessing operation of the collected image data, the timing synchronization operation of the CT detector module and the operation of setting working parameters. The specific structure and working principle of the image acquisition card in the image acquisition system will not be repeated here.
[0062] In summary, compared with the prior art, the image acquisition card with synchronous timing and preprocessing functions provided by the utility model, by adopting a technical solution combining an FPGA processor, a DDR memory array, an FC optical fiber interface module and at least one QSFP+ optical fiber interface module, can complete the image data acquisition operation of the multi-channel detector module while also realizing the preprocessing operation of the image data, the timing synchronization operation of the multi-channel detector module and the operation of setting working parameters, etc., and meet the requirements of the CT system, especially the static CT system, for data transmission bandwidth and related functions such as synchronization setting and preprocessing. Therefore, the image acquisition card with synchronous timing and preprocessing functions provided by the utility model has the beneficial effects of ingenious and reasonable structural design, multi-function high efficiency and excellent system performance.
[0063] It should be noted that, in the description of the present utility model, “plurality” means two or more than two, unless otherwise clearly and specifically defined.
[0064] The above is a detailed description of the image acquisition card and system with synchronous timing and preprocessing functions provided by the utility model. For those skilled in the art, any obvious changes made to it without departing from the essence of the utility model will constitute an infringement of the patent right of the utility model and will bear the corresponding legal liability.
Claims
1. An image acquisition card with synchronous timing and preprocessing functions, characterized in that It includes an FPGA processor, a DDR memory array, an FC optical fiber interface module and at least one QSFP+ optical fiber interface module; wherein, The FPGA processor is coupled and connected to the DDR memory array, the QSFP+ optical fiber interface module, and the FC optical fiber interface module respectively; The FPGA processor is used to control and manage the acquisition, storage and transmission of image data, as well as image preprocessing, synchronization timing and working parameter settings; The DDR memory array is used to store the image data; The QSFP+ optical fiber interface module is used to couple with the physical layer interface of the detector module to realize data transmission between the FPGA processor and the detector module; The FC optical fiber interface module is used to couple with the physical layer interface of the timing control module in the CT system to realize data transmission between the FPGA processor and the timing control module in the CT system.
2. The image acquisition card with synchronous timing and preprocessing functions as claimed in claim 1, characterized in that: The FPGA processor includes a MAC module, a VDMA module, a storage controller module, an image preprocessing module, a data bus interconnection module, a PCIe DMA bus module, a synchronous timing generation module and a detector control module; wherein, The VDMA module, the image preprocessing module and the PCIe DMA bus module are all coupled and connected with the storage controller module through the data bus interconnection module; The synchronization timing generation module, the detector control module, the MAC module and the VDMA module are coupled and connected in sequence; The PCIe DMA bus module is coupled to the detector control module.
3. The image acquisition card with synchronous timing and preprocessing functions as claimed in claim 2, characterized in that: The PCIe DMA bus module is used to couple with the PCIe interface of the host computer to realize the transmission of the image data or the working parameter data between the FPGA processor and the host computer; The image preprocessing module is used to perform a specified preprocessing operation on the collected image data; The synchronous timing generation module is used to receive the synchronous timing data provided by the CT system, and send it to the detector control module after parsing; The detector control module is used to receive the synchronization timing data sent by the synchronization timing generation module or the working parameter data sent by the PCIe DMA bus module, and repackage the data and then send it to the MAC module.
4. The image acquisition card with synchronous timing and preprocessing functions as claimed in claim 2, characterized in that: The MAC module is used to encapsulate the interactive data between the FPGA processor and the detector module into an Ethernet packet for sending or receiving; The VDMA module is used to perform format conversion and cache processing on the received image data; The storage controller module is used to implement access control to the external DDR memory; The data bus interconnection module is used for interconnection management of the internal data bus to realize a unified data bus interface for the storage controller module.
5. The image acquisition card with synchronous timing and preprocessing functions as claimed in claim 2, characterized in that: According to the synchronization timing provided by the CT system, the image acquisition card performs timing synchronization operations on the detector module through the FC fiber optic interface module, the synchronization timing generation module in the FPGA processor, the detector control module and the MAC module, and the QSFP+ fiber optic interface module.
6. The image acquisition card with synchronous timing and preprocessing functions as claimed in claim 2, characterized in that: According to the working parameters provided by the host computer, the image acquisition card sequentially performs working parameter setting operations on the detector module through the PCIeDMA bus module, the synchronous timing generation module and the MAC module in the FPGA processor, and the QSFP+ optical fiber interface module.
7. The image acquisition card with synchronous timing and preprocessing functions as claimed in claim 1, characterized in that: Each of the detector modules is coupled and connected to an SFP+ channel of the QSFP+ optical fiber interface module; the number of the QSFP+ optical fiber interface modules configured in the image acquisition card is determined according to the number of the detector modules.
8. An image acquisition system, comprising a CT detector module, a CT timing control module and a host computer, characterized in that It also includes the image acquisition card with synchronization timing and preprocessing functions as described in any one of claims 1 to 7.
