Particle position reconstruction system and method thereof, equipment, medium and computer product

By using a general purpose computer to replace FPGA devices in the particle position reconstruction system and building a memory structure to process trigger position data, the problem of insufficient scalability of FPGAs is solved and the data processing efficiency is significantly improved.

CN119885798APending Publication Date: 2025-04-25HEFEI ZHONGKE CAIXIANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411883089.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In traditional particle position reconstruction systems, FPGA devices are not scalable enough, making it difficult to meet the data processing needs of large-scale, multi-device, and multi-channel, which seriously affects data processing efficiency.

Method used

A general computer is used to replace traditional FPGA devices as the data processing core, and connect channel sensors through multiple front-end acquisition devices to respond in real time to the secondary reaction of particles emitted by the radiation source, determine the trigger position data of particles based on the analog voltage signal, and build a memory structure in the horizontal and vertical axis directions to efficiently process the trigger position data.

Benefits of technology

It significantly improves the data processing efficiency of particle position reconstruction, avoids the problem of insufficient scalability of FPGAs, and allows the system to easily cope with large-scale data processing needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119885798A_ABST
    Figure CN119885798A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Ethernet, in particular to a particle position reconstruction system, a particle position reconstruction method, particle position reconstruction equipment, a medium and a computer product, and the system is characterized in that each front-end acquisition equipment is connected with a corresponding channel sensor, and responds to multiple secondary reactions generated by particles emitted by a radioactive source in the corresponding channel sensor; determining triggering position data of the particles according to the analog voltage signals corresponding to the multiple secondary reactions; the general computer is connected with each front-end acquisition device, constructs a horizontal-axis direction memory structure and a longitudinal-axis direction memory structure according to the total sampling channel number of all the front-end acquisition devices, and determines horizontal-axis array elements of particles according to the triggering position data and the horizontal-axis direction memory structure sent by each front-end acquisition device; determining a longitudinal axis array element of the particle according to the trigger position data and the memory structure in the longitudinal axis direction, and determining a reconstruction coordinate position of the particle according to the horizontal axis array element and the longitudinal axis array element, so as to improve the data processing efficiency of particle position reconstruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Ethernet technology, and in particular to a particle position reconstruction system and method, device, medium and computer product thereof. Background Art

[0002] With the continuous development of Ethernet technology, users have put forward higher requirements on the data processing efficiency of particle position reconstruction.

[0003] The traditional particle position reconstruction system uses FPGA (Field Programmable Gate Array) devices as the core of data processing, which is responsible for the collection, sorting, merging and matching of trigger data. However, when the FPGA device is used as the aggregation center of the trigger data, it can only support a limited number of signal acquisition modules, which greatly limits the scalability of the particle position reconstruction system. Once additional signal acquisition modules need to be added to support more front-end acquisition devices, the internal logic of the FPGA device must be adjusted in depth. Not only is the process complicated, but it is also time-consuming and lengthy, and often requires experienced engineers to invest a lot of energy. More importantly, even after careful adjustment, the scalability of the FPGA device is still limited, and it is difficult to meet the needs of large-scale, multi-device, and multi-channel data processing, which seriously affects the data processing efficiency of particle position reconstruction.

[0004] Therefore, how to improve the data processing efficiency of particle position reconstruction is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The main purpose of the present application is to provide a particle position reconstruction system and its method, device, medium and computer product, aiming to improve the data processing efficiency of particle position reconstruction.

[0006] To achieve the above-mentioned purpose, the present application provides a particle position reconstruction system, a plurality of front-end acquisition devices, each of which is connected to a corresponding channel sensor, each of which is configured to respond to multiple secondary reactions generated by particles emitted by a radiation source in the corresponding channel sensor, and determine the trigger position data of the particles according to analog voltage signals corresponding to the multiple secondary reactions;

[0007] A general-purpose computer is connected to each of the front-end acquisition devices, and the general-purpose computer is configured to construct a horizontal axis memory structure and a vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices, and after receiving the trigger position data sent by each of the front-end acquisition devices, determine the horizontal axis array element of the particle according to each of the trigger position data and the horizontal axis memory structure, determine the vertical axis array element of the particle according to each of the trigger position data and the vertical axis memory structure, and determine the reconstructed coordinate position of the particle according to the horizontal axis array element and the vertical axis array element.

[0008] In one embodiment, each of the front-end acquisition devices includes a signal acquisition module, a programmable logic module and an integrated chip module;

[0009] Each of the sampling channels in the signal acquisition module is connected to a corresponding channel sensor, and the output end of the signal acquisition module is connected to the integrated chip module through the programmable logic module.

[0010] In addition, to achieve the above purpose, the present application also provides a particle position reconstruction method, which is applied to any of the above-mentioned particle position reconstruction systems, and the particle position reconstruction method includes:

[0011] When each front-end acquisition device responds to multiple secondary reactions generated by particles emitted by the radiation source in the corresponding channel sensor, the trigger position data of the particles is determined according to the analog voltage signals corresponding to the multiple secondary reactions;

[0012] After the general-purpose computer receives the trigger position data sent by each of the front-end acquisition devices, the horizontal axis array element of the particle is determined according to each of the trigger position data and the horizontal axis direction memory structure, the vertical axis array element of the particle is determined according to each of the trigger position data and the vertical axis direction memory structure, and the reconstructed coordinate position of the particle is determined according to the horizontal axis array element and the vertical axis array element; wherein,

[0013] The general-purpose computer is also configured to construct the horizontal axis memory structure and the vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices.

[0014] In one embodiment, the step of determining the trigger position data of the particle according to the analog voltage signals corresponding to the multiple secondary reactions comprises:

