Random simulated nuclear pulse generation method and system, storage medium and electronic equipment

By designing a random imitation nuclear pulse generation system containing multiple modules, the problem that existing systems cannot truly reflect the physical characteristics of the nuclear pulse signal is solved, and a high randomness and adjustable nuclide ratio is achieved. Meets the needs of nuclear test research.

CN119414448AActive Publication Date: 2025-02-11NANCHANG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411430232.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-02-11
Estimated Expiration
2044-10-14

AI Technical Summary

Technical Problem

The existing mimic nuclear pulse generation system cannot truly reflect the physical characteristics of the nuclear pulse signal, and is less practical and difficult to meet the needs of nuclear test research.

Method used

Design a random imitation kernel pulse generation system, including key press, parameter random setting module, linear feedback register module, Gaussian random number storage module, serial port upper module, pulse shape storage module, ring oscillation module, multiplication module, energy standard library module, The addition module, the noise floor memory module and the digital analog conversion module generate a random imitation nuclear pulse signal that conforms to the physical characteristics of the nuclear pulse through the combined operation of these modules.

Benefits of technology

Realize the true simulation of the nuclear pulse signal, which has the advantages of high randomness, adjustable nuclide ratio, simple structure, low cost, simple operation, good stability and high practicality, and can replace the radio source for use in the nuclear detection system. test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119414448A_ABST
    Figure CN119414448A_ABST
Patent Text Reader

Abstract

The invention provides a random simulated nuclear pulse generation method and system, a storage medium and electronic equipment. The system is triggered by a key, and a feedback coefficient and a reading rule are obtained according to triggering time. The linear feedback register module generates a random trigger signal and controls the pulse shape ROM to output discrete pulse shape data, and meanwhile, the annular oscillation module outputs a random address taking random jitter as an entropy source after receiving the trigger signal, inputs the random address to an energy standard library controlled by the serial port upper module and the background noise ROM and outputs a pulse energy value. The pulse shape data is multiplied by the energy value, then output of the Gaussian random number ROM is added to obtain nuclear-imitating pulse data which are random in interval and energy, meet the input nuclide proportion and have background noise, and finally nuclear-imitating pulses are obtained through analog-to-digital conversion. The implementation method of the system designed by the invention is simple, reliable and high in controllability, the energy proportion of the simulated nuclear pulse can be flexibly adjusted on the basis of high randomness, and the simulation of various high-energy environments is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of simulated core pulse signals, and in particular to a random simulated core pulse generation method, system, storage medium and electronic equipment. Background Art

[0002] In the field of nuclear radiation detection technology, for example, detection through gamma-ray particles has been widely used in various fields such as medicine, astronomy, energy, industry, and nuclear testing in recent decades. Most of the nuclear radiation detection systems require the use of radioactive sources for testing, and these radioactive sources will produce strong radiation damage. If the protection measures are not in place or the operation is improper, it will pose a great threat to the health of scientific researchers. At the same time, using these radioactive sources in some tests is a complex, inefficient, and costly task. Therefore, it is of great significance to develop a simulated nuclear signal generation system for some occasions where radioactive sources are not necessary.

[0003] However, the pulse signals generated by the existing nuclear pulse generation system have the following problems:

[0004] The output nuclear pulse signal can only be output according to a fixed amplitude distribution. The randomness of the system using pseudo-randomness is not high, and the system introducing a true random source is too complicated. In addition, it is impossible to simulate the Gaussian fluctuation of nuclide energy caused by changes in various external factors in real radiation. Some simulated nuclear pulse generation systems with good randomness and controllable nuclide ratios are often complex in structure and expensive, and cannot be widely used.

[0005] In short, the existing simulated nuclear pulse generation system cannot truly reflect the physical characteristics of nuclear pulses, has low practicality, and is difficult to meet the needs of nuclear test research. Therefore, in order to greatly reduce R&D costs and protect the health of scientific researchers, it is particularly important to design a simulated nuclear pulse generation system that can truly reflect the physical characteristics of nuclear pulse signals, is simple to operate, has good stability, and is highly practical. Summary of the invention

[0006] The purpose of the present invention is to provide a random simulated nuclear pulse generation method, system, storage medium and electronic device, aiming to solve the problem that the existing simulated nuclear pulse generation system cannot truly reflect the physical characteristics of nuclear pulse signals and has low practicality.

