Data acquisition system applied to double-laser flow cytometer

By using communication bridge module and data control module in the flow cytometer, SRAM and DDR3 are used to store data, the problem of clock frequency and noise interference in data transmission is solved, data reliability and communication rate are improved, and high efficiency is achieved data processing and analysis performance.

CN119023543APending Publication Date: 2024-11-26NANJING ZHIYI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411081970.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The data acquisition system of the flow cytometer is susceptible to clock frequency, noise and bus interference during transmission, resulting in low data reliability and communication rate, and traditional communication methods cannot meet the needs of high-speed data processing.

Method used

The communication bridge module is used to connect STM32 to SRAM through the FSMC interface. The FPGA integrates and updates the data information in DDR3SDRAM, and uses the data control module to perform data filtering and effective data extraction, improving the reliability and efficiency of data transmission.

Benefits of technology

It improves data reliability and communication rate, realizes communication of large data volumes, and through high-speed processing and filtering processing of FPGA, the statistical and analysis performance of the equipment is improved, and the time for analysis of the host computer software is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119023543A_ABST
    Figure CN119023543A_ABST
Patent Text Reader

Abstract

The invention discloses a data acquisition system applied to a double-laser flow cytometer, and particularly relates to a double-laser flow cytometer, which comprises a communication bridging module used for enabling an STM32 to complete data communication and then sending the data communication to an upper computer through an Ethernet interface; the data transmission module is used for creating a local address and setting a control register address interval and a data register address interval; and after the STM32 receives a data acquisition starting signal of the upper computer, the data control module updates a data acquisition control parameter into a local address so as to schedule each execution thread. According to the data acquisition system applied to the double-laser flow cytometer, data communication between the FPGA and the STM32 is carried out in an FSMC mode, the FSMC supports multiple static memory types and rich storage operation methods, codes can directly run in an external expansion memory, the data transmission rate is high, and the requirement of high-performance application is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a dual-laser flow cytometer, and in particular to a data acquisition system applied to the dual-laser flow cytometer. Background Art

[0002] The data acquisition system of a flow cytometer is generally composed of two core components: STM32 and FPGA. As an ARM-Crotex 32-bit microprocessor, STM32 has the advantages of low power consumption, low-voltage operation, high integration, and high development efficiency, but its essence is still a single-chip microcomputer and cannot truly achieve program parallelism. As a programmable logic gate array, FPGA can perform parallel operations and is suitable for high-speed data processing and parallel computing.

[0003] The performance of the flow cytometer data acquisition system depends on the accuracy and efficiency of the digital signal during transmission. The sampling rate of the flow cytometer can reach 10,000 to 50,000 events per second. Generally, FPGA is responsible for data collection and STM32 is responsible for data upload, which places high requirements on the conversion rate of the sampled data during transmission.

[0004] In addition, the communication methods between STM32 and FPGA generally include ordinary serial port and SPI, among which:

[0005] The ordinary serial communication wiring method is simple, but it is greatly affected by the clock frequency, which may cause data mismatch and fail to transmit large amounts of data;

[0006] SPI communication is similar to serial communication in that it has fewer signal lines and a relatively high data rate, but has no specified flow control and lacks a response mechanism. It has certain defects in data reliability and is susceptible to bus interference, including power supply noise fluctuation interference, common ground noise fluctuation interference of various devices, and poor contact. Summary of the invention

[0007] The purpose of the present invention is to provide a data acquisition system for a dual laser flow cytometer.

[0008] In order to achieve the above object, the present invention provides the following technical solution: a data acquisition system applied to a dual-laser flow cytometer, comprising:

[0009] Communication bridge module, which is used to send data from STM32 to the host computer via Ethernet interface after completing data communication;

[0010] A data transmission module, which creates a local address and sets a control register address range and a data register address range;

[0011] The data control module, after receiving the data acquisition start signal from the host computer, updates the data acquisition control parameters into the local address to schedule each execution thread.