[0015] Determine analog voltage signals corresponding to the multiple secondary reactions, and convert the voltage amplitude of the analog voltage signal into multiple discrete voltage digital signals;

[0016] Each of the voltage digital signals is detected in turn to see whether it exceeds a preset signal trigger threshold, and the voltage digital signals detected to exceed the signal trigger threshold are used as the trigger position data of the particle.

[0017] In one embodiment, the step of constructing the horizontal axis memory structure and the vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices includes:

[0018] Determine the total number of sampling channels of all the front-end acquisition devices and the channel number of each of the front-end acquisition devices, and arrange the channel numbers of the total number of sampling channels in a preset sequence to obtain an arranged communication sequence number array;

[0019] The horizontal axis memory structure is constructed according to the channel number from 1 to the channel number from the target number in the communication sequence number array, and the vertical axis memory structure is constructed according to the channel number from the next sequence number of the target number to the channel number from the total number of sampling channels, wherein the target sequence number is half of the total number of sampling channels.

[0020] In one embodiment, the trigger position data includes a trigger timestamp and a channel number, and the determining of the horizontal axis array element of the particle according to each of the trigger position data and the horizontal axis direction memory structure includes:

[0021] Determine that the time windows corresponding to the channel numbers in the horizontal axis direction memory structure are all preset window values;

[0022] The channel number from 1 to the channel number of the target number is used as the horizontal axis number range of the horizontal axis direction memory structure, and the trigger position data of the channel number belonging to the horizontal axis number range is used as the horizontal axis trigger array, and the trigger timestamp with the latest trigger timestamp in the horizontal axis trigger array is used as the target horizontal axis data.

[0023] The integer quotient obtained by dividing the trigger timestamp of the target horizontal axis data by the window value is used as the horizontal axis write index, and the channel number of the target horizontal axis data is set in the horizontal axis direction memory structure on the spatial window where the coordinate horizontal axis value pointed to by the horizontal axis write index is located, to obtain the horizontal axis array element of the particle; wherein the horizontal axis array element includes the horizontal axis write index and the horizontal axis read index, and the horizontal axis read index is set to record the channel number of the target horizontal axis data.

[0024] In one embodiment, the step of determining the longitudinal array element of the particle according to each of the trigger position data and the longitudinal direction memory structure comprises:

[0025] Determine that the time windows corresponding to the channel numbers in the memory structure in the vertical axis direction are all the window values;

[0026] The channel number from the next sequence number of the target sequence number to the channel number of the total number of sampling channels is used as the longitudinal axis sequence number range of the longitudinal axis direction memory structure, and each of the trigger position data whose channel number belongs to the longitudinal axis sequence number range is used as the longitudinal axis trigger array, and the trigger timestamp with the latest trigger timestamp in the longitudinal axis trigger array is used as the target longitudinal axis data;

[0027] An integer quotient obtained by dividing the trigger timestamp of the target vertical axis data by the window value is used as the vertical axis write index, and the channel number of the target vertical axis data is set in the vertical axis direction memory structure on the spatial window where the coordinate vertical axis value pointed to by the vertical axis write index is located, to obtain the vertical axis array element of the particle; wherein the vertical axis array element includes the vertical axis write index and the vertical axis read index, and the vertical axis read index is set to record the channel number of the target vertical axis data.

[0028] In addition, to achieve the above-mentioned purpose, the present application also provides a particle position reconstruction device, which includes a memory, a processor, and a particle position reconstruction program stored in the memory and executable on the processor, and the particle position reconstruction program implements the steps of the above-mentioned particle position reconstruction method when executed by the processor.

[0029] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a particle position reconstruction program is stored, and when the particle position reconstruction program is executed by a processor, the steps of the above-mentioned particle position reconstruction method are implemented.

[0030] In addition, to achieve the above-mentioned purpose, the present application also provides a computer product, which includes a computer program, and the computer program contains computer program code means stored on a computer-readable medium or a carrier, and the computer program code means is configured to implement the steps of the above-mentioned particle position reconstruction method when executed by a computer or a processor.

[0031] The particle position reconstruction system provided in the present application includes a plurality of front-end acquisition devices connected to a general-purpose computer. The particle position reconstruction system provided in the present application realizes significant optimization of the particle position reconstruction system by using a general-purpose computer to replace the traditional FPGA device as the data processing core. Specifically, the particle position reconstruction system provided in the present application uses a plurality of front-end acquisition devices to connect to the corresponding channel sensors respectively, and responds to the multiple secondary reactions generated by the particles emitted by the radiation source in the corresponding channel sensors in real time. The trigger position data of the particles can be accurately obtained according to the analog voltage signals corresponding to the multiple secondary reactions; and the general-purpose computer as the data processing core can not only construct the horizontal axis direction memory structure and the vertical axis direction memory structure according to the total number of sampling channels of the front-end acquisition device, but also can efficiently process the trigger position data sent by each front-end acquisition device according to the connection between the general-purpose computer and each front-end acquisition device, and obtain the horizontal axis array element and the vertical axis array element of the particle; then, the reconstruction coordinate position of the particle can be quickly determined according to the horizontal axis array element and the vertical axis array element, which not only avoids the problem of insufficient scalability of the traditional FPGA, but also enables the particle position reconstruction system to easily cope with large-scale data processing needs, and significantly improves the data processing efficiency of particle position reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a structural block diagram of the particle position reconstruction system of the present application;

[0033] Figure 2 This is a block diagram of the structure involved in the traditional particle reconstruction system;

[0034] Figure 3 It is a schematic diagram of the overall structure of the particle reconstruction system involved in the embodiment of the present application;

