FT601Q-based ultra-high-speed multi-mode intelligent storage system
By using the intelligent data storage technology of FPGA main control, RS-422 interface and optocoupler command analysis module in the storage system, combined with power-off recovery and multi-mode communication, the existing storage system solves the problem of slow data transmission rate and dependence on the host computer. problem, achieving efficient data transmission and storage, and meeting high-speed, reliable, and intelligent storage requirements.
Patent Information
- Application Number
- CN202410783348.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-10
AI Technical Summary
The data transmission rate of the existing storage system is slow, the transmission mode is single, and the storage operation relies too much on the host computer, which cannot meet the needs of high-speed data processing.
Design an ultra-high-speed multi-mode intelligent storage system based on FT601Q, using FPGA logic control module, data acquisition module, FLASH storage module, Gigabit Ethernet interface, USB3.0 interface, optical command analysis module, PCM decoding module, RS422 interface , through FPGA The main control and RS-422 interface receive PCM data stream, and the optocoupler command analysis module performs intelligent data storage, and adds power-off recovery technology to determine the power-off position by detecting and interpreting the 'FF' position to ensure that the data is not accidentally overwritten. Use USB3.0 interface or Gigabit Ethernet to transmit data at high speed.
The data transfer rate reaches 370MB/s, the storage data reading speed is greatly improved, and there is no data loss, which meets the needs of fast transfer rate, high reliability and intelligent storage design of the storage system.
Smart Images