[0012] Preferably, the communication bridging module includes connecting STM32 with static random access memory SRAM through FSMC interface;

[0013] The static random access memory SRAM is divided into static random access memory SRAM and static random access memory DDR3SDRAM, and both are connected with FPGA.

[0014] Preferably, the FPGA integrates all data information stimulated by the two lasers on a time axis according to delay trigger parameters, packages the data and updates it in a static random access memory DDR3SDRAM.

[0015] Preferably, the FPGA pushes fixed-length digital data from the static random access memory DDR3SDRAM in sequence and updates it into the static random access memory SRAM data address space, and the host computer reads the updated digital data in the static random access memory SRAM through STM32 and performs statistical analysis.

[0016] Preferably, the control register address interval and the data register address interval are created in a static random access memory SRAM.

[0017] Preferably, the scheduling of each execution thread at least includes a sampling threshold, a dual laser delay trigger period and an ADC conversion period.

[0018] Preferably, the data control module, when executing the sampling threshold thread, includes:

[0019] S01, FPGA reads the value in the data acquisition control register in the SRAM control register to enable the data acquisition analog-to-digital conversion circuit;

[0020] S02a, for the threshold of the selected channel, only convert and retain the part exceeding the threshold;

[0021] S02b, the part below the threshold is replaced by invalid data 0 to divide the valid data fragments, and the data channel excited by the same laser only retains the data information corresponding to the threshold setting channel at the time.

[0022] Preferably, the data control module executes the dual laser delayed trigger cycle thread, including delaying the conversion and saving the data channel acquisition data information excited by the second laser according to the value set for the dual laser delayed trigger cycle in the SRAM data acquisition control register.

[0023] In the above technical solution, the data acquisition system applied to the dual laser flow cytometer provided by the present invention has the following beneficial effects:

[0024] 1. Solve the problems of clock frequency, noise, bus interference and ground interference, and improve data reliability and communication rate.

[0025] 2. Compared with the traditional FSMC communication method, the use of SRAM and DDR3 to store data can achieve communication of large amounts of data.

[0026] 3. Taking advantage of the characteristics of FPGA's high-speed processing and data calculation, ADC data acquisition is filtered to eliminate invalid data, improve the efficiency of uploading valid data, and enhance the performance of equipment statistics and analysis.

[0027] 4. By utilizing stable laminar flow and sample speed control and controlling the delay trigger cycle of analog-to-digital conversion, the data of each dimension can be matched with the same event at the time of data collection, thus reducing the time for subsequent data statistics and analysis by the host computer software. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0029] Figure 1 A flowchart provided for an embodiment of the present invention;

[0030] Figure 2 A schematic diagram of dual laser signal acquisition provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] Embodiment 1

[0033] like Figure 1 As shown, a data acquisition system applied to a dual-laser flow cytometer comprises:

[0034] Communication bridge module, which is used to send data from STM32 to the host computer via Ethernet interface after completing data communication;

[0035] A data transmission module, which creates a local address and sets a control register address range and a data register address range;

[0036] In the data control module, after STM32 receives the data acquisition start signal from the host computer, it updates the data acquisition control parameters into the local address to schedule each execution thread.

[0037] Preferably, the communication bridge module includes connecting the STM32 with the static random access memory SRAM through the FSMC interface;

[0038] The static random access memory SRAM is divided into static random access memory SRAM and static random access memory DDR3SDRAM, and both are connected to FPGA.

[0039] Furthermore, the FPGA integrates all the data information stimulated by the two lasers on the time axis according to the delay trigger parameters, packages the data and updates it in the static random access memory DDR3SDRAM.

[0040] Furthermore, the FPGA pushes the fixed-length digital data from the static random access memory DDR3SDRAM in sequence and updates it into the static random access memory SRAM data address space. The host computer reads the updated digital data in the static random access memory SRAM through STM32 and performs statistical analysis.

[0041] Secondly, the control register address range and the data register address range are created in the static random access memory SRAM.

