Data processing system and method
Through the integrated architecture of ADC+FPGA+CPU+SSD, DMA and PCIE3.0 technology are used to solve the problems of low data processing speed and original data loss, achieve high-speed data processing and storage, reduce system volume and power consumption, and provide An efficient signal processing platform.
Patent Information
- Application Number
- CN202410990020.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-15
AI Technical Summary
Existing data processing systems have problems such as low data processing speed and loss of original data. Moreover, the platform is large, heavy and has high power consumption.
Adopting the integrated architecture of ADC+FPGA+CPU+SSD, the FPGA's DDR memory data is moved to the CPU's DDR memory through DMA technology, and high-speed data transmission is performed through PCIE3.0, using the high computing power of the CPU for data processing and storage. , to achieve timely and complete preservation of data.
It achieves high-speed data collection, storage and calculation, is small in size, light in weight and low in power consumption. It provides an efficient general processing platform for signal processing, improves the data processing rate and storage capacity, and avoids data loss.
Smart Images

Figure CN118779109A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a data processing system and method. Background Art
[0002] Prior Art The background technologies involved in the present invention include high-speed data acquisition technology, high-speed data transmission technology, high-speed data storage technology, and high-speed data calculation technology.
[0003] Disadvantages or defects of the existing technology:
[0004] Technical problem 1: Solve the problem of low and slow data processing speed and loss of original data.
[0005] Traditional data acquisition, storage and computing are divided into two modules. Data acquisition is implemented by ADC and FPGA; storage and computing are composed of storage unit and CPU. After ADC collects data, it is sent to FPGA. After FPGA processes the data, it is sent to storage and computing unit through data channel. Due to the computing speed and internal resources (logic resources, DSP resources, etc.) of FPGA, the collected data cannot be processed in time and fully, and the amount of processed data is not enough, resulting in low and slow data processing rate. There is also the problem of losing some original data. For example, in the field of radar countermeasures, it is necessary to perform pulse detection, PDW feature extraction and sorting on the collected data. FPGA cannot complete all processes, so the data output from FPGA will have information loss.
[0006] The process used in the present invention can cache the raw intermediate frequency data collected by the ADC into the memory external to the FPGA through the FPGA, and then move the data to the memory of the CPU at high speed through the DMA technology, and the CPU can store the memory data in the external SSD. In this way, the collected raw data is well stored in the SSD, because the CPU has higher computing power than the FPGA, and the CPU can process the data better and extract more useful information.
[0007] Technical Problem 2: Solve the problems of large size, heavy weight and high power consumption of data processing platform.
[0008] Traditional data collection, storage and computing platforms use two modules to realize data collection, storage and computing functions respectively. To realize communication between the two modules, a backplane needs to be designed to connect the two modules. The separated architecture leads to slow data processing, large size, heavy weight and high power consumption. Summary of the invention
[0009] In order to overcome the deficiencies of the prior art, the present invention provides a data processing system and method to solve the problems of low and slow data processing speed, loss of original data, etc. in the prior art.
[0010] The technical solution adopted by the present invention to solve the above problems is:
[0011] A data processing system comprises an ADC, an FPGA and a CPU which are electrically connected in sequence, wherein the FPGA and the CPU are both electrically connected to a DDR.
[0012] As a preferred technical solution, the CPU is electrically connected to a network port and an SSD.
[0013] As a preferred technical solution, ADC is used to collect signals and transmit them to FPGA; FPGA is used to receive signals transmitted by ADC and transmit the data to DDR cache; CPU is used to read data from FPGA's DDR to CPU's DDR.
[0014] As a preferred technical solution, the CPU is used to read data from the DDR of the FPGA to the DDR of the CPU through DMA.
[0015] As a preferred technical solution, the CPU is used to: read the data in the DDR memory of the FPGA and output it through the network port after calculation; transfer the data in the DDR memory of the FPGA to the SSD of the CPU.
[0016] As a preferred technical solution, it also includes an MCU electrically connected to the FPGA.
[0017] A data processing method adopts the data processing system to collect, store or calculate data.
[0018] As a preferred technical solution, when collecting data, a direct transmission mode is adopted: data is directly transmitted to the CPU; or, a DDR cache mode: the FPGA transmits the data to the DDR, and after the DDR cache is full, it is transmitted to the CPU.
[0019] As a preferred technical solution, when storing data, the CPU establishes a separate thread to transfer the data to the SSD of the CPU, and the memory space is reserved in the CPU driver as a cache.
[0020] As a preferred technical solution, when calculating data, the CPU reads data in the DDR of the CPU for calculation, or reads data in the SSD of the CPU for calculation.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] (1) Advanced architecture: ADC+FPGA+MCU+COMe(CPU)+NVMe SSD integrated on a digital board can realize high-speed data acquisition, storage and calculation. This architecture has high integration, small size, light weight and low power consumption, providing a general processing platform for signal processing;
[0023] (2) High-speed data acquisition, storage and calculation process: After being collected by the ADC, high-speed data can be cached in the memory attached to the FPGA, and then moved to the memory attached to the CPU through DMA technology. The CPU then moves the data to the external SSD for storage. When the CPU needs to perform calculations, it can directly call the SSD data.
[0024] (3) The sampling rate and data frequency in the high-speed signal acquisition in this process: 2.4Gsps sampling rate, 1.8GHz intermediate frequency of the acquired data, and 1GHz bandwidth;
[0025] (4) The transmission method of high-speed signals between FPGA and CPU in this process: transmission is carried out through PCIE3.0, with a transmission rate of 5 GB / s for one channel and 3 GB / s for the other two channels;
[0026] (5) The rate at which data is sampled and stored in this process: at 2.4Gsps sampling, the minimum continuous acquisition time and storage is 500ms; at 600Msps sampling, the minimum continuous acquisition time and storage is 20 minutes;
[0027] (6)6. The memory size and speed of the CPU in this process: 32GB memory, memory read and write speed 4.8GB / s;
[0028] (7)7. The memory size and speed of the FPGA in this process: FPGA external DDR4, capacity not less than 4GB, read and write speed not less than 4.8GB / s. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is the circuit principle block diagram;
[0030] Figure 2 for Figure 1 One of the partial enlarged pictures;
[0031] Figure 3 for Figure 1 The second partial enlarged picture;
[0032] Figure 4 This is the block diagram of AD9689;
[0033] Figure 5 This is a diagram of VU9P resources;
[0034] Figure 6 Figure FPGA module block diagram;
[0035] Figure 7 A block diagram of the computing storage unit scheme;
[0036] Figure 8 This is the functional block diagram of the COMe module;
[0037] Fig. 9 This is the functional block diagram of the M.2-NVMe solid-state drive;
[0038] Fig.10 This is the appearance and dimensions of the M.2-NVMe solid-state drive;
[0039] Fig.11 It is the FPGA driver block diagram;
[0040] Fig.12 It is a functional block diagram of the data cache unit;
[0041] Fig.13 Flowchart for data transmission and storage;
[0042] Fig.14 This is the MCU functional block diagram. DETAILED DESCRIPTION
[0043] The present invention will be further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0044] Example 1
[0045] like Figures 1 to 14 As shown, the high-speed data acquisition technology described in the present invention refers to the technology of using high-speed ADC to collect high-speed signals. The ADC used is AD9689 of ADI Company, dual-channel 14bit, supports up to 2.6GSPS sampling rate, and -3dB analog bandwidth can reach 9GHz. The sampled data supports JESD204B interface transmission, and the rate of each lane can reach up to 16Gbps. The two ADC cores inside the converter have a multi-stage differential pipeline architecture and integrated output error correction logic. Each ADC has a bandwidth input that supports various user-selectable input ranges. At the same time, it has an automatic gain control (AGC) function that simplifies the communication receiver. High-speed data refers to signals with a receiving frequency of 1.3GHz to 2.3GHz.
[0046] The high-speed data transmission technology described in the present invention is a technology for data transmission using PCIE3.0. PCIE3.0 is the third generation of the PCI Express technical standard organization PCI-SIG, and is a rapidly evolving version of PCIE 2.0. The PCIE3.0 specification increases the data transmission rate to 8GHz / 8Gb / s, and maintains backward compatibility with PCIE 2.x / 1.x, continuing to support 2.5GHz and 5GHz signal mechanisms. Based on this, the unidirectional bandwidth of a single channel (x1) of the PCIE 3.0 architecture can be close to 1GB / s, and the bidirectional bandwidth of sixteen channels (x16) can reach 32GB / s.
[0047] The high-speed data storage technology of the present invention refers to a data caching technology using synchronous dynamic random access memory (DDR3 or DDR4), and transferring data at high speed through DMA. DDR (Double Data Rate) technology is a technology used to increase the data transmission rate, especially in the field of dynamic random access memory (DRAM). DDR technology allows data to be transmitted twice in each clock cycle, that is, once at the rising edge and once at the falling edge of the clock. This design makes the data transmission speed of DDR memory twice that of traditional SDRAM. Direct memory access (DMA) is a function provided by some computing bus architectures, which enables data to be sent directly from an attached device to the memory of the computer motherboard. Usually a memory section is designated for direct memory access. DMA is an important feature of all modern computers, which allows hardware devices of different speeds to communicate without relying on a large amount of terminal load on the central processing unit. Otherwise, the central processing unit needs to copy each piece of data from the source to the register, and then write them back to the new place again. During this time, the central processing unit cannot be used for other work.
[0048] The high-speed data calculation technology described in the present invention refers to a technology that uses a CPU to perform calculations on high-speed data; the CPU (Central Processing Unit) is a central processing unit, which is the calculation and control center of the computer system and is the final execution unit of the information processing program. Since its inception, the CPU has made great progress in logical structure, operating efficiency and functional extension. Its main function is to interpret computer instructions and process data in computer software. The CPU is the core component in the computer that is responsible for reading instructions, decoding instructions and executing instructions. The central processing unit mainly includes two parts, namely the controller and the operator, which also includes a cache memory and data that realizes the connection between them.
[0049] The integrated architecture platform adopted by the present invention adopts a high-speed ADC+FPGA+MCU+COMe+NVMe SSD high-integration architecture with small size, light weight and low power consumption, providing a universal processing platform for signal processing.
[0050] This patent discloses a data collection, storage and calculation process.
[0051] This process is based on the ADC+FPGA+CPU architecture, and is functionally divided into an acquisition processing unit (ADC), a data preprocessing unit (FPGA), a computing storage unit (CPU+SSD), an inertial navigation timing unit, a power supply, a clock, and an external interface.
[0052] The signal can be collected and processed by ADC and then sent to FPGA. In FPGA, data is processed in two ways. One way is to directly send it to the DDR memory cache, and the other way is to process the data and then send it to the DDR memory cache. The CPU uses DMA to read data from the DDR memory of the FPGA to the DDR memory of the CPU. The CPU reads the data in the DDR memory and calculates it, and then outputs it through the Gigabit network port; or the CPU moves the data in the DDR memory to the external SSD to realize data storage. The specific circuit principle is as follows: Figure 1 shown.
[0053] 1. Acquisition processing unit (ADC)
[0054] The data center frequency to be collected by the present invention is 1.8GHz, and the bandwidth is 1GHz. In order to avoid the influence of DC components and harmonics in the first Nyquist interval, the design adopts sampling in the second Nyquist interval, which requires the ADC to have a higher sampling rate and analog bandwidth. The ADC uses ADI's AD9689 high-speed sampling ADC. AD9689BBPZ is a dual-channel, 14-bit, 2.0GSPS / 2.6GSPS analog-to-digital converter (ADC). The device has built-in on-chip buffers and sample-and-hold circuits, which can achieve direct sampling of wide-bandwidth analog signals up to 5GHz. Designed specifically for low power consumption, small size and ease of use, the power consumption of a single channel is only 1.55W. The AD9689 architecture is as follows Figure 4 As shown, its main technical features are as follows:
[0055] a) 9 GHz wide input, 3 dB bandwidth supports direct RF signal sampling of approximately 5 GHz.
[0056] b) Four integrated, wideband decimation filter and NCO blocks support multi-band receivers.
[0057] c) Fast NCO switching is enabled via a GPIO pin.
[0058] d)SPI controls various product features and functions to meet specific system requirements.
[0059] e) Programmable fast over-range detection and signal monitoring.
[0060] f) On-chip temperature diode for system thermal management.
[0061] g) 12mm×12mm, 196-pin BGA package.
[0062] h) Pin, package, function, and memory map compatible with the AD9208 14-bit, 3.0GSPS, JESD204B dual-channel ADC.
[0063] 2. Data pre-processing unit (FPGA)
[0064] The data preprocessing unit mainly consists of six parts: FPGA, FPGA configuration chip, ADC interface, sampling clock module, DDR4 interface, PCIE and functional interface.
[0065] The data preprocessing unit needs to complete the signal processing processes such as acquisition synchronization, channelization, signal detection, parameter measurement, pre-sorting, DDC, signal sorting, and direction finding of the 5-channel intermediate frequency signal. It also needs to cache the signal processing result data and transmit it at high speed, which requires the FPGA chip to have strong signal processing capabilities and high-speed data throughput capabilities. After resource evaluation, the design of FPGA uses the XCVU9P-2FLGA2104I chip of the Virtex UltraScale+ series of Xilinx. XCVU9P-2FLGA2104I has a total of 702 available IO ports, supporting levels of 1.2V, 1.35V, 1.5V and 1.8V. The logic unit is 2586150, the RAM module unit is 36.1Mb, and there are 52 high-speed interfaces GTY, with a maximum speed of 32.75Gb / s. It cooperates with peripheral clocks, resets, FPGA boot loading circuits, etc. to provide control and logic algorithms for the entire module; the chip is rich in resources, has strong signal processing capabilities and high-speed data transmission capabilities, and can meet the design requirements. XCVU9P series FPGA resources such as Figure 5 shown.
[0066] FPGA modules such as Figure 6 shown.
[0067] a) FPGA: It is composed of FPGA chips, and cooperates with peripheral clock, reset, FPGA boot loading circuit, etc. to provide control and logic algorithms for the entire module;
[0068] b) FPGA configuration: Configuration is done by the configuration chip when powered on;
[0069] c) ADC interface: It consists of 3 dual-channel ADCs that output to the FPGA high-speed serdes interface circuit;
[0070] d) Sampling clock module: It consists of a HMC7044 chip, with peripheral power supply, reset, configuration, and reference circuits;
[0071] e) DDR4 interface: 2 groups of 4 16-bit DDR4 chip circuits form 2 groups of 64-bit DDR4 cache;
[0072] f) PCIE: It is composed of FPGA high-speed GTY interface circuit and PCIE hard core to realize 2-way X4 and 1-way X8 PCIE interface.
[0073] g) RS422: It is composed of FPGA Uart interface circuit to realize RS422 interface;
[0074] h) Other functional interfaces: provide logical implementation of various bus interfaces and functions.
[0075] 3. Computational storage unit (CPU+SSD)
[0076] The computing and storage unit is designed as a CPU+MCU+NVMe SSD architecture to realize functions such as data interaction with FPGA, signal processing calculation, front-end control, data storage, and health management.
[0077] 3.1 The functional description is as follows:
[0078] a) Receive external control instructions through the Ethernet interface and work according to the control instructions. For example, an external laptop can access hard disk 1 in the form of a network disk through a gigabit network and read and write internal data;
[0079] b) Receive the processing results output by the acquisition processing unit through the PCIE bus and write the data to the NVMe SSD hard disk through PCIE.
[0080] 3.2 Performance indicators are as follows:
[0081] a) PCIE3.0 interface: provides one PCIE 3.0X8, RC mode, to complete the IF data interaction with the acquisition and processing unit;
[0082] b) PCIE3.0 interface: provides two PCIE 3.0X4, RC mode, transmission of PDW, spectrum and control command interaction;
[0083] c) PCIE NVMe interface: 2 PCIE GEN2 / GEN3 X4 are provided, and 2 PCIE NVMe hard disks are plugged in, with a capacity of 8TB as a storage module to store FPGA intermediate frequency data;
[0084] d) Provide 1 Gigabit network port to communicate with the host computer, transmit control commands, receive NTP commands, and transmit collected data;
[0085] e) Provides 1 mSATA 6Gb / s interface, 1TB, for system program storage;
[0086] f) Operating system: Windows 7 64-bit;
[0087] g)CPU: 4th generation Intel Core TM Processor: i7-6822EQ;
[0088] h) Memory: Dual-channel DDR4 2133MHz memory, total capacity 32GByte;
[0089] i)USB: 2-way USB 2.0 interface;
[0090] j) VGA: 1-way VGA display interface;
[0091] 3.3 Design of computing storage unit scheme
[0092] According to the functional performance requirements, the COMe module is used as the core board to realize the functions required by the computing storage unit. On the basis of the COMe module, the COMe carrier board is designed to realize various peripheral interfaces. The computing storage unit functions are as follows: Figure 7 shown.
[0093] like Figure 7 As shown, the left part is implemented by the COMe module, and the right part is implemented on the baseboard. In addition to realizing the peripheral circuit functions of the COMe daughter card, the baseboard also serves as a carrier for the FPGA and ADC circuits.
[0094] COMe is the abbreviation of Computer On Module Express. The COMe module contains all the necessary components of the CPU mini-system. The COMe module cooperates with different carrier boards to achieve different functions.
[0095] According to the functional requirements, the mature Type 6 series COMe module is selected as the core board of the computing storage unit. Its peripheral interface covers the interfaces required by the computing storage unit block diagram and meets the requirements. COMe functions such as Figure 8 shown.
[0096] like Figure 8As shown in the figure, the COMe module integrates the Intel main chip, bridge chip, DDR and related circuits to complete the functions of the X86 small system. The X86 small system connects the signal to the COMe carrier board through the connector specified by the COMe standard, and expands the peripheral interface through the COMe carrier board to realize the functions required by the computing storage unit.
[0097] According to the functional requirements, Intel's main chip uses i7-6822EQ as the main chip. i7-6822EQ is Intel's fourth-generation Core i7 processor, with a main frequency of 2.0GHz, a turbo frequency of 2.8GHz, four physical cores and eight threads, each core supports hyperthreading technology, supports DDR4-2133, a maximum of 32GB memory, and a memory read and write rate of up to 12GB / s.
[0098] 3.4M.2-NVMe SSD design
[0099] M.2-NVMe solid state drives can support high-speed, large data storage, recording and playback. M.2-NVMe solid state drives use M.2 2280 standard storage modules. This board is designed with two M.2-NVMe solid state drives, each with a capacity of 4TB. Its main technical requirements are as follows:
[0100] a) Storage capacity: 4TB;
[0101] b) Storage bandwidth: Sequential write rate ≤ 3.2 GB / s, sequential read rate ≤ 3.5 GB / s;
[0102] c) Data interface: standard Serial PCI interface, based on PCIE4.0, protocol specification NVMe1.4, compatible with PCIEEM specification r3.0 and PCIE benchmark specification r3.1;
[0103] d) File system: Support standard file system (exFAT);
[0104] e) Control protocol: The network adopts the standard FTP communication protocol; supports the access of files by standard FTP tools;
[0105] f) Software functions: real-time recording function, data playback function, data access, online file management function, self-checking and fault detection function, abnormal fault tolerance protection mechanism, etc.;
[0106] g) Working temperature: -40℃~+70℃;
[0107] h) Connector type: M.2 2280;
[0108] i) Power consumption: Supply voltage 3.3V 5%, maximum power consumption during continuous reading 6.6W, maximum power consumption during continuous writing 7.6W, less than 0.7W when idle.
[0109] M.2-NVMe SSD features and dimensions Fig. 9 , Fig.10 shown.
[0110] Data processing flow design:
[0111] 1.1 Data collection design
[0112] Data acquisition is mainly completed by FPGA and ADC. The FPGA driver consists of Fig.11 As shown in the figure below, the FPGA driver is mainly composed of clock configuration, ADC configuration and acquisition, sampled data cache, register configuration, health management, RF UART, inertial navigation UART, health status management, PCIE interface and other units. As shown in the figure below, the data enters the FPGA after being collected by the ADC, and is sent to the CPU through the PCIE interface after passing through the user function and data cache.
[0113] FPGA driver design details
[0114] j) Clock configuration unit: mainly configures the clock chip HMC7044 to generate ADC sampling clock, DDR4 reference clock, PCIE reference clock and user clock, etc.
[0115] k) ADC configuration and acquisition unit: mainly configures ADC9689 and completes 5-channel ADC data acquisition and synchronization functions through the 204B interface, and completes the conversion of 240MHz to 300MHz clock, providing synchronized ADC data (300MHz clock domain) and user clock (300MHz, 150MHz, 75MHz) for user programs.
[0116] l) Data cache unit: such as Fig.12 As shown, the intermediate frequency data, spectrum data, PDW, control commands and feedback output by the user function unit are received. There are two modes of intermediate frequency data transmission: DDR cache mode and direct transmission mode. DDR cache mode is mainly for high-speed and large-bandwidth data transmission. To avoid data loss during high-speed and large-bandwidth data transmission and disk writing, the data can be cached to DDR4 first, and then sent to PCIE2 in a ping-pong manner. In direct transmission mode, the data is converted to bit width and written to PCIE2. The spectrum data is directly sent to PCIE1 through the internal cache of the FPGA, and the PDW, control commands and feedback are directly sent to PCIE0 through the internal cache of the FPGA.
[0117] m) PCIE interface unit: PCIE is implemented with Xilinx XDMA IP core, PCIE0 is 4x, used to transmit CPU commands, health status information and PDW data; PCIE1 is 4x, used to transmit spectrum data, PCIE2 is 8x, used to transmit intermediate frequency data. The data interface uses axi-stream bus, and the command interface uses axi-lite bus.
[0118] Table 1 PCIE interface details
[0119]
[0120] n) Register configuration unit: receives the read and write commands of the CPU and reports the status information output by the health status management unit to PCIE0;
[0121] o) Health status management unit: mainly completes the collection of module temperature, input voltage, current, RF module and inertial navigation module online status, ADC working status, clock lock status and other information and reports it to the storage configuration unit.
[0122] p) Inertial navigation UART unit: mainly realizes the serial port driver of the inertial navigation module, receives the inertial navigation data and sends it to the health status management unit.
[0123] q) RF UART unit: mainly realizes the serial port driver of the RF module, sends control commands to the RF module, and receives RF status information to the health status management unit.
[0124] 1.2 Data transmission, storage, and calculation process
[0125] Data transmission and storage process Fig.13 As shown in the figure, the maximum AD sampling rate in the project is 2.4Gsps, and the effective number of bits of collected data is 16bit, so the AD collection and storage speed of one channel needs to reach 4.8GB / s. There are two ways to transmit intermediate frequency data, which are direct transmission mode and DDR cache mode, which are set by the user program.
[0126] When AD is sampled at 600Msps or below, the direct transmission mode is used, the effective number of bits of collected data is 32 bits, and the actual data generated is less than 2.4GB / s. AD data is transmitted directly through PCIE2 along the R1 path and then reaches the CPU.
[0127] When AD works at 2.4Gsps sampling, DDR cache mode is used. As shown in the figure below, FPGA writes data to DDR through R2 path first, and ping-pong cache is used in DDR. When a cache is full, it is transmitted to CPU through PCIE2. The only difference between the two modes is that the cache mode adds a large DDR cache before PCIE transmission to prevent data loss due to insufficient transmission.
[0128] Spectrum data, PDW data and control commands can be transmitted in real time through PCIE, so spectrum data is transmitted to CPU through PCIE1, and PDW data and control commands are directly transmitted to CPU through PCIE0. The driver interface provided can receive and send different data types by setting the channel number.
[0129] To further improve performance and throughput, some task threads are bound to fixed CPU cores. Use the GetCurrentThread function to get the handle of the current thread; and use the SetThreadAffinityMask function to bind the thread to the specified CPU core. Due to the large amount of PCIE2 data, core1 in the CPU is reserved to handle PCIE2 data transmission.
[0130] Since the theoretical speed of SSD storage is 3.2GB / s, considering certain resource overhead loss, the collected high-speed data cannot be guaranteed to be stored in real time. Therefore, a separate thread is established to handle SSD write operations. 6GB of memory space will be reserved in the CPU driver as cache. After the PCIE data is received, it will be written to the cache through the driver. When the cache is full, the storage thread will be notified to start storage. When the cache space is insufficient, the old data will be discarded and overwritten with new data.
[0131] Data calculation is mainly completed in the CPU. The CPU can directly read data from the DDR for processing, or read data from the SSD for processing, depending on the usage.
[0132] 1.3 Switching power and health management
[0133] The normal operation of the entire data collection, storage, and calculation process requires the normal operation of the supporting hardware modules. The module operation requires correct power on and off and health management. The above functions are completed by the MCU. The functions of the MCU are as follows Fig.14 shown.
[0134] MCU Functional Block Diagram
[0135] MCU mainly implements the following functions:
[0136] Temperature detection
[0137] MCU reads the temperature sensor data through I2C, converts it into temperature data, and transmits it to CPU through the serial port.
[0138] Parameter storage
[0139] The MCU stores the data that needs to be stored when power is off in the EEPROM via I2C.
[0140] Voltage detection
[0141] The MCU uses the chip's built-in AD to complete power supply voltage detection.
[0142] Indicator Lights
[0143] The MCU switches the indicator light on or off via IO according to the CPU switch status.
[0144] Self-check status report
[0145] MCU collects the status of each unit and transmits it to CPU through the serial port.
[0146] FPGA Loading
[0147] The MCU receives CPU instructions and switches the status of the pins connected to the BPI FLASH according to the instructions.
[0148] FPGA / CPU reset
[0149] The MCU receives CPU instructions and switches the reset pin state according to the instructions.
[0150] Fan enable
[0151] The MCU turns the fan on and off according to the set temperature value.
[0152] CPU / FPGA power signal
[0153] The MCU turns on the CPU or FPGA power according to the timing or instructions.
[0154] CPU Watchdog
[0155] The CPU needs to send messages to the MCU through the serial port regularly. After receiving the message, the MCU feeds the dog. If the CPU message is not received regularly, it is considered that the CPU is working abnormally, and the MCU sends a command to restart the CPU.
[0156] This application has the following features:
[0157] Please describe the benefits in a logical order, first describing the overall benefits, then describing the benefits of the individual components.
[0158] a) Complete 5-channel data acquisition, sampling rate 2.4Gsps. The sampling data center frequency is 1.8GHz, bandwidth 1Ghz;
[0159] b) Equipped with 1 Gigabit Ethernet interface to transmit processed data; TCP effective bandwidth is not less than 60MB / s;
[0160] c) The module processor uses a chip with performance no less than XCVU9P-2FLGA2104I as the interface control unit and a chip with performance no less than i7-6822EQ as the data processing unit;
[0161] d) The CPU has 32GB of memory and a memory read and write rate of 4.8GB / s;
[0162] e) Two solid-state hard disks are mounted on the CPU for data storage. Hard disk 1 has a capacity of 8T (composed of two hard disks with a capacity of 4T) and is used as a storage module to store FPGA intermediate frequency data. Hard disk 2 has a capacity of 1T and is used to store programs and temporary data.
[0163] f) Hard disk 1 has a minimum continuous acquisition time of 500ms for FPGA intermediate frequency data at 2.4Gsps sampling and 20 minutes at 600Msps sampling; the real-time read and write rate of CPU to hard disk 1 is not less than 1.2GB / s;
[0164] g) The CPU locks part of the memory and one thread to complete the storage function of the intermediate frequency data;
[0165] h) There is one set of PCIE3.0, 8X, with a transmission rate of no less than 5GB / s and two sets of PCIE3.0, 4X, with a transmission rate of no less than 3GB / s between FPGA and CPU. One set of 8X is used to transmit intermediate frequency data, and two sets of 4X are used to transmit PDW, spectrum and control commands;
[0166] i) The first group of PCIE provides one transceiver function interface at both ends of the FPGA and the CPU. The second group of PCIE provides three transceiver function interfaces at both ends of the FPGA and the CPU. The three interfaces can work simultaneously without affecting each other;
[0167] j) 5-channel AD has phase synchronization function;
[0168] k) FPGA external DDR4, capacity not less than 4GB, read and write speed not less than 4.8GB / s;
[0169] l) MCU has the ability to report the status of the signal processing unit temperature, input voltage, current and key voltage information.
[0170] As described above, the present invention can be preferably implemented.
[0171] All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and / or steps, can be combined and / or expanded or replaced in any manner.
[0172] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.
Claims
1. A data processing system, characterized in that: It includes an ADC, an FPGA, and a CPU which are electrically connected in sequence, and the FPGA and the CPU are both electrically connected to a DDR.
2. A data processing system according to claim 1, characterized in that: The CPU is electrically connected to the network port and SSD.
3. A data processing system according to claim 2, characterized in that: The ADC is used to collect signals and transmit them to the FPGA; the FPGA is used to receive signals transmitted by the ADC and transmit the data to the DDR cache; the CPU is used to read data from the FPGA's DDR to the CPU's DDR.
4. A data processing system according to claim 3, characterized in that: The CPU is used to read data from the FPGA's DDR to the CPU's DDR through DMA.
5. A data processing system according to claim 4, characterized in that: The CPU is used to: read the data in the DDR memory of the FPGA and output it through the network port after calculation; transfer the data in the DDR memory of the FPGA to the SSD of the CPU.
6. A data processing system according to any one of claims 2 to 5, characterized in that: Also included is an MCU electrically connected to the FPGA.
7. A data processing method, characterized in that: A data processing system as described in any one of claims 2 to 6 is used to collect, store or calculate data.
8. A data processing method according to claim 7, characterized in that: When collecting data, the direct transmission mode is adopted: the data is directly transmitted to the CPU; or the DDR cache mode is adopted: the FPGA transmits the data to the DDR, and after the DDR cache is full, it is transmitted to the CPU.
9. A data processing method according to claim 7, characterized in that: When storing data, the CPU establishes a separate thread to transfer data to the CPU's SSD, and reserves memory space in the CPU driver as a cache.
10. A data processing method according to claim 7, characterized in that: When performing data calculation, the CPU reads data in the DDR of the CPU for calculation, or reads data in the SSD of the CPU for calculation.
