A high count rate background event simulation platform and method based on FPGA

The FPGA generates a random digital pulse signal that conforms to the background event energy distribution and time distribution, drives the LED to generate a light signal consistent with the response of the scintillation crystal, and solves the background event signal simulation problem in the high-brightness electron-positron collider. Effective verification of the detection system in the background environment.

CN118501929BActive Publication Date: 2024-10-18UNIV OF SCI & TECH OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410948494.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-18
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

In high-brightness electron-positron collider experiments, existing technology is difficult to effectively simulate and verify background event signals, resulting in unsatisfactory verification of the detection system's working status in the actual background environment.

Method used

Using a high count rate background case simulation platform based on FPGA, through the LED array control module and scintillator array, a random digital pulse signal that conforms to the energy distribution and time distribution of the background case is generated, converted into a voltage pulse signal, and driven to generate and flash the LED. The crystal responds to a consistent background light signal, enabling simulation of high count rate background events.

Benefits of technology

It effectively verifies the electronics' ability to process high-case rate signals, ensures the working status of the detection system in the actual background environment, and provides a method to simulate the background environment of the new generation collider in the laboratory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118501929B_ABST
    Figure CN118501929B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-counting rate background event simulation platform and method based on FPGA, and the two are corresponding schemes. In the scheme: based on FPGA (field programmable gate array), a random digital pulse signal that conforms to the energy distribution and time distribution of the background event can be generated, and an LED (light-emitting diode) driving signal is generated thereby. Driven by the LED driving signal, the LED will generate a light signal similar to the crystal response (that is, a background light signal that conforms to the crystal response light waveform), which is finally received by the crystal, thereby realizing the simulation of high-counting rate background events. Through the scheme provided by the present invention, the processing capability of electronics for high event rate signals can be effectively verified, and then the working state of the detection system under the actual background environment can be verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular to a high counting rate background event simulation platform and method based on FPGA. Background Art

[0002] Modern particle physics research mainly relies on accelerator experiments. One of the frontiers of accelerator experiments is the high brightness frontier, which is to increase the brightness of collisions in a certain energy range to obtain more collision data, and then test the standard model and find new physics through high-precision measurements of physical events. In the accelerator high brightness frontier, the upper limit of the energy range is near the threshold of specific quark pair production, the collision cross section is large, and a large number of target particle pairs can be produced. As the collision brightness of the collider increases, the event rate of its physical process will increase proportionally.

[0003] In addition to the above physical events, background events will also increase accordingly. As the collision brightness increases, the background (brightness background) caused by some non-target physical processes will increase, such as the two-photon process; as the number of bunches in the beam increases, the background (beam background) generated by the particles in the bunches interacting with the gas or beam tube will also increase, such as the Touschek effect, Coulomb scattering, etc. Since the detection unit itself can only detect particle energy and time information, it cannot distinguish whether the particles that are clustered are generated by the background or by the physical process of interest. Therefore, when the readout electronics reads out the pre-trigger signal, the estimated event rate must also take into account the background events.

[0004] Taking the next generation of high brightness electron-positron collider as an example, its background event rate is predicted to be several MHz (megahertz), and the background energy is mainly concentrated at the low energy end, most of which is no more than 1MeV (mega electron volt), and a small part can reach tens of MeV to hundreds of MeV. It is difficult to find natural radioactive sources or other particles with similar distribution in the laboratory environment, and it is impossible to effectively verify the processing ability of electronics for high event rate signals. Therefore, it is not ideal to conduct experimental verification with existing radioactive sources. In order to simulate the background environment of the new generation of colliders in the laboratory and verify the working status of the detection system under the actual background environment, it is necessary to simulate the corresponding background event signals through other methods.

[0005] In view of this, the present invention is proposed. Summary of the invention

[0006] The purpose of the present invention is to provide a high count rate background event simulation platform and method based on FPGA, which can generate background light signals that meet the requirements and ultimately realize the simulation of high count rate background events.

[0007] The objective of the present invention is achieved through the following technical solutions:

[0008] A high count rate background event simulation platform based on FPGA, comprising: an LED array control module, and an LED and scintillator array;