[0007] In a first aspect, the present invention provides a random nuclear pulse generation system, the system comprising a button, a parameter random setting module, a linear feedback register module, a Gaussian random number storage module, a serial port upper module, a pulse shape storage module, a ring oscillation module, a multiplication module, an energy standard library module, an addition module, a background noise storage module, and a digital analog conversion module, wherein:

[0008] The output end of the button is electrically connected to the input end of the parameter random setting module;

[0009] The output end of the parameter random setting module is electrically connected to the input end of the linear feedback register module and the input end of the Gaussian random number storage module respectively;

[0010] The output end of the linear feedback register module is electrically connected to the input ends of the ring oscillation module, the Gaussian random number storage module, and the pulse shape storage module respectively;

[0011] The output ends of the ring oscillation module, the background noise storage module and the serial port upper module are all electrically connected to the input end of the energy standard library module;

[0012] The output ends of the pulse shape storage module and the energy standard library module are both electrically connected to the input end of the multiplication module;

[0013] The output ends of the multiplication module and the Gaussian random number storage module are both electrically connected to the input end of the addition module;

[0014] The output end of the adding module is electrically connected to the input end of the digital-to-analog conversion module.

[0015] Furthermore, the serial port upper module is used to output the nuclide ratio manually input by the user;

[0016] The parameter random setting module is used to store multiple Gaussian ROM reading rules and multiple strings of m-sequence parameters, and is used to filter out target reading rules from multiple reading rules according to trigger time, and select target m-sequence parameters from multiple strings of m-sequence parameters, and the trigger time is manually controlled by the user to trigger a button;

[0017] The target reading rule is sent to a Gaussian random number storage module, and the target m-sequence parameter is sent to a linear feedback register module.

[0018] Further,

[0019] The linear feedback register module is used to calculate the received target m-sequence parameters, output a trigger signal once every first preset time, and send the trigger signal to the Gaussian random number storage module, the pulse shape storage module and the ring oscillation module respectively;

[0020] The Gaussian random number storage module is used to retrieve a random number from the pre-stored first preset database according to the target reading rule each time a trigger signal is received, and send the retrieved random number to the addition module;

[0021] The ring oscillation module is used to generate a random address according to the trigger signal;

[0022] The pulse shape storage module is used to send the first pulse shape data to the multiplication module in sequence according to a preset order according to a trigger signal.

[0023] Further,

[0024] The background noise storage module is used to send all the background noises stored in itself to the energy database module within a second preset time after the system is powered on, and any of the background noises corresponds to an address in the energy database;

[0025] The energy standard library module is used to adjust the current ratio values ​​of each nuclide according to the nuclide ratio. Each ratio value corresponds to an address, and the target value at the corresponding position is retrieved from the energy database according to the random address, and the target value is sent to the addition module. The target value is the background noise or the ratio value.

[0026] Further,

[0027] The multiplication module is used for multiplying the target value with the first pulse shape data respectively to obtain amplified or reduced second pulse shape data, and sending the second pulse shape data to the addition module;

[0028] The adding module is used to add the random number to the second pulse shape data respectively to obtain the third pulse shape data after energy compensation;

[0029] The digital-to-analog conversion module is used to convert the third pulse shape data into a nuclear pulse signal.

[0030] Furthermore, the Gaussian random number storage module is also used for:

[0031] The reading rule includes an initial reading position number of a random number and a reading position interval;

[0032] When a trigger signal is received for the first time, the Gaussian random number storage module retrieves a random number from the first preset database according to the initial read position number;

[0033] When the trigger signal is received for the nth time, the Gaussian random number storage module calculates the current reading position number according to the number of times the trigger signal is received n and the initial reading position number, and retrieves the corresponding random number from the first preset database according to the current reading position number;

[0034] If the current read position number exceeds the total number of positions in the first preset database, subtract the total number of positions from the current read position number to obtain the read position number under the new trigger;

[0035] If the trigger signal is continuously received, the above steps are repeated to continuously read.

[0036] In a second aspect, the present invention provides a random nuclear pulse generation method, the method comprising:

[0037] storing multiple Gaussian ROM reading rules and multiple strings of m-sequence parameters, and used to filter out target reading rules from multiple reading rules according to trigger time, and select target m-sequence parameters from multiple strings of m-sequence parameters;

[0038] Calculating the received target m-sequence parameters and outputting a trigger signal once every first preset time;

[0039] Each time a trigger signal is received, a random number is retrieved from a pre-stored first preset database according to the target reading rule;

[0040] Generate a random address according to the trigger signal;

[0041] sending the first pulse shape data in sequence according to a preset order according to a trigger signal;

[0042] After the system is powered on, all the background noise stored in the system is sent to the energy database module within a second preset time, and any of the background noise corresponds to an address in the energy database;

[0043] Adjust the current ratio value of each nuclide according to the nuclide ratio, each ratio value corresponds to an address, and retrieve the target value at the corresponding position from the energy database according to the random address, the target value is the background noise or the ratio value;

[0044] Multiplying the target value by the first pulse shape data respectively to obtain amplified or reduced second pulse shape data;

[0045] Adding the random number to the second pulse shape data respectively to obtain third pulse shape data after energy compensation;

[0046] The third pulse shape data is converted into a nuclear pulse signal.

[0047] Furthermore, each time a trigger signal is received, the step of retrieving a random number from a pre-stored first preset database according to the target reading rule comprises:

[0048] The reading rule includes an initial reading position number of a random number and a reading position interval;

[0049] When a trigger signal is received for the first time, the Gaussian random number storage module retrieves a random number from the first preset database according to the initial read position number;

[0050] When the trigger signal is received for the nth time, the Gaussian random number storage module calculates the current reading position number according to the number of times the trigger signal is received n and the initial reading position number, and retrieves the corresponding random number from the first preset database according to the current reading position number;

[0051] If the current read position number exceeds the total number of positions in the first preset database, subtract the total number of positions from the current read position number to obtain the read position number under the new trigger;

[0052] If the trigger signal is continuously received, the above steps are repeated to continuously read.

[0053] In a third aspect, the present invention provides a storage medium, wherein the storage medium stores one or more programs, which, when executed by a processor, implement the above-mentioned random core-simulated pulse generation method.

[0054] In a fourth aspect, the present invention provides an electronic device, the electronic device comprising a memory and a processor, wherein:

[0055] The memory is used to store computer programs;

[0056] When the processor is used to execute the computer program stored in the memory, the above-mentioned random nucleation pulse generation method is implemented.

[0057] Compared with the prior art, the present invention has the following advantages:

[0058] 1. The present invention designs a simulated nuclear pulse generation system with high randomness and adjustable nuclide ratio to replace the radioactive source for testing the nuclear detection system, which can make up for the defects of the existing simulated nuclear pulse generation system that the structure is complex and the nuclide ratio cannot be adjusted in time. In addition, the balanced characteristics of the pseudo-random sequence m sequence parameters are combined with the true randomness of the user's random behavior to obtain a highly random and uniformly distributed trigger signal. The serial port upper module is used to change the ratio of each nuclide in the energy standard library module in real time, and the energy of the background noise is added. By collecting the metastable state of the ring oscillation module, the energy is output randomly in proportion. Finally, random Gaussian fluctuation data is added to achieve the simulation of nuclear pulses, which meets all the physical characteristics of nuclear pulses.

[0059] 2. High flexibility. Using FPGA (field programmable gate array) as the main generation system of the nuclear pulse generation system has very high flexibility. First, due to the programmability of FPGA, it is easy to optimize and upgrade the system. Second, due to the lower design cycle and cost of FPGA, it has shown considerable advantages in rapid prototyping and small batch production scenarios.

[0060] 3. Highly controllable. The energy ratio of the simulated nuclear pulse can be adjusted in real time through the serial port upper module to meet the simulation of various high-energy environments. By changing the data of the pulse shape storage module, the system clock frequency and the amplification factor of the digital-to-analog conversion module, the pulse shape, frequency and amplitude of the signal can be flexibly adjusted to meet the needs of different application scenarios;

[0061] 4. Simple and reliable. The system uses the characteristics of true randomness combined with pseudo-randomness to generate trigger signals. Compared with other random signal generation methods, it has the advantages of being simple and reliable. The generation of random numbers does not require the introduction of complex hardware equipment or advanced algorithms, ensuring the reliability and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 A schematic diagram of the structure of a random nuclear pulse generation system proposed in one embodiment of the present invention;