Figure CN118626014A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of storage systems, and in particular relates to an ultra-high-speed multi-mode intelligent storage system based on FT601Q. Background Art
[0002] Data acquisition, transmission and storage systems are an important part of the military and aerospace industries. They meet the storage and transmission of high-definition video images, ejection flight data, radar monitoring data, and aircraft flight data, and are of great overall planning and strategic significance for analyzing and upgrading the status of various equipment and studying images and videos. With the development of the digital industry and the acceleration of a new round of scientific and technological revolution, various important data have increased dramatically, requiring storage systems to continuously improve their performance and meet the ever-increasing important parameter indicators. In this situation, traditional storage systems can no longer adapt to today's complex and special application scenarios. Faster, smarter, more stable, and more reliable performance is an inevitable trend in the development of data acquisition, transmission, and storage.
[0003] In recent years, with the research and development of high-speed serial communication technology, my country's data acquisition and storage technology has been significantly improved in the direction of high speed. Starting from the 1.25Gbps Ethernet receiver design proposed by Fudan University, faster transmission technology is being continuously applied to the storage system transmission method. Liu Hehua et al. proposed to use LVDS transmission as the data transmission interface between the editor and the storage device. The bit error rate of this transmission mode is only 0.1% at most, with high integration and high overload resistance; Meng Yuan proposed a new acquisition and storage system based on eMMC storage method, with a maximum speed of 50MB / s and good reliability and scalability; the custom FR_UDP Gigabit Ethernet protocol proposed by Fan Wentao et al. of North University of China realized a high-speed and reliable data transmission system, which can achieve a high-speed data transmission speed of 75MB / s without data loss, and has high reliability and stability; although the data transmission speed of the above system design schemes already belongs to the category of high-speed data transmission, it still cannot meet the current large-scale important data processing needs, and high-speed data transmission solutions still need to be updated. Summary of the invention
[0004] In view of the technical problems that most storage systems currently on the market have slow data transmission rates, single transmission modes, and storage operations are overly dependent on host computers, the present invention provides an ultra-high-speed multi-mode intelligent storage system based on FT601Q.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0006] An ultra-high-speed multi-mode intelligent storage system based on FT601Q comprises an FPGA logic control module, a data acquisition module, a FLASH storage module, a Gigabit Ethernet interface, a USB3.0 interface, an instruction parsing module, an optical instruction parsing module, a PCM decoding module and an RS422 interface. The FPGA logic control module is electrically connected to the data acquisition module, the FLASH storage module, the Gigabit Ethernet interface, the USB3.0 interface, the instruction parsing module, the optical coupler instruction parsing module, the PCM decoding module and the RS422 interface respectively.
[0007] The FPGA logic control module is electrically connected to a ground test bench via a Gigabit Ethernet interface and a USB3.0 interface, and the ground test bench is electrically connected to a host computer.
[0008] The FPGA logic control module is electrically connected to the power management module via the optocoupler instruction parsing module.
[0009] The FPGA logic control module is electrically connected to the PCM signal stream via an RS422 interface.
[0010] The FPGA logic control module adopts Kintex-7 series chip XC7K325T-2FFG996I, the USB3.0 interface adopts FT601 chip, and the FLASH storage module adopts 8GB NAND MT29F64G08AFAAAWP of Micron Technology.
[0011] The optocoupler instruction parsing module adopts the HCPL-2631 eight-pin DIP dual-channel high-speed 10Mb / s logic gate output optocoupler.
[0012] A storage method of an ultra-high-speed multi-mode intelligent storage system based on FT601Q, comprising the following steps:
[0013] S1. Use USB3.0 communication to read memory data;
[0014] S2, find the last address where the data was stored during the last power outage and determine the number of power outages;
[0015] S3. Determine the online status of the data storage.
[0016] The method for reading memory data using USB3.0 communication in S1 is: reading data signals, sending data signals and common signals; wherein the read signals include receive buffer full RXF_N, output enable OE_N and read enable RD_N; the send signals include send buffer empty TXE_N and write enable WR_N; the common signals include clock CLK, byte valid signal BE[3:0], data signal DATA[31:0];
[0017] In the initial state, the control signals between FT601 and FPGA are both high level. When the FT601Q chip receives the read instruction from the host computer, it changes RXF_N from high level to low level. After receiving the signal, the FPGA changes the OE_N signal from high level to low level. After one clock, it changes the RD_N signal from high level to low level. At this time, the FPGA can read data through the DATA parallel data line and judge the valid data bit according to the BE signal. When receiving the stop reading instruction from the host computer, the FT601Q chip RXF_N changes from low level to high level, and the FPGA receives the signal. After receiving this signal, OE_N and RD_N are pulled high at the same time to end the reading process; when the FT601Q chip receives the write command from the host computer, it changes the TXE_N signal from high level to low level, and after receiving the signal, the FPGA changes the WR_N signal from high level to low level. At this time, the FPGA can receive data through the DATA parallel data line and the BE signal; when receiving the stop writing instruction sent by the host computer, the FT601Q chip changes TXE_N from low level to high level, and after receiving the signal, the FPGA changes the WR_N signal from low level to high level, and the data writing process ends.
[0018] The method for finding the last address of data stored at the last power failure in S2 and determining the number of power failures is:
[0019] According to the characteristics that the initial data of all bits of the storage chip is 1, and after erasing the internal data of the chip, each bit is also 1 and the probability that the stored data is all 1 is basically zero, the main control FPGA detects the position of the large FF block to determine the write position when the power is off, and the main control FPGA counts the FFs of the first three bytes of other blocks except the bad blocks. If the counter is 3, then the position at this time is the position of the data at the last power failure, and the power failure continuation counter is increased by 1; if it is not equal to 3, the block address is increased by 1, and the reading is continued until the count of a block is 3, and the data write operation is started; when the storage system is powered on again during the writing process, the above steps are repeated.
[0020] The method for determining the online status of the data storage in S3 is:
[0021] When the ground test bench is connected to the storage system, ZX+ is connected to the external 5V voltage to form an optocoupler conduction loop with ZX-, and the optocoupler outputs a high-level signal. At the same time, in order to ensure the reliability of the storage module, an additional spare external interface input is added during circuit design to prevent the ZX+ and ZX- interfaces from failing and causing inability to work normally. After that, the FPGA scans the signal and determines that the storage system is in online mode. At this time, the host computer sends a monitoring instruction to the ground test bench, and the storage system feeds back the real-time status to the ground test bench and performs different operations according to the recording instructions, erasing instructions, and reading instructions issued by the test bench. When the ground test bench and the storage system storage are not connected, the optocoupler circuit is not turned on, the FPGA does not scan the signal and determines that the storage system is in offline mode. At this time, wait for 180s, and the storage system automatically reads the external PCM signal and stores the data in FLASH through the RS422 interface.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] The present invention adopts FPGA master control, RS-422 interface to receive PCM data code stream, optocoupler instruction parsing module to perform intelligent data storage operation, and on this basis, adds power-off storage technology, determines the power-off position by detecting and reading the "FF" position, ensures that the original data is not overwritten by accidental power failure, and finally transmits the data to the host computer for display at high speed through USB3.0 interface or Gigabit Ethernet. The transmission rate of the present invention can reach 370MB / s, the storage data reading speed is greatly improved, and there is no data loss phenomenon, which meets the storage system transmission rate, high reliability, and intelligent storage design requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0025] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.
[0026] Figure 1 It is a structural block diagram of the present invention;
[0027] Figure 2 This is the USB 3.0 interface schematic diagram of the present invention;
[0028] Figure 3 The synchronous FIFO mode read timing diagram of the present invention;
[0029] Figure 4 Write a timing diagram for the synchronous FIFO mode of the present invention;
[0030] Figure 5 This is a power-off storage flow chart of the present invention;
[0031] Figure 6 The optocoupler instruction parsing circuit diagram of the present invention;
[0032] Figure 7 This is a data graph read back according to the present invention.
[0033] Among them: 1 is FPGA logic control module, 2 is data acquisition module, 3 is FLASH storage module, 4 is Gigabit Ethernet interface, 5 is USB3.0 interface, 6 is instruction parsing module, 7 is optical instruction parsing module, 8 is PCM decoding module, 9 is RS422 interface, 10 is ground test bench, 11 is host computer, and 12 is power management module. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. These descriptions are only to further illustrate the features and advantages of the present invention, rather than to limit the claims of the present invention. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0035] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0036] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0037] In this embodiment, if Figure 1As shown, the FPGA logic control module 1 uses the Kintex-7 series chip XC7K325T-2FFG996I of Xilinx, and the USB3.0 interface uses the FT601 chip for data transmission between the PCM signal stream and the ground test bench 10. The communication method mainly uses the Gigabit Ethernet interface 4 and the USB3.0 interface 5 multi-mode communication. The PCM signal stream data transmission end uses the RS422 interface 9. The data between the ground test bench 10 and the data storage system is mainly transmitted at high speed through Gigabit Ethernet or USB3.0. The FLASH storage module 3 uses the 8GB NAND MT29F64G08AFAAAWP of Micron. The main control FPGA controls the FIASH chip to realize the management of the read, write, erase and power-off storage of the FLASH chip, thereby ensuring the complete recording of the stored data. The instruction parsing module 6 performs different operations on the multi-mode intelligent storage system according to the recording instructions, erase instructions, and reading instructions issued by the ground test bench, and can also judge the connection status of the data storage module according to the scan. The optocoupler instruction parsing module 7 can read the standard PCM code stream generated by the measurement system without the ground test bench issuing instructions.
[0038] After the storage system is powered on, the standard PCM code stream generated by the external system transmits the data to the storage system through the RS422 interface, and then passes through the internal acquisition and editing module and PCM decoding module 8 controlled by the FPGA, and waits for the FPGA to write it into the FLASH. At the same time, the main control FPGA feeds back the working status information to the acquisition and editing unit through the Gigabit Ethernet interface 4, and monitors the working status information of the data storage system in real time. Finally, after waiting for the external data to be stored, the storage system and the ground test bench recover the data through the USB3.0 interface 5 or the Gigabit Ethernet interface 4 and upload it to the host computer 11 for data splitting.
[0039] This embodiment uses the FT601Q chip to implement USB3.0 communication. Compared with other USB3.0 chips, this chip has a built-in FIFO. The chip can be set to 245 synchronous FIFO mode or multi-channel FIFO mode by setting GPIO1 and GPIO2. According to the manual, the 245 synchronous FIFO mode has a higher transmission speed, so this embodiment uses this mode for communication. In this mode, the internal clock of FT601Q is set to 100MHz.
[0040] like Figure 2As shown, USB3.0 interface 5 is compatible with USB2.0, with a theoretical transmission speed of up to 5Gbps (600MB / S), and an actual transmission speed of up to 400MB / S. Compared with the maximum power supply current of USB2.0 of 500mA, USB3.0 reaches 900mA, providing greater driving capability. The USB3.0 bus retains the USB2.0 signal lines D+, D-, VBUS and GND, and adds two teams of ultra-high-speed differential signal lines: SSTX+&SSTX-, SSRX+&SSRX-. The former is used to send signals, and the latter is used to receive signals, realizing full-duplex transmission.
[0041] The signal lines for FT601Q to interact with FPGA are: read data signal, send data signal and common signal. The read signal includes receive buffer full RXF_N, output enable OE_N and read enable RD_N; the send signal includes send buffer empty TXE_N and write enable WR_N; the common signal includes clock CLK, byte valid signal BE[3:0], data signal DATA[31:0], such as Figure 3 The synchronous FIFO mode read timing diagram can be seen as shown.
[0042] like Figure 4 As shown, in the initial state, the control signals between FT601 and FPGA are all high level. When the FT601Q chip receives the read instruction from the host computer 11, it changes RXF_N from high level to low level. After receiving the signal, the FPGA changes the OE_N signal from high level to low level. After one clock, the RD_N signal changes from high level to low level. At this time, the FPGA can read data through the DATA parallel data line and judge the valid data bit according to the BE signal. After receiving the stop reading instruction sent by the host computer, the FT601Q chip RXF_N changes from low level to high level. After receiving the signal, the FPGA pulls OE_N and RD_N high at the same time to end the reading process. When the FT601Q chip receives the write command from the host computer, it changes the TXE_N signal from high level to low level. After receiving the signal, the FPGA changes the WR_N signal from high level to low level. At this time, the FPGA can receive data through the DATA parallel data line and the BE signal. After receiving the stop writing instruction from the host computer, the FT601Q chip changes TXE_N from low level to high level. After receiving the signal, the FPGA changes the WR_N signal from low level to high level, and the data writing process ends. It can be seen that during the data reading or sending process, the related control signal of another state has always maintained a high level state.
[0043] like Figure 5As shown, the key to the power-off scalability technology is to find the last address of data storage during the last power-off and determine the number of power-offs. However, each time the memory executes an erase command, the valid data and the number of power-offs will be reset to zero. Therefore, the initial data of all bits of the memory chip is 1, and the probability that each bit is also 1 after erasing the internal data of the chip and the stored data are all 1 is basically zero. The main control FPGA detects the position of the large segment of "FF" blocks to determine the writing position during the power-off. However, in order to avoid the situation where the BLOCK block to which the data is written cannot be fully programmed during the power-off to generate a segment of "FF" data, resulting in misjudgment or misjudgment, the main control FPGA will count the "FF" of the first three bytes of other blocks except the bad block. If the counter is 3, then the position at this time is the position of the data at the last power-off, and the power-off scalability counter is increased by 1; if it is not equal to 3, the block address is increased by 1, and the judgment is continued until a block count is 3, and the data write operation is started. When the storage system is powered on again during the writing process, the above steps are repeated.
[0044] like Figure 6 As shown, the key to the photocoupler instruction parsing storage technology is to determine the online state of the data storage. When the ground test bench is connected to the storage system, ZX+ is connected to the external 5V voltage, and forms an optocoupler conduction loop with ZX-, and the optocoupler outputs a high-level signal. At the same time, in order to ensure the reliability of the storage module, a spare external interface input is added during the circuit design to prevent the ZX+ and ZX- interfaces from failing and failing to work normally. After that, the FPGA scans the signal and determines that the storage system is in online mode. At this time, the host computer sends a monitoring instruction to the ground test bench 10, and the storage system feeds back the real-time state to the ground test bench and performs different operations according to the recording instruction, erase instruction, and reading instruction issued by the test bench; when the ground test bench 10 and the storage system storage are in an unconnected state, the optocoupler loop is not turned on, the FPGA does not scan the signal and determines that the storage system is in offline mode. At this time, wait for 180s, and the storage system automatically reads the external PCM signal and stores the data in the FLASH storage module 3 through the RS422 interface 9.
[0045] The storage system is set to online or offline mode to receive the upstream PCM incremental frame count through the RS422 interface, record for a period of time, and then turn off the power and re-power on to record. After waiting for the data to be received, the host computer sends a receiving instruction, and the storage system transmits the data to the host computer and reads back the data through the USB3.0 interface. The USB3.0 readback speed is 370MB / s, which meets the ultra-high-speed digital design of the system. Figure 7As shown in the figure, this experimental test was powered on three times in a row, and the data was split into three files for analysis. The data was split into different data packets according to the number of power outages in the data. By judging the frame tail "EB90" and the frame count, the power-off survival function can be realized according to the data splitting results. The experimental results show that this single-machine test has achieved ultra-high-speed data storage, which can complete the real-time monitoring of the working status information of the storage system, and also meet the needs of real-time data storage.
[0046] Only the preferred embodiments of the present invention are described in detail above, but the present invention is not limited to the above embodiments. Various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention, and various changes should be included in the protection scope of the present invention.
Claims
1. An ultra-high-speed multi-mode intelligent storage system based on FT601Q, Features: The invention comprises an FPGA logic control module (1), a data acquisition module (2), a FLASH storage module (3), a Gigabit Ethernet interface (4), a USB3.0 interface (5), an instruction parsing module (6), an optical instruction parsing module (7), a PCM decoding module (8), and an RS422 interface (9); the FPGA logic control module (1) is electrically connected to the data acquisition module (2), the FLASH storage module (3), the Gigabit Ethernet interface (4), the USB3.0 interface (5), the instruction parsing module (6), the optical coupler instruction parsing module (7), the PCM decoding module (8), and the RS422 interface (9) respectively.
2. According to claim 1, an ultra-high-speed multi-mode intelligent storage system based on FT601Q, Features: The FPGA logic control module (1) is electrically connected to a ground test bench (10) via a Gigabit Ethernet interface (4) and a USB3.0 interface (5), respectively, and the ground test bench (10) is electrically connected to a host computer (11).
3. According to claim 1, an ultra-high-speed multi-mode intelligent storage system based on FT601Q, Features: The FPGA logic control module (1) is electrically connected to a power management module (12) via an optical coupling instruction parsing module (7).
4. The ultra-high-speed multi-mode intelligent storage system based on FT601Q according to claim 1, Features: The FPGA logic control module (1) is electrically connected to the PCM signal stream via an RS422 interface (9).
5. The ultra-high-speed multi-mode intelligent storage system based on FT601Q according to claim 1, Features: The FPGA logic control module (1) adopts the Kintex-7 series chip XC7K325T-2FFG996I, the USB3.0 interface (5) adopts the FT601 chip, and the FLASH storage module (3) adopts the 8GB NANDMT29F64G08AFAAAWP of Micron Technology.
6. The ultra-high-speed multi-mode intelligent storage system based on FT601Q according to claim 1, Features: The optical coupler instruction parsing module (7) adopts a HCPL-2631 eight-pin DIP dual-channel high-speed 10Mb / s logic gate output optical coupler.
7. A storage method for an ultra-high-speed multi-mode intelligent storage system based on FT601Q according to any one of claims 1 to 6, It is characterized in that The following steps are involved: S1. Use USB3.0 communication to read memory data; S2, find the last address where the data was stored during the last power outage and determine the number of power outages; S3. Determine the online status of the data storage.
8. The storage method of the ultra-high-speed multi-mode intelligent storage system based on FT601Q according to claim 7, Features: The method for reading memory data using USB3.0 communication in S1 is: reading data signals, sending data signals and common signals; wherein the read signals include receive buffer full RXF_N, output enable OE_N and read enable RD_N; the send signals include send buffer empty TXE_N and write enable WR_N; the common signals include clock CLK, byte valid signal BE[3:0], data signal DATA[31:0]; In the initial state, the control signals between FT601 and FPGA are both high level. When the FT601Q chip receives the read instruction from the host computer, it changes RXF_N from high level to low level. After receiving the signal, the FPGA changes the OE_N signal from high level to low level. After one clock, it changes the RD_N signal from high level to low level. At this time, the FPGA can read data through the DATA parallel data line and judge the valid data bit according to the BE signal. When receiving the stop reading instruction from the host computer, the FT601Q chip RXF_N changes from low level to high level, and the FPGA receives the signal. After receiving this signal, OE_N and RD_N are pulled high at the same time to end the reading process; when the FT601Q chip receives the write command from the host computer, it changes the TXE_N signal from high level to low level, and after receiving the signal, the FPGA changes the WR_N signal from high level to low level. At this time, the FPGA can receive data through the DATA parallel data line and the BE signal; when receiving the stop writing instruction sent by the host computer, the FT601Q chip changes TXE_N from low level to high level, and after receiving the signal, the FPGA changes the WR_N signal from low level to high level, and the data writing process ends.
9. The storage method of the ultra-high-speed multi-mode intelligent storage system based on FT601Q according to claim 7, Features: The method for finding the last address of data stored at the last power failure in S2 and determining the number of power failures is: According to the characteristics that the initial data of all bits of the storage chip is 1, and after erasing the internal data of the chip, each bit is also 1 and the probability that the stored data is all 1 is basically zero, the main control FPGA detects the position of the large FF block to determine the write position when the power is off, and the main control FPGA counts the FFs of the first three bytes of other blocks except the bad blocks. If the counter is 3, then the position at this time is the position of the data at the last power failure, and the power failure continuation counter is increased by 1; if it is not equal to 3, the block address is increased by 1, and the reading is continued until the count of a block is 3, and the data write operation is started; when the storage system is powered on again during the writing process, the above steps are repeated.
10. The storage method of the ultra-high-speed multi-mode intelligent storage system based on FT601Q according to claim 7, Features: The method for determining the online status of the data storage in S3 is: When the ground test bench is connected to the storage system, ZX+ is connected to the external 5V voltage to form an optocoupler conduction loop with ZX-, and the optocoupler outputs a high-level signal. At the same time, in order to ensure the reliability of the storage module, an additional spare external interface input is added during circuit design to prevent the ZX+ and ZX- interfaces from failing and causing inability to work normally. After that, the FPGA scans the signal and determines that the storage system is in online mode. At this time, the host computer sends a monitoring instruction to the ground test bench, and the storage system feeds back the real-time status to the ground test bench and performs different operations according to the recording instructions, erasing instructions, and reading instructions issued by the test bench. When the ground test bench and the storage system storage are not connected, the optocoupler circuit is not turned on, the FPGA does not scan the signal and determines that the storage system is in offline mode. At this time, wait for 180s, and the storage system automatically reads the external PCM signal and stores the data in FLASH through the RS422 interface.
