A quality inspection instrument for simulating nuclear signals of radioactive sources
By designing a quality detector that simulates the nuclear signal of the radio source, and using the FPGA module to generate non-periodic pulse signals, the safety hazards and low efficiency of manual detection of nuclear instruments in the existing technology are solved, and the rapid and safe quality inspection of nuclear instruments is achieved , suitable for large-scale production and automated inspection.
Patent Information
- Application Number
- CN202311564414.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2043-11-22
AI Technical Summary
The quality inspection methods of existing nuclear instruments rely on manual use of small standard nuclear radiation sources, which poses safety hazards and has a long detection time. Due to the scarcity of nuclear radiation sources, it is impossible to test a large number of equipment at the same time, resulting in low detection efficiency and high cost.
A quality detector that simulates the nuclear signal of the radioactive source is designed, including a control terminal and an FPGA module. It uses the timing module, a random number acquisition module, a main control module and a display module to generate random numbers through the linear congruence method to generate non-periodic The pulse signal simulates waveforms of different nuclear radiation intensities, and combines hash table and exponential fitting technology to achieve signal generation and output.
The risk of human contact with nuclear radiation sources is avoided, rapid detection is achieved, and a large number of equipment can be tested simultaneously, which significantly reduces detection time and manual labor, simplifies the parameter debugging process, and improves detection efficiency and safety.
Smart Images