[0063] Figure 2 A flowchart of trigger signal generation in one embodiment of the present invention;

[0064] Figure 3 is a timing diagram for nuclide ratio control in one embodiment of the present invention;

[0065] Figure 4 FIG. 4 is a timing diagram of nuclear pulse signal generation in one embodiment of the present invention.

[0066] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be understood by people with general skills in the field to which the present invention belongs. "Including" and similar words used in this article mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0068] First, as Figure 1As shown, an embodiment of the present invention proposes a random nuclear pulse generation system, which includes a button, a parameter random setting module, a linear feedback register module, a Gaussian random number storage module, a serial port upper module, a pulse shape storage module, a ring oscillation module, a multiplication module, an energy standard library module, an addition module, a background noise storage module, and a digital analog conversion module, wherein:

[0069] The output end of the button is electrically connected to the input end of the parameter random setting module;

[0070] The output end of the parameter random setting module is electrically connected to the input end of the linear feedback register module and the input end of the Gaussian random number storage module respectively;

[0071] The output end of the linear feedback register module is electrically connected to the input ends of the ring oscillation module, the Gaussian random number storage module, and the pulse shape storage module respectively;

[0072] The output ends of the ring oscillation module, the background noise storage module and the serial port upper module are all electrically connected to the input end of the energy standard library module;

[0073] The output ends of the pulse shape storage module and the energy standard library module are both electrically connected to the input end of the multiplication module;

[0074] The output ends of the multiplication module and the Gaussian random number storage module are both electrically connected to the input end of the addition module;

[0075] The output end of the adding module is electrically connected to the input end of the digital-to-analog conversion module.

[0076] In summary, by proposing a random simulated nuclear pulse generation system, the simulation of nuclear pulses can be realized, and the simulated nuclear pulse signal conforms to all the physical properties of nuclear pulses. In addition, the system has the advantages of simple structure and low production cost.

[0077] In some embodiments, the serial port host module is used to output the nuclide ratio manually input by the user; it should be noted that the serial port host module can be a serial port host computer or a serial port host device, such as the Taojingchi X2 series serial port screen. The user can adjust the nuclide ratio in real time through the serial port host module to simulate nuclear pulses in different high-energy environments. In addition, illustratively, the serial port host module includes three buttons. Button 1 switches the control element, and buttons 2 and 3 increase or decrease the ratio of the current control element, thereby changing the ratio of different nuclides in the energy standard library. The timing diagram is shown as follows Figure 3 shown.

[0078] The parameter random setting module is used to store multiple Gaussian ROM reading rules and multiple strings of m-sequence parameters, and is used to filter out target reading rules from multiple reading rules according to the trigger time, and select target m-sequence parameters from multiple strings of m-sequence parameters. The trigger time is manually controlled by the user to trigger a key; it can be understood that, Figure 2 As shown, when the user presses the button, the trigger button is debounced and timed with a 125Mhz clock, and the lower bits of the timing are taken, so that a variety of timing results can be determined, each bit can only be 0 or 1. For example, if the lower 3 bits of the timing are taken, there are 8 timing results, and if the lower 4 bits of the timing are taken, there are 16 timing results. In addition, each timing result corresponds to a reading rule, and each timing result corresponds to a string of m-sequence parameters. That is to say, when the user triggers the button, the 125M clock sends the trigger time to the parameter random setting module, and the module obtains the timing results of several bits according to the trigger time, and then locks the corresponding target reading rule and target m-sequence parameters according to the timing result.

[0079] The target reading rule is sent to the Gaussian random number storage module, and the target m-sequence parameter is sent to the linear feedback register module; the m-sequence parameter is selected because only the m-sequence parameter can ensure the highest randomness of the linear feedback register module.

