A detector-based on-line proton beam range measurement method, device and equipment

Through the detector-based online measurement method of proton beam range and the statistical analysis of time difference of prompt gamma particles, the problems of high cost and poor stability in the existing technology are solved, and real-time detection and efficient treatment of proton beam range are achieved.

CN118045298BActive Publication Date: 2024-10-22CHENGDU UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410202210.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-23
Publication Date
2024-10-22
Estimated Expiration
2044-02-23

AI Technical Summary

Technical Problem

Existing prompt gamma relative measurement devices require dense collimator arrays, detector arrays and highly integrated back-end electronic circuit arrays, resulting in high costs and poor system stability. The feasibility of online treatment verification is limited by the detectors. Effects of receptivity and efficiency.

Method used

Using a detector-based online measurement method of proton beam range, the proton beam range is determined by detecting the time difference of prompt gamma particles generated in the target, statistics of prompt gamma time spectrum, and statistical moment analysis, combined with known mapping relationships , reducing the need for spatial response, lowering costs and improving stability.

Benefits of technology

It achieves real-time detection of the proton beam range, reduces measurement costs, improves system stability and accuracy of treatment dose deposition, and is suitable for real-time and efficient treatment of tumors of different depths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118045298B_ABST
    Figure CN118045298B_ABST
Patent Text Reader

Abstract

The present invention discloses a detector-based on-line measurement method, device and equipment for proton beam range, and relates to the field of radiotherapy and radiation detection technology. The method first uses a detector to detect prompt gamma particles generated in the target body during the process of proton beam entering the target body, and obtains the time difference of each prompt gamma particle from the time of proton entry to the time of particle arrival, and then statistically obtains the prompt gamma time spectrum according to the time difference of all prompt gamma particles, and performs statistical moment analysis on the prompt gamma time spectrum to obtain the average time difference, and finally determines the range of the proton beam after entering the target body in combination with the known mapping relationship between the time difference and the proton beam range, so that the measurement cost can be greatly reduced, the system stability can be improved, and the statistical noise can be effectively reduced, the accuracy of proton therapy dose deposition can be improved, and the detector angle can also be determined according to the actual clinical proton energy range to improve the detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of radiotherapy and radiation detection, and in particular relates to a detector-based on-line proton beam range measurement method, device and equipment. Background Art

[0002] Proton therapy is a radiotherapy method for the precise treatment of malignant tumors (such as cancer). Compared with traditional photon therapy or electron therapy, the biggest advantage of proton therapy is that it has a special physical property - Bragg peak, that is, the irradiation dose curve of the proton beam in the medium (such as the human body) first rises slowly along the forward direction, then gradually becomes faster, until the maximum dose deposition is produced at the Bragg peak, after which the curve drops rapidly and tends to zero. Therefore, the Bragg peak characteristic of protons can make the tumor lesion area receive the maximum irradiation dose, so that the normal organs behind the lesion are protected from radiation damage, thereby reducing the side effects of treatment. In addition, proton beams of different energies can be used to treat tumors at different depths, and proton beams basically propagate in a straight line with almost no scattering, so they can effectively treat tumors of different sizes and shapes.

[0003] When proton beams pass through human tissue, nuclear reactions will occur, producing gamma rays that can be used for treatment monitoring. That is, gamma rays are produced almost along the entire proton propagation path due to the inelastic interaction between protons and target nuclei in human tissue (that is, after the inelastic interaction, the target nucleus is excited to a higher energy state and then emits a single photon - the prompt gamma particle to return to its ground state), until it ends 2 to 3 mm before the Bragg peak (at this time, the reaction cross section begins to decrease with the decrease in energy). Therefore, the emission of prompt gamma rays is related to the propagation path of protons in tissues, and the range of the proton beam can be verified by measuring prompt gamma particles (that is, prompt gamma rays).

[0004] The advantage of prompt gamma-ray imaging technology is that it can verify the energy transfer of protons in real time, because after inelastic interaction with the cell nucleus, anisotropic prompt gamma particles can be detected within a few nanoseconds. Even if only a therapeutic dose of 2Gy / min (the unit of measurement of dose rate, which refers to the dose per unit time at a certain distance from the radiation source) is used in proton therapy, enough high-energy prompt gamma particles can be generated.

[0005] At present, the traditional prompt gamma detection scheme determines the range based on the relationship between the yield distribution of prompt gamma particles along the path of the proton beam range and the proton beam range. This is called a prompt gamma relative measurement device. However, this relative measurement device requires extremely high spatial resolution, so it requires a dense collimator array, a detector array, and a highly integrated back-end electronic circuit array, resulting in high cost and poor system stability. In addition, during proton therapy, the prompt gamma particles emitted by the target nucleus are helpful in determining the beam range during treatment. Since prompt gamma particles are only emitted when the beam is turned on, the feasibility of using prompt gamma particles for online treatment verification depends largely on the design of efficient detectors, and the effects of detector receptivity and detection efficiency must also be considered. Summary of the invention

[0006] The purpose of the present invention is to provide a detector-based on-line proton beam range measurement method, device, computer equipment, computer readable storage medium and computer program product to solve the problems of high cost and poor system stability in existing prompt gamma relative measurement devices, which require dense collimator arrays, detector arrays and highly integrated back-end electronic circuit arrays when measuring proton beam range.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] In a first aspect, a detector-based online proton beam range measurement method is provided, comprising:

[0009] In the process of proton beam entering the target target, a detector is used to detect prompt gamma particles generated in the target target, and the time difference of each prompt gamma particle from the proton entry time to the particle arrival time is obtained, wherein the detector is located at one side of the target target and the detection direction of the detector is located in the same plane as the forward direction of the proton beam, the proton beam enters the target target in a periodic form, the proton entry time refers to the time when the proton beam enters the target target, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target target;

