Nuclear pulse signal simulation method and device, electronic equipment and storage medium
By simulating and measuring energy spectrum and ray emission time points, assigning energy values and performing signal conversion processing, it solves the problem of difficulty in obtaining radioactive sources, provides nuclear pulse signals that are consistent with real radioactive sources, and supports detector equipment testing and system optimization.
Patent Information
- Application Number
- CN202411169552.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-24
AI Technical Summary
In detector equipment testing, nuclear pulse signal data processing algorithm verification and detection system optimization, due to the danger, difficulty of storage or high cost of use of radioactive sources, it is difficult for relevant technical personnel to obtain the required radioactive sources, resulting in only a few Several nuclear pulse signals limit the work.
By simulating the measurement energy spectrum and ray emission time points based on the nuclide parameter set and detector parameter set of the target radioactive source, assigning energy values and performing signal conversion processing, a digital signal consistent with the real nuclear pulse signal is generated, and the simulated Real radioactive sources have nuclear pulse signals with consistent distribution patterns in energy value and time.
Without involving real radioactive sources, it provides simulated signals that are consistent with real radioactive sources, supports detector equipment testing, data processing algorithm verification and system optimization, ensuring the accuracy and reliability of simulated signals.
Smart Images

Figure CN118759569A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal simulation, and in particular to a simulation method, device, electronic device and storage medium for nuclear pulse signals. Background Art
[0002] In the work of equipment testing of detectors, verification of data processing algorithms for nuclear pulse signals, and optimization of detection systems, it is necessary to use or analyze the nuclear pulse signals generated when the detector detects radioactive sources. However, due to the dangers of radioactive sources, difficulty in storage, or high cost of use, relevant technicians may not be able to obtain the required radioactive sources, or may only be able to obtain a few types of radioactive sources. This will result in relevant technicians being able to obtain only nuclear pulse signals from a few types of radioactive sources, or even being unable to obtain nuclear pulse signals from radioactive sources. This situation will greatly hinder the work of equipment testing of detectors, verification of data processing algorithms for nuclear pulse signals, and optimization of detection systems.
[0003] In order to smoothly carry out the equipment testing of the detector, the verification of the data processing algorithm of the nuclear pulse signal, and the optimization of the detection system, some relevant technicians will simulate the nuclear pulse signal generated by the target radiation source without involving the real radiation source. Therefore, how to simulate the nuclear pulse signal with the same distribution law in energy value and time as the real nuclear pulse signal has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for simulating a nuclear pulse signal to solve one or more of the above-mentioned technical problems.
[0005] In a first aspect, an embodiment of the present application provides a method for simulating a nuclear pulse signal, which is used to simulate a nuclear pulse signal generated by a target radiation source. The method includes: based on a first nuclide parameter set corresponding to the target radiation source and a detector parameter set corresponding to a designated detector, simulating a measurement energy spectrum formed by a designated detector detecting a target ray; the target ray is emitted by the nuclide of the target radiation source during the decay process; based on a second nuclide parameter set corresponding to the target radiation source, simulating emission time points corresponding to multiple target rays emitted by the nuclide in the decay process within a set time period; using the measurement energy spectrum, assigning corresponding energy values to each target ray; based on the emission time points and energy values corresponding to each target ray, generating a digital signal, and performing signal conversion processing on the digital signal to obtain a nuclear pulse signal.
[0006] Optionally, based on the first nuclide parameter set corresponding to the target radiation source and the detector parameter set corresponding to the designated detector, simulating the measurement energy spectrum formed by the designated detector detecting the target rays includes: based on the first nuclide parameter set and the detector parameter set, using the Monte Carlo method to simulate the measurement energy spectrum.
[0007] Optionally, the first nuclide parameter set includes: the nuclide type corresponding to the nuclide and the standard energy spectrum corresponding to the nuclide; the detector parameter set includes: the detector type corresponding to the specified detector, the detector size corresponding to the specified detector, the detector material corresponding to the specified detector, and the detection efficiency corresponding to the specified detector.
[0008] Optionally, based on the second nuclide parameter set corresponding to the target radiation source, simulating the emission time points corresponding to multiple target rays emitted by the nuclide in the decay process in the set time period includes: dividing the set time period into multiple sub-time periods; based on the second nuclide parameter set, determining the total number of target rays emitted by the nuclide in each sub-time period; for each sub-time period, based on the total number of target rays and the emission law corresponding to the target rays, determining the emission time point corresponding to each target ray in the sub-time period; the emission law is that the time interval between adjacent target rays emitted by the nuclide in the sub-time period conforms to the Poisson distribution.
[0009] Optionally, the second nuclide parameter set includes: a decay constant corresponding to the nuclide and a set initial activity corresponding to the nuclide; based on the second nuclide parameter set, determining the total number of target rays emitted by the nuclide in each sub-time period includes: for each sub-time period, based on the decay constant and the set initial activity, determining the target activity corresponding to the nuclide in the sub-time period at each set time point; based on the target activity, determining the number of target rays emitted by the nuclide at each set time point; based on the number of target rays emitted by the nuclide at each set time point, determining the total number of target rays emitted by the nuclide in the sub-time period.
[0010] Optionally, using the measured energy spectrum to assign corresponding energy values to each target ray includes: determining the proportion of radiation events corresponding to each energy value range in the measured energy spectrum; and randomly assigning at least one energy value corresponding to each energy value range to each target ray according to the proportion of radiation events as the energy value corresponding to the target ray.
[0011] Optionally, performing signal conversion processing on the digital signal to obtain the nuclear pulse signal includes: performing signal conversion processing on the digital signal using a digital-to-analog converter to obtain the nuclear pulse signal.
[0012] In a second aspect, an embodiment of the present application provides a nuclear pulse signal simulation device for simulating a nuclear pulse signal generated by a target radiation source, the device comprising: a measurement energy spectrum simulation module for simulating a measurement energy spectrum formed by a designated detector detecting a target ray based on a first nuclide parameter set corresponding to the target radiation source and a detector parameter set corresponding to the designated detector; the target ray is emitted by the nuclide of the target radiation source during the decay process; an emission time point simulation module for simulating, based on a second nuclide parameter set corresponding to the target radiation source, the emission time points corresponding to a plurality of target rays emitted by the nuclide in the decay process within a set time period; an energy value allocation module for using the measurement energy spectrum to allocate corresponding energy values to each target ray; a nuclear pulse signal simulation module for generating a digital signal based on the emission time points and energy values corresponding to each target ray, and performing signal conversion processing on the digital signal to obtain a nuclear pulse signal.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, and the processor implements the method provided in any embodiment of the present application when executing the computer program.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented.
[0015] Compared with the prior art, this application has the following advantages:
[0016] In the technical solution of the present application, the nuclear pulse signal is obtained by performing signal conversion processing on the digital signal, and the emission time point of each target ray that generates the digital signal is simulated based on the second nuclide parameter set corresponding to the target radiation source. At the same time, the energy value of each target ray that generates the digital signal is allocated to the target ray using the measured energy spectrum, and the measured energy spectrum is simulated based on the first nuclide parameter set corresponding to the target radiation source and the detector parameter set corresponding to the designated detector. Therefore, the nuclear pulse signal simulated by the technical solution of the present application will have a consistent distribution law in energy value and time with the real nuclear pulse signal generated when the designated detector is actually used to detect the target radiation source. That is to say, the technical solution of the present application can simulate a simulated nuclear pulse signal that is consistent with the amplitude and time distribution law of the real radiation source (i.e., the target radiation source) without involving the real radiation source, thereby more accurately reflecting the response when the designated detector is actually used to detect the target radiation source. In this case, the technical solution of the present application can provide a reliable simulation signal for the equipment testing of the designated detector, the verification of the data processing algorithm of the nuclear pulse signal, and the optimization of the detection system without involving the real radiation source.
[0017] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0019] Figure 1 A flow chart of a method for simulating a nuclear pulse signal provided in an embodiment of the present application is shown;
[0020] Figure 2 A schematic diagram of a nuclear pulse signal simulation system provided in an embodiment of the present application is shown;
[0021] Figure 3 A schematic diagram showing a nuclear pulse signal simulation device provided in an embodiment of the present application; and
[0022] Figure 4 A block diagram of an electronic device used to implement an embodiment of the present application is shown. DETAILED DESCRIPTION
[0023] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other forms different from those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific implementation disclosed below.
[0024] Figure 1 A flowchart of a nuclear pulse signal simulation method 100 provided in an embodiment of the present application is shown. The method may include steps S101-S104.
[0025] In step S101, based on the first nuclide parameter set corresponding to the target radiation source and the detector parameter set corresponding to the designated detector, a measurement energy spectrum formed by the designated detector detecting the target ray is simulated; the target ray is emitted by the nuclide of the target radiation source during the decay process.
[0026] In the embodiments of the present application, a radiation source refers to a substance that can emit α, β, γ rays or other types of ionizing radiation. A radiation source is usually composed of natural or artificial radioactive nuclides, and the nuclides of the radiation source will release specific types of rays (such as α, β, γ rays) during the decay process. Common radiation sources and the types of rays released by the nuclides of the corresponding radiation sources are as follows:
[0027] Cobalt-60 (Co-60), the type of radiation released by its nuclides is mainly gamma rays;
[0028] Cesium-137 (Cs-137): The type of radiation released by its nuclide is mainly gamma rays;
[0029] Plutonium-239 (Pu-239): The radiation emitted by this nuclide is mainly alpha radiation;
[0030] Carbon-14 (C-14): The type of radiation emitted by this nuclide is mainly beta radiation.
[0031] The simulation method of the nuclear pulse signal provided in the embodiment of the present application can be used to simulate the nuclear pulse signal generated when any one of at least one detector detects any one of at least one radiation source. The designated detector is the detector currently selected from at least one detector, and the target radiation source is the radiation source currently selected from at least one radiation source. When the designated detector and the target radiation source are selected, the real nuclear pulse signal generated when the designated detector detects the target radiation source is simulated.
[0032] In addition, in the embodiment of the present application, in the process of simulating the nuclear pulse signal generated by the target radiation source, the ray emitted by the nuclide of the target radiation source during the decay process can be referred to as the target ray. The ray type corresponding to the target ray is determined by the nuclide of the target radiation source. For example, the ray type corresponding to the target ray may be α ray, β ray, or γ ray.
[0033] The measured energy spectrum refers to the distribution of target rays recorded by a specified detector in different energy value ranges or specific energy values. The measured energy spectrum exists in the form of an energy spectrum graph. Specifically, the energy spectrum graph usually uses the energy value range or specific energy value as the horizontal axis and the number of radiation events as the vertical axis. Among them, each radiation event corresponds to the emission of a target ray.
[0034] In one example, when simulating a measurement energy spectrum based on a first nuclide parameter set and a detector parameter set, the measurement energy spectrum can be simulated using a Monte Carlo method based on the first nuclide parameter set and the detector parameter set. Specifically, in the process of simulating the measurement energy spectrum using the Monte Carlo method, it is necessary to first use the parameters in the first nuclide parameter set and the detector parameter set as parameters for Monte Carlo simulation input, then perform Monte Carlo simulation, and based on the simulation results of the Monte Carlo simulation, count the number of radiation events in different energy value ranges or specific energy values to generate a measurement energy spectrum.
[0035] In the embodiment of the present application, the first nuclide parameter set includes: the nuclide type corresponding to the nuclide and the standard energy spectrum corresponding to the nuclide. The detector parameter set includes: the detector type corresponding to the specified detector, the detector size corresponding to the specified detector, the detector material corresponding to the specified detector, and the detection efficiency corresponding to the specified detector. Among them, the standard energy spectrum (Primary Energy Spectrum) refers to the energy distribution of the rays emitted by the radiation source inside the emission source or in its near field area. The standard energy spectrum can describe the energy level of the rays emitted by the radiation source and its corresponding intensity distribution.
[0036] It should be noted that, in addition to the above parameters, other parameters may need to be determined when using the Monte Carlo method to simulate the measurement of energy spectrum, which will not be limited one by one here.
[0037] In the embodiment of the present application, it is necessary not only to simulate the measured energy spectrum, but also to simulate the emission time points corresponding to the multiple target rays emitted by the nuclide in the decay process in the set time period. In this case, the simulation method of the nuclear pulse signal provided in the embodiment of the present application also needs to execute step S102. In step S102, based on the second nuclide parameter set corresponding to the target radiation source, the emission time points corresponding to the multiple target rays emitted by the nuclide in the decay process in the set time period are simulated.
[0038] For some radioactive sources, the decay period of their nuclides may be very long, making it difficult to cover the entire decay period in actual monitoring. Accordingly, in the process of simulating nuclear pulse signals, nuclear pulse signals within a time period in the nuclide decay period are usually selected to simulate. However, it should be noted that it is necessary to ensure that the nuclear pulse signals within this time period can reflect the main characteristics of the nuclide decay process.
[0039] In the embodiment of the present application, the set time period, for a nuclide with a longer decay period, often refers to a selected time period in the nuclide decay period; for a nuclide with a shorter decay period, often refers to the complete nuclide decay period, and may also refer to a selected time period in the nuclide decay period.
[0040] In a possible implementation, when simulating the emission time points corresponding to multiple target rays in a set time period based on the second nuclide parameter set, the set time period can be first divided into multiple sub-time periods. Then, based on the second nuclide parameter set, the total number of target rays emitted by the nuclide in each sub-time period is determined. After that, for each sub-time period, based on the total number of target rays and the emission law corresponding to the target rays, the emission time points corresponding to each target ray in the sub-time period are determined.
[0041] That is to say, in the embodiment of the present application, in the process of determining the emission time points respectively corresponding to a plurality of target rays within a set time period, it can be achieved by determining the emission time points respectively corresponding to each target ray within a corresponding sub-time period in segments.
[0042] In one example, the second nuclide parameter set includes: a decay constant corresponding to the nuclide and a set initial activity corresponding to the nuclide. In this case, based on the second nuclide parameter set, determining the total number of target rays emitted by the nuclide in each sub-time period can be, for each sub-time period, first determining the target activity corresponding to the nuclide in the sub-time period at each set time point based on the decay constant and the set initial activity. Then, based on the target activity, determining the number of target rays emitted by the nuclide at each set time point. After that, further based on the number of target rays emitted by the nuclide at each set time point, determining the total number of target rays emitted by the nuclide in the sub-time period.
[0043] In the embodiment of the present application, when dividing the sub-time periods, the set time period can be divided into multiple sub-time periods of equal length according to the principle of average distribution. In addition, when dividing the sub-time periods, the set time period can also be divided into multiple sub-time periods according to the time required for the number of unstable nuclei in the nuclide to decay by a specific ratio. For example, the time required for the number of unstable nuclei in the nuclide to decay from 80% to 70% is used as one time period, the time required for the number of unstable nuclei in the nuclide to decay from 70% to 60% is used as another time period, the time required for the number of unstable nuclei in the nuclide to decay from 60% to 50% is used as another time period, and so on, until the set time period is divided into multiple sub-time periods.
[0044] In the embodiment of the present application, the practical interval between adjacent set time points in a sub-time period is a set value, for example, 1 second.
[0045] In one example, when determining the target activity of the nuclide in the sub-time period at each set time point based on the decay constant and the set initial activity, it can be achieved by the following formula:
[0046] N=N0e -λt .
[0047] Among them, N0 is used to indicate the set initial activity, t is used to indicate the time corresponding to the set time point, λ is used to indicate the attenuation constant, and N is used to indicate the target activity.
[0048] In the embodiment of the present application, the target activity is used to represent the average number of radioactive decay events occurring within a set time point, usually in Becquerel (Bq). Therefore, when the target activity corresponding to each set time point is calculated, the number of target rays emitted at the corresponding set time point can be calculated based on the target activity at the corresponding set time point.
[0049] After obtaining the number of target rays emitted at each set time point, the total number of target rays emitted in the sub-time period can be determined by summing the number of target rays emitted at each set time point.
[0050] In one example, the time period is set to be 0-100000 seconds, and when the set time period is divided, it is divided into 100 sub-time periods, each of which is 1000 seconds. In this way, when determining the total target rays emitted by the nucleus in the 100000 seconds and the emission time point of each target ray, the total number of target rays emitted by the nucleus in each sub-time period in the 100 time periods and the emission time point of each target ray emitted by the nucleus in each sub-time period in the 100 time periods can be determined respectively.
[0051] When determining the total number of target rays emitted by the nuclide in each sub-time period in 100 time periods, the target activity corresponding to the nuclide in the sub-time period at each set time point can be determined based on the decay constant and the set initial activity. Then, based on the target activity, the number of target rays emitted by the nuclide at each set time point is determined. After that, based on the number of target rays emitted by the nuclide at each set time point, the total number of target rays emitted by the nuclide in the sub-time period is determined. Taking the first sub-time period as an example, in the process of calculating the total number of target rays emitted by the nuclide in the first sub-time period, the target activity corresponding to each second in 0-100 seconds can be determined based on the decay constant and the set initial activity. Then, based on the target activity corresponding to each second in 0-100 seconds, the number of target rays emitted by the nuclide per second in 0-100 seconds is calculated. After that, the number of target rays emitted by the nuclide per second in 0-100 seconds is summed to obtain the number of target rays emitted by the nuclide in 0-100 seconds.
[0052] In the embodiment of the present application, after determining the total number of target rays emitted by the nuclide in the sub-time period, the emission time point corresponding to each target ray in the sub-time period can be determined according to the emission law that "the time interval between adjacent target rays emitted by the nuclide in the sub-time period conforms to the Poisson distribution".
[0053] The simulation method of nuclear pulse signals provided in the embodiments of the present application divides a longer set time period into multiple shorter sub-time periods, calculates the total number of target rays and determines the emission time point of each target ray in the shorter sub-time period, which can not only reduce the error accumulation caused by the long time period, thereby making the ray emission situation determined in each smaller time period closer to the actual situation, but also makes the processing in each sub-time period relatively independent, which is convenient for analyzing the emission situation of the nuclide section by section.
[0054] In the embodiment of the present application, after simulating the measured energy spectrum and the emission time points corresponding to the multiple target rays emitted by the nuclide during the decay process in the set time period, step S103 needs to be further performed. In step S103, the measured energy spectrum is used to assign corresponding energy values to each target ray.
[0055] In the embodiment of the present application, when using the measured energy spectrum to assign corresponding energy values to each target ray, the proportion of the number of radiation events corresponding to each energy value range in the measured energy spectrum can be determined first. Then, according to the proportion of the number of radiation events, at least one energy value corresponding to each energy value range is randomly assigned to each target ray as the energy value corresponding to the target ray.
[0056] The proportion of radiation events corresponding to each energy value range = the number of radiation events corresponding to each energy value range / the total number of radiation events.
[0057] According to the proportion of radiation events, at least one energy value corresponding to each energy value range is randomly assigned to each target ray as the energy value corresponding to the target ray. This can make the distribution of energy values corresponding to multiple simulated target rays more consistent with the distribution of energy values actually obtained by detecting the target rays using a designated detector.
[0058] It should be noted that in the embodiment of the present application, the execution order of step S101 and step S102 is not specifically limited. Specifically, in the specific implementation process, step S101 and step S102 can be executed simultaneously, or step S101 can be executed first and then step S102, or step S102 can be executed first and then step S101.
[0059] In the embodiment of the present application, after assigning corresponding energy values to each target ray, step S104 needs to be further performed. In step S104, a digital signal is generated based on the emission time point and energy value corresponding to each target ray, and the digital signal is converted to obtain a nuclear pulse signal.
[0060] Generating a digital signal based on the emission time point and energy value corresponding to each target ray specifically means using the emission time point of each target ray as the time coordinate of the digital signal, and using the energy value of each target ray as the amplitude value of the digital signal at the corresponding time point.
[0061] In one example, when performing signal conversion processing on a digital signal to obtain a nuclear pulse signal, a digital-to-analog converter (DAC) can be used to perform signal conversion processing on the digital signal to obtain the nuclear pulse signal.
[0062] The simulation method of the nuclear pulse signal provided in the embodiment of the present application is that the nuclear pulse signal is obtained by performing signal conversion processing on the digital signal, and the emission time point of each target ray that generates the digital signal is simulated based on the second nuclide parameter set corresponding to the target radiation source, and at the same time, the energy value of each target ray that generates the digital signal is allocated to the target ray using the measured energy spectrum, and the measured energy spectrum is simulated based on the first nuclide parameter set corresponding to the target radiation source and the detector parameter set corresponding to the designated detector. Therefore, the nuclear pulse signal simulated by the simulation method of the nuclear pulse signal provided in the embodiment of the present application will have a consistent distribution law in energy value and time with the real nuclear pulse signal generated when the designated detector is actually used to detect the target radiation source. That is to say, the simulation method of the nuclear pulse signal provided in the embodiment of the present application can simulate a simulated nuclear pulse signal that is consistent with the amplitude and time distribution law of the real radiation source (i.e., the target radiation source) without involving the real radiation source, thereby more accurately reflecting the response when the designated detector is actually used to detect the target radiation source. In this case, the simulation method of the nuclear pulse signal provided in the embodiment of the present application can provide a reliable simulation signal for equipment testing of a specified detector, verification of a data processing algorithm for a nuclear pulse signal, and optimization of a detection system without involving a real radiation source.
[0063] It should be noted that the simulation method of the nuclear pulse signal provided in the embodiment of the present application can be based on the following Figure 2 The nuclear pulse signal simulation system 200 shown in the figure is executed. The nuclear pulse signal simulation system 200 includes: a nuclide characteristic module 201, a ray quantity determination module 202, a ray emission time simulation module 203, a detector module 204, an energy spectrum simulation module 205 and a nuclear pulse signal simulation module 206.
[0064] Specifically, the nuclide characteristic module 201 stores a plurality of nuclide parameters corresponding to at least one radioactive source, and the plurality of nuclide parameters corresponding to the radioactive source include: at least one nuclide parameter in the first nuclide parameter set corresponding to the radioactive source, and at least one nuclide parameter in the second nuclide parameter set. When the target radioactive source is selected from the at least one radioactive source, the nuclide characteristic module 201 will filter out the plurality of nuclide parameters corresponding to the nuclide of the target radioactive source from the plurality of nuclide parameters corresponding to the at least one radioactive source (i.e., the first nuclide parameter set and the second nuclide parameter set corresponding to the nuclide of the target radioactive source), and provide the first nuclide parameter set corresponding to the nuclide of the target radioactive source to the energy spectrum simulation module 205, and provide the second nuclide parameter set corresponding to the nuclide of the target radioactive source to the ray quantity determination module 202.
[0065] The ray quantity determination module 202 can determine the number of target rays emitted by the nuclide at each set time point when the second nuclide parameter set is obtained. Specifically, the ray quantity determination module 202 can first divide the set time period into multiple sub-time periods. Then, for each sub-time period, based on the attenuation constant and the set initial activity, the target activity corresponding to the nuclide in the sub-time period at each set time point is determined. After that, based on the target activity, the number of target rays emitted by the nuclide at each set time point is determined. Finally, based on the number of target rays emitted by the nuclide at each set time point, the total number of target rays emitted by the nuclide in the sub-time period is determined.
[0066] In addition, after determining the total number of target rays emitted by the nuclide in each sub-time period, the ray quantity determination module 202 provides the total number of target rays emitted by the nuclide in each sub-time period to the ray emission time simulation module 203 .
[0067] When determining the total number of target rays emitted by the nuclide in each sub-time period, the ray emission time simulation module 203 will determine the emission time points corresponding to each target ray in the sub-time period according to the emission law that "the time intervals between adjacent target rays emitted by the nuclide in the sub-time period conform to the Poisson distribution", and further determine the emission time points corresponding to multiple target rays emitted by the nuclide in the set time period during the decay process.
[0068] In addition, after determining the emission time points respectively corresponding to the multiple target rays emitted by the nuclear element in the decay process within the set time period, the ray emission time simulation module 203 will provide the emission time points respectively corresponding to the multiple target rays emitted by the nuclear element in the decay process within the set time period to the nuclear pulse signal simulation module 206.
[0069] While the ray quantity determination module 202 performs the corresponding task, or before or after the ray quantity determination module 202 performs the corresponding task, the energy spectrum simulation module 205 will simulate the measurement energy spectrum based on the first nuclide parameter set and the detector parameter set, after obtaining the detector parameters corresponding to the designated detector provided by the detector module 204 and the first nuclide parameter set corresponding to the nuclide of the target radiation source provided by the nuclide characteristic module 201. Specifically, when simulating the measurement energy spectrum based on the first nuclide parameter set and the detector parameter set, the measurement energy spectrum can be simulated using the Monte Carlo method based on the first nuclide parameter set and the detector parameter set.
[0070] In addition, after simulating the measured energy spectrum, the energy spectrum simulation module 205 provides the measured energy spectrum to the nuclear pulse signal simulation module 206 .
[0071] It should be noted that the detector module 204 stores a detector parameter set corresponding to at least one detector. When a designated detector is selected from at least one detector, the detector module 204 will filter out a detector parameter set corresponding to the designated detector from the detector parameter set corresponding to the at least one detector, and provide the detector parameter set corresponding to the designated detector to the energy spectrum simulation module 205.
[0072] The nuclear pulse signal simulation module 206 obtains the emission time points corresponding to multiple target rays emitted by the nucleus in the decay process within the set time period provided by the ray emission time simulation module 203, and the measured energy spectrum provided by the energy spectrum simulation module 205. Based on the emission time points and energy values corresponding to each target ray, it generates a digital signal and performs signal conversion processing on the digital signal to obtain a nuclear pulse signal.
[0073] In addition, it should be noted that the implementation process of the nuclear pulse signal simulation method provided above is only an application example of the nuclear pulse signal simulation method provided in the embodiment of the present application. The nuclear pulse signal simulation method provided in the embodiment of the present application can also be implemented by other execution entities. In the embodiment of the present application, the execution entities of the nuclear pulse signal simulation method provided in the embodiment of the present application will not be described one by one.
[0074] Corresponding to the method for simulating a nuclear pulse signal provided in the embodiment of the present application, the embodiment of the present application also provides a device for simulating a nuclear pulse signal, which is used to simulate a nuclear pulse signal generated by a target radiation source. Figure 3 As shown, it is a structural block diagram of a nuclear pulse signal simulation device 300 according to an embodiment of the present application. The device 300 may include:
[0075] The measurement spectrum simulation module 301 is used to simulate the measurement spectrum formed by the designated detector detecting the target ray based on the first nuclide parameter set corresponding to the target radiation source and the detector parameter set corresponding to the designated detector; the target ray is emitted by the nuclide of the target radiation source during the decay process;
[0076] The emission time point simulation module 302 is used to simulate the emission time points corresponding to multiple target rays emitted by the nuclide in the decay process within a set time period based on the second nuclide parameter set corresponding to the target radiation source;
[0077] The energy value allocation module 303 is used to allocate a corresponding energy value to each target ray using the measured energy spectrum;
[0078] The nuclear pulse signal simulation module 304 is used to generate a digital signal based on the emission time point and energy value corresponding to each target ray, and perform signal conversion processing on the digital signal to obtain a nuclear pulse signal.
[0079] In a possible implementation, the measurement spectrum simulation module 301 includes:
[0080] The measurement energy spectrum simulation submodule is used to simulate the measurement energy spectrum based on the first nuclide parameter set and the detector parameter set using the Monte Carlo method.
[0081] In one possible implementation, the first nuclide parameter set includes: the nuclide type corresponding to the nuclide and the standard energy spectrum corresponding to the nuclide; the detector parameter set includes: the detector type corresponding to the specified detector, the detector size corresponding to the specified detector, the detector material corresponding to the specified detector, and the detection efficiency corresponding to the specified detector.
[0082] In a possible implementation, the emission time point simulation module 302 includes:
[0083] The time period division submodule is used to divide the set time period into multiple sub-time periods;
[0084] A total number of rays determination submodule, used to determine the total number of target rays emitted by the nuclide in each sub-time period based on the second nuclide parameter set;
[0085] The emission time point determination submodule is used to determine the emission time point corresponding to each target ray in each sub-time period based on the total number of target rays and the emission law corresponding to the target rays; the emission law is that the time interval between adjacent target rays emitted by the nucleus in the sub-time period conforms to the Poisson distribution.
[0086] In a possible implementation, the second nuclide parameter set includes: a decay constant corresponding to the nuclide and a set initial activity corresponding to the nuclide; and the total number of rays determination submodule includes:
[0087] The target activity determination submodule is used to determine the target activity of the nuclide in the subtime period at each set time point based on the decay constant and the set initial activity for each subtime period;
[0088] The ray number determination submodule is used to determine the number of target rays emitted by the nuclide at each set time point based on the target activity;
[0089] The total number of rays calculation submodule is used to determine the total number of target rays emitted by the nuclide in the sub-time period based on the number of target rays emitted by the nuclide at each set time point.
[0090] In a possible implementation, the energy value allocation module 303 includes:
[0091] The radiation event number ratio determination submodule is used to determine the radiation event number ratio corresponding to each energy value range in the measured energy spectrum;
[0092] The energy value allocation submodule is used to randomly allocate at least one energy value corresponding to each energy value range to each target ray according to the proportion of the number of radiation events, as the energy value corresponding to the target ray.
[0093] In a possible implementation, the nuclear pulse signal simulation module 304 is specifically configured to perform signal conversion processing on a digital signal using a digital-to-analog converter to obtain a nuclear pulse signal.
[0094] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and have corresponding beneficial effects, which will not be repeated here.
[0095] Figure 4 FIG. 1 is a block diagram of an electronic device used to implement an embodiment of the present application. Figure 4 As shown, the electronic device includes: a memory 401 and a processor 402. The memory 401 stores a computer program that can be run on the processor 402. When the processor 402 executes the computer program, the method in the above embodiment is implemented. The number of the memory 401 and the processor 402 can be one or more.
[0096] The electronic device also includes: a communication interface 403, which is used to communicate with external devices and perform data exchange transmission.
[0097] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the memory 401, the processor 402 and the communication interface 403 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0098] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0099] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.
[0100] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0101] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
[0102] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.
[0103] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).
[0104] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0105] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0106] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0107] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0108] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0109] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0110] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0111] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for simulating a nuclear pulse signal, for simulating a nuclear pulse signal generated by a target radiation source, the method comprising: Based on the first nuclide parameter set corresponding to the target radiation source and the detector parameter set corresponding to the designated detector, simulating a measurement energy spectrum formed by the designated detector detecting the target radiation; The target ray is emitted by the nuclide of the target radioactive source during the decay process; Based on the second nuclide parameter set corresponding to the target radiation source, simulating emission time points corresponding to a plurality of target rays emitted by the nuclide during the decay process within a set time period; Using the measured energy spectrum, assigning a corresponding energy value to each of the target rays; A digital signal is generated based on the emission time point and the energy value respectively corresponding to each of the target rays, and a signal conversion process is performed on the digital signal to obtain the nuclear pulse signal.
2. The method according to claim 1, wherein: The simulating, based on the first nuclide parameter set corresponding to the target radiation source and the detector parameter set corresponding to the designated detector, a measurement energy spectrum formed by the designated detector detecting the target radiation comprises: Based on the first nuclide parameter set and the detector parameter set, the measurement energy spectrum is simulated using the Monte Carlo method.
3. The method according to claim 2, wherein: The first nuclide parameter set includes: the nuclide type corresponding to the nuclide and the standard energy spectrum corresponding to the nuclide; the detector parameter set includes: the detector type corresponding to the specified detector, the detector size corresponding to the specified detector, the detector material corresponding to the specified detector and the detection efficiency corresponding to the specified detector.
4. The method according to claim 1, wherein: The simulating, based on the second nuclide parameter set corresponding to the target radiation source, the emission time points corresponding to the plurality of target rays emitted by the nuclide during the decay process within a set time period respectively comprises: Dividing the set time period into a plurality of sub-time periods; Based on the second nuclide parameter set, determining the total number of target rays emitted by the nuclide in each of the sub-time periods; For each of the sub-time periods, the emission time points corresponding to the target rays in the sub-time period are determined based on the total number of the target rays and the emission law corresponding to the target rays; the emission law is that the time intervals between adjacent target rays emitted by the nuclide in the sub-time period conform to the Poisson distribution.
5. The method according to claim 4, wherein: The second nuclide parameter set includes: a decay constant corresponding to the nuclide and a set initial activity corresponding to the nuclide; and determining the total number of target rays emitted by the nuclide in each of the sub-time periods based on the second nuclide parameter set includes: For each of the sub-time periods, based on the decay constant and the set initial activity, determining the target activity of the nuclide at each set time point within the sub-time period; Based on the target activity, determining the number of target rays emitted by the nuclide at each of the set time points; Based on the number of target rays emitted by the nuclide at each of the set time points, the total number of target rays emitted by the nuclide in the sub-time period is determined.
6. The method according to claim 1, wherein: The using the measured energy spectrum to assign corresponding energy values to each of the target rays comprises: Determine the proportion of radiation events corresponding to each energy value range in the measured energy spectrum; According to the proportion of the number of radiation events, at least one energy value corresponding to each energy value range is randomly allocated to each target ray as the energy value corresponding to the target ray respectively.
7. The method according to claim 1, wherein: The performing signal conversion processing on the digital signal to obtain the nuclear pulse signal comprises: The digital signal is converted by using a digital-to-analog converter to obtain the nuclear pulse signal.
8. A nuclear pulse signal simulation device, used to simulate the nuclear pulse signal generated by a target radiation source, the device comprising: A measurement spectrum simulation module, for simulating a measurement spectrum formed by the designated detector detecting a target ray based on a first nuclide parameter set corresponding to the target radiation source and a detector parameter set corresponding to the designated detector; the target ray is emitted by the nuclide of the target radiation source during the decay process; An emission time point simulation module, used to simulate the emission time points corresponding to a plurality of target rays emitted by the nuclide during the decay process within a set time period based on the second nuclide parameter set corresponding to the target radiation source; An energy value allocation module, used to allocate a corresponding energy value to each of the target rays using the measured energy spectrum; The nuclear pulse signal simulation module is used to generate a digital signal based on the emission time point and the energy value corresponding to each of the target rays, and perform signal conversion processing on the digital signal to obtain the nuclear pulse signal.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Parameter-adjustable nuclear pulse simulation method
CN102916683A
Nuclear pulse signal generating method and nuclear pulse signal generating device
CN105720950A
Monte-Carlo virtual detector
CN106021723A
Nuclear spectrum processing method and device
CN110941007A
Collector based on radiation particle event and radiation particle event rapid nuclide identification method
CN111239797A
Cited By
Radioactive source positioning method and electronic equipment
CN119716951A