[0009] The LED array control module is used to generate a random digital pulse signal that meets the energy distribution and time distribution of the background case based on the FPGA, convert it into a voltage pulse signal, and then use the voltage pulse signal to generate an LED drive signal;

[0010] The LED and scintillator array is an array composed of a plurality of LEDs and a plurality of scintillator crystals connected one-to-one, wherein the LED generates a background light signal that is consistent with the luminous waveform of the scintillator crystal response according to the LED driving signal, and is received by the scintillator crystal to complete the simulation of the background event;

[0011] Wherein, the FPGA is a field programmable gate array, and the LED is a light emitting diode.

[0012] A method for simulating a high-counting rate background event based on FPGA is implemented based on the aforementioned high-counting rate background event simulation platform based on FPGA, and the method comprises:

[0013] Generate a random digital pulse signal that meets the energy distribution and time distribution of the background event based on FPGA, convert it into a voltage pulse signal, and then use the voltage pulse signal to generate an LED drive signal;

[0014] The LED driving signal is used to drive the LED to generate a background light signal that is consistent with the luminous waveform of the scintillation crystal response, and the background light signal is received by the corresponding scintillator to complete the simulation of the background event.

[0015] It can be seen from the technical solution provided by the present invention that a random digital pulse signal that conforms to the energy distribution and time distribution of background events can be generated based on FPGA (field programmable gate array), and thereby an LED (light emitting diode) drive signal is generated. Driven by the LED drive signal, the LED will generate a light signal similar to the crystal response (i.e., a background light signal that conforms to the crystal response luminescence waveform), which is finally received by the crystal, thereby realizing the simulation of high counting rate background events. Through the solution provided by the present invention, the processing capability of electronics for high event rate signals can be effectively verified, thereby verifying the working status of the detection system under the actual background environment. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1 A schematic diagram of a high counting rate background event simulation platform based on FPGA provided in an embodiment of the present invention;

[0018] Figure 2 A block diagram of the FPGA structure for controlling the light emission of a single LED provided in an embodiment of the present invention;

[0019] Figure 3 This is a schematic diagram of an LED driving circuit provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0020] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings 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 protection scope of the present invention.

[0021] First, the terms that may be used in this article are explained as follows:

[0022] The term “and / or” means that either or both of them can be realized at the same time. For example, X and / or Y means both “X” or “Y” and “X and Y”.

[0023] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.

[0024] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not contain technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.

[0025] Unless otherwise specified or limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this article can be understood according to specific circumstances.

[0026] The following is a detailed description of a high count rate background case simulation platform and method based on FPGA provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field. If the specific conditions are not specified in the embodiments of the present invention, the conditions are carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer. If the manufacturer is not specified in the reagents or instruments used in the embodiments of the present invention, they are all conventional products that can be purchased commercially.

[0027] Embodiment 1

[0028] The embodiment of the present invention provides a high-count rate background event simulation platform based on FPGA, which can generate a specific optical signal and realize the verification of the working state of the detection system under a specific background environment in the laboratory. In terms of implementation, a linear feedback shift register in the FPGA and an online sampling method are used to obtain a random digital pulse signal that meets the energy distribution and time distribution of the background event, and then converted into a voltage pulse signal through a DAC module. The voltage pulse signal drives the LED to generate an optical signal similar to the response of a scintillation crystal (for example, a pure cesium iodide crystal), which is received by the APD (photodiode) at one end of the scintillation crystal, and finally realizes the simulation of a high-count rate background event.

[0029] like Figure 1 As shown, the FPGA-based high count rate background event simulation platform mainly includes: an LED array control module, and an LED and scintillation crystal array; the LED array control module is used to generate a random digital pulse signal that conforms to the energy distribution and time distribution of the background event based on an FPGA (field programmable gate array), and convert it into a voltage pulse signal, and then use the voltage pulse signal to generate an LED drive signal; the LED and scintillation crystal array is an array composed of a plurality of LEDs and a plurality of scintillation crystals connected one-to-one, wherein the LED generates a background light signal that conforms to the luminous waveform of the scintillation crystal response according to the LED drive signal, and is received by the corresponding scintillation crystal to complete the simulation of the background event.