[0042] Preferably, scheduling each execution thread at least includes a sampling threshold, a dual laser delay trigger period and an ADC conversion period.

[0043] Furthermore, the data control module executes the sampling threshold thread, including:

[0044] S01, FPGA reads the value in the data acquisition control register in the SRAM control register to enable the data acquisition analog-to-digital conversion circuit;

[0045] S02a, for the threshold of the selected channel, only convert and retain the part exceeding the threshold;

[0046] S02b, the part below the threshold is replaced by invalid data 0 to divide the valid data fragments, and the data channel excited by the same laser only retains the data information corresponding to the threshold setting channel at the time.

[0047] The data control module executes the dual laser delay trigger cycle thread, including delaying the conversion and saving the data channel acquisition data information excited by the second laser according to the value set for the dual laser delay trigger cycle in the SRAM data acquisition control register.

[0048] Embodiment 2

[0049] Combination Figure 2 It can be seen that the data acquisition process of the dual laser flow cytometer includes:

[0050] S01 and STM32 are connected to static random access memory SRAM through FSMC interface;

[0051] S02, FPGA connects static random access memory SRAM and static random access memory DDR3SDRAM;

[0052] S03, static random access memory SRAM memory address allocation, setting control register address range, data register address range;

[0053] S04, STM32 each thread starts, waiting for the host computer to send execution instructions;

[0054] S05, after receiving the execution instruction from the host computer through the Ethernet interface, STM32 schedules each execution thread;

[0055] S06, such as Figure 1 As shown, after STM32 receives the data acquisition start signal from the host computer, it updates the data acquisition control parameters into the corresponding address of the SRAM control register (such as sampling threshold, dual laser delay trigger cycle, ADC conversion cycle, etc.);

[0056] S07, FPGA reads the value in the data acquisition control register in the SRAM control register, enables the data acquisition analog-to-digital conversion circuit, and converts and retains only the part exceeding the threshold value according to the set threshold value of the selected channel, and replaces the part below the threshold value with invalid data 0 to divide the valid data fragments. The data channel excited by the same laser only retains the data information corresponding to the threshold setting channel at the time;

[0057] S08. In the dual laser system, the data channel excited by the second laser delays conversion and saves its collected data information according to the value set by the dual laser delay trigger period in the SRAM data acquisition control register;

[0058] S09, FPGA integrates all the data information stimulated by the two lasers on the time axis according to the delay trigger parameters, packages the data and updates it in DDR3 SDRAM;

[0059] S10 and FPGA push fixed-length digital data from DDR3 SDRAM in turn and update them into the SRAM data address space. The host computer reads the updated digital data in SRAM through STM32 and performs statistical analysis.

[0060] In the above technology, the traditional communication methods of STM32 and FPGA, such as serial port and SPI, cannot meet the instrument requirements for high-speed data processing and analysis. The present invention solves the problems of clock frequency, noise, bus interference, and ground interference, and improves data reliability and communication rate. Compared with the traditional FSMC communication method, large data volume communication can be achieved by using SRAM and DDR3 to store data.

[0061] The traditional method of flow cytometer is to package all data and upload them, and then the host computer software will filter and analyze the data. However, the present invention uses the characteristics of FPGA high-speed processing and data calculation to filter the ADC data acquisition, eliminate invalid data, improve the efficiency of valid data uploading, and enhance the performance of equipment statistics and analysis.

[0062] Traditional dual-laser flow cytometers monitor events in each channel, integrate these events on the timeline through complex algorithms, and perform statistics and analysis on the data of each acquisition channel (dimension) of the same cell (event). The present invention utilizes stable laminar flow and sample speed control, and adopts a method of controlling the delay trigger cycle of analog-to-digital conversion to complete the correspondence of each dimension of data with the same event at the time of data acquisition, thereby reducing the time for subsequent upper computer software to perform statistics and analysis on the data.