[0035] Figure 4 is a workflow diagram of a particle reconstruction system involved in an embodiment of the present application;

[0036] Figure 5 It is a schematic diagram of a detailed process of particle position reconstruction involved in the embodiment of the present application;

[0037] Figure 6 This is a schematic diagram of the structure of a particle position reconstruction device involved in an embodiment of the present application.

[0038] Explanation of the figure numbers: 10. Front-end acquisition equipment; 20. General-purpose computer.

[0039] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0040] The present application embodiment provides a particle position reconstruction system, referring to Figure 1 As shown, Figure 1 It is a structural block diagram of the particle position reconstruction system of this application.

[0041] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0042] Reference Figure 2 , Figure 2 This is a block diagram of the structure involved in the traditional particle reconstruction system, that is, the traditional particle reconstruction system is based on the FPGA device to collect, sort, merge and match the process; however, the traditional particle reconstruction system uses FPGA as the trigger data collection center, because of the limited hardware pins, it can only support a limited number of signal acquisition modules. Using FPGA to gather data, it is impossible to quickly and dynamically expand the acquisition module, and the internal logic of FPGA needs to be adjusted. The scalability of multiple devices and multiple channels is weak, and it cannot support a large number of front-end acquisition devices, which seriously affects the data processing efficiency of particle position reconstruction.

[0043] Therefore, in order to solve the above-mentioned technical defects, the present application provides a particle position reconstruction system and its method, device, medium and computer product.

[0044] Reference Figure 1 , the particle position reconstruction system of the present application comprises:

[0045] A plurality of front-end acquisition devices 10 are provided, each of which is connected to a corresponding channel sensor. Each of the front-end acquisition devices 10 is configured to respond to multiple secondary reactions of particles emitted by a radiation source in the corresponding channel sensor, and to determine the trigger position data of the particles according to analog voltage signals corresponding to the multiple secondary reactions.

[0046] In this embodiment, when the particles generated by the radiation source in the particle reconstruction system generate multiple secondary reactions in multiple channel sensors, since each sampling channel of each front-end acquisition device 10 is connected to the corresponding channel sensor, each front-end acquisition device 10 provided in the present application collects the analog voltage signal of the particles sent by the connected channel sensor through the corresponding sampling channel at each secondary reaction, thereby significantly improving the acquisition accuracy of the analog voltage signal; next, for each front-end acquisition device 10, the trigger position data of the particles can be accurately obtained based on the analog voltage signal corresponding to each secondary reaction.

[0047] It should be noted that the plurality of front-end acquisition devices 10 can be represented by front-end acquisition device 10-1, front-end acquisition device 10-2, ... and front-end acquisition device 10-N. The front-end acquisition device 10 provided in the present application at least includes a signal acquisition module, a programmable logic module and an integrated chip module; wherein the signal acquisition module can be represented by Figure 3 The "ADC" shown in the figure indicates that the signal acquisition module can be understood as an ADC (Analog-to-Digital Converter); the programmable logic module can be used Figure 3 The "FPGA" shown in the figure indicates that the programmable logic module can be understood as FPGA (Field Programmable Gate Array); the integrated chip module can be used Figure 3 The “SOC” shown here represents and the integrated chip module can be understood as SOC (System-on-a-Chip).

[0048] In a specific embodiment, refer to Figure 3 , the radioactive source in the particle reconstruction system generates a particle, and the particle is only Figure 3 The channel sensors connected to the first three sampling channels in the front-end acquisition device 10-1 in order from left to right generate multiple secondary reactions, and Figure 3 The channel sensors connected in the front-end acquisition device 10-2 according to the first three sampling channels in order from left to right generate multiple secondary reactions, that is, the analog voltage signals generated by the particles in multiple secondary reactions are collected through the first three sampling channels in order from left to right in the front-end acquisition device 10-1 and the first three sampling channels in order from left to right in the front-end acquisition device 10-2; next, taking the front-end acquisition device 10-1 as an example, the signal acquisition module in the front-end acquisition device 10-1 is used as the signal acquisition center, and the amplitude analog-to-digital conversion of the analog voltage signal is converted into a series of discrete voltage digital signals and transmitted to the programmable logic module in the front-end acquisition device 10-1; next, the programmable logic module is used as the particle signal trigger center, and the trigger position data of the particle is determined by the programmable logic module based on the discrete voltage digital signal. The trigger position data can be understood as the trigger timestamp and channel number of the voltage digital signal recorded by the programmable logic module after the programmable logic module finds that a certain voltage digital signal meets the preset signal trigger condition; then, the trigger position data corresponding to all voltage digital signals meeting the preset signal trigger condition are collected through the integrated chip module. Figure 3 The Ethernet network shown by the bold line transmits to the general computer 20. In addition, the signal processing process of the front-end acquisition device 10-2 is exactly the same as that of the front-end acquisition device 10-1, and runs synchronously with the signal processing process of the front-end acquisition device 10-1, and this application will not make additional details here.

[0049] A general-purpose computer 20, wherein the general-purpose computer 20 is connected to each of the front-end acquisition devices 10, and the general-purpose computer 20 is configured to construct a horizontal axis memory structure and a vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices 10, and after receiving the trigger position data sent by each of the front-end acquisition devices 10, determine the horizontal axis array element of the particle according to each of the trigger position data and the horizontal axis memory structure, determine the vertical axis array element of the particle according to each of the trigger position data and the vertical axis memory structure, and determine the reconstructed coordinate position of the particle according to the horizontal axis array element and the vertical axis array element.