[0010] After finding that the detected number of the prompt gamma particles reaches a preset number threshold, a prompt gamma time spectrum is obtained by statistics according to the time differences of all the prompt gamma particles, wherein the prompt gamma time spectrum is used to illustrate the detected number of the prompt gamma particles corresponding to different time differences;

[0011] Performing statistical moment analysis on the prompt gamma time spectrum to obtain a time difference average value;

[0012] The range of the proton beam after entering the target body is determined according to the time difference average value and in combination with a first known mapping relationship between the time difference and the proton beam range.

[0013] Based on the above invention content, a new solution for online measurement of proton beam range based on a detector is provided, that is, first, in the process of proton beam entering the target body, the detector is used to detect the prompt gamma particles generated in the target body, and the time difference of each prompt gamma particle from the proton entry time to the particle arrival time is obtained, then according to the time difference of all prompt gamma particles, the prompt gamma time spectrum is statistically obtained, and the prompt gamma time spectrum is subjected to statistical moment analysis to obtain the average value of the time difference, and finally the range of the proton beam after entering the target body is determined in combination with the known mapping relationship between the time difference and the proton beam range. In this way, since only one detector is required and the proton beam range detected in real time is directly obtained based on the prompt gamma time spectrum, compared with the traditional gamma camera relative measurement device, no spatial response is required, the measurement cost can be greatly reduced, the system stability can be improved, and the statistical noise can be effectively reduced, the accuracy of proton therapy dose deposition can be improved, and it is conducive to real-time and efficient treatment of tumors at different depths, which is convenient for practical application and promotion.

[0014] In one possible design, the method further includes:

[0015] Obtaining the emission energy of the proton beam or weight factors of different emission energies;

[0016] The optimal angle between the detection direction and the forward direction is determined according to the emission energy of the proton beam or weight factors of different emission energies in combination with a second known mapping relationship between the proton emission energy and the optimal angle of the detector.

[0017] In a possible design, determining the optimal angle between the detection direction and the forward direction according to the weight factors of different emission energies of the proton beam and a second known mapping relationship between the proton emission energy and the optimal angle of the detector includes:

[0018] For different emission energies of the proton beam, determining a corresponding candidate optimal angle between the detection direction and the forward direction in combination with a second known mapping relationship between the proton emission energy and the detector optimal angle;

[0019] The candidate optimal angle corresponding to the emitted energy with the maximum weight factor is determined as the final optimal angle between the detection direction and the forward direction, or the final optimal angle a between the detection direction and the forward direction is calculated according to the following formula: E :

[0020]

[0021] Where K represents the total amount of emitted energy, k represents a positive integer, and η k represents the weight factor of the kth outgoing energy, α S,k represents the alternative optimal angle corresponding to the kth exit energy.

[0022] In one possible design, the method further includes:

[0023] Acquire known generation positions and known emission directions of a plurality of historical prompt gamma particles, wherein the historical prompt gamma particles refer to prompt gamma particles generated in the target target after the proton beam historically enters the target target;

[0024] According to the known center position and known size parameters of the detector, the detection surface equation of the detector at each angle between the detection direction and the forward direction is determined by using the point method, wherein the detection surface equation includes the plane equation and boundary conditions of the detection surface;

[0025] For each of the plurality of historical prompt gamma particles, according to the corresponding known generation position and known emission direction, a corresponding emission line equation is determined by using a point parameter method;

[0026] For each of the angles, according to the corresponding detection surface equation and the emission line equation of each of the historical prompt gamma particles, determine whether the corresponding detection surface intersects with the emission line of each of the historical prompt gamma particles, and obtain the total number of corresponding historical prompt gamma particles that intersect;

[0027] A certain angle corresponding to the maximum total number of historical prompt gamma particles with intersection is determined as the optimal angle between the detection direction and the forward direction.

[0028] In a possible design, based on the known center position and known size parameters of the detector, the detection surface equation of the detector at each angle between the detection direction and the forward direction is determined by using the point method, including:

[0029] When the detector is cylindrical, let the angle between the detection direction and the forward direction be α, let the plane where the detection direction and the forward direction are located be the YZ plane in the XYZ space rectangular coordinate system and the forward direction be the Z-axis direction of the XYZ space rectangular coordinate system, let the three-dimensional coordinates of the known center position of the detector in the XYZ space rectangular coordinate system be (x0, y0, z0), and let the following two known size parameters of the detector be: the length of the cylinder is L and the diameter of the cylinder is R;

[0030] According to the known center position of the detector, the cylindrical length of the detector and the angle between the detection direction and the forward direction, the three-dimensional coordinates of the center position of the detection surface of the detector in the XYZ space rectangular coordinate system are determined as follows:

[0031]

[0032] Determine the normal vector (a, b, c) of the detector in the XYZ space rectangular coordinate system according to the known center position of the detector and the center position of the detection surface;

[0033] According to the center position of the detection surface of the detector and the normal vector (a, b, c), the detection surface equation of the detector when the angle between the detection direction and the forward direction is α is determined by using the point method:

[0034]

[0035] Wherein, (x, y, z) represents the three-dimensional coordinates of a point on the detection surface of the detector in the XYZ space rectangular coordinate system.

[0036] In a possible design, when the detector is a scintillator detector, the detector is used to detect prompt gamma particles generated in the target body, including:

[0037] The scintillator detector is controlled to detect only prompt gamma particles generated in the target body and having emission energy belonging to a preset energy range, wherein the energy lower limit of the preset energy range is lower than 4.438 MeV and the energy upper limit of the preset energy range is higher than 4.444 MeV.