[0080] The linear feedback register module is used to calculate the received target m-sequence parameters, and output a trigger signal every first preset time, and send the trigger signal to the Gaussian random number storage module, the pulse shape storage module and the ring oscillation module respectively; it should be noted that in each clock cycle, the linear feedback register module calculates according to the randomly obtained feedback coefficient (target m-sequence parameter) Among them, c i is the target m-sequence parameter currently received, a i is the initial state, a (n-i) is the current state, n represents the number of timing results, which can be 8, 16, etc., and then the upper 6 bits of the linear feedback register module are shifted right by 1 bit, and the result of the operation is assigned to the highest bit. Exemplarily, the linear feedback register module can be a linear feedback shift register, which is timed by a counter and collects the lowest bit of the register once every 2us as a trigger signal for output.

[0081] The Gaussian random number storage module is used to retrieve a random number from the pre-stored first preset database according to the target reading rule each time a trigger signal is received, and send the retrieved random number to the addition module; specifically, the reading rule includes the initial reading position number of the random number and the reading position interval; when the trigger signal is received for the first time, the Gaussian random number storage module retrieves a random number from the first preset database according to the initial reading position number; when the trigger signal is received for the nth time, the Gaussian random number storage module calculates the current reading position number according to the number of times n the trigger signal is received and the initial reading position number, and retrieves the corresponding random number from the first preset database according to the current reading position number; if the current reading position number exceeds the total number of positions in the first preset database, the total number of positions is subtracted from the current reading position number to obtain the reading position number under the new trigger; if the trigger signal is continuously received, the above steps are repeated for continuous reading. Exemplarily, the first preset database includes 1024 random numbers, and the reading rules are: the initial reading position number is 3, the reading position interval is 2, then when the trigger signal is first received, the first data read is the random number at the 3rd position, when the trigger signal is received for the second time, the data read is the random number at the 6th position, and so on.

[0082] The ring oscillation module is used to generate a random address according to the trigger signal; it should be noted that the ring oscillation module is essentially a ring oscillator, and the principle of generating a random address is well known in the art and will not be described in detail here.

[0083] The pulse shape storage module is used to send the first pulse shape data to the multiplication module in sequence according to a preset order based on a trigger signal; it should be noted that a large amount of pulse shape data is pre-stored in the pulse shape storage module, and the pulse shape data are all obtained in advance by a real pulse detector detecting a nuclear radiation source. Each pulse shape data mainly contains the value of each point on the pulse curve (including the peak value of the pulse shape). Therefore, when a high-level trigger signal is received, each pulse shape data is sent to the multiplication module in sequence from front to back.

[0084] It should be pointed out that only when the trigger signal received by the Gaussian random number storage module, the pulse shape storage module and the ring oscillation module is a high level, each module will start working. If it is a low level trigger signal, the Gaussian random number storage module, the pulse shape storage module and the ring oscillation module remain idle.

[0085] The background noise storage module is used to send all the background noises stored in it to the energy database module within the second preset time after the system is powered on. Any of the background noises corresponds to an address in the energy database. The purpose of setting the second preset time is to enable the background noise storage module to transmit all the background noises as soon as the system is turned on.

[0086] The energy standard library module is used to adjust the current ratio values ​​of each nuclide according to the nuclide ratio. Each ratio value corresponds to an address, and the target value at the corresponding position is retrieved from the energy database according to the random address, and the target value is sent to the addition module. The target value is the background noise or the ratio value; it should be noted that each position in the energy database corresponds to a ratio value or background noise. After obtaining the input nuclide ratio, it is adjusted. It should be noted that if the system is working for the first time, the current ratio value is 0. If it is adjusted again after the system is working, the previous nuclide ratio will be overwritten. In other words, the energy standard library module modifies the ratio of various nuclides in the standard library according to the instructions of the host computer, and adds the background noise data to the standard library. When a random address is received, the energy corresponding to the address is output. For example, if the ratio of elements A and B is 1:2, the probability of outputting their energy values ​​is also 1:2.

[0087] The multiplication module is used for multiplying the target value with the first pulse shape data respectively to obtain amplified or reduced second pulse shape data, and sending the second pulse shape data to the addition module;

[0088] The adding module is used to add the random number to the second pulse shape data respectively to obtain the third pulse shape data after energy compensation;

[0089] It should be noted that the purpose of the multiplication module is to expand or reduce the value of each point, especially the peak value. The purpose of the addition module is to compensate for the energy error of the pulse signal obtained when actually detecting the radiation source, and then compensate based on random numbers.