[0050] In this embodiment, all the trigger position data sent by each front-end acquisition device 10 set in this application are aggregated into data packets and uploaded to the general-purpose computer 20 through Ethernet transmission. Next, after the general-purpose computer 20 constructs the horizontal axis direction memory structure and the vertical axis direction memory structure according to the total number of sampling channels of all the front-end acquisition devices 10, the horizontal axis array element of the particle is determined according to each trigger position data and the horizontal axis direction memory structure, the vertical axis array element of the particle is determined according to each trigger position data and the vertical axis direction memory structure, and the reconstructed coordinate position of the particle is determined according to the horizontal axis array element and the vertical axis array element, which not only avoids the problem of insufficient scalability of traditional FPGA, but also enables the particle position reconstruction system to easily cope with large-scale data processing needs, and significantly improves the data processing efficiency of particle position reconstruction.

[0051] In a specific embodiment, refer to Figure 4 , Figure 4It is a work flow chart of the particle reconstruction system involved in the embodiment scheme of the present application. In order to meet the task of large-scale high-precision particle distribution reconstruction, multiple front-end acquisition devices 10 are required to realize synchronous ADC multi-channel acquisition, FPGA trigger discovery and SOC forwarding data based on certain synchronization requirements. In order to facilitate the expansion of additional front-end acquisition devices 10, all trigger position data sent by each front-end acquisition device 10 are aggregated into data packets and uploaded to the general computer 20 through Ethernet transmission. After the general computer 20 receives the trigger position data of multiple devices and multiple channels, each trigger position data is parsed by the CPU of the general computer 20 to obtain the trigger timestamp and channel number corresponding to each trigger position data, and the particle trigger is updated according to the preset time window and space window. The basis for the update is the channel number of the last timestamp that meets the conditions. The updated position is the X-direction RingBuffer structure and the Y-direction RingBuffer structure established in the memory of the general computer 20. The X-direction RingBuffer structure / Y-direction RingBuffer structure realizes the continuous mapping of position and timestamp, and the search and update realize the time complexity of O(1) level, which meets the real-time processing requirements. After the unidirectional trigger update is completed, matching is performed through time alignment (i.e., RingBuffer index alignment). If two RingBuffers are triggered at the same index at the same time, the two-dimensional coordinate matching of a particle is completed, and the particle distribution is dynamically updated.

[0052] Further, refer to Figure 3 Each of the front-end acquisition devices 10 includes a signal acquisition module, a programmable logic module and an integrated chip module; each of the sampling channels in the signal acquisition module is connected to the corresponding channel sensor, and the output end of the signal acquisition module is connected to the integrated chip module through the programmable logic module.

[0053] It should be noted that the signal acquisition module can be used Figure 3 The "ADC" shown in the figure indicates that the signal acquisition module can be understood as an ADC (Analog-to-Digital Converter); the programmable logic module can be used Figure 3 The "FPGA" shown in the figure indicates that the programmable logic module can be understood as FPGA (Field Programmable Gate Array); the integrated chip module can be used Figure 3 The “SOC” shown here represents and the integrated chip module can be understood as SOC (System-on-a-Chip).

[0054] In a specific embodiment, taking the front-end acquisition device 10-1 as an example, the signal acquisition module in the front-end acquisition device 10-1 is used as the signal acquisition center, and the amplitude analog-to-digital of the analog voltage signal is converted into a series of discrete voltage digital signals and transmitted to the programmable logic module in the front-end acquisition device 10-1; next, the programmable logic module is used as the particle signal trigger center, and the trigger position data of the particle is determined by the programmable logic module based on the discrete voltage digital signal. The trigger position data can be understood as the trigger timestamp and channel number of the voltage digital signal recorded by the programmable logic module after the programmable logic module finds that a certain voltage digital signal meets the preset signal trigger condition; then, the trigger position data corresponding to all voltage digital signals meeting the preset signal trigger condition are recorded through the integrated chip module. Figure 3 The Ethernet network shown by the bold line is transmitted to the general purpose computer 20 .

[0055] In summary, the particle position reconstruction system provided in the present application includes multiple front-end acquisition devices 10 connected to a general-purpose computer 20. The particle position reconstruction system provided in the present application achieves significant optimization of the particle position reconstruction system by adopting a general-purpose computer 20 to replace the traditional FPGA device as the data processing core. Specifically, the particle position reconstruction system provided in the present application utilizes a plurality of front-end acquisition devices 10 to be connected to corresponding channel sensors respectively, and responds in real time to multiple secondary reactions generated by particles emitted by a radiation source in corresponding channel sensors, and the trigger position data of the particles can be accurately obtained according to the analog voltage signals corresponding to the multiple secondary reactions; and the general-purpose computer 20, as a data processing core, can not only construct a horizontal axis direction memory structure and a vertical axis direction memory structure according to the total number of sampling channels of the front-end acquisition device 10, but also can efficiently process the trigger position data sent by each front-end acquisition device 10 according to the horizontal axis direction memory structure and the vertical axis direction memory structure according to the connection between the general-purpose computer 20 and each front-end acquisition device 10, and obtain the horizontal axis array elements and the vertical axis array elements of the particles; then, the reconstructed coordinate position of the particles can be quickly determined according to the horizontal axis array elements and the vertical axis array elements, which not only avoids the problem of insufficient scalability of traditional FPGA, but also enables the particle position reconstruction system to easily cope with large-scale data processing requirements, and significantly improves the data processing efficiency of particle position reconstruction.

[0056] Furthermore, based on the first embodiment of the particle position reconstruction system of the present application, a second embodiment of the particle position reconstruction method of the present application is proposed to be applied to the particle position reconstruction system.