[0030] During the implementation process, the LED array control module mainly includes: FPGA, DAC module and LED driving circuit; the number of DAC modules and LED driving circuits are multiple, and they are connected one-to-one, all DAC modules are connected to FPGA, and the DAC module is a digital-to-analog conversion module; the FPGA is responsible for generating a random digital pulse signal that conforms to the energy distribution and time distribution of the background event, the DAC module is responsible for converting the random digital pulse signal into a voltage pulse signal, and the LED driving circuit is responsible for using the voltage pulse signal to generate an LED driving signal.

[0031] In an embodiment of the present invention, the FPGA-based generation of a random digital pulse signal that conforms to the energy distribution and time distribution of background events includes: using a linear feedback shift register in the FPGA to generate uniformly distributed pseudo-random numbers, and then combining an online sampling method to generate a random digital pulse signal that conforms to the energy distribution and time distribution of background events.

[0032] In an embodiment of the present invention, in the LED and scintillator array, the LED and the scintillator crystal are a group, which includes multiple groups (with the same structure). The specific number of groups can be the same as the number of LED driving circuits, and each group is connected one-to-one with the LED driving circuit. The LED driving circuit drives the LED to emit a background light signal that is sent to one end face of the scintillator crystal through an optical fiber and transmitted inside the scintillator crystal, and finally received and processed by the APD on the other end face of the scintillator crystal.

[0033] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the method provided by the embodiment of the present invention is described in detail with reference to specific embodiments below.

[0034] 1. General introduction of the plan.

[0035] The high counting rate background event simulation platform based on FPGA (hereinafter referred to as the simulation platform) provided by the embodiment of the present invention adopts parallel computing suitable for FPGA processing and online sampling method to obtain random digital pulse signals, controls each high-speed DAC module to generate random pulse signals that meet the energy distribution and time distribution of the background event, and drives the LED to emit light to build a set of high counting rate simulation platform; in the simulation platform, by configuring the delay switch (that is, hereinafter referred to as the delay switch) Figure 3 The switch and corresponding delay line shown in the figure quench the LED so that the light pulse width of the LED matches the light signal pulse width generated by the response of the scintillation crystal to be simulated. In addition, in the simulation platform, multiple random pulse signals can be generated simultaneously to drive multiple LEDs to emit light so that the corresponding scintillation crystal can receive the background light signal.

[0036] 2. Detailed introduction of the plan.

[0037] 1. LED array control module.

[0038] In an embodiment of the present invention, the LED array control module mainly includes: FPGA, DAC module and LED driving circuit. The FPGA generates a random digital pulse signal that conforms to the energy distribution and time distribution of the background event, which is converted into a voltage pulse signal by the DAC module and transmitted to each LED driving module through a single-ended cable.

[0039] For example: the working clock of FPGA is 250MHz, and 8 points are generated at the rising edge of each clock cycle, including a waveform rising edge or falling edge composed of 4 points and an amplitude value composed of 4 points, which are sampled by the DAC module and output to the input end of the LED driving circuit.

[0040] (1) FPGA working process.

[0041] In an embodiment of the present invention, a random digital pulse signal that conforms to the energy distribution and time distribution of background events is generated based on an FPGA. Specifically, a linear feedback shift register in the FPGA is used to generate uniformly distributed pseudo-random numbers, and then combined with an online sampling method to generate a random digital pulse signal that conforms to the energy distribution and time distribution of background events.

[0042] (1.1) Use the linear feedback shift register in the FPGA to generate uniformly distributed pseudo-random numbers.

[0043] XOR the highest bit output of the linear feedback shift register with the previous bit of each tap and feed it back to the corresponding tap bit. The characteristic polynomial of the shift register is: ,in , i∈[1,n] indicates whether the i-th bit is a tap. If so, then , indicating that the bit is involved in the operation; if not, then , indicating that the bit does not participate in the operation, x is the variable of the characteristic polynomial, and the superscript of x indicates the corresponding bit number, for example, It indicates that it is the nth bit of the linear feedback shift register, n is the highest bit of the linear feedback shift register, and according to the n-bit primitive polynomial, the appropriate tap position is selected to make the period of the output sequence the maximum value 2 n -1, then the n-bit linear feedback shift register can complete one cycle from 0 to 2 n -1, thus generating values ​​in the range [0, 2 n -1] uniformly distributed pseudo-random number.