[0038] In a possible design, the time difference between the time when the proton enters and the time when the particle arrives for each prompt gamma particle is obtained, including:

[0039] Obtain the known generation position and known generation time of each prompt gamma particle;

[0040] According to the known center position and known size parameters of the detector, the detection surface equation of the detector at the angle between the detection direction and the forward direction is determined by using the point method, wherein the detection surface equation includes the plane equation and boundary conditions of the detection surface;

[0041] For each of the prompt gamma particles, determining the corresponding transmission distance from the corresponding known generation position to the detection surface of the detector according to the detection surface equation and the corresponding known generation position;

[0042] For each instantaneous gamma particle, according to the corresponding known generation time and transmission distance, the corresponding time difference Δt from the proton entry time to the particle arrival time is calculated according to the following formula:

[0043]

[0044] In the formula, Δt 0,γ represents the first time difference from the moment of proton entry to the known moment of prompt gamma particle generation, Δd γ represents the transmission distance of prompt gamma particles, c v represents the speed of light, the proton entry time refers to the time when the proton beam enters the target body, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target body.

[0045] In a second aspect, a detector-based proton beam range online measurement device is provided, comprising a time difference acquisition unit, a time spectrum statistics unit, a statistical moment analysis unit, and a proton beam range determination unit which are sequentially communicatively connected;

[0046] The time difference acquisition unit is used to detect prompt gamma particles generated in the target body by using a detector during the process of the proton beam entering the target body, and obtain the time difference of each prompt gamma particle from the proton entry time to the particle arrival time, wherein the detector is located at one side of the target body and the detection direction of the detector is located in the same plane as the forward direction of the proton beam, the proton beam enters the target body in a periodic form, the proton entry time refers to the time when the proton beam enters the target body, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target body;

[0047] The time spectrum statistics unit is used to obtain a prompt gamma time spectrum based on the time differences of all the prompt gamma particles after finding that the detected number of the prompt gamma particles reaches a preset number threshold, wherein the prompt gamma time spectrum is used to illustrate the detected number of the prompt gamma particles corresponding to different time differences;

[0048] The statistical moment analysis unit is used to perform statistical moment analysis on the prompt gamma time spectrum to obtain a time difference average value;

[0049] The proton beam range determination unit is used to determine the range of the proton beam after entering the target body according to the time difference average value and a first known mapping relationship between the time difference and the proton beam range.

[0050] In a third aspect, the present invention provides a computer device comprising a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the proton beam range online measurement method as described in the first aspect or any possible design of the first aspect.

[0051] In a fourth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed on a computer, the method for online measurement of proton beam range as described in the first aspect or any possible design of the first aspect is executed.

[0052] In a fifth aspect, the present invention provides a computer program product, comprising a computer program or instructions, which, when executed by a computer, implements the proton beam range online measurement method as described in the first aspect or any possible design of the first aspect.

[0053] Beneficial effects of the above scheme:

[0054] (1) The present invention creatively provides a new solution for online measurement of proton beam range based on a detector, that is, first, in the process of proton beam entering the target body, the detector is used to detect the prompt gamma particles generated in the target body, and the time difference of each prompt gamma particle from the time of proton entry to the time of particle arrival is obtained, then the prompt gamma time spectrum is statistically obtained based on the time difference of all prompt gamma particles, and the prompt gamma time spectrum is subjected to statistical moment analysis to obtain the average time difference, and finally the range of the proton beam after entering the target body is determined by combining the known mapping relationship between the time difference and the proton beam range. In this way, since only one detector is required and the proton beam range detected in real time is directly obtained based on the prompt gamma time spectrum, compared with the traditional gamma camera relative measurement device, no spatial response is required, which can greatly reduce the measurement cost, improve the system stability, and can effectively reduce statistical noise, improve the accuracy of proton therapy dose deposition, and facilitate real-time and efficient treatment of tumors at different depths, which is convenient for practical application and promotion;

[0055] (2) The proton beam emission energy or the weight factors of different emission energies can be used to determine the angle of the detector, and then optimize the detection angle for the energy range and the detection angle for the energy weight, so as to achieve multi-objective optimization to obtain the purpose of maximum detection efficiency;

[0056] (3) The prompt gamma particle emission angle can also be used to determine the angular placement of the detector, thereby achieving multi-target optimization to achieve the goal of maximum detection efficiency;

[0057] (4) It can also effectively utilize the prompt gamma distribution information generated by protons during radiotherapy, effectively avoiding the influence of other secondary particles such as neutrons. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0059] Figure 1 A schematic flow chart of a detector-based on-line proton beam range measurement method provided in an embodiment of the present application.

[0060] Figure 2 This is an example diagram of the positional relationship between the detector and the target object provided in an embodiment of the present application.

[0061] Figure 3 This is an example diagram of the normalized number of prompt gamma particle emissions in a target provided in an embodiment of the present application.

[0062] Figure 4 This is an example diagram of the normalized prompt gamma particle emission angle in the target provided in the embodiment of the present application.

[0063] Figure 5 This is an example diagram of the prompt gamma time spectrum obtained by detecting prompt gamma particles at different angles provided in the embodiments of the present application.

[0064] Figure 6 This is an example diagram of the known mapping relationship between the time difference and the proton beam range provided in an embodiment of the present application.

[0065] Figure 7 An example diagram of particle counting results obtained by detecting prompt gamma particles at different angles provided in an embodiment of the present application.

[0066] Figure 8 This is an example diagram of the known mapping relationship between the proton emission energy and the optimal angle of the detector provided in an embodiment of the present application.

[0067] Fig. 9 A schematic structural diagram of a detector-based proton beam range online measurement device provided in an embodiment of the present application.