[0090] That is to say, the outputs of the pulse shape storage module and the energy standard library module are multiplied to obtain simulated nuclear pulse data with random intervals, random energies, satisfying the input nuclide ratio and with background noise.

[0091] The digital-to-analog conversion module is used to convert the third pulse shape data into a nuclear pulse signal. It should be noted that, finally, the FPGA sends the digital signal of the simulated nuclear pulse to the digital-to-analog conversion module, and the module performs digital-to-analog conversion and outputs a continuous simulated nuclear pulse signal that can be observed on an oscilloscope, such as Figure 4In addition, when the next trigger signal comes, the next simulated nuclear pulse signal is output, and the cycle continues, thereby simulating the real nuclear pulse.

[0092] In summary, compared with the prior art, the present invention has the following advantages:

[0093] 1. The present invention designs a simulated nuclear pulse generation system with high randomness and adjustable nuclide ratio to replace the radioactive source for testing the nuclear detection system, which can make up for the defects of the existing simulated nuclear pulse generation system that the structure is complex and the nuclide ratio cannot be adjusted in time. In addition, the balanced characteristics of the pseudo-random sequence m sequence parameters are combined with the true randomness of the user's random behavior to obtain a highly random and uniformly distributed trigger signal. The serial port upper module is used to change the ratio of each nuclide in the energy standard library module in real time, and the energy of the background noise is added. By collecting the metastable state of the ring oscillation module, the energy is output randomly in proportion. Finally, random Gaussian fluctuation data is added to achieve the simulation of nuclear pulses, which meets all the physical characteristics of nuclear pulses.

[0094] 2. High flexibility. Using FPGA (field programmable gate array) as the main generation system of the nuclear pulse generation system has very high flexibility. First, due to the programmability of FPGA, it is easy to optimize and upgrade the system. Second, due to the lower design cycle and cost of FPGA, it has shown considerable advantages in rapid prototyping and small batch production scenarios.

[0095] 3. Highly controllable. The energy ratio of the simulated nuclear pulse can be adjusted in real time through the serial port upper module to meet the simulation of various high-energy environments. By changing the data of the pulse shape storage module, the system clock frequency and the amplification factor of the digital-to-analog conversion module, the pulse shape, frequency and amplitude of the signal can be flexibly adjusted to meet the needs of different application scenarios;

[0096] 4. Simple and reliable. The system uses the characteristics of true randomness combined with pseudo-randomness to generate trigger signals. Compared with other random signal generation methods, it has the advantages of being simple and reliable. The generation of random numbers does not require the introduction of complex hardware equipment or advanced algorithms, ensuring the reliability and stability of the system.

[0097] In a second aspect, an embodiment of the present invention further provides a method for generating random nuclear pulses, the method comprising:

[0098] storing multiple Gaussian ROM reading rules and multiple strings of m-sequence parameters, and used to filter out target reading rules from multiple reading rules according to trigger time, and select target m-sequence parameters from multiple strings of m-sequence parameters;

[0099] Calculating the received target m-sequence parameters and outputting a trigger signal once every first preset time;

[0100] Each time a trigger signal is received, a random number is retrieved from a pre-stored first preset database according to the target reading rule;

[0101] Generate a random address according to the trigger signal;

[0102] sending the first pulse shape data in sequence according to a preset order according to a trigger signal;

[0103] After the system is powered on, all the background noise stored in the system is sent to the energy database module within a second preset time, and any of the background noise corresponds to an address in the energy database;

[0104] Adjust the current ratio value of each nuclide according to the nuclide ratio, each ratio value corresponds to an address, and retrieve the target value at the corresponding position from the energy database according to the random address, the target value is the background noise or the ratio value;

[0105] Multiplying the target value by the first pulse shape data respectively to obtain amplified or reduced second pulse shape data;

[0106] Adding the random number to the second pulse shape data respectively to obtain third pulse shape data after energy compensation;

[0107] The third pulse shape data is converted into a nuclear pulse signal.

[0108] In some optional embodiments, the step of retrieving a random number from a pre-stored first preset database according to the target reading rule each time a trigger signal is received includes:

[0109] The reading rule includes an initial reading position number of a random number and a reading position interval;

[0110] When a trigger signal is received for the first time, the Gaussian random number storage module retrieves a random number from the first preset database according to the initial read position number;