[0057] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, a database system, etc., or a device capable of realizing the above functions, such as a particle position reconstruction device, etc. The following takes the particle position reconstruction device as an example to illustrate this embodiment and the following embodiments.

[0058] The particle position reconstruction method provided in the present application includes steps S10 to S20:

[0059] Step S10: When each front-end acquisition device 10 responds to multiple secondary reactions generated by particles emitted by the radiation source in the corresponding channel sensor, the trigger position data of the particles is determined according to the analog voltage signals corresponding to the multiple secondary reactions.

[0060] In this embodiment, when the particles generated by the radiation source in the particle reconstruction system generate multiple secondary reactions in multiple channel sensors, since each sampling channel of each front-end acquisition device 10 is connected to the corresponding channel sensor, each front-end acquisition device 10 provided in the present application collects the analog voltage signal of the particles sent by the connected channel sensor through the corresponding sampling channel at each secondary reaction, thereby significantly improving the acquisition accuracy of the analog voltage signal; next, for each front-end acquisition device 10, the trigger position data of the particles can be accurately obtained based on the analog voltage signal corresponding to each secondary reaction.

[0061] Step S20: After the general-purpose computer 20 receives the trigger position data sent by each of the front-end acquisition devices 10, the horizontal axis array element of the particle is determined according to each of the trigger position data and the horizontal axis memory structure, the vertical axis array element of the particle is determined according to each of the trigger position data and the vertical axis memory structure, and the reconstructed coordinate position of the particle is determined according to the horizontal axis array element and the vertical axis array element; wherein the general-purpose computer 20 is also configured to construct the horizontal axis memory structure and the vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices 10.

[0062] In this embodiment, all the trigger position data sent by each front-end acquisition device 10 set in this application are aggregated into data packets and uploaded to the general-purpose computer 20 through Ethernet transmission. Next, after the general-purpose computer 20 constructs the horizontal axis direction memory structure and the vertical axis direction memory structure according to the total number of sampling channels of all the front-end acquisition devices 10, the horizontal axis array element of the particle is determined according to each trigger position data and the horizontal axis direction memory structure, the vertical axis array element of the particle is determined according to each trigger position data and the vertical axis direction memory structure, and the reconstructed coordinate position of the particle is determined according to the horizontal axis array element and the vertical axis array element, which not only avoids the problem of insufficient scalability of traditional FPGA, but also enables the particle position reconstruction system to easily cope with large-scale data processing needs, and significantly improves the data processing efficiency of particle position reconstruction.

[0063] Furthermore, in some feasible embodiments, the above step S10: determining the trigger position data of the particle according to the analog voltage signals corresponding to the multiple secondary reactions, further includes the following steps S101 to S102.

[0064] Step S101: determining analog voltage signals corresponding to the plurality of secondary reactions, and converting the voltage amplitude of the analog voltage signals into a plurality of discrete voltage digital signals;

[0065] In this embodiment, for each sampling channel in each front-end acquisition device 10, each sampling channel collects analog voltage signals generated when multiple secondary reactions occur in the corresponding channel sensor. The signal acquisition module of each front-end acquisition device 10 converts the amplitude analog-to-digital value of the analog voltage signals collected by each sampling channel into multiple discrete voltage digital signals, so as to provide accurate and reliable data support for the trigger discovery of the programmable logic modules in each subsequent front-end acquisition device 10.

[0066] Step S102: sequentially detecting whether each of the voltage digital signals exceeds a preset signal trigger threshold, and using the detected voltage digital signals exceeding the signal trigger threshold as the trigger position data of the particle.

[0067] In this embodiment, after the programmable logic module in each front-end acquisition device 10 receives multiple discrete voltage digital signals sent by the corresponding signal acquisition module, it detects whether each voltage digital signal exceeds a preset signal trigger threshold, and uses the detected voltage digital signal that exceeds the signal trigger threshold as the trigger position data of the particle, thereby achieving efficient and accurate collection of trigger position data.

[0068] Furthermore, in some other feasible embodiments, the above step S20: constructing the horizontal axis memory structure and the vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices 10, also includes the following implementation steps S201 to S202.

[0069] Step S201: determine the total number of sampling channels of all the front-end acquisition devices 10 and the channel number of each front-end acquisition device 10, and arrange the channel numbers of the total number of sampling channels in a preset sequence to obtain an arranged communication sequence number array.

[0070] In this embodiment, the sum of all sampling channels of the signal acquisition modules in each front-end acquisition device 10 is calculated to obtain the total number of sampling channels of all the front-end acquisition devices 10, and the channel number corresponding to each front-end acquisition device 10 is determined according to a preset channel sequence number rule. Next, the channel numbers of the total number of sampling channels are arranged according to a preset sequence number order to obtain an arranged communication sequence number array to ensure the accuracy and orderliness of data acquisition.

[0071] It should be noted that the preset channel number rules are as described below:

[0072] Assume that there are two front-end acquisition devices 10, respectively labeled as front-end acquisition device 10-1 and front-end acquisition device 10-2. For the front-end acquisition device 10-1, its signal acquisition module may include four signal sampling channels, which are: the first signal sampling channel, whose channel number is 1; the second signal sampling channel, whose channel number is 2; the third signal sampling channel, whose channel number is 3; the fourth signal sampling channel, whose channel number is 4. This means that in the front-end acquisition device 10-1, the channel numbers are numbered consecutively from 1 to 4. Next, in order to maintain the continuity of the channel number and distinguish the channels of different devices, the first signal sampling channel in the signal acquisition module of the front-end acquisition device 10-2 is assigned a new serial number, namely 5. According to this logic, the subsequent signal sampling channels of the front-end acquisition device 10-2 (if any) are numbered 6, 7, 8, and so on.