[0063] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0064] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0065] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0066] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0067] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0068] The embodiments of the present application also provide a specific implementation of an electronic device capable of implementing all steps of the method in the above embodiments, and the electronic device specifically includes the following contents:

[0069] Processor, memory, communications interface and bus;

[0070] Wherein, the processor, memory, and communication interface communicate with each other via the bus;

[0071] The processor is used to call the computer program in the memory, and when the processor executes the computer program, all the steps in the method in the above embodiment are implemented.

[0072] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the method in the above embodiments, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, all the steps of the method in the above embodiments are implemented.

[0073] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Although the embodiment of this specification provides the method operation steps described in the embodiment or flow chart, more or less operation steps can be included based on conventional or non-creative means. The order of steps listed in the embodiment is only one way of executing the order of many steps, and does not represent the only execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiment or the accompanying drawings (for example, a parallel processor or a multi-threaded processing environment, or even a distributed data processing environment). The term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, product or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, product or device. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the embodiments of this specification, the functions of each module can be implemented in the same one or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The present invention is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0074] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment. In the description of this specification, the description of the reference term "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification.

[0075] In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradicting each other. The above is only an embodiment of the embodiment of this specification and is not intended to limit the embodiment of this specification. For those skilled in the art, the embodiment of this specification may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiment of this specification shall be included in the scope of the claims of the embodiment of this specification.

Claims

1. A data acquisition system for a dual laser flow cytometer, characterized in that: include: Communication bridge module, which is used to send data from STM32 to the host computer via Ethernet interface after completing data communication; A data transmission module, which creates a local address and sets a control register address range and a data register address range; The data control module, after receiving the data acquisition start signal from the host computer, updates the data acquisition control parameters into the local address to schedule each execution thread.

2. A data acquisition system for a dual laser flow cytometer according to claim 1, characterized in that: The communication bridge module includes connecting STM32 with static random access memory SRAM through FSMC interface; The static random access memory SRAM is divided into static random access memory SRAM and static random access memory DDR3SDRAM, and both are connected with FPGA.

3. A data acquisition system for a dual laser flow cytometer according to claim 2, characterized in that: The FPGA integrates all data information stimulated by the two lasers on the time axis according to the delay trigger parameter, packages the data and updates it in the static random access memory DDR3SDRAM.

4. A data acquisition system for a dual laser flow cytometer according to claim 1, characterized in that: The FPGA pushes the fixed-length data from the static random access memory DDR3SDRAM in sequence and updates it into the static random access memory SRAM data address space. The host computer reads the updated data in the static random access memory SRAM through STM32 and performs statistical analysis.

5. The data acquisition system for a dual laser flow cytometer according to claim 1, characterized in that: The control register address interval and the data register address interval are created in a static random access memory SRAM.

6. A data acquisition system for a dual laser flow cytometer according to claim 1, characterized in that: Scheduling each of the execution threads at least includes a sampling threshold, a dual laser delay trigger period, and an ADC conversion period.

7. The data acquisition system for a dual laser flow cytometer according to claim 1, characterized in that: The data control module executes the sampling threshold thread, including: S01, FPGA reads the value in the data acquisition control register in the SRAM control register to enable the data acquisition analog-to-digital conversion circuit; S02a, for the threshold of the selected channel, only convert and retain the part exceeding the threshold; S02b, the part below the threshold is replaced by invalid data 0 to divide the valid data fragments, and the data channel excited by the same laser only retains the data information corresponding to the threshold setting channel at the time.

8. The data acquisition system for a dual-laser flow cytometer according to claim 1, characterized in that: The data control module executes the dual laser delay trigger cycle thread, including delaying conversion and saving the data channel acquisition data information excited by the second laser according to the value set by the dual laser delay trigger cycle in the SRAM data acquisition control register.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the data acquisition system applied to a dual-laser flow cytometer according to any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data acquisition system applied to a dual-laser flow cytometer according to any one of claims 1 to 8 are implemented.