Figure CN117607943B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of nuclear radiation detection, in particular to a quality inspection instrument for simulating nuclear signals of a radioactive source. Background Art
[0002] The current nuclear instrument solution is to use a probe that detects different nuclear radiations, then equip it with certain analog circuits, and finally send it to a microprocessor to calculate the results and various applications. After the instrument is developed, quality inspection is required during the production and delivery process to detect defective products in the mass production process. The current detection method is to manually check whether various functions are normal. Manual inspection usually uses a standard nuclear radiation source to test the instrument. This method has some disadvantages. First, even if the radiation energy of the standard nuclear radiation source is very small, it will cause certain harm to the workers; secondly, due to the use of small nuclear radiation sources, it takes a lot of time to test a device, and nuclear radiation sources are also controlled items, which cannot be configured on a large scale. There are only a small number of nuclear radiation sources, and the test can only test a small number of units at the same time, which takes a lot of time. Summary of the invention
[0003] The object of the present invention is to provide a quality inspection instrument for simulating nuclear signals of a radioactive source to solve the problems raised in the above-mentioned background technology.
[0004] In order to solve the above technical problems, one of the purposes of the present invention is to provide a quality inspector for simulating nuclear signals of radioactive sources, including a control terminal and an FPGA module, wherein the control terminal includes a timing module, a main control module, a random number acquisition module, a parameter setting module and a display module, wherein the timing module realizes a timing function based on a counter and a control register, the random number acquisition module acquires a series of required random numbers based on a linear congruential method, the main control module is used to convert the random numbers output by the random number acquisition module and control the required signal generation, the FPGA module includes a signal addition module, a basic signal generation module, several superposition signal generation modules and a signal output module, the basic signal generation module is used to generate a basic signal, the superposition signal generation module is used to generate a superposition signal, the signal addition module is used to add the basic signal and several superposition signals, and the adding time of each superposition signal is controlled by the main control module, the signal output module is used to output the added signal, and the display module is used to display the set parameter value and the added signal.
[0005] As a further improvement of the technical solution, the multiplier A, increment B, modulus M and initial value N0 are set in the random number acquisition module. The multiplier A, increment B, modulus M and initial value N0 can all be set by the parameter setting module. The random number recursive formula is:
[0006] N j+1 =(A×N j+B)(modM),
[0007] Among them, j represents the position of the current random number in the sequence, N j Represents the jth random number.
[0008] As a further improvement of the technical solution, the random number acquisition module acquires a random number ranging from 0 to M-1, the size of the original interval is M-1, and the main control module uses a hash table to obtain the corresponding data. Assuming the size of the target interval is P, a hash table is first created, and each element in the original interval is used as a key, and the corresponding elements in the target interval are stored in the hash table; then each element in the original interval is traversed, and its corresponding position in the target interval is calculated according to the value of the element. The mapping function is:
[0009]
[0010] Among them, x represents the element in the original interval, and f(x) is the corresponding element in the target interval;
[0011] The calculated target position is then used as the key and the elements in the original interval are stored in the hash table as the value.
[0012] As a further improvement of the technical solution, the main control module is preset with a signal voltage range, the signal voltage range is U min to U max , the target interval corresponding to the signal voltage is P1=U max -U min The total number of the superimposed signal generating modules is n, and the number of superimposed signals added to the basic signal corresponds to the target interval P2 = n. The main control module also presets the time difference range of each superimposed signal added to the basic signal, and the time difference range is 0 to Δt max The time difference between each superimposed signal and the basic signal corresponds to the target interval P3 = Δt max .
[0013] As a further improvement of the technical solution, the parameter setting module sets the sampling time interval t0, and the signal voltages obtained by the main control module are set as U n , a number of characteristic points are obtained, where n is an integer greater than 0, exponential fitting is used between two adjacent characteristic points, and corresponding signals are generated by the basic signal generation module and the number of superposition signal generation modules respectively.
[0014] As a further improvement of the technical solution, the basic signal generated by the basic signal generating module is set to U0(t), and the two characteristic points obtained are set to (t0, U1) and (2t0, U2). Then, the function of the basic signal U0 and time t is obtained after exponential fitting:
[0015]
[0016] As a further improvement of the present technical solution, the number of superimposed signals transmitted from the main control module 101 to the signal output module 203 is set to m, and the superimposed signal is set to U i (t'), t' is the time when the superimposed signal is generated, and the time difference of each superimposed signal is set to Δt i , that is, after the basic signal U0(t) is generated, Δt i Then the corresponding superposition signal U is generated i (t') and added to the basic signal, where i is an integer between 1 and m, then the superimposed signal U on the same time axis as the basic signal i (t) is:
[0017]
[0018] As a further improvement of the technical solution, the final signal generated by the signal addition module is:
[0019]
[0020] Among them, U0(t) is the basic signal, It is the corresponding signal generated after adding m superposition signals.
[0021] As a further improvement of the technical solution, the timing module, the parameter setting module, the random number acquisition module and the display module are all connected to the main control module by signal.
[0022] As a further improvement of the present technical solution, the basic signal generating module, the plurality of superimposed signal generating modules and the signal output module are all signal-connected to the signal output module, and the signal output module is also signal-connected to the display module.
[0023] A second object of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the implementation steps of the quality inspector for simulating nuclear signals of radioactive sources are implemented.
[0024] Compared with the prior art, the present invention has the following beneficial effects:
[0025] 1. The present invention can prevent human contact with nuclear radiation sources, protect personnel safety, generate waveforms with different nuclear radiation intensities, meet the needs of rapid testing, and greatly reduce the detection time of a single device; it can be mass-produced, and with the automatic conveyor belt, it can test a large number of devices to be tested at the same time, greatly reducing manual labor; and it is convenient to debug several corresponding parameters during research and development, greatly reducing development time and difficulty,
[0026] 2. In the present invention, non-periodic pulse signals can be generated by generating random numbers, which can simulate different nuclear radiation sources, and conform to the characteristics that nuclear radiation signals are a series of time-randomly distributed pulse signals with different amplitudes, different waveforms, and uneven intervals. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a model block diagram of the present invention;
[0028] Figure 2 This is a model block diagram of the control terminal in the present invention;
[0029] Figure 3 It is a model block diagram of the FPGA module in the present invention;
[0030] Figure 4 A model block diagram of the present invention when generating a non-periodic signal;
[0031] Figure 5 A block diagram of a model when generating a specific signal for the present invention.
[0032] The meanings of the marks in the figure are as follows: 10, control terminal; 100, timing module; 101, main control module; 102, random number acquisition module; 103, parameter setting module; 104, display module; 20, FPGA module; 200, signal addition module; 201, basic signal generation module; 202, superposition signal generation module; 203, signal output module. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] Example 1
[0035] like Figure 1-Figure 4As shown, this embodiment provides a quality inspector for simulating nuclear signals of a radioactive source, including a control terminal 10 and an FPGA module 20. The control terminal 10 includes a timing module 100, a main control module 101, a random number acquisition module 102, a parameter setting module 103 and a display module 104. The timing module 100 implements a timing function based on a counter and a control register. The random number acquisition module 102 acquires a series of required random numbers based on a linear congruential method. The main control module 101 is used to convert the random numbers output by the random number acquisition module 102 and control the generation of required signals. The FPGA module 20 includes a signal addition module 200, a basic signal generating module 201, a plurality of superimposed signal generating modules 202 and a signal output module 203. The basic signal generating module 201 is used to generate a basic signal, the superimposed signal generating module 202 is used to generate a superimposed signal, the signal addition module 200 is used to add the basic signal and the plurality of superimposed signals, and the adding time of each superimposed signal is controlled by the main control module 101, the signal output module 203 is used to output the added signal, and the display module 104 is used to display the set parameter value and the added signal.
[0036] In this embodiment, the multiplier A, increment B, modulus M and initial value N0 are set in the random number acquisition module 102, and the multiplier A, increment B, modulus M and initial value N0 can all be set by the parameter setting module 103. The random number recursive formula is:
[0037] N j+1 =(A×N j +B)(modM),
[0038] Among them, j represents the position of the current random number in the sequence, N j Represents the jth random number; when taking the value, the following conditions must be met: B and M must be coprime; all prime factors of M can divide A-1; if M is a multiple of 4, then A-1 should also be a multiple of 4; A, B and the initial value N0 should all be smaller than M; A and B should both be positive integers.
[0039] The random number acquisition module 102 acquires a random number ranging from 0 to M-1, and the size of the original interval is M-1. The main control module 101 uses a hash table to obtain corresponding data. Assuming the size of the target interval is P, a hash table is first created, and each element in the original interval is used as a key. The corresponding elements in the target interval are stored in the hash table; then each element in the original interval is traversed, and its corresponding position in the target interval is calculated according to the value of the element. The mapping function is:
[0040]
[0041] Among them, x represents the element in the original interval, and f(x) is the corresponding element in the target interval;
[0042] The calculated target position is then used as the key and the elements in the original interval are stored in the hash table as the value.
[0043] Furthermore, the main control module 101 is preset with a signal voltage range of U min to U max , the target interval corresponding to the signal voltage is P1=U max -U min The total number of superimposed signal generating modules 202 is n, and the number of superimposed signals added to the basic signal corresponds to the target interval P2 = n. The main control module 101 also presets the time difference range of each superimposed signal added to the basic signal, and the time difference range is 0 to Δt max The time difference between each superimposed signal and the basic signal corresponds to the target interval P3 = Δt max .
[0044] Furthermore, the parameter setting module 103 sets the sampling time interval t0, and the signal voltages obtained by the main control module 101 are set as U n , get several feature points nt0, U n , where n is an integer greater than 0, exponential fitting is used between two adjacent feature points, and corresponding signals are generated by the basic signal generating module 201 and the plurality of superimposed signal generating modules 202 respectively.
[0045] Furthermore, the basic signal generated by the basic signal generation module 201 is set to U0(t), and the two characteristic points obtained are set to (t0, U1) and (2t0, U2). Then, the function of the basic signal U0 and time t is obtained after exponential fitting:
[0046]
[0047] In this embodiment, the number of superimposed signals transmitted from the main control module 101 to the signal output module 203 is set to m, and the superimposed signal is set to U i (t'), t' is the time when the superimposed signal is generated, and the time difference of each superimposed signal is set to Δt i , that is, after the basic signal U0(t) is generated, Δt i Then the corresponding superposition signal U is generated i (t') and added to the basic signal, where i is an integer between 1 and m, then the superimposed signal U on the same time axis as the basic signal i (t) is:
[0048]
[0049] In this embodiment, the final signal generated by the signal adding module 200 is:
[0050]
[0051] Among them, U0(t) is the basic signal, It is the corresponding signal generated after adding m superposition signals.
[0052] In this embodiment, the timing module 100 , the parameter setting module 103 , the random number acquisition module 102 and the display module 104 are all connected to the main control module 101 by signals.
[0053] In this embodiment, the basic signal generating module 201 , the plurality of superimposed signal generating modules 202 and the signal output module 203 are all connected to the signal output module 203 by signal, and the signal output module 203 is also connected to the display module 104 by signal.
[0054] Example 2
[0055] like Figure 5 As shown, this embodiment provides a quality inspector for simulating nuclear signals of radioactive sources. The parameter setting module 103 can select the superposition quantity of the superposition signal generating module 202 to be 0, and can change the corresponding parameters so that the basic signal generated by the basic signal generating module 201 is directly output to directly generate a specific waveform, and at the same time, the peak value of the basic signal is increased in sequence to achieve a gradual increase from the lowest nuclear radiation intensity to the maximum range of the detected equipment or even test the over-range situation.
[0056] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the implementation steps of the quality inspection instrument for simulating nuclear signals of radioactive sources are implemented.
[0057] Optionally, the present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the above-mentioned steps of implementing the quality inspection instrument for simulating nuclear signals of radioactive sources.
[0058] A person of ordinary skill in the art can understand that the process of implementing all or part of the steps of the above-mentioned embodiments can be completed by hardware, or can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc.
[0059] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A quality inspection instrument for simulating nuclear signals of a radioactive source, characterized in that: The invention comprises a control terminal (10) and an FPGA module (20), wherein the control terminal (10) comprises a timing module (100), a main control module (101), a random number acquisition module (102), a parameter setting module (103) and a display module (104), wherein the timing module (100) realizes a timing function based on a counter and a control register, the random number acquisition module (102) acquires a series of required random numbers based on a linear congruential method, the main control module (101) is used to convert the random numbers output by the random number acquisition module (102) and to control the generation of required signals, and the FPGA module (20) comprises A signal adding module (200), a basic signal generating module (201), a plurality of superimposed signal generating modules (202) and a signal output module (203), wherein the basic signal generating module (201) is used to generate a basic signal, the superimposed signal generating module (202) is used to generate a superimposed signal, the signal adding module (200) is used to add the basic signal and the plurality of superimposed signals, and the adding time of each superimposed signal is controlled by the main control module (101), the signal output module (203) is used to output the added signal, and the display module (104) is used to display the set parameter value and the added signal.
2. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The multiplier A, increment B, modulus M and initial value N0 are set in the random number acquisition module (102), and the multiplier A, increment B, modulus M and initial value N0 can all be set by the parameter setting module (103). The random number recursive formula is: N j+1 =(A×N j +B)(modM), Among them, j represents the position of the current random number in the sequence, N j Represents the jth random number.
3. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The random number acquisition module (102) acquires a random number in the range of 0 to M-1, and the size of the original interval is M-1. The main control module (101) uses a hash table to obtain corresponding data. Assuming the size of the target interval is P, a hash table is first created, and each element in the original interval is used as a key. The corresponding element in the target interval is stored in the hash table; then each element in the original interval is traversed, and its corresponding position in the target interval is calculated according to the value of the element. The mapping function is: Among them, x represents the element in the original interval, and f(x) is the corresponding element in the target interval; The calculated target position is then used as the key and the elements in the original interval are stored in the hash table as the value.
4. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The main control module (101) is preset with a signal voltage range of U min to U max , the target interval corresponding to the signal voltage is P1=U max -U min The total number of the superimposed signal generating modules (202) is n, and the number of superimposed signals added to the basic signal corresponds to a target interval P2=n. The main control module (101) also presets a time difference range for each superimposed signal to be added to the basic signal, and the time difference range is 0 to Δt max The time difference between each superimposed signal and the basic signal corresponds to the target interval P3 = Δt max .
5. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The parameter setting module (103) sets the sampling time interval t0, and the signal voltages obtained by the main control module (101) are set as U n , get several feature points (nt0, U n ), wherein n is an integer greater than 0, exponential fitting is used between two adjacent feature points, and corresponding signals are generated by a basic signal generating module (201) and a plurality of superimposed signal generating modules (202), respectively.
6. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The basic signal generated by the basic signal generation module (201) is set as U0(t), and the two characteristic points obtained are set as (t0, U1) and (2t0, U2). Then, the function of the basic signal U0 and time t is obtained after exponential fitting:
7. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The number of superimposed signals transmitted from the main control module (101) to the signal output module (203) is set to m, and the superimposed signal is set to U i (t'), t' is the time when the superimposed signal is generated, and the time difference of each superimposed signal is set to Δt i , that is, after the basic signal U0(t) is generated, Δt i Then the corresponding superposition signal U is generated i (t') and added to the basic signal, where i is an integer between 1 and m, then the superimposed signal U on the same time axis as the basic signal i (t) is:
8. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The final signal generated by the signal adding module (200) is: Among them, U0(t) is the basic signal, It is the corresponding signal generated after adding m superposition signals.
9. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The timing module (100), the parameter setting module (103), the random number acquisition module (102) and the display module (104) are all connected to the main control module (101) by signals.
10. The quality inspection instrument for simulating nuclear signals of a radioactive source according to claim 1, characterized in that: The basic signal generating module (201), the plurality of superimposed signal generating modules (202) and the signal output module (203) are all connected to the signal output module (203) by signal, and the signal output module (203) is also connected to the display module (104) by signal.