[0073] The preset sequence number order can be understood as the order of channel numbers from small to large.

[0074] Step S202: construct the horizontal axis memory structure according to the channel number from 1 to the channel number from the target number in the communication sequence number array, and construct the vertical axis memory structure according to the channel number from the next sequence number of the target number to the channel number from the total number of sampling channels, wherein the target sequence number is half of the total number of sampling channels.

[0075] In this embodiment, a horizontal axis memory structure is constructed based on the channel number from 1 to the channel number from the target number in the communication sequence number array, and a vertical axis memory structure is constructed based on the channel number from the next number of the target number to the channel number from the total number of sampling channels, that is, efficient management and access to data is achieved by constructing a horizontal / vertical axis memory structure.

[0076] It should be noted that the target sequence number is half of the total number of sampling channels.

[0077] In a specific embodiment, it is assumed that the total number of sampling channels of all front-end acquisition devices 10 in the particle position reconstruction system is N, and the channel numbers 1 to N / 2 are the horizontal memory structure (i.e. Figure 4 The X-direction RingBuffer structure shown in the figure), the coordinate range represented by the horizontal memory structure is 0 to N / 2; the channel numbers from [(N / 2)-1] to N are the vertical memory structure, and the coordinate range represented by the vertical memory structure is also 0 to N / 2.

[0078] Furthermore, in some feasible embodiments, the trigger position data includes a trigger timestamp and a channel number, and the above step S20: determining the horizontal axis array element of the particle based on each of the trigger position data and the horizontal axis direction memory structure, also includes the following implementation steps A10 to A30.

[0079] Step A10: Determine that the time windows corresponding to the channel numbers in the horizontal axis memory structure are all preset window values;

[0080] Step A20: The channel number from 1 to the channel number of the target sequence number is used as the horizontal axis sequence number range of the horizontal axis direction memory structure, and the trigger position data of each channel number belonging to the horizontal axis sequence number range is used as the horizontal axis trigger array, and the trigger timestamp with the latest trigger timestamp in the horizontal axis trigger array is used as the target horizontal axis data.

[0081] Step A30: Divide the trigger timestamp of the target horizontal axis data by the window value to obtain an integer quotient as the horizontal axis write index, and set the channel number of the target horizontal axis data in the horizontal axis direction memory structure on the spatial window where the coordinate horizontal axis value pointed to by the horizontal axis write index is located, to obtain the horizontal axis array element of the particle; wherein the horizontal axis array element includes the horizontal axis write index and the horizontal axis read index, and the horizontal axis read index is set to record the channel number of the target horizontal axis data.

[0082] Furthermore, in some other feasible embodiments, the above step S20: determining the longitudinal array element of the particle according to each of the trigger position data and the longitudinal direction memory structure, also includes the following implementation steps B10 to B30.

[0083] Step B10: Determine that the time windows corresponding to the channel numbers in the memory structure in the longitudinal direction are all the window values;

[0084] Step B20: taking the channel number with the sequence number next to the target sequence number to the channel number with the sequence number equal to the total number of sampling channels as the longitudinal axis sequence number range of the longitudinal axis direction memory structure, taking each of the trigger position data whose channel number belongs to the longitudinal axis sequence number range as the longitudinal axis trigger array, and taking the trigger timestamp with the latest trigger timestamp in the longitudinal axis trigger array as the target longitudinal axis data;

[0085] Step B30: Divide the trigger timestamp of the target vertical axis data by the window value to obtain an integer quotient as the vertical axis write index, and set the channel number of the target vertical axis data in the vertical axis direction memory structure on the spatial window where the coordinate vertical axis value pointed to by the vertical axis write index is located, to obtain the vertical axis array element of the particle; wherein the vertical axis array element includes the vertical axis write index and the vertical axis read index, and the vertical axis read index is set to record the channel number of the target vertical axis data.

[0086] In a specific embodiment, the specific steps involved in applying the particle position reconstruction system to the particle position reconstruction method include steps one to three.

[0087] Step 1. Signal acquisition, triggering and uploading stage of the front-end acquisition device 10

[0088] 1. The particle position reconstruction system is ready and collection begins.

[0089] 2. The radiation source generates particles. When the particles undergo multiple secondary reactions in the multi-channel sensor, analog voltage signals are generated. After being sampled by the ADC, the amplitude of the analog voltage signal is converted into multiple discrete voltage digital signals.

[0090] 3. The logic unit on the FPGA chip processes the voltage digital signal after ADC sampling, and uses the voltage digital signal that meets the preset signal trigger condition as the trigger position data. The trigger position data is the channel number and trigger timestamp of the sampling channel of the front-end acquisition device 10 corresponding to the voltage digital signal that meets the preset signal trigger condition.

[0091] 4. After receiving the trigger position data, the SOC microprocessor uploads the trigger position data to the computer via Ethernet. ADC sampling, FPGA trigger discovery, and SOC microprocessor forwarding are on the same front-end acquisition device 10. Large-scale, high-precision particle distribution reconstruction requires multiple front-end acquisition devices 10 to synchronously collect and upload trigger position data.

[0092] Step 2. Receive parsing and establish RingBuffer

[0093] 1. The general computer 20 receives the data packets, parses and classifies the data packets, and parses out the channel number and trigger timestamp corresponding to the trigger position data.