[0068] Fig.10 A schematic diagram of the structure of a computer device provided in an embodiment of the present application.

[0069] In the above drawings: 100-target body; 200-detector. DETAILED DESCRIPTION

[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.

[0071] It should be understood that although the terms first and second, etc. may be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another object. For example, a first object can be referred to as a second object, and similarly, a second object can be referred to as a first object without departing from the scope of the exemplary embodiments of the present invention.

[0072] It should be understood that the term "and / or" that may appear in this document is merely a description of the association relationship between associated objects, indicating that there may be three relationships. For example, A and / or B can indicate three situations: A exists alone, B exists alone, or A and B exist at the same time. For another example, A, B and / or C can indicate the existence of any one of A, B and C or any combination of them. The term " / and" that may appear in this document describes another type of association object relationship, indicating that there may be two relationships. For example, A / and B can indicate two situations: A exists alone or A and B exist at the same time. In addition, the character " / " that may appear in this document generally indicates that the previous and next associated objects are in an "or" relationship.

[0073] Example:

[0074] like Figures 1-2 As shown, the detector-based online proton beam range measurement method provided in the first aspect of this embodiment can be, but is not limited to, executed by a computer device having certain computing resources and communicating with the detector, such as a proton therapy control host or a cloud server. Figure 1 As shown, the proton beam range online measurement method may include but is not limited to the following steps S1 to S4.

[0075] S1. In the process of proton beam entering the target body, a detector is used to detect prompt gamma particles generated in the target body, and the time difference of each prompt gamma particle from the proton entry moment to the particle arrival moment is obtained, wherein the detector is located on one side of the target body and the detection direction of the detector is located in the same plane as the forward direction of the proton beam, the proton beam enters the target body in a periodic form, the proton entry moment refers to the moment when the proton beam enters the target body, and the particle arrival moment refers to the moment when the prompt gamma particle arrives at the detector after the proton beam enters the target body.

[0076] In step S1, the target body may be a PMMA (Polymethyl Methacrylate) target body used in a measurement experiment, or may be a human body undergoing proton therapy. The detector may be implemented by, but is not limited to, a cylindrical scintillator detector. Figure 2 As shown, for example, the detector 200 is located on the left side of the target body 100, the target body 100 is the origin of the XYZ space rectangular coordinate system, the plane where the detection direction and the forward direction are located is the YZ plane in the XYZ space rectangular coordinate system, the forward direction is the Z-axis direction of the XYZ space rectangular coordinate system, and the detection direction and the forward direction have a certain angle, which determines the detection surface orientation of the detector.

[0077] In step S1, the prompt gamma particles refer to gamma particles after the slow gamma particles are eliminated (they come from the decay of nuclides. Since the half-life of these nuclides is much longer than the proton emission period, they will remain for a long time during the entire treatment process. Moreover, since these nuclides mostly come from the interaction between neutrons and matter during the treatment process, they belong to the third-order particles and are difficult to reflect the range and energy information of primary particles, i.e., initial protons. Therefore, they need to be routinely eliminated to reduce measurement errors). They only exist in the ns time after the proton collides with the material atoms. The prompt gamma particles come from nuclear reactions, and the number of them produced depends on the cross section of nuclear interactions. The prompt gamma particles will be generated along the proton's forward motion path and will be generated at a certain path x. p The number of prompt gamma-ray particles emitted at is And the number of prompt gamma particle emissions along the entire path is In the target body, considering the protons and 12 C and 16The interaction of O will lead to the emission of discrete instantaneous gamma particles, so the instantaneous gamma particles will be emitted in different directions, and the number of emitted particles in each direction is not necessarily the same, with angular distribution characteristics (which means that under certain conditions, the differential cross section varies as a function of the emission angle relative to the direction of the incident particle beam. This concept is very important for understanding some phenomena in particle physics and nuclear physics. Specifically, the shape of the angular distribution is usually related to the characteristics of the reaction channel involved and the energy of the incident particle, and may vary with the change of the selected coordinate system). For example, the probability of emitting a particle within a unit solid angle in the (θ, α) direction is For a given beam and detector model g(E) and differential cross section The number of prompt gamma particles m detected for each period of incident protons can be described as Where σ is the target element (i.e. 12 C element and 16 O element, etc.), NA is Avogadro's constant, Ar is the relative atomic mass of the target element. Specifically, the prompt gamma generated by protons with an emission energy of 150MeV in the target target can be evaluated by using Monte Carlo simulation (also known as computer random simulation method, statistical simulation method, statistical test method, a calculation method based on "random numbers", or a numerical simulation method that takes probability phenomena as the research object). For example: the total prompt gamma particle count generated in the target target is normalized to the total number of incident protons, and information about the generation position, emission direction, emission energy and generation time of the prompt gamma particles can be obtained (this information is obtained through Monte Carlo simulation, which is equivalent to the original data set of the prompt gamma particles; for incident protons with different emission energies, there will be many such data sets, so through the method of this embodiment, these data sets are processed and screened, etc., and the number of gammas obtained at different detector angles can be obtained. The detection angle corresponding to the maximum number of gammas is the optimal detection angle). For example, Figure 3 The relationship between the number of prompt gamma particles emitted by each proton and the proton's penetration depth is shown. Figure 4 The emission angle of prompt gamma particles is shown as a function of the proton incidence depth, with the angle normalized to the proton beam emission direction.

[0078] In step S1, preferably, when the detector is a scintillator detector, the detector is used to detect prompt gamma particles generated in the target body, including but not limited to: controlling the scintillator detector to only detect prompt gamma particles generated in the target body and having emission energy in a preset energy range, wherein the energy lower limit of the preset energy range is lower than 4.438MeV, and the energy upper limit of the preset energy range is higher than 4.444MeV. Considering that the prompt gamma particles are mainly generated by12 C (corresponding to the emission energy of the particle is 4.438 MeV) and 11 It is produced by the deexcitation of B (the emission energy of the corresponding particle is 4.444MeV). Therefore, if the initial energy area of ​​interest ranges from 3.1MeV to 4.6MeV (but not limited to this energy range), only particles with an emission energy near 4.44MeV can be retained for detection. In this way, the emission energy area of ​​further interest can cover the full energy peak, single escape peak and double escape peak of prompt gamma particles, thereby achieving a balance between noise removal and detection efficiency (that is, the larger the energy range, the greater the noise, and the smaller the energy range, the higher the signal-to-noise ratio, but the detection efficiency will be reduced, so it should be considered comprehensively).

[0079] In the step S1, the time difference of each prompt gamma particle from the time when the proton enters to the time when the particle arrives is used for subsequent statistics to obtain the prompt gamma time spectrum. Preferably, the time difference of each prompt gamma particle from the time when the proton enters to the time when the particle arrives is obtained, including but not limited to the following steps S11 to S14.

[0080] S11. Obtain the known generation position and known generation time of each prompt gamma particle.

[0081] S12. Based on the known center position and known size parameters of the detector, the point method is used to determine the detection surface equation of the detector at the angle between the detection direction and the forward direction, wherein the detection surface equation includes the plane equation and boundary conditions of the detection surface.

[0082] S13. For each of the prompt gamma particles, according to the detection surface equation and the corresponding known generation position, determine the corresponding transmission distance from the corresponding known generation position to the detection surface of the detector;

[0083] S14. For each instantaneous gamma particle, according to the corresponding known generation time and transmission distance, the corresponding time difference Δt from the proton entry time to the particle arrival time is calculated according to the following formula:

[0084]

[0085] In the formula, Δt 0,γ represents the first time difference from the moment of proton entry to the known moment of prompt gamma particle generation, Δd γ represents the transmission distance of prompt gamma particles, c v represents the speed of light, the proton entry time refers to the time when the proton beam enters the target body, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target body.

[0086] In step S1, the time difference of each prompt gamma particle from the time when the proton enters to the time when the particle arrives can also be directly measured using an existing timer with an accuracy of nanoseconds or above, that is, the timer is started when the proton beam enters the target body, and the timer is stopped when the detector detects a prompt gamma particle, and the final timing time difference is used as the time difference of the prompt gamma particle from the time when the proton enters to the time when the particle arrives.

[0087] S2. After it is found that the detected number of the prompt gamma particles has reached a preset number threshold, a prompt gamma time spectrum is statistically obtained based on the time differences of all the prompt gamma particles, wherein the prompt gamma time spectrum is used to illustrate the detected number of the prompt gamma particles corresponding to different time differences.

[0088] In step S2, the preset number threshold is used as a reliability criterion for the prompt gamma time spectrum, that is, only when the number of detected prompt gamma particles reaches a certain number, it has a certain reliability; if it does not reach, it is necessary to continue detection through the aforementioned step S1 when the proton beam is emitted after the proton beam periodically completes and enters the next period. The specific statistical process of the prompt gamma time spectrum can be obtained based on statistical knowledge. For example, Figure 5 shown.

[0089] S3. Perform statistical moment analysis on the prompt gamma time spectrum to obtain an average value of the time difference.

[0090] In step S3, Figure 5 As shown, since the instantaneous gamma time spectrum is normally distributed, the statistical moment analysis process can be conventionally completed based on the normal distribution characteristics to obtain relevant statistical moment parameters such as the mean value μ and standard deviation σ of the time difference.

[0091] S4. Determine the range of the proton beam after entering the target body according to the average value of the time difference and a first known mapping relationship between the time difference and the range of the proton beam.

[0092] In step S4, it is considered that as the travel time of the protons in the target increases, the average value of the time difference will also increase, so that the distribution broadening of the prompt gamma time spectrum will also increase, that is, the standard deviation σ will also increase. Therefore, this statistical distribution contains information about the proton beam range, that is, when the proton beam range changes, the value of the statistical parameter will also change. For example, the time difference has a fitting relationship with the proton beam range and can be known in advance, as shown in detail. Figure 6 As shown, the count of the instantaneous gamma example and the angle between the detection direction and the forward direction also have a fitting relationship and can be known in advance, as shown in FIG. Figure 7 shown.

[0093] Therefore, based on the proton beam range online measurement method described in the aforementioned steps S1 to S4, a new solution for online measurement of the proton beam range based on a detector is provided, that is, first, in the process of the proton beam entering the target body, the detector is used to detect the prompt gamma particles generated in the target body, and the time difference of each prompt gamma particle from the proton entry time to the particle arrival time is obtained, then according to the time difference of all prompt gamma particles, the prompt gamma time spectrum is statistically obtained, and the prompt gamma time spectrum is subjected to statistical moment analysis to obtain the average time difference, and finally the range of the proton beam after entering the target body is determined in combination with the known mapping relationship between the time difference and the proton beam range. In this way, since only one detector is required and the proton beam range detected instantly is obtained directly based on the prompt gamma time spectrum, compared with the traditional gamma camera relative measurement device, no spatial response is required, the measurement cost can be greatly reduced, the system stability can be improved, and the statistical noise can be effectively reduced, the accuracy of proton therapy dose deposition can be improved, and it is conducive to real-time and efficient treatment of tumors at different depths, which is convenient for practical application and promotion.

[0094] Based on the technical solution of the first aspect mentioned above, this embodiment further provides a possible design for achieving maximum detection efficiency, that is, considering that protons of different energies have different ranges, for protons of different energies, in order to obtain the highest detection efficiency, the method preferably also includes but is not limited to the following steps S51 to S52.

[0095] S51. Obtaining the emission energy of the proton beam or weight factors of different emission energies.

[0096] In the step S51, the specific method of obtaining the proton beam emission energy or the weighting factors of different emission energies can be, but is not limited to, directly reading from the proton therapy plan.

[0097] S52. Determine the optimal angle between the detection direction and the forward direction according to the emission energy of the proton beam or the weight factors of different emission energies and in combination with a second known mapping relationship between the proton emission energy and the optimal angle of the detector.

[0098] In the step S52, specifically, the optimal angle between the detection direction and the forward direction is determined according to the weight factors of different emission energies of the proton beam and the second known mapping relationship between the proton emission energy and the optimal angle of the detector, including but not limited to the following steps S521 to S522.

[0099] S521. For different emission energies of the proton beam, determine the corresponding alternative optimal angle between the detection direction and the forward direction in combination with a second known mapping relationship between the proton emission energy and the optimal angle of the detector.

[0100] In step S521, the second known mapping relationship between the proton emission energy and the detector optimal angle can be, for example, Figure 8 As shown: for an emission energy of 70-100MeV, the corresponding optimal angle of the detector is 60 degrees; for an emission energy of 110-150MeV, the corresponding optimal angle of the detector is 45 degrees; for an emission energy of 160-200MeV, the corresponding optimal angle of the detector is 45 degrees; and so on.

[0101] S522. Determine the candidate optimal angle corresponding to the emission energy with the maximum weight factor as the final optimal angle between the detection direction and the forward direction, or calculate the final optimal angle a between the detection direction and the forward direction according to the following formula: E :

[0102]

[0103] Where K represents the total amount of emitted energy, k represents a positive integer, and η k represents the weight factor of the kth outgoing energy, α S,k represents the alternative optimal angle corresponding to the kth exit energy.

[0104] In the step S522, for example, if the different emission energies of the proton beam are 70 MeV, 90 MeV, and 130 MeV respectively and the weight factors are 1:2:4 respectively, then the alternative optimal angle corresponding to 130 MeV and 45 degrees can be selected as the final optimal angle between the detection direction and the forward direction, or the angle based on the formula The calculated 51.4 degrees is determined as the final optimal angle between the detection direction and the forward direction.

[0105] Therefore, based on the above possible design one, the emission energy of the proton beam or the weight factor of different emission energies can be used to determine the angular placement of the detector, and then the detection angle for the energy range and the detection angle for the energy weight can be optimized to achieve multi-objective optimization to obtain the purpose of maximum detection efficiency. The optimal detector angle can be determined based on the energy range of the clinical treatment beam, thereby improving the detection efficiency, and further effectively reducing statistical noise, improving the accuracy of proton therapy dose deposition, and facilitating real-time and efficient treatment of tumors at different depths.

[0106] Based on the technical solution of the first aspect mentioned above, the present embodiment further provides another possible design 2 for achieving maximum detection efficiency, that is, considering that when a prompt gamma particle is generated at a certain path, it can be detected by the detector only within a certain angle range, and the size of this angle range depends on the placement and size of the detector. In order to obtain the highest detection efficiency, the method preferably also includes but is not limited to the following steps S61 to S65.

[0107] S61. Acquire known generation positions and known emission directions of multiple historical prompt gamma particles, wherein the historical prompt gamma particles refer to prompt gamma particles generated in the target target after the proton beam historically enters the target target.

[0108] S62. Based on the known center position and known size parameters of the detector, the point method is used to determine the detection surface equation of the detector at various angles between the detection direction and the forward direction, wherein the detection surface equation includes the plane equation and boundary conditions of the detection surface.

[0109] In the step S62, specifically, based on the known center position and known size parameters of the detector, the point method is used to determine the detection surface equation of the detector at various angles between the detection direction and the forward direction, including but not limited to the following steps S621 to S624.

[0110] S621. When the detector is in the shape of a cylinder, let the angle between the detection direction and the forward direction be α, let the plane where the detection direction and the forward direction are located be the YZ plane in the XYZ space rectangular coordinate system and the forward direction be the Z-axis direction of the XYZ space rectangular coordinate system, let the three-dimensional coordinates of the known center position of the detector in the XYZ space rectangular coordinate system be (x0, y0, z0), and also let the following two known dimensional parameters of the detector: the length of the cylinder is L and the diameter of the cylinder is R.

[0111] S622. According to the known center position of the detector, the cylindrical length of the detector and the angle between the detection direction and the forward direction, determine the three-dimensional coordinates of the center position of the detection surface of the detector in the XYZ space rectangular coordinate system:

[0112] S623. Determine the normal vector (a, b, c) of the detector in the XYZ space rectangular coordinate system based on the known center position of the detector and the center position of the detection surface.

[0113] S624. According to the center position of the detection surface of the detector and the normal vector (a, b, c), the detection surface equation of the detector is determined by using the point method when the angle between the detection direction and the forward direction is α:

[0114]

[0115] Wherein, (x, y, z) represents the three-dimensional coordinates of a point on the detection surface of the detector in the XYZ space rectangular coordinate system.

[0116] S63. For each of the multiple historical prompt gamma particles, determine the corresponding emission line equation using a point parameter method according to the corresponding known generation position and known emission direction.

[0117] In the step S63, specifically, assuming that the three-dimensional coordinates of the known generation position of a certain historical prompt gamma particle in the XYZ space rectangular coordinate system are (x2, y2, z2), and assuming that the known emission direction vector of the certain historical prompt gamma particle in the XYZ space rectangular coordinate system is (m, n, p), the emission straight line equation of the certain historical prompt gamma particle is determined by point reference method as follows:

[0118]

[0119] Where t represents the transmission time.

[0120] S64. For each of the angles, based on the corresponding detection surface equation and the emission line equation of each historical prompt gamma particle, determine whether the corresponding detection surface intersects with the emission line of each historical prompt gamma particle, and count the total number of corresponding historical prompt gamma particles that have intersections.

[0121] S65. Determine a certain angle corresponding to the maximum total number of historical prompt gamma particles with intersection as the optimal angle between the detection direction and the forward direction.

[0122] Therefore, based on the above possible design 2, the prompt gamma particle emission angle can also be used to determine the angular placement of the detector, thereby achieving multi-target optimization to achieve the purpose of maximum detection efficiency.

[0123] like Fig. 9 As shown, the second aspect of this embodiment provides a virtual device for implementing the proton beam range online measurement method described in the first aspect or any possible design in the first aspect, comprising a time difference acquisition unit, a time spectrum statistics unit, a statistical moment analysis unit and a proton beam range determination unit which are sequentially communicatively connected;

[0124] The time difference acquisition unit is used to detect prompt gamma particles generated in the target body by using a detector during the process of the proton beam entering the target body, and obtain the time difference of each prompt gamma particle from the proton entry time to the particle arrival time, wherein the detector is located at one side of the target body and the detection direction of the detector is located in the same plane as the forward direction of the proton beam, the proton beam enters the target body in a periodic form, the proton entry time refers to the time when the proton beam enters the target body, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target body;

[0125] The time spectrum statistics unit is used to obtain a prompt gamma time spectrum based on the time differences of all the prompt gamma particles after finding that the detected number of the prompt gamma particles reaches a preset number threshold, wherein the prompt gamma time spectrum is used to illustrate the detected number of the prompt gamma particles corresponding to different time differences;

[0126] The statistical moment analysis unit is used to perform statistical moment analysis on the prompt gamma time spectrum to obtain a time difference average value;

[0127] The proton beam range determination unit is used to determine the range of the proton beam after entering the target body according to the time difference average value and a first known mapping relationship between the time difference and the proton beam range.

[0128] The working process, working details and technical effects of the aforementioned device provided in the second aspect of this embodiment can be referred to the first aspect or any possible design of the proton beam range online measurement method described in the first aspect, and will not be repeated here.

[0129] like Fig.10As shown, the third aspect of the present embodiment provides a computer device for performing the proton beam range online measurement method as described in the first aspect or any possible design in the first aspect, including a memory, a processor and a transceiver connected in turn, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program, and performs the proton beam range online measurement method as described in the first aspect or any possible design in the first aspect. Specifically exemplified, the memory may include, but is not limited to, a random access memory (Random-Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), a flash memory (FlashMemory), a first-in-first-out memory (First Input First Output, FIFO) and / or a first-in-last-out memory (First Input Last Output, FILO), etc.; the processor may include, but is not limited to, a microprocessor of the STM32F105 series. In addition, the computer device may also include, but is not limited to, a power module, a display screen and other necessary components.

[0130] The working process, working details and technical effects of the aforementioned computer device provided in the third aspect of this embodiment can be referred to the first aspect or any possible design of the proton beam range online measurement method described in the first aspect, and will not be described in detail here.

[0131] In a fourth aspect of this embodiment, there is provided a computer-readable storage medium storing instructions for the proton beam range online measurement method as described in the first aspect or any possible design in the first aspect, that is, the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the proton beam range online measurement method as described in the first aspect or any possible design in the first aspect is executed. Wherein, the computer-readable storage medium refers to a carrier for storing data, which may include but is not limited to computer-readable storage media such as floppy disks, optical disks, hard disks, flash memories, USB flash drives and / or memory sticks, and the computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices.

[0132] The working process, working details and technical effects of the aforementioned computer-readable storage medium provided in the fourth aspect of this embodiment can be referred to the online proton beam range measurement method described in the first aspect or any possible design in the first aspect, and will not be repeated here.

[0133] A fifth aspect of the present embodiment provides a computer program product, including a computer program or an instruction, wherein the computer program or the instruction, when executed by a computer, implements the proton beam range online measurement method as described in the first aspect or any possible design of the first aspect. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.

[0134] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A detector-based on-line proton beam range measurement method, characterized in that: include: In the process of proton beam entering the target target, a detector is used to detect prompt gamma particles generated in the target target, and the time difference of each prompt gamma particle from the proton entry time to the particle arrival time is obtained, wherein the detector is located at one side of the target target and the detection direction of the detector is located in the same plane as the forward direction of the proton beam, the proton beam enters the target target in a periodic form, the proton entry time refers to the time when the proton beam enters the target target, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target target; After finding that the detected number of the prompt gamma particles reaches a preset number threshold, a prompt gamma time spectrum is obtained by statistics according to the time differences of all the prompt gamma particles, wherein the prompt gamma time spectrum is used to illustrate the detected number of the prompt gamma particles corresponding to different time differences; Performing statistical moment analysis on the prompt gamma time spectrum to obtain a time difference average value; Determine the range of the proton beam after entering the target body according to the average value of the time difference and a first known mapping relationship between the time difference and the range of the proton beam; The method further includes: obtaining weight factors of different exit energies of the proton beam; determining the optimal angle between the detection direction and the forward direction according to the weight factors of different exit energies of the proton beam and in combination with a second known mapping relationship between the proton exit energy and the detector optimal angle; According to the weight factors of different emission energies of the proton beam, combined with a second known mapping relationship between the proton emission energy and the detector optimal angle, the optimal angle between the detection direction and the forward direction is determined, including: for different emission energies of the proton beam, combined with a second known mapping relationship between the proton emission energy and the detector optimal angle, the corresponding alternative optimal angle between the detection direction and the forward direction is determined; the alternative optimal angle corresponding to the emission energy with the largest weight factor is determined as the final optimal angle between the detection direction and the forward direction, or the final optimal angle a between the detection direction and the forward direction is calculated according to the following formula: E : Where K represents the total amount of emitted energy, k represents a positive integer, and η k represents the weight factor of the kth outgoing energy, α S,k represents the alternative optimal angle corresponding to the kth exit energy.

2. A detector-based on-line proton beam range measurement method, characterized in that: include: In the process of proton beam entering the target target, a detector is used to detect prompt gamma particles generated in the target target, and the time difference of each prompt gamma particle from the proton entry time to the particle arrival time is obtained, wherein the detector is located at one side of the target target and the detection direction of the detector is located in the same plane as the forward direction of the proton beam, the proton beam enters the target target in a periodic form, the proton entry time refers to the time when the proton beam enters the target target, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target target; After finding that the detected number of the prompt gamma particles reaches a preset number threshold, a prompt gamma time spectrum is obtained by statistics according to the time differences of all the prompt gamma particles, wherein the prompt gamma time spectrum is used to illustrate the detected number of the prompt gamma particles corresponding to different time differences; Performing statistical moment analysis on the prompt gamma time spectrum to obtain a time difference average value; Determine the range of the proton beam after entering the target body according to the average value of the time difference and a first known mapping relationship between the time difference and the range of the proton beam; The method further comprises: Acquire known generation positions and known emission directions of a plurality of historical prompt gamma particles, wherein the historical prompt gamma particles refer to prompt gamma particles generated in the target target after the proton beam historically enters the target target; According to the known center position and known size parameters of the detector, the detection surface equation of the detector at each angle between the detection direction and the forward direction is determined by using the point method, wherein the detection surface equation includes the plane equation and boundary conditions of the detection surface; For each of the plurality of historical prompt gamma particles, according to the corresponding known generation position and known emission direction, a corresponding emission line equation is determined by using a point parameter method; For each of the angles, according to the corresponding detection surface equation and the emission line equation of each of the historical prompt gamma particles, determine whether the corresponding detection surface intersects with the emission line of each of the historical prompt gamma particles, and obtain the total number of corresponding historical prompt gamma particles that intersect; A certain angle corresponding to the maximum total number of historical prompt gamma particles with intersection is determined as the optimal angle between the detection direction and the forward direction.

3. The method for online measurement of proton beam range according to claim 2, characterized in that: According to the known center position and known size parameters of the detector, the detection surface equation of the detector at each angle between the detection direction and the forward direction is determined by using the point method, including: When the detector is cylindrical, let the angle between the detection direction and the forward direction be α, let the plane where the detection direction and the forward direction are located be the YZ plane in the XYZ space rectangular coordinate system and the forward direction be the Z-axis direction of the XYZ space rectangular coordinate system, let the three-dimensional coordinates of the known center position of the detector in the XYZ space rectangular coordinate system be (x0, y0, z0), and let the following two known size parameters of the detector be: the length of the cylinder is L and the diameter of the cylinder is R; According to the known center position of the detector, the cylindrical length of the detector and the angle between the detection direction and the forward direction, the three-dimensional coordinates of the center position of the detection surface of the detector in the XYZ space rectangular coordinate system are determined as follows: Determine the normal vector (a, b, c) of the detector in the XYZ space rectangular coordinate system according to the known center position of the detector and the center position of the detection surface; According to the center position of the detection surface of the detector and the normal vector (a, b, c), the detection surface equation of the detector when the angle between the detection direction and the forward direction is α is determined by using the point method: Wherein, (x, y, z) represents the three-dimensional coordinates of a point on the detection surface of the detector in the XYZ space rectangular coordinate system.

4. The method for online measurement of proton beam range according to claim 1 or 2, characterized in that: When the detector is a scintillator detector, the detector is used to detect prompt gamma particles generated in the target body, including: The scintillator detector is controlled to detect only prompt gamma particles generated in the target body and having emission energy belonging to a preset energy range, wherein the energy lower limit of the preset energy range is lower than 4.438 MeV and the energy upper limit of the preset energy range is higher than 4.444 MeV.

5. The method for online measurement of proton beam range according to claim 1 or 2, characterized in that: The time difference from the time when the proton enters to the time when the particle arrives for each prompt gamma particle is obtained, including: Obtain the known generation position and known generation time of each prompt gamma particle; According to the known center position and known size parameters of the detector, the detection surface equation of the detector at the angle between the detection direction and the forward direction is determined by using the point method, wherein the detection surface equation includes the plane equation and boundary conditions of the detection surface; For each of the prompt gamma particles, determining the corresponding transmission distance from the corresponding known generation position to the detection surface of the detector according to the detection surface equation and the corresponding known generation position; For each instantaneous gamma particle, according to the corresponding known generation time and transmission distance, the corresponding time difference Δt from the proton entry time to the particle arrival time is calculated according to the following formula: In the formula, Δt 0,γ represents the first time difference from the moment of proton entry to the known moment of prompt gamma particle generation, Δd γ represents the transmission distance of prompt gamma particles, c v represents the speed of light, the proton entry time refers to the time when the proton beam enters the target body, and the particle arrival time refers to the time when the prompt gamma particle arrives at the detector after the proton beam enters the target body.

6. A computer device, characterized in that: The invention comprises a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the proton beam range online measurement method as claimed in any one of claims 1 to 5.

7. A computer program product comprising a computer program or instructions, characterized in that The computer program or the instruction, when executed by a computer, implements the proton beam range online measurement method according to any one of claims 1 to 5.