[0044] Those skilled in the art can understand that the highest bit of the linear feedback shift register is the same as the value of the data bit width generated by the linear feedback shift register. For example, the data bit width generated by the linear feedback shift register with n=14 is 14 bits.

[0045] (1.2) Combined with the online sampling method, a random digital pulse signal is generated that conforms to the energy distribution and time distribution of the background event.

[0046] In an embodiment of the present invention, a uniformly distributed pseudo-random number is generated based on a linear feedback shift register in an FPGA, and an amplitude random number and a time interval random number are obtained through an online sampling method. The amplitude random number and the time interval random number are combined to generate a random digital pulse signal that conforms to the energy distribution and time distribution of the background event.

[0047] Figure 2 Provides an FPGA structure example for controlling the light emission of a single LED. In the simulation of energy information, the background energy distribution obtained by simulation is used to sample a series of background energy points. , and it is necessary to make corresponding corrections to each background energy point according to the subsequent calibration results, as the data E(u) in the FPGA internal memory ROM1 (ROM is a read-only memory, and the subsequent value is its identification symbol). E(u) is the probability density function of the amplitude information, which means the probability of occurrence when the amplitude is u.

[0048] The steps of generating amplitude random numbers are to use the linear feedback register in the FPGA to generate N-bit uniform pseudo-random number f1 and M-bit uniform pseudo-random number a (original a sequence) respectively, and use these two sets of uniform pseudo-random numbers a and f1 as the horizontal and vertical coordinates of the selection interval to obtain a point sequence uniformly distributed in the plane. The M-bit uniform pseudo-random number a is used as the horizontal coordinate to represent the energy value, and the N-bit uniform pseudo-random number f1 is used as the vertical coordinate to represent the probability of the energy value. The total sequence generation period is (2 N -1)(2 M -1); the required signal amplitude probability density function is the E(u) mentioned above. Substitute the M-bit uniform pseudo-random number a into the signal amplitude probability density function E(u) to obtain E(a), that is, the probability of occurrence when the amplitude is a. Compare f1 with E(a), and output a check code according to the comparison result. If the comparison result is f1<E(a), output the check code 1, otherwise output the check code 0. If the check code 1 is output, retain the horizontal coordinate of the corresponding point, repeat continuously, and finally output the amplitude random number, which is the data that meets the given distribution, otherwise discard it.

[0049] As mentioned before, a series of energy points are obtained by sampling the background energy distribution obtained by simulation. . However, since the efficiency of the rejection result is very low when the energy interval and the horizontal coordinate of the rejection method correspond one to one, the energy value of the probability density function E(u) is divided into several segments. Each energy value corresponds to an interval segment of the horizontal coordinate of the rejection method. The interval length is determined by the target amplitude distribution and is proportional to the integral of the probability density function E(u) in the segment, that is, the energy value with a high probability occupies a large range of the horizontal coordinate. According to the energy value corresponding to the obtained segmented interval, the vertical coordinate corresponding to each interval horizontal coordinate point, that is, the probability, is resampled to achieve the purpose of making the acceptance efficiency of each interval as high as possible. At this time, there is a linear conversion relationship between the actual energy size and the rejection interval. The sequence is the data E(u) in the memory ROM1. Intuitively speaking, the data E(u) stored in ROM1 is directly regarded as a function to assist the calculation process of a link in the above amplitude random number generation. The obtained uniform pseudo-random number a is linearly transformed according to the correspondence between the rejection interval and the energy value to obtain a signal amplitude random number that meets actual needs.

[0050] In the simulation of time information, according to the average event rate and exponential distribution relationship, the time interval between adjacent background events is obtained. The probability density function Y(b) represents the time interval between two adjacent random pulses (uniformly represented as the input variable b of the function). It is used as the data in the internal memory ROM2, and then the counter inside the FPGA counts at a fixed period to achieve the purpose of timing; two linear feedback shift registers (i.e. Figure 2 The combination of the linear feedback shift register T in the embodiment and the linear feedback shift register F2) obtains the time interval random number through the rejection method and stores it into FIFO2. The steps of generating the time interval random number are the same as the steps of generating the amplitude random number mentioned above. The only difference is that the probability density function E(u) used in generating the amplitude random number is replaced by the probability density function Y(b).