[0094] 2. Establish a memory structure for X and Y directions. The memory structure contains a memory array and a reference base time. Assuming that the particle position reconstruction system has N channels, the channel numbers 1 to N / 2 are in the X direction, representing a coordinate range of 0 to N / 2, and the channel numbers N / 2-1 to N are in the Y direction, representing a coordinate range of 0 to N / 2. The array element represents a set time window, which is generally set to 200ns (engineering experience value). The array time range is set to 1 second, and the size of the array is 5000000. The trigger timestamp divided by the window value is used as the array index. When a trigger signal is received, the signal will fall within the corresponding time window after processing, and the corresponding coordinates can be recorded. A RingBuffer structure is established based on the array. A RingBuffer maintains a write index WritePos and a read index ReadPos. If the index of the particle trigger signal is greater than WritePos, WritePos is updated to the latest trigger index. When the particle matching is completed, ReadPos is updated forward to the index with trigger. The range between WritePos and ReadPos is the trigger data to be matched. If the WritePos range exceeds the maximum limit of the array, it starts from 0. The same is true for ReadPos, and the time base is added by 1 second.

[0095] Step 3. Compare and update trigger window conditions

[0096] The secondary effect of a particle is triggered multiple times within the time window and space window, so there will be multiple triggers. To merge these triggers, only the spatial coordinates of the last trigger timestamp that meets the conditions are recorded according to the set timestamp window range, that is, the time range of an array element, and the space window range, that is, the range of 5 adjacent channels (engineering experience value), and a particle in a single direction is merged. It can be considered that the merging of particles in a single direction is completed 10 milliseconds (engineering experience value) after the latest arrival of the trigger timestamp. Update the WritePos of the RingBuffer.

[0097] Step 4. Align the time in X and Y directions

[0098] 1. At an interval of 1 millisecond (engineering experience value), match the data 10ms after the latest timestamp of X and Y. If there are records corresponding to the X and Y defense window indexes at the same time, the channel numbers of the records of these two windows are the coordinates in the XY direction. Update the ReadPos of RingBuffer. For example, the detailed process of reconstructing the position of a particle is as follows: Figure 5 shown.

[0099] In summary, the particle position reconstruction system provided in the present application includes multiple front-end acquisition devices 10 connected to a general-purpose computer 20. The particle position reconstruction system provided in the present application achieves significant optimization of the particle position reconstruction system by adopting a general-purpose computer 20 to replace the traditional FPGA device as the data processing core. Specifically, the particle position reconstruction system provided in the present application utilizes a plurality of front-end acquisition devices 10 to be connected to corresponding channel sensors respectively, and responds in real time to multiple secondary reactions generated by particles emitted by a radiation source in corresponding channel sensors, and the trigger position data of the particles can be accurately obtained according to the analog voltage signals corresponding to the multiple secondary reactions; and the general-purpose computer 20, as a data processing core, can not only construct a horizontal axis direction memory structure and a vertical axis direction memory structure according to the total number of sampling channels of the front-end acquisition device 10, but also can efficiently process the trigger position data sent by each front-end acquisition device 10 according to the horizontal axis direction memory structure and the vertical axis direction memory structure according to the connection between the general-purpose computer 20 and each front-end acquisition device 10, and obtain the horizontal axis array elements and the vertical axis array elements of the particles; then, the reconstructed coordinate position of the particles can be quickly determined according to the horizontal axis array elements and the vertical axis array elements, which not only avoids the problem of insufficient scalability of traditional FPGA, but also enables the particle position reconstruction system to easily cope with large-scale data processing requirements, and significantly improves the data processing efficiency of particle position reconstruction.

[0100] In addition, the present application also provides a particle position reconstruction device. Figure 6 , Figure 6 The schematic diagram of the structure of the particle position reconstruction device involved in the embodiment of the present application is shown in FIG. The device of the embodiment of the present application may be a device for locally running the particle position reconstruction method.

[0101] The present application provides a particle position reconstruction device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the particle position reconstruction device method in the above-mentioned embodiment one.

[0102] Reference below Figure 6, which shows a schematic diagram of the structure of a particle position reconstruction device suitable for implementing the embodiment of the present application. The particle position reconstruction device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The particle position reconstruction device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0103] like Figure 6 As shown, the particle position reconstruction device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the particle position reconstruction device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following devices can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the particle position reconstruction device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a particle position reconstruction device with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices can be implemented or have alternatively.

[0104] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0105] The particle position reconstruction device provided by the present application adopts the particle position reconstruction device method in the above embodiment, which can solve the technical problem of low reliability of the particle position reconstruction device. Compared with the prior art, the beneficial effects of the particle position reconstruction device provided by the present application are the same as the beneficial effects of the particle position reconstruction device method provided by the above embodiment, and other technical features in the particle position reconstruction device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0106] In addition, the present application provides a computer-readable storage medium on which a particle position reconstruction program is stored, and when the particle position reconstruction program is executed by a processor, the steps of the above-mentioned particle position reconstruction method are implemented.

[0107] In addition, the present application also provides a computer product, which includes a computer program, which contains computer program code means stored on a computer-readable medium or a carrier, and the computer program code means is configured to implement the steps of the above-mentioned particle position reconstruction method when executed by a computer or a processor.

[0108] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0109] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0111] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A particle position reconstruction system, characterized in that: The particle position reconstruction system comprises: A plurality of front-end acquisition devices, each of which is connected to a corresponding channel sensor, and each of which is configured to respond to multiple secondary reactions of particles emitted by a radiation source in a corresponding channel sensor, and determine the trigger position data of the particles according to analog voltage signals corresponding to the multiple secondary reactions; A general-purpose computer is connected to each of the front-end acquisition devices, and the general-purpose computer is configured to construct a horizontal axis memory structure and a vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices, and after receiving the trigger position data sent by each of the front-end acquisition devices, determine the horizontal axis array element of the particle according to each of the trigger position data and the horizontal axis memory structure, determine the vertical axis array element of the particle according to each of the trigger position data and the vertical axis memory structure, and determine the reconstructed coordinate position of the particle according to the horizontal axis array element and the vertical axis array element.