[0111] When the trigger signal is received for the nth time, the Gaussian random number storage module calculates the current reading position number according to the number of times the trigger signal is received n and the initial reading position number, and retrieves the corresponding random number from the first preset database according to the current reading position number;

[0112] If the current read position number exceeds the total number of positions in the first preset database, subtract the total number of positions from the current read position number to obtain the read position number under the new trigger;

[0113] If the trigger signal is continuously received, the above steps are repeated to continuously read.

[0114] In summary, according to the above-mentioned random simulated nuclear pulse generation method, the feedback coefficient and reading rule are first obtained from the trigger time. The linear feedback register module generates a random trigger signal to control the pulse shape ROM to output discrete pulse shape data. At the same time, the ring oscillation module outputs a random address with random jitter as the entropy source after receiving the trigger signal, which is input into the energy standard library controlled by the serial port upper module and the background noise ROM, and the pulse energy value is output. The pulse shape data is multiplied by the energy value and then added to the output of the Gaussian random number ROM to obtain simulated nuclear pulse data with random intervals, random energy, and satisfying the input nuclide ratio and background noise. Finally, the simulated nuclear pulse is obtained through analog-to-digital conversion.

[0115] In a third aspect, an embodiment of the present invention further proposes a storage medium on which one or more programs are stored, and when the program is executed by a processor, the above-mentioned random core-simulated pulse generation method is implemented.

[0116] In a fourth aspect, an embodiment of the present invention further proposes an electronic device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the above-mentioned random nuclear pulse generation method.

[0117] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0118] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0119] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0120] Although the embodiments of the present invention are described in detail above, it is obvious to those skilled in the art that various modifications and variations can be made to these embodiments. However, it should be understood that such modifications and variations are within the scope and spirit of the present invention as described in the claims. Moreover, the present invention described herein may have other embodiments and may be implemented or realized in a variety of ways.

Claims

1. A random nuclear pulse generation system, characterized in that: The system includes a button, a parameter random setting module, a linear feedback register module, a Gaussian random number storage module, a serial port host module, a pulse shape storage module, a ring oscillation module, a multiplication module, an energy standard library module, an addition module, a background noise storage module, and a digital-to-analog conversion module, wherein: The output end of the button is electrically connected to the input end of the parameter random setting module; The output end of the parameter random setting module is electrically connected to the input end of the linear feedback register module and the input end of the Gaussian random number storage module respectively; The output end of the linear feedback register module is electrically connected to the input ends of the ring oscillation module, the Gaussian random number storage module, and the pulse shape storage module respectively; The output ends of the ring oscillation module, the background noise storage module and the serial port upper module are all electrically connected to the input end of the energy standard library module; The output ends of the pulse shape storage module and the energy standard library module are both electrically connected to the input end of the multiplication module; The output ends of the multiplication module and the Gaussian random number storage module are both electrically connected to the input end of the addition module; The output end of the adding module is electrically connected to the input end of the digital-to-analog conversion module.

2. The random nucleation pulse generation system according to claim 1, characterized in that: The serial port upper module is used to output the nuclide ratio manually input by the user; The parameter random setting module is used to store multiple Gaussian ROM reading rules and multiple strings of m-sequence parameters, and is used to filter out target reading rules from multiple reading rules according to trigger time, and select target m-sequence parameters from multiple strings of m-sequence parameters, and the trigger time is manually controlled by the user to trigger a button; The target reading rule is sent to a Gaussian random number storage module, and the target m-sequence parameter is sent to a linear feedback register module.

3. The random nucleation pulse generation system according to claim 2, characterized in that: The linear feedback register module is used to calculate the received target m-sequence parameters, output a trigger signal once every first preset time, and send the trigger signal to the Gaussian random number storage module, the pulse shape storage module and the ring oscillation module respectively; The Gaussian random number storage module is used to retrieve a random number from the pre-stored first preset database according to the target reading rule every time a trigger signal is received, and send the retrieved random number to the addition module; The ring oscillation module is used to generate a random address according to the trigger signal; The pulse shape storage module is used to send the first pulse shape data to the multiplication module in sequence according to a preset order according to a trigger signal.

4. The random nucleation pulse generation system according to claim 3, characterized in that: The background noise storage module is used to send all the background noises stored in itself to the energy database module within a second preset time after the system is powered on, and any of the background noises corresponds to an address in the energy database; The energy standard library module is used to adjust the current ratio values ​​of each nuclide according to the nuclide ratio. Each ratio value corresponds to an address, and the target value at the corresponding position is retrieved from the energy database according to the random address, and the target value is sent to the addition module. The target value is the background noise or the ratio value.

5. The random nucleation pulse generation system according to claim 4, characterized in that: The multiplication module is used for multiplying the target value with the first pulse shape data respectively to obtain amplified or reduced second pulse shape data, and sending the second pulse shape data to the addition module; The adding module is used to add the random number to the second pulse shape data respectively to obtain the third pulse shape data after energy compensation; The digital-to-analog conversion module is used to convert the third pulse shape data into a nuclear pulse signal.

6. The random nuclear pulse generation system according to any one of claims 1 to 5, characterized in that: The Gaussian random number storage module is also used for: The reading rule includes an initial reading position number of a random number and a reading position interval; When a trigger signal is received for the first time, the Gaussian random number storage module retrieves a random number from the first preset database according to the initial read position number; When the trigger signal is received for the nth time, the Gaussian random number storage module calculates the current reading position number according to the number of times the trigger signal is received n and the initial reading position number, and retrieves the corresponding random number from the first preset database according to the current reading position number; If the current read position number exceeds the total number of positions in the first preset database, subtract the total number of positions from the current read position number to obtain the read position number under the new trigger; If the trigger signal is continuously received, the above steps are repeated to continuously read.

7. A random nucleus-like pulse generation method, characterized in that: The method comprises: storing multiple Gaussian ROM reading rules and multiple strings of m-sequence parameters, and used to filter out target reading rules from multiple reading rules according to trigger time, and select target m-sequence parameters from multiple strings of m-sequence parameters; Calculating the received target m-sequence parameters and outputting a trigger signal once every first preset time; Each time a trigger signal is received, a random number is retrieved from a pre-stored first preset database according to the target reading rule; generating a random address according to the trigger signal; sending the first pulse shape data in sequence according to a preset order according to a trigger signal; After the system is powered on, all the background noise stored in the system is sent to the energy database module within a second preset time, and any of the background noise corresponds to an address in the energy database; Adjust the current ratio value of each nuclide according to the nuclide ratio, each ratio value corresponds to an address, and retrieve the target value at the corresponding position from the energy database according to the random address, the target value is the background noise or the ratio value; Multiplying the target value by the first pulse shape data respectively to obtain amplified or reduced second pulse shape data; Adding the random number to the second pulse shape data respectively to obtain third pulse shape data after energy compensation; The third pulse shape data is converted into a nuclear pulse signal.

8. The random nucleation pulse generation method according to claim 7, characterized in that: The step of retrieving a random number from a pre-stored first preset database according to the target reading rule each time a trigger signal is received includes: The reading rule includes an initial reading position number of a random number and a reading position interval; When a trigger signal is received for the first time, the Gaussian random number storage module retrieves a random number from the first preset database according to the initial read position number; When the trigger signal is received for the nth time, the Gaussian random number storage module calculates the current reading position number according to the number of times the trigger signal is received n and the initial reading position number, and retrieves the corresponding random number from the first preset database according to the current reading position number; If the current read position number exceeds the total number of positions in the first preset database, subtract the total number of positions from the current read position number to obtain the read position number under the new trigger; If the trigger signal is continuously received, the above steps are repeated to continuously read.

9. A storage medium, characterized in that: The storage medium stores one or more programs, which, when executed by a processor, implement the random nucleation pulse generation method as described in any one of claims 7 to 8.

10. An electronic device, comprising a memory and a processor, wherein: The memory is used to store computer programs; When the processor is used to execute the computer program stored in the memory, it implements the random nuclear pulse generation method as described in any one of claims 7-8.

Citation Information

Patent Citations

  • Imitated nuclear pulse generation device and method

    CN109239765A

  • High-counting-rate and high-randomness simulated nuclear signal generator and signal generation method thereof

    CN117849851A

  • Nuclear detection simulation device based on nanosecond light source and nuclear signal inversion technology

    US20230010244A1