[0051] As mentioned above, the relevant data obtained in the above process are stored in ROM1 and ROM2 respectively. Both ROMs are memories in FPGA. Because the amplitude and time interval of the target need to be obtained through software simulation according to the specific physical conditions, these data need to be stored in FPGA through ROM, and FPGA can take these data out of ROM for subsequent screening operations. In addition, the amplitude random number and time interval random number obtained in the above process are stored in FIFO1 and FIFO2 respectively. A counter is set in FPGA for timing. When the counter counts the time interval value, the next value of FIFO2 is taken to continue counting. At the same time, a value is taken from FIFO1 as the amplitude output, which is repeated continuously, and finally a random digital pulse signal that conforms to the energy distribution and time distribution of the background case is output. FIFO is a first-in-first-out queue, and the subsequent value is its identification symbol.

[0052] Figure 2 In the example shown, the above amplitude random number and time interval random number generation process is demonstrated; the linear feedback shift registers A and F1 in the upper part correspond to the two linear feedback shift registers in the amplitude random number generation process, and the two respectively output uniform pseudo-random numbers a and f1, and the comparator 1 is responsible for executing the size judgment of f1 and E(a), and outputting the corresponding check code according to the judgment result. Figure 2 The control module in the filter obtains the random number of amplitude that meets the distribution according to the check code and stores it in FIFO1 ( Figure 2 Based on the same method, the linear feedback shift register T and F2, the comparator 2 and the control module in the lower part obtain the random number of the time interval and store it in FIFO2 ( Figure 2 This process is not shown in the figure, and will not be described in detail. Figure 2 A counter is also provided in the control module for timing, and a random digital pulse signal conforming to the energy distribution and time distribution of the background event is output in the manner described above.

[0053] (2) DAC module.

[0054] In the embodiment of the present invention, the DAC module is mainly responsible for realizing high-speed conversion of digital signals to analog signals. Specifically, the random digital pulse signal is converted into a voltage pulse signal and transmitted to the corresponding LED driving circuit through a single-ended cable.

[0055] In the embodiment of the present invention, both the FPGA and the DAC module can adopt existing products, and the specific model can be selected by the user according to the actual situation, and the present invention does not make any specific limitation.

[0056] (3) LED driving circuit.

[0057] The LED driving circuit converts the voltage pulse signal into a driving current through a resistor, provides isolation and driving functions through an operational amplifier and a bipolar transistor, and can short-circuit the LED to quench the LED through a delay unit and a MOSFET switch. At the same time, the LED driving waveform and the delay time for the MOSFET switch to short-circuit the LED to quench the LED are adjusted to obtain a background light signal that is consistent with the luminous waveform of the scintillation crystal response.

[0058] like Figure 3As shown, the LED driving circuit mainly includes: an operational amplifier, a BJT (bipolar transistor), two MOSFET (metal-oxide semiconductor field effect transistor) switches, denoted as switch SW1 and switch SW2, a resistor R1, a resistor R2, and a capacitor C1, wherein the non-inverting input end of the operational amplifier receives a voltage pulse signal, and the reverse input end is connected to one end of the resistor R1 and one end of the capacitor C1; the other end of the resistor R1 is connected to one end of the resistor R2 and one end of the switch SW2, the other end of the resistor R2 is connected to the ground, and the other end of the capacitor C1 is connected to the output end of the operational amplifier; the output end of the operational amplifier is connected to the base of the BJT, the emitter of the BJT is connected to the other end of the switch SW2, the collector of the BJT is connected to the negative pole of the LED, the positive pole of the LED is connected to Vcc (power supply voltage), and the switch SW1 connects the positive and negative poles of the LED; the LED in this part is the LED and the LED in the scintillator array. The above LED driving circuit converts the driving voltage into the driving current through the resistor R2, the operational amplifier isolates the input signal and the driving circuit and can adjust the input signal amplitude to a certain extent, and the BJT driving voltage signal is converted into a current signal. Due to the light-emitting characteristics of the LED itself, even if a pulse voltage signal of 20ns (nanoseconds) or narrower is given, the trailing edge of the LED light-emitting shape is still hundreds of nanoseconds, while the light signal shape of the scintillation crystal response is within 100ns. After the input signal is delayed by 50ns through the delay line, the MOSFET switch is closed, the LED is short-circuited, and the LED is quenched, so that the signal shape of the APD receiving the LED is the same as the light signal shape of the scintillation crystal response.

[0059] For example, the LED driving waveform can be a pulse voltage signal with a leading edge of 2ns, a trailing edge of 2ns, and a width of 20ns. The light-emitting shape with a width of about 80ns is obtained by fixed delay quenching of the switch. The relative position of the LED and the scintillation crystal is fixed, the voltage value of the driving waveform is changed, the relationship between the charge amount of the APD receiving signal and the driving voltage at the relative position is scaled, the data points obtained by the scale are fitted, and the background energy in the memory ROM1 is re-corrected using the fitting result. , and finally the background light signal with the correct intensity is received at the APD end.

[0060] Embodiment 2

[0061] The present invention also provides a method for simulating high count rate background events based on FPGA. The method is mainly implemented based on the simulation platform provided by the above embodiment. The method comprises:

[0062] Generate a random digital pulse signal that meets the energy distribution and time distribution of the background event based on FPGA, convert it into a voltage pulse signal, and then use the voltage pulse signal to generate an LED drive signal;

[0063] The LED driving signal is used to drive the LED to generate a background light signal that is consistent with the luminous waveform of the scintillation crystal response, and the background light signal is received by the corresponding scintillator to complete the simulation of the background event.

[0064] Considering that the relevant simulation process has been introduced in detail in the process of introducing the simulation platform in the aforementioned embodiment, it will not be repeated here.

[0065] Technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above.

[0066] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A high count rate background event simulation platform based on FPGA, characterized in that: include: LED array control module, and LED and scintillator array; The LED array control module is used to generate a random digital pulse signal that meets the energy distribution and time distribution of the background case based on the FPGA, convert it into a voltage pulse signal, and then use the voltage pulse signal to generate an LED drive signal; The LED and scintillator array is an array composed of a plurality of LEDs and a plurality of scintillator crystals connected one-to-one, wherein the LED generates a background light signal that is consistent with the luminous waveform of the scintillator crystal response according to the LED driving signal, and is received by the scintillator crystal to complete the simulation of the background event; Wherein, the FPGA is a field programmable gate array, and the LED is a light emitting diode; The method of generating a random digital pulse signal that conforms to the energy distribution and time distribution of a background event based on an FPGA includes: generating a uniformly distributed pseudo-random number by using a linear feedback shift register in the FPGA, and then generating a random digital pulse signal that conforms to the energy distribution and time distribution of the background event by combining an online sampling method; The method of combining online sampling to generate a random digital pulse signal that conforms to the energy distribution and time distribution of the background event includes: generating uniformly distributed pseudo-random numbers based on a linear feedback shift register in an FPGA, obtaining an amplitude random number and a time interval random number through an online sampling method, and combining the amplitude random number and the time interval random number to generate a random digital pulse signal that conforms to the energy distribution and time distribution of the background event; Also includes: The step of obtaining an amplitude random number comprises: using a linear feedback register to generate an N-bit uniform pseudo-random number f1 and an M-bit uniform pseudo-random number a respectively, and using the two groups of uniform pseudo-random numbers a and f1 as the horizontal and vertical coordinates of the rejection interval, obtaining a point sequence uniformly distributed in a plane, wherein the M-bit uniform pseudo-random number a is used as the horizontal coordinate to represent the energy value, and the N-bit uniform pseudo-random number f1 is used as the vertical coordinate to represent the probability of the energy value appearing; the probability density function of the signal amplitude is E(u), and the meaning of E(u) is the probability of appearing when the amplitude is u; the M-bit uniform pseudo-random number a is brought into the probability density function E(u) of the signal amplitude to obtain E(a), that is, the probability of appearing when the amplitude is a, comparing the sizes of f1 and E(a), and outputting a check code according to the comparison result, if the comparison result is f1<E(a), then outputting a check code 1, otherwise outputting a check code 0, if the check code 1 is output, then retaining the horizontal coordinate of the corresponding point, repeating continuously, and finally outputting the amplitude random number; Among them, a series of energy points E are obtained by sampling the background energy distribution obtained by simulation. i , the energy value of the probability density function is divided into several segments, each energy value corresponds to an interval segment of the horizontal coordinate of the rejection method, the interval length is determined by the target amplitude distribution, and is proportional to the integral of the probability density function in the interval segment. According to the energy value corresponding to the obtained segmented interval, the vertical coordinate corresponding to each interval horizontal coordinate point is resampled, that is, E i ; E i As E(u) in ROM1, the internal memory of FPGA; The step of obtaining the time interval random number is the same as the step of obtaining the amplitude random number, wherein the probability density function E(u) used in obtaining the amplitude random number is replaced by the probability density function Y(b), and the probability density function Y(b) represents the time interval between two adjacent random pulses; The LED array control module includes: FPGA, DAC module and LED driving circuit; the number of DAC modules and LED driving circuit are multiple, and they are connected one-to-one, all DAC modules are connected to FPGA, and the DAC module is a digital analog conversion module; the FPGA is responsible for generating a random digital pulse signal that conforms to the energy distribution and time distribution of the background case, the DAC module is responsible for converting the random digital pulse signal into a voltage pulse signal, and the LED driving circuit is responsible for using the voltage pulse signal to generate an LED driving signal; The LED driving circuit includes: an operational amplifier, a BJT, two MOSFET switches, denoted as switch SW1 and switch SW2, a resistor R1, a resistor R2 and a capacitor C1; wherein, the BJT is a bipolar transistor, the MOSFET is a metal oxide semiconductor field effect transistor, the non-inverting input end of the operational amplifier receives a voltage pulse signal, and the reverse input end is connected to one end of the resistor R1 and one end of the capacitor C1; the other end of the resistor R1 is connected to one end of the resistor R2 and one end of the switch SW2, the other end of the resistor R2 is connected to the ground, and the other end of the capacitor C1 is connected to the output end of the operational amplifier; the output end of the operational amplifier is connected to the base of the BJT, the emitter of the BJT is connected to the other end of the switch SW2, the collector of the BJT is connected to the negative electrode of the LED, the positive electrode of the LED is connected to the power supply voltage, the switch SW1 connects the positive and negative electrodes of the LED, and the switch SW1 is also connected to the delay unit, which can short-circuit the LED to quench the LED; the LED in this part is the LED and the LED in the scintillator array.

2. The FPGA-based high count rate background event simulation platform according to claim 1, characterized in that: The method of generating uniformly distributed pseudo-random numbers by using a linear feedback shift register in an FPGA includes: The n-bit linear feedback shift register completes one cycle and can traverse from 0 to 2 n All values ​​between -1 are in the range [0, 2 n -1], where n is the highest bit of the linear feedback shift register.

3. The FPGA-based high count rate background event simulation platform according to claim 1, characterized in that: The random digital pulse signal generated by combining the amplitude random number and the time interval random number to meet the energy distribution and time distribution of the background event includes: The amplitude random number is stored in FIFO1, and the time interval random number is stored in FIFO2. A counter is set in the FPGA for timing. When the counter reaches the time interval value, the next value of FIFO2 is taken to continue counting. At the same time, a value is taken from FIFO1 as the amplitude output. This is repeated continuously, and finally a random digital pulse signal that conforms to the energy distribution and time distribution of the background event is output. Among them, FIFO is a first-in-first-out queue, and the subsequent value is its identification symbol.

4. A method for simulating high count rate background events based on FPGA, characterized in that: Based on the FPGA-based high count rate background event simulation platform according to any one of claims 1 to 3, the method comprises: Generate a random digital pulse signal that meets the energy distribution and time distribution of the background event based on FPGA, convert it into a voltage pulse signal, and then use the voltage pulse signal to generate an LED drive signal; The LED driving signal is used to drive the LED to generate a background light signal that is consistent with the luminous waveform of the scintillation crystal response, and the background light signal is received by the corresponding scintillator to complete the simulation of the background event.

Citation Information

Patent Citations

  • Signal source system of analog energy spectrum

    CN103235863A

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

    CN113628521A