2. The particle position reconstruction system according to claim 1, characterized in that: Each of the front-end acquisition devices comprises a signal acquisition module, a programmable logic module and an integrated chip module; Each of the sampling channels in the signal acquisition module is connected to a corresponding channel sensor, and the output end of the signal acquisition module is connected to the integrated chip module through the programmable logic module.

3. A particle position reconstruction method, characterized in that: The particle position reconstruction method is applied to the particle position reconstruction system according to any one of claims 1 to 2, and the particle position reconstruction method comprises: When each front-end acquisition device responds to multiple secondary reactions generated by particles emitted by the radiation source in the corresponding channel sensor, the trigger position data of the particles is determined according to the analog voltage signals corresponding to the multiple secondary reactions; After the general-purpose computer receives the trigger position data sent by each of the front-end acquisition devices, the horizontal axis array element of the particle is determined according to each of the trigger position data and the horizontal axis direction memory structure, the vertical axis array element of the particle is determined according to each of the trigger position data and the vertical axis direction memory structure, and the reconstructed coordinate position of the particle is determined according to the horizontal axis array element and the vertical axis array element; wherein, The general-purpose computer is also configured to construct the horizontal axis memory structure and the vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices.

4. The particle position reconstruction method according to claim 1, characterized in that: The step of determining the trigger position data of the particle according to the analog voltage signals corresponding to the multiple secondary reactions comprises: Determine analog voltage signals corresponding to the multiple secondary reactions, and convert the voltage amplitude of the analog voltage signal into multiple discrete voltage digital signals; Each of the voltage digital signals is detected in turn to see whether it exceeds a preset signal trigger threshold, and the voltage digital signals detected to exceed the signal trigger threshold are used as the trigger position data of the particle.

5. The particle position reconstruction method according to claim 1, characterized in that: The step of constructing the horizontal axis memory structure and the vertical axis memory structure according to the total number of sampling channels of all the front-end acquisition devices comprises: Determine the total number of sampling channels of all the front-end acquisition devices and the channel number of each of the front-end acquisition devices, and arrange the channel numbers of the total number of sampling channels in a preset sequence to obtain an arranged communication sequence number array; The horizontal axis memory structure is constructed according to the channel number from 1 to the channel number from the target number in the communication sequence number array, and the vertical axis memory structure is constructed according to the channel number from the next sequence number of the target number to the channel number from the total number of sampling channels, wherein the target sequence number is half of the total number of sampling channels.

6. The particle position reconstruction method according to claim 5, characterized in that: The trigger position data includes a trigger timestamp and a channel number, and the horizontal axis array elements of the particles are determined according to the trigger position data and the horizontal axis direction memory structure, including: Determine that the time windows corresponding to the channel numbers in the horizontal axis direction memory structure are all preset window values; The channel number from 1 to the channel number of the target number is used as the horizontal axis number range of the horizontal axis direction memory structure, and the trigger position data of the channel number belonging to the horizontal axis number range is used as the horizontal axis trigger array, and the trigger timestamp with the latest trigger timestamp in the horizontal axis trigger array is used as the target horizontal axis data. The integer quotient obtained by dividing the trigger timestamp of the target horizontal axis data by the window value is used as the horizontal axis write index, and the channel number of the target horizontal axis data is set in the horizontal axis direction memory structure on the spatial window where the coordinate horizontal axis value pointed to by the horizontal axis write index is located, to obtain the horizontal axis array element of the particle; wherein the horizontal axis array element includes the horizontal axis write index and the horizontal axis read index, and the horizontal axis read index is set to record the channel number of the target horizontal axis data.

7. The particle position reconstruction method according to claim 6, characterized in that: The step of determining the longitudinal array element of the particle according to each of the trigger position data and the longitudinal direction memory structure comprises: Determine that the time windows corresponding to the channel numbers in the memory structure in the vertical axis direction are all the window values; The channel number from the next sequence number of the target sequence number to the channel number of the total number of sampling channels is used as the longitudinal axis sequence number range of the longitudinal axis direction memory structure, and each of the trigger position data whose channel number belongs to the longitudinal axis sequence number range is used as the longitudinal axis trigger array, and the trigger timestamp with the latest trigger timestamp in the longitudinal axis trigger array is used as the target longitudinal axis data; The integer quotient obtained by dividing the trigger timestamp of the target vertical axis data by the window value is used as the vertical axis write index, and the channel number of the target vertical axis data is set in the vertical axis direction memory structure on the spatial window where the coordinate vertical axis value pointed to by the vertical axis write index is located, to obtain the vertical axis array element of the particle; wherein the vertical axis array element includes the vertical axis write index and the vertical axis read index, and the vertical axis read index is set to record the channel number of the target vertical axis data.

8. A particle position reconstruction device, characterized in that: The particle position reconstruction device includes a memory, a processor, and a particle position reconstruction program stored in the memory and executable on the processor. When the processor executes the particle position reconstruction program, the steps of the particle position reconstruction method as described in any one of claims 3 to 7 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a particle position reconstruction program, and when the particle position reconstruction program is executed by the processor, the steps of the particle position reconstruction method according to any one of claims 3 to 7 are implemented.

10. A computer product, characterized in that: The computer product comprises a computer program, which contains computer program code means stored on a computer-readable medium or a carrier wave, and the computer program code means is configured to implement the steps of the particle position reconstruction method according to any one of claims 3 to 7 when executed by a computer or a processor.