Single-photon detection echo signal Monte Carlo simulation method fusing SiPM response characteristics
By integrating SiPM response characteristics, the non-ideal effect of single-photon detectors is simulated in detail, and the problem of deviation in simulation results in the prior art is solved, and a Monte Carlo simulation of single-photon detection echo signal with higher accuracy and applicability is achieved.
Patent Information
- Application Number
- CN202411175278.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-29
AI Technical Summary
The existing Monte Carlo simulation technology for single-photon detection echo signals fails to fully consider the SiPM response characteristics, resulting in a large deviation from the actual situation.
Monte Carlo simulation method for single-photon detection echo signal fused with SiPM response characteristics, the specific steps include establishing a mathematical model of laser emission signal based on the number of photos, considering non-ideal effects such as dark counting, fast crosstalk, delayed crosstalk, post-pulse and recovery time. , simulate the behavior of SiPM in actual applications in detail.
It significantly improves simulation accuracy and authenticity, provides more accurate and reliable simulation results, and is suitable for a variety of complex scenarios, including single-photon detection echo signal simulation in underwater and smoke environments.
Smart Images

Figure CN119044939A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of laser detection, and in particular relates to a Monte Carlo simulation method for a single-photon detection echo signal integrating SiPM response characteristics. Background Art
[0002] Single-photon LiDAR, also known as photon counting LiDAR, is an advanced LiDAR system with high sensitivity and high time resolution. It uses single-photon detectors as photoelectric conversion devices, which can detect weak echo signals as low as a single photon level, emit laser pulses and use high-precision time-correlated single-photon timing technology to measure the flight time of echo photons to calculate the target distance. It can perform high-precision detection under extremely weak echo signal conditions and is suitable for complex scenes with limited echo intensity such as long-distance and low-reflectivity targets.
[0003] Silicon photomultiplier (SiPM) is a matrix composed of hundreds or thousands of parallel self-quenched single-photon avalanche photodiodes (SAPDs), also called pixels or micro-units. Compared with ordinary single-photon detectors, SiPM can detect multiple photons simultaneously, and has the advantages of high gain, low operating voltage, high photon detection efficiency, high sensitivity (down to a single photon) and resistance to magnetic field interference, and occupies an important position in single-photon detectors. However, its performance will be affected by dark counts, fast and delayed crosstalk, and afterpulses. SiPM has excellent performance in single-photon detection, but its performance will also be affected by some noise and non-ideal effects, including dark counts, fast crosstalk, delayed crosstalk, afterpulses, and recovery time. These noise and non-ideal effects will affect the performance of SIPM in combination, and the impact on the single-photon detection echo signal cannot be ignored.
[0004] The Monte Carlo method is a probability-based, sampling-based method for simulating the behavior of a single individual. It is often used to simulate complex photon propagation and interaction processes, and can accurately simulate the backscattering signal of a lidar. In the article "GPU-AcceleratedMonte Carlo Simulation for a Single-Photon Underwater Lidar", Yupeng Liao used the GPU-accelerated Monte Carlo method to simulate the realization process of a single-photon underwater lidar signal. However, it did not combine the response characteristics of the single-photon detector, and thus could not fully and accurately reflect the physical realization process of the single-photon underwater lidar signal, affecting the simulation accuracy and reliability, and had certain limitations in practical applications. Summary of the invention
[0005] The present invention proposes a Monte Carlo simulation method for single-photon detection echo signals that integrates the response characteristics of SiPM, aiming to solve the problem that the existing Monte Carlo simulation technology for single-photon detection echo signals fails to fully consider the response characteristics of SiPM, resulting in a large deviation between the simulation results and the actual situation. The present invention significantly improves the simulation accuracy, authenticity and applicability by fully integrating the response characteristics of SiPM into the Monte Carlo simulation process, especially considering the impact of non-ideal effects such as dark counts, fast crosstalk, delayed crosstalk, post-pulses and recovery time on the echo signal. This method provides a more reliable and efficient tool for the research and application of single-photon detection technology.
[0006] The technical solution to implement the present invention is: a Monte Carlo simulation method for single-photon detection echo signals integrating SiPM response characteristics, and the specific steps are as follows:
[0007] Step A-1, establish a mathematical model of the laser emission signal based on the number of photons, use the above mathematical model to discretize the emission signal, divide the emission pulse into several photon packets at intervals of Δt in time, initialize the system, set the laser beam semi-divergence angle, transmit-receive spacing, photon weight, photon weight threshold, total photon distance, receiving field angle, optical receiving system radius, define the emission pulse number as i, the photon packet number as j, and proceed to step A-2.
[0008] Step A-2: Set the first transmission pulse i=1, and proceed to step A-3.
[0009] Step A-3, let the first photon packet of the i-th transmitted pulse j=1, and go to step A-4.
[0010] Step A-4: Calculate the number of photons N in the jth photon packet within Δt Δt (j), proceed to step B-1;
[0011] Step B-1: According to the calculated number of photons N in the j-th photon packet Δt (j), define the photon number as k, let the first photon number in the current photon packet be k=1, and the maximum number of simulation iterations is N Δt (j), proceed to step B-2.
[0012] Step B-2, according to the laser beam half-divergence angle and the sending and receiving spacing set in step A-1, calculate the initial coordinates, initial scattering angle, initial azimuth angle and initial direction cosine of the kth photon, and proceed to step C.
[0013] Step C, based on the initial coordinates, initial scattering angle, initial azimuth and initial direction cosines of the kth photon calculated in step B-2, combined with the random walk step length of the photon, calculate the current photon coordinates, current scattering angle and current azimuth, update the photon weight and the total distance of the photon, and proceed to step D.
[0014] Step D, according to the k-th photon coordinates, current scattering angle and current azimuth angle calculated in step C, combined with the set receiving field of view angle and the radius of the optical receiving system, calculate the relative angle between the current position of the photon and the center point of the optical receiving system; and by comparing the receiving field of view angle, determine whether the current position of the photon is within the receiving field of view:
[0015] If it is not within the receiving field of view, skip the semi-analytical reception of photons, calculate and update the current scattering angle, current azimuth angle and current direction cosine, and go to step E.
[0016] If it is within the receiving field of view, semi-analytically receive photons, calculate the expected number of incident photons, update the photon weight, and determine whether the incident photons can cause a primary avalanche event by comparing the set photon detection efficiency; generate and recursively generate secondary avalanche events based on the primary avalanche event, and record the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to each avalanche event; the remaining photons continue to scatter, update the current direction cosine, and go to step E.
[0017] If the photon is absorbed or leaves the receiving field of view twice in succession, the photon is determined to be extinct, the photon serial number k is set to k+1, and the process returns to step B-2.
[0018] Step E: Calculate and update the photon coordinates, photon weight and total distance of the photon according to the current scattering angle, current azimuth angle and current direction cosine obtained in step D, combined with the current random walk step of the photon, and return to step D until the photon weight of the current photon is less than the photon weight threshold or the photon returns to the position of the optical receiving system; set the photon serial number k=k+1, return to step B-2, until all photons in the current photon packet are traversed; set the photon packet serial number j=j+1, return to step A-4, until all photon packets are traversed; set the emission pulse serial number i=i+1, return to step A-3, until all emission pulses are traversed, and go to step F.
[0019] Step F: Calculate the maximum iteration duration of the dark count event according to the number of transmitted pulses i and the set pulse laser repetition frequency; Initialize and set the dark count event timestamp t DCR =0; according to the statistical distribution characteristics of dark count events, cyclically generate dark count events and recursively generate their secondary events; record and update the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to the dark count event and its secondary avalanche event until the maximum iteration time is reached, and then proceed to step G.
[0020] Step G, according to the avalanche event type, expected number of photons, timestamp, event number, and parent event number of each recorded avalanche event, and rearrange the timestamps in ascending order, initialize the pixel state and recovery time; select the events to be processed one by one in chronological order, and when processing a certain event to be processed, check whether the occupied pixels at the corresponding time of the event to be processed have reached the recovery time and restored to the idle state, until all occupied pixels are traversed, and determine whether there are idle pixels at this time. If so, occupy the pixel, otherwise, abandon the event and its subordinate events, and repeat the above process until all events to be processed are traversed, generate a valid event data set, and go to step H.
[0021] Step H: Generate a single photon detection echo signal based on the valid event data set obtained in step G.
[0022] Compared with the prior art, the present invention has the following significant advantages:
[0023] (1) Higher simulation accuracy and authenticity: The present invention integrates the SiPM response characteristics into the Monte Carlo simulation process and carefully simulates the non-ideal effects of SiPM in practical applications, which significantly improves the simulation accuracy and authenticity. Specifically, the present invention takes into account the non-ideal effects of SiPM such as dark counts, fast crosstalk, delayed crosstalk, post-pulse and recovery time, so that the simulation results are closer to the actual situation, solving the problem of large deviations between simulation results and actual results in traditional simulation technology. This method not only provides more accurate simulation results in terms of numerical values, but also is closer to the response of the real system in terms of behavioral patterns, providing more reliable data support for subsequent research and practical applications.
[0024] (2) Wide applicability: The simulation method provided by the present invention has strong adaptability and versatility. It only needs to replace different laser emission models and photon transmission models to realize Monte Carlo simulation of single-photon detection echo signals of different types of lasers such as Gaussian beams and vortex beams in complex transmission environments such as smoke and underwater. This flexibility enables the present invention to maintain efficient and accurate simulation performance in various application scenarios. The present invention has shown significant advantages in simulation accuracy, authenticity and applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a flow chart of the Monte Carlo simulation method of single-photon detection echo signal integrating SiPM response characteristics of the present invention.
[0026] Figure 2 This is a simulation flow chart of the photon transmission process of the present invention.
[0027] Figure 3 It is a recursive flow chart of secondary events of the present invention.
[0028] Figure 4 A flow chart is generated for the dark count events of the present invention.
[0029] Figure 5 This is a flowchart of valid event data set processing according to the present invention. DETAILED DESCRIPTION
[0030] The present invention is further described in detail below in conjunction with the accompanying drawings and implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.
[0031] Combination Figure 1-2 A Monte Carlo simulation method for single photon detection echo signals integrating SiPM response characteristics is provided, and the steps are as follows:
[0032] Step A-1. The present invention establishes for the first time a mathematical model of a laser emission signal based on the number of photons and its simplified model, defines the emission pulse number as i, the photon packet number as j, sets the first emission pulse number i=1, the first photon packet number j of the i-th emission pulse as 1, and proceeds to step A-2.
[0033] Step A-2: Set the first transmission pulse i=1, and proceed to step A-3.
[0034] Step A-3, let the first photon packet of the i-th transmitted pulse j=1, and go to step A-4.
[0035] Step A-4: Calculate the number of photons N in the jth photon packet Δt (j).
[0036] Calculate the number of photons in the jth photon packet within Δt:
[0037]
[0038] Among them, N Δt (j) is the jth photon packet in the time interval [t j ,t j The total number of photons within +Δt[; t j is the starting time of the photon packet; Δt is the time interval; t p is the pulse width; P 0 is the peak power of the transmitted pulse; h is Planck's constant; v is the frequency of the light wave; t' is the time corresponding to the symmetry axis of the transmitted pulse, and the transmitted pulse is symmetrical about t = t'; and The input values are and The Gaussian error function.
[0039] If the time interval Δt is small enough, it is considered that the distribution of photon numbers does not change much within Δt, so the calculation formula for the number of photons in the jth photon packet can be simplified to:
[0040]
[0041] Among them, N(t avg ) is at t avg The number of photons at the moment, because the distribution of photon number does not change much within Δt, N(t avg ) is considered to be the average number of photons in the photon packet; t avg is the central moment of the time interval corresponding to the photon packet, Among them, t 0 is the start time of the pulse signal.
[0042] Go to step B-1.
[0043] Step B-1: According to the calculated number of photons N in the j-th photon packet Δt (j), define the photon number as k, let the first photon number in the current photon packet be k=1, and the maximum number of simulation iterations is N Δt (j), proceed to step B-2.
[0044] Step B-2, initialize the kth photon in the photon packet, and assume that the laser light source is a point light source. The photon is incident from the laser source into the transmission environment. Let the center of the optical receiving system be the origin of the coordinates and the photon emission direction be the positive direction of the z axis. Determine the initial coordinates (x, y, z) and initial direction cosines (δ x ,δ y ,δ z ), the initial weight of the photon ω=1, the initial coordinates of the photon are determined by the position of the light source and the shape of the light beam, and the calculation formulas of the initial coordinates and initial direction cosines of the photon are as follows:
[0045]
[0046] The initial scattering angle is is the semi-divergence angle of the laser beam; d er It is the distance between the laser light source and the center of the optical receiving system, referred to as the transceiver spacing; u 0 is a random number independently and uniformly distributed in [0,1]; the initial azimuth Uniformly distributed in [0,2π]; u 1 is a random number independently and uniformly distributed in [0,1]. Go to step C.
[0047] Step C, based on the initial coordinates, initial scattering angle, initial azimuth and initial direction cosine of the kth photon calculated in step B-2, combined with the random walk step length of the photon, calculate the current photon coordinates, current scattering angle and current azimuth, and update the photon weight and the total distance of the photon. The specific steps are as follows:
[0048] Step C-1, calculate the random walk step length of photons:
[0049]
[0050] Where ΔL is the random walk step length of the photon; ξ x (s) is a function of the extinction coefficient. If the medium is uniform, ξ x is a constant; u 2 is a random number independently and uniformly distributed in the range [0,1].
[0051] Step C-2, calculate the current photon coordinates:
[0052]
[0053] Among them, (x, y, z) is the initial coordinate of the photon; (x′, y′, z′) is the current coordinate of the photon; (δ x ,δ y ,δ z ) is the initial direction cosine of the photon; ΔL is the random walk step of the photon; for the convenience of calculation, update the variables, let x = x′, y = y′, z = z′, the updated (x, y, z) can also be used to represent the current photon coordinates.
[0054] Step C-3, calculate the current scattering angle and the current azimuth angle:
[0055] According to the HG scattering phase function:
[0056]
[0057] Where θ′ is the current scattering angle; is the current azimuth; g is the value of the back-anisotropy factor; u 3 、u 4 is a random number independently and uniformly distributed in the range [0,1].
[0058] Update the variables, let θ = θ′,
[0059] Step C-4, update photon weight:
[0060] ω′=ω·exp(-α·ΔL)
[0061] Among them, ω′ is the updated photon weight; α is the absorption coefficient of the laser in the medium; ΔL is the random walk step length of the photon.
[0062] Update the variables and let ω=ω′.
[0063] Step C-5, update the total distance of photons:
[0064] Sum L ′=Sum L +ΔL
[0065] Among them, Sum L ′ is the updated total distance of photons; Sum L is the total distance of the photon before the update, and the initial total distance of the photon is 0; ΔL is the random walk step length of the photon.
[0066] Update the variables, let Sum L =Sum L ′.
[0067] Go to step D.
[0068] Step D, according to the k-th photon coordinates, current scattering angle and current azimuth angle calculated in step C, combined with the set receiving field of view angle and the radius of the optical receiving system, calculate the relative angle between the current position of the photon and the center point of the optical receiving system; and by comparing the receiving field of view angle, determine whether the current position of the photon is within the receiving field of view. The specific steps are as follows:
[0069] According to the kth photon coordinates, current scattering angle and current azimuth angle calculated in step C, combined with the set receiving field of view angle and radius of the optical receiving system, calculate the relative angle between the current position of the photon and the center point of the optical receiving system; and determine whether the current position of the photon is within the receiving field of view by comparing the receiving field of view angle:
[0070] Step D-1: Determine whether the photon is absorbed. The determination method is as follows:
[0071] Judge u 5 and ω fanzhao The size of u 5 is a random number independently and uniformly distributed in [0,1], ω fanzhao It is the single albedo of suspended particles in the medium.
[0072] If u 5 >ω fanzhao , it is considered that the photon is absorbed, and the photon is determined to be extinct. The photon sequence number k is set to k+1, and the process returns to step B-2.
[0073] If u 5 ≤ω fanzhao , it is considered that the photon is not absorbed and the process goes to step D-2.
[0074] Step D-2: Calculate the relative angle between the current position of the photon and the center point of the optical receiving system. The calculation formula is as follows:
[0075]
[0076] Among them, θ tele is the relative angle between the current position of the photon and the center point of the optical receiving system; r r is the radius of the optical receiving system; FOV is the receiving field of view; (x, y, z) is the photon coordinate after the updated variable, which is used to indicate the current position of the photon.
[0077] Step D-3: Determine whether the photon is in the receiving field of view. The determination method is as follows:
[0078] If θ tele ≤FOV / 2, the photon is considered to be in the receiving field of view, Out=0, and the process goes to step D-4;
[0079] If θ tele >FOV / 2, further judge; if Out>1, it is considered that the photon has left the receiving field of view twice in succession, and the photon is determined to be extinct, and the photon sequence number k is set to k+1, and return to step B-2; if Out≤1, set Out=Out+1, and go to step D-7; wherein Out is the number of times the photon leaves the receiving field of view in succession, and its initial value is 0.
[0080] Step D-4, semi-analytically receive photons, calculate the expected number of incident photons, and update the photon weights:
[0081] Step D-4-1, calculate the angle between the photon propagation direction and the direction of the line connecting the photon and the center of the optical receiving system. The calculation formula is as follows:
[0082]
[0083] Among them, θ mr It is the angle between the photon propagation direction and the direction of the line connecting the photon and the center of the optical receiving system.
[0084] is the vector pointing from the current position of the photon to the center of the optical receiving system;
[0085] It is the propagation direction of the photon before it interacts with the suspended particles, that is, the propagation direction of the previous trajectory.
[0086] Step D-4-2, calculate the photon at θ mr The scattering probability in a direction is calculated as follows:
[0087] According to the HG scattering phase function:
[0088]
[0089] in, is the photon at θ mr The scattering probability in the direction; g is the back anisotropy factor value, which is used for the HG scattering phase function; θ mr It is the angle between the photon propagation direction and the direction of the line connecting the photon and the center of the optical receiving system.
[0090] Step D-4-3, calculate the receiving solid angle, the calculation formula is as follows:
[0091]
[0092] Where ΔΩ is the receiving solid angle; A is the receiving area of the optical receiving system, A = πr r 2 ; R is the distance that the photon travels to reach the optical receiving system without collision, r r is the radius of the optical receiving system.
[0093] Step D-4-4, calculate the expected number of photons received by the optical receiving system at this time, the calculation formula is as follows:
[0094]
[0095] Among them, N seed is the expected number of photons received when the photons reach the optical receiving system at this time; exp(-αR) is the probability that a photon moves a distance R without collision; ΔΩ is the receiving solid angle; ω is the photon weight, and α is the absorption coefficient of the laser in the medium.
[0096] Step D-4-5, update photon weight:
[0097]
[0098] Among them, ω′ is the updated photon weight; update the variable and let ω=ω′.
[0099] Step D-5: The present invention proposes for the first time a step and method for determining whether an incident photon can trigger a primary avalanche event by comparing a set photon detection efficiency in a single-photon detection echo signal Monte Carlo simulation. The determination method is as follows:
[0100] Step D-5-1, calculate the photon detection efficiency, the calculation formula is as follows:
[0101] PDE=QE×FF×P trigger
[0102] Among them, PDE is the probability that an incident photon is detected to cause an avalanche event, which depends on the operating voltage, temperature and wavelength of the SiPM; QE is the quantum efficiency, which indicates the efficiency of the detector in converting incident photons into electron-hole pairs; FF is the fill factor, which indicates the ratio of the effective photosensitive area to the entire detector surface area; P trigger is the avalanche triggering probability, which indicates the probability that the generated carriers successfully trigger the avalanche process.
[0103] Step D-5-2: Determine whether the incident photon can cause an avalanche event. The determination method is as follows:
[0104] If u 6 ≤PDE, it is considered that the incident photon caused an avalanche event; where PDE is the probability that the incident photon is detected to cause an avalanche event; u 6 is a random number independently and uniformly distributed in the range [0,1].
[0105] If u 6 >PDE, it is considered that the incident photon will not cause an avalanche event, and the process goes to step D-7.
[0106] Step D-5-3, record the avalanche event type, expected number of photons, corresponding timestamp, event number and parent event number received by semi-analysis.
[0107] Avalanche event types include: avalanche events caused by incident photons, afterpulses, fast crosstalk, and dark counts; the event number refers to the sequence number of the avalanche event that occurred this time; the parent event refers to the event that caused this avalanche event.
[0108] Among them, the present invention proposes for the first time a method for calculating the timestamp corresponding to a certain avalanche event in the Monte Carlo simulation process under the condition of multiple emission pulses and multiple photon packets. The calculation formula is as follows:
[0109]
[0110] Among them, t xb is the timestamp corresponding to this avalanche event; It indicates the starting time of the avalanche event in the simulation process of the i-th emission pulse; PRF is the pulse laser repetition frequency;
[0111] represents the starting time of the avalanche event during the simulation of the jth photon packet of the ith emission pulse; t 0 is the starting time of the i-th pulse signal; represents the time required for the photon that caused the avalanche event to propagate; c is the speed of light in the medium.
[0112] Step D-6: The present invention proposes for the first time a step and method for simulating primary avalanche events and generating recursive secondary avalanche events in Monte Carlo simulation, such as Figure 3 As shown, the specific steps are as follows:
[0113] Step D-6-1, assuming the maximum recursive depth is p, calculate the probability of the secondary event occurring:
[0114] P corr =P ap +P ct -P ap P ct
[0115] Among them, P corr is the probability of the secondary event occurring; P ap is the probability of a single afterpulse; P ct is the probability of a single fast crosstalk; primary events include avalanche events caused by photon incidence and dark count events; secondary events are avalanche events caused by primary events, including afterpulses and fast crosstalk events.
[0116] Step D-6-2: Determine whether the primary event can cause a secondary event. The determination method is as follows:
[0117] If u 7 ≤P corr , it is believed that the primary event can cause a secondary event, and the process goes to step D-6-3, where P corr is the probability of the secondary event occurring; u 7 is a random number independently and uniformly distributed in the range [0,1].
[0118] If u 7 >P corr , it is considered that the primary event cannot cause a secondary event, so the recursive secondary avalanche event is terminated and the process goes to step D-7.
[0119] Step D-6-3, determine the occurrence of secondary events, the occurrence of secondary events includes: only the post-pulse event occurs, only the fast crosstalk event occurs, and the post-pulse event and the fast crosstalk event occur at the same time. The determination method is as follows:
[0120] Compare u 8 and The size of 8 is a random number independently and uniformly distributed in [0,1]; P ct (1-P ap ) represents the probability of only post-pulse events occurring without fast crosstalk events; P ap +P ct -2P ap P ctRepresents the sum of the probabilities of post-pulse events and fast crosstalk events occurring simultaneously.
[0121] like Only post-pulse events are considered to have occurred.
[0122] like Only fast crosstalk events are considered to occur.
[0123] like Afterpulse events and fast crosstalk events are considered to occur simultaneously.
[0124] Step D-6-4, record the secondary avalanche event type, expected number of photons, corresponding timestamp, event number and parent event number.
[0125] Among them, the post-pulse event timestamp t xb ′=t xb +t ap , t xb ′ is the updated timestamp, t ap is the post-pulse event time constant; the fast crosstalk event timestamp t xb ′=t xb , the fast crosstalk events occur almost simultaneously with the upper-level avalanche events.
[0126] Update the variables, let t xb =t xb ′.
[0127] Step D-6-5, loop recursively through the secondary events until p≤0, and go to step D-7; otherwise, set p=p-1 and return to step D-6-1, where p is the maximum recursive depth set.
[0128] Step D-7, the remaining photons continue to scatter, and the current direction cosine is updated. The calculation formula is as follows:
[0129]
[0130] in,
[0131] Among them, (δ x ′,δ y ′,δ z ′) is the updated direction cosine, (δ x ,δ y ,δ z ) is the current direction cosine, θ and They are respectively the current scattering angle and the current azimuth angle calculated in step C-3.
[0132] Update the variables, let δ x =δ x ′,δ y =δy ′,δ z =δ z ′.
[0133] Go to step E.
[0134] Step E: Calculate and update the photon coordinates, photon weight and total distance of the photon according to the current scattering angle, current azimuth angle and current direction cosine obtained in step D, combined with the current random walk step of the photon, and return to step D until the photon weight of the current photon is less than the photon weight threshold or the photon returns to the position of the optical receiving system; set the photon serial number k=k+1, return to step B-2, until all photons in the current photon packet are traversed; set the photon packet serial number j=j+1, return to step A-4, until all photon packets are traversed; set the emission pulse serial number i=i+1, return to step A-3, until all emission pulses are traversed, and go to step F.
[0135] Step F: In this step, the present invention proposes for the first time a step and method for simulating dark count events in a single photon detection echo signal in a Monte Carlo simulation, such as Figure 4 As shown, the specific steps are as follows:
[0136] Step F-1, calculate the maximum iteration duration of the dark count event, the calculation formula is as follows:
[0137]
[0138] Among them, t DCR_set is the maximum iteration time of counting events; i is the number of transmitted pulses; PRF is the pulse laser repetition frequency; t p is the pulse width.
[0139] Step F-2, initialize the average dark count rate DCR and dark count event timestamp t DCR .
[0140] Step F-3, generate a dark count event, and recurse its secondary events. The secondary event recursive steps and methods are as follows: Figure 3 As shown, the specific steps are as follows:
[0141] Step F-3-1: The present invention proposes for the first time a method for calculating the time interval between two adjacent dark count events: According to the statistical distribution characteristics of the dark count events, the time interval obeys The time interval between two adjacent dark count events is calculated, and dark count events are randomly generated. The calculation formula is as follows:
[0142]
[0143] Among them, Δt DCRis the time interval between two adjacent dark count events; DCR is the average dark count rate, which refers to the average number of false alarms (or noise signals) generated by a single-photon detector when there is no light signal input; u 8 is a random number independently and uniformly distributed in the range [0,1].
[0144] Step F-3-2, recursively record secondary events, refer to step D-6 for details.
[0145] Step F-4, loop to generate dark count events, and recursively generate their secondary events, record and update the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to the dark count event and its secondary avalanche event, until the maximum iteration time is reached.
[0146] Go to step G.
[0147] Step G: In this step, the present invention proposes for the first time a step and method for simulating the effect of the number of pixels and recovery time of a single-photon detector on the detection echo signal in a Monte Carlo simulation, such as Figure 5 As shown, the specific steps are as follows:
[0148] Step G-1, sort the event list from small to large according to the timestamps of the recorded avalanche events.
[0149] Step G-2, initializing pixel state and restoring time t rec ,SiPM is composed of multiple pixels, and pixels have two states: idle and occupied. Only pixels in the idle state can respond to avalanche events, and the initial state of all pixels is set to idle; the number of idle pixels N free =N pixels ;Number of pixels occupied used =0; total number of pixels N pixels =N free +N used ; Define the sequence number of the event to be processed as m, and the sequence number of the occupied pixel to be checked as n.
[0150] Step G-3: Set the first event to be processed m=1.
[0151] Step G-4: Select the events to be processed one by one from the event list in ascending order of time. The number of photons of the mth event to be processed is N seed (m), the corresponding timestamp is t xb (m).
[0152] Step G-5, check whether there are occupied pixels that have reached the recovery time and restored to the idle state, as follows:
[0153] Step G-5-1, set the first occupied pixel to be checked n=1.
[0154] Step G-5-2: Determine whether the nth checked occupied pixel has reached the recovery time and restored to the idle state. The determination method is as follows:
[0155] If t rec <t xb (m)-t xs (n), it is considered that the occupied pixel can be restored to an idle state, and n=n+1 is set, and the process returns to step G-5-2 to check the next occupied pixel until all occupied pixels are traversed.
[0156] Among them, t xb (m)-t xs (n) is the difference between the current time and the avalanche event timestamp recorded by the occupied pixel, i.e., the time the pixel was occupied; t xb (m) is the timestamp corresponding to the mth event to be processed; t xs (n) is the timestamp of the avalanche event recorded for the nth occupied pixel examined.
[0157] If t rec ≥t xb (m)-t xs (n), it is considered that the occupied pixel has not yet been able to restore the idle state, set n = n + 1, return to step G-5-2, check the next occupied pixel, and traverse all occupied pixels.
[0158] If all occupied pixels are traversed, go to step G-6.
[0159] Step G-6: Determine whether there are idle pixels at this time. The determination method is as follows:
[0160] If N free > 0, it is considered that there is an idle pixel at this time, and the pixel can be occupied, and the number of photons of the event N is recorded in the pixel seed (m) and timestamp t xb (m), update pixel state, N′ free =N free -1,N free =N f ' ree , N used =N pixels -N free , let m=m+1, and return to step G-4 until all events to be processed are traversed.
[0161] If N free ≤0, the event and its subordinate events are discarded and deleted from the event list, m=m+1, and the process returns to step G-4 until all pending events are traversed.
[0162] If all pending events are traversed and a valid event data set is generated, go to step H.
[0163] Step H: Generate a single photon detection echo signal based on the valid event data set obtained in step G.
[0164] Example 1 is applied to underwater single photon echo signal simulation
[0165] Step A-1, establish a mathematical model of the laser emission signal based on the number of photons and its simplified model, define the emission pulse number as i, the photon packet number as j, let the first emission pulse number i=1, the first photon packet number j=1 of the i-th emission pulse, and go to step A-2.
[0166] In this embodiment, the distance d between the target and the single-photon laser detection system is set t They are 4m, 6m, 8m, and 10m respectively; the target is a standard reflector with a standard reflectivity of η mb =0.4; laser emission wavelength λ = 532nm; pulse width t p =80ns; repetition frequency PRF = 1MHz; average power P 平均 =1.0W; Based on the pulse width, repetition frequency and average power, the peak power of the transmitted pulse at this time can be calculated P 0 ; Time interval Δt = 64 ps; Planck constant h = 6.626 × 10 -34 ; Speed of light c = 3 × 10 8 m / s; light wave frequency
[0167] Initialize the system. In this embodiment, set the laser beam half divergence angle Transceiver spacing d er =40.0mm; photon weight threshold ω = 1; photon weight threshold ω set =10 -11 ; Total distance of photons Sum L =0; receiving field of view FOV = 19.6 mrad; receiving optical system radius r r =12.5mm. Go to step A-2.
[0168] Step A-2: Set the first transmission pulse i=1, and proceed to step A-3.
[0169] Step A-3, let the first photon packet of the i-th transmitted pulse j=1, and go to step A-4.
[0170] Step A-4: Calculate the number of photons N in the jth photon packet Δt (j), proceed to step B-1.
[0171] Step B-1: According to the calculated number of photons N in the j-th photon packet Δt(j), define the photon number as k, let the first photon number in the current photon packet be k=1, and the maximum number of simulation iterations is N Δt (j), proceed to step B-2.
[0172] Step B-2, initialize the kth photon in the photon packet. In this embodiment, the laser light source is a Gaussian light source. The photon is incident from the laser source into the transmission environment. The photon emission direction is the positive direction of the z axis, and z=0 is the plane where the Gaussian light source is located; determine the initial coordinates (x, y, z) of the photon and the initial direction cosine (δ x ,δ y ,δ z ), the initial weight of the photon ω = 1, and the initial coordinates of the photon are determined by the position of the light source and the shape of the light beam.
[0173] In this embodiment, the initial scattering angle exist Uniform distribution inside; laser beam half divergence angle Transceiver spacing d er =40.0mm; initial azimuth Uniformly distributed in [0,2π]; u 0 and u 1 is a random number independently and uniformly distributed in the range [0,1].
[0174] Step C, based on the initial coordinates, initial scattering angle, initial azimuth and initial direction cosine of the kth photon calculated in step B-2, combined with the random walk step length of the photon, calculate the current photon coordinates, current scattering angle and current azimuth, and update the photon weight and the total distance of the photon. The specific steps are as follows:
[0175] In this embodiment, the transmission environment is a uniform water body, and the extinction coefficient ξ is set x =0.1m -1 ;u 2 is a random number independently and uniformly distributed in the range [0,1].
[0176] α is the absorption coefficient of 532nm laser in pure seawater, α=0.04.
[0177] Go to step D.
[0178] Step D, based on the kth photon coordinates, current scattering angle and current azimuth angle calculated in step C, combined with the set receiving field of view angle and radius of the optical receiving system, calculate the relative angle between the current position of the photon and the center point of the optical receiving system; and by comparing the receiving field of view angle, determine whether the current position of the photon is within the receiving field of view.
[0179] In this embodiment, ω fanzhao is the single albedo of suspended particles in seawater, ω fanzhao=0.90. Receiving field of view FOV = 19.6 mrad. Receiving optical system radius r r =12.5mm, the receiving area of the receiving system can be calculated as A=πr r 2 =π(12.5) 2 =490.9mm 2 The back anisotropy factor is g = 0.9185. The speed of light in water is c 水 =2.25×10 8 m / s.
[0180] In this embodiment, the quantum efficiency QE = 60%, the filling factor FF = 70%, and the avalanche triggering probability P trigger =90%, we can calculate PDE = QE × FF × P trigger =37.8%. The probability of a single afterpulse P ap = 3%, the probability of a single fast crosstalk P ct =10%; set the maximum recursion depth p=4.
[0181] Go to step E.
[0182] Step E: Calculate and update the photon coordinates, photon weight and total distance of the photon according to the current scattering angle, current azimuth angle and current direction cosine obtained in step D, combined with the current random walk step of the photon, and return to step D until the photon weight of the current photon is less than the photon weight threshold or the photon returns to the position of the optical receiving system; set the photon serial number k=k+1, return to step B-2, until all photons in the current photon packet are traversed; set the photon packet serial number j=j+1, return to step A-4, until all photon packets are traversed; set the emission pulse serial number i=i+1, return to step A-3, until all emission pulses are traversed, and go to step F.
[0183] Step F: Figure 4 As shown, according to the number of emitted pulses i and the set pulse laser repetition frequency, the maximum iteration duration of the dark count event is calculated; initialization, let the dark count event timestamp t DCR =0; according to the statistical distribution characteristics of dark count events, dark count events are generated cyclically, and their secondary events are recursively generated; the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to the dark count event and its secondary avalanche event are recorded and updated until the maximum iteration time is reached, as follows:
[0184] In this embodiment, the average dark count rate DCR is set to 60 kcps.
[0185] Generate dark count events and recurse their secondary events. The recursive steps and methods of the secondary events are as follows: Figure 3 shown.
[0186] Go to step G.
[0187] Step G: Figure 5 As shown, according to the avalanche event type, expected number of photons, timestamp, event number, and parent event number of each recorded avalanche event, the timestamps are rearranged in ascending order to initialize the pixel state and recovery time; the pending events are selected one by one in chronological order, and when processing a pending event, it is checked whether the occupied pixels at the corresponding moment of the pending event have reached the recovery time and restored to the idle state, until all occupied pixels are traversed, and it is determined whether there are idle pixels at this time. If so, the pixel is occupied, otherwise, the event and its subordinate events are discarded, and the above process is repeated until all pending events are traversed to generate a valid event data set, as shown below:
[0188] In this embodiment, the number of SiPM pixels N is set pixels =2836, pixel recovery time t rec =50ns.
[0189] Go to step H.
[0190] Step H: Generate a single photon detection echo signal based on the valid event data set obtained in step G.
[0191] Example 2
[0192] This embodiment applies the Monte Carlo simulation method of single-photon detection echo signal integrating SiPM response characteristics described in the present invention to the simulation of single-photon echo signal in a non-uniform smoke interference environment.
[0193] In step A-1 of this embodiment, the laser emits a laser with a wavelength of λ=905nm and a pulse width of t p =10ns; repetition frequency PRF = 1MHz; average power P 平均 =1.0W; Based on the pulse width, repetition frequency and average power, the peak power of the transmitted pulse at this time can be calculated P 0 .
[0194] In step C-1 of this embodiment, u 2 is a random number independently and uniformly distributed in [0,1]; the transmission environment is a non-uniform smoke environment. In this embodiment, the shape of the smoke particles is set to be ellipsoidal particles with an aspect ratio of ε=2, and the particle complex refractive index m rr =1.52+0.008i; the smoke particle size range is 0.01μm~50μm; the smoke concentration at each position in the laser transmission path satisfies w(z)=-1.338z 2 +15.95z+w(0). According to the function of the extinction coefficient ξ x The extinction coefficient is calculated from (s).
[0195] Among them, w(0) is the smoke concentration value at the origin of the laser detection system; z is the length of the projection of the photon from the origin on the z-axis, and its value range is 0 to 12m.
[0196] In step C-4 of this embodiment, α is the absorption coefficient of 905 nm laser in a smoke environment, α=0.5.
[0197] In step D-1 of this embodiment, the single albedo of the smoke particles ω fanzhao =0.50.
[0198] In step D-5-1 of this embodiment, the quantum efficiency QE of the single-photon detector when receiving 905nm laser is 25%, the filling factor FF is 70%, and the avalanche triggering probability P is trigger =90%.
[0199] In step D-5-3 of this embodiment, c is the propagation speed of light in a vacuum, c=3×10 8 m / s.
[0200] The remaining steps and parameter settings are exactly the same as those in Example 1.
[0201] In summary, the present invention proposes a Monte Carlo simulation method for single-photon detection echo signals that integrates SiPM response characteristics. By considering the effects of SiPM dark counts, fast crosstalk, and afterpulses during the simulation process, various noises and non-ideal effects in the actual detection environment can be simulated more comprehensively and accurately. This simulation method can significantly improve the authenticity and reliability of the simulation results, and help improve the overall detection accuracy and stability of the single-photon lidar system in complex detection scenarios.
Claims
1. A Monte Carlo simulation method for single photon detection echo signal integrating SiPM response characteristics, characterized in that: The specific steps are as follows: Step A-1, establish a mathematical model of laser emission signal based on the number of photons, use the above mathematical model to discretize the emission signal, divide the emission pulse into several photon packets at intervals of Δt in time, initialize the system, set the laser beam semi-divergence angle, transmission and reception spacing, photon weight, photon weight threshold, total photon distance, receiving field angle, optical receiving system radius, define the emission pulse number as i, the photon packet number as j, and proceed to step A-2; Step A-2, set the first transmission pulse i=1, and proceed to step A-3; Step A-3, let the first photon packet j of the i-th transmitted pulse = 1, and go to step A-4; Step A-4: Calculate the number of photons N in the jth photon packet within Δt Δt (j), proceed to step B-1; Step B-1: According to the calculated number of photons N in the j-th photon packet Δt (j), define the photon number as k, let the first photon number in the current photon packet be k=1, and the maximum number of simulation iterations is N Δt (j), proceed to step B-2; Step B-2, according to the laser beam half divergence angle and the sending and receiving spacing set in step A-1, calculate the initial coordinates, initial scattering angle, initial azimuth angle and initial direction cosine of the kth photon, and proceed to step C; Step C, according to the initial coordinates, initial scattering angle, initial azimuth angle and initial direction cosine of the kth photon calculated in step B-2, combined with the random walk step length of the photon, calculate the current photon coordinates, current scattering angle and current azimuth angle, update the photon weight and the total distance of the photon, and proceed to step D; Step D, according to the k-th photon coordinates, current scattering angle and current azimuth angle calculated in step C, combined with the set receiving field of view angle and the radius of the optical receiving system, calculate the relative angle between the current position of the photon and the center point of the optical receiving system; and by comparing the receiving field of view angle, determine whether the current position of the photon is within the receiving field of view: If it is not in the receiving field of view, skip the semi-analytical receiving of photons, calculate and update the current scattering angle, current azimuth angle and current direction cosine, and go to step E; If it is within the receiving field of view, semi-analytically receive photons, calculate the expected number of incident photons, update the photon weight, and judge whether the incident photons can cause a primary avalanche event by comparing the set photon detection efficiency; generate and recursively generate secondary avalanche events based on the primary avalanche event, and record the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to each avalanche event; the remaining photons continue to scatter, update the current direction cosine, and go to step E; If the photon is absorbed or leaves the receiving field of view twice in succession, the photon is deemed to be extinct, the photon serial number k is set to k+1, and the process returns to step B-2; Step E, according to the current scattering angle, current azimuth angle and current direction cosine obtained in step D, combined with the current photon random walk step length, calculate and update the photon coordinates, photon weight and total photon distance, return to step D, until the photon weight of the current photon is less than the photon weight threshold or the photon returns to the position of the optical receiving system; let the photon sequence number k = k + 1, return to step B-2, until all photons in the current photon packet are traversed; let the photon packet sequence number j = j + 1, return to step A-4, until all photon packets are traversed; let the emission pulse sequence number i = i + 1, return to step A-3, until all emission pulses are traversed, and go to step F; Step F: Calculate the maximum iteration duration of the dark count event according to the number of transmitted pulses i and the set pulse laser repetition frequency; Initialize and set the dark count event timestamp t DCR =0; according to the statistical distribution characteristics of the dark count event, cyclically generate dark count events and recursively generate their secondary events; record and update the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to the dark count event and its secondary avalanche event until the maximum iteration time is reached, and then proceed to step G; Step G, according to the avalanche event type, expected number of photons, timestamp, event number, and superior event number of each recorded avalanche event, and rearrange the timestamps in ascending order, initialize the pixel state and recovery time; select the events to be processed one by one in chronological order, and when processing a certain event to be processed, check whether each occupied pixel at the corresponding moment of the event to be processed has reached the recovery time and restored to the idle state, until all occupied pixels are traversed, and determine whether there is an idle pixel at this time, if so, occupy the pixel, otherwise, abandon the event and its subordinate events, and repeat the above process until all events to be processed are traversed, generate a valid event data set, and go to step H; Step H: Generate a single photon detection echo signal based on the valid event data set obtained in step G.
2. The Monte Carlo simulation method for single-photon detection echo signals integrating SiPM response characteristics according to claim 1 is characterized in that: In step A-4, the number of photons in the j-th photon packet within Δt is calculated. The specific steps are as follows: Among them, N Δt (j) is the jth photon packet in the time interval [t j ,t j +Δt]; t j is the starting time of the photon packet; Δt is the time interval; t p is the pulse width; P0 is the peak power of the transmitted pulse; h is Planck's constant; v is the frequency of the light wave; t' is the time corresponding to the symmetry axis of the transmitted pulse, and the transmitted pulse is symmetrical about t = t'; and The input values are and Gaussian error function; If the time interval Δt is small enough, it is considered that the distribution of photon numbers does not change much within Δt, so the calculation formula for the number of photons in the jth photon packet is simplified to: Among them, N(t avg ) is at t avg The number of photons at the moment, because the distribution of photon number does not change much within Δt, N(t avg ) is considered to be the average number of photons in the photon packet; t avg is the central moment of the time interval corresponding to the photon packet, Among them, t0 is the starting time of the pulse signal.
3. The Monte Carlo simulation method for single-photon detection echo signals integrating SiPM response characteristics according to claim 2 is characterized in that: In step B-2, according to the laser beam half divergence angle and the transmit-receive spacing set in step A-1, the initial coordinates, initial scattering angle, initial azimuth angle and initial direction cosine of the kth photon are calculated. The specific steps are as follows: Initialize the kth photon in the photon packet, and assume that the laser light source is a point light source. The photon is incident from the laser source into the transmission environment. Let the center of the optical receiving system be the origin of the coordinates and the photon emission direction be the positive direction of the z axis. Determine the initial coordinates (x, y, z) and initial direction cosines (δ x ,δ y ,δ z ), the initial weight of the photon ω=1, the initial coordinates of the photon are determined by the position of the light source and the shape of the light beam, and the calculation formulas of the initial coordinates and initial direction cosines of the photon are as follows: The initial scattering angle is is the laser beam half divergence angle; d er is the distance between the laser light source and the center of the optical receiving system, referred to as the transceiver spacing; u0 is a random number independently and uniformly distributed in [0,1]; the initial azimuth Uniformly distributed in [0,2π]; u1 is a random number independently and uniformly distributed in [0,1].
4. The Monte Carlo simulation method for single-photon detection echo signals integrating SiPM response characteristics according to claim 3 is characterized in that: In step C, according to the initial coordinates, initial scattering angle, initial azimuth and initial direction cosine of the kth photon calculated in step B-2, combined with the random walk step length of the photon, the current photon coordinates, current scattering angle and current azimuth are calculated, and the photon weight and the total distance of the photon are updated. The specific steps are as follows: Step C-1, calculate the random walk step length of photons: Where ΔL is the random walk step length of the photon; ξ x (s) is a function of the extinction coefficient. If the medium is uniform, ξ x is a constant; u2 is a random number independently and uniformly distributed in [0,1]; Step C-2, calculate the current photon coordinates: Among them, (x, y, z) is the initial coordinate of the photon; (x′, y′, z′) is the current coordinate of the photon; (δ x ,δ y ,δ z ) is the initial direction cosine of the photon; ΔL is the random walk step of the photon; for the convenience of calculation, update the variables, let x = x', y = y', z = z', update the variables, let x = x', y = y', z = z', the updated (x, y, z) is also used to represent the current photon coordinates; Step C-3, calculate the current scattering angle and the current azimuth angle: According to the HG scattering phase function: Where θ′ is the current scattering angle; is the current azimuth; g is the value of the backward anisotropy factor; u3 and u4 are random numbers independently and uniformly distributed in [0,1]; Update the variables, let θ = θ′, Step C-4, update photon weight: ω′=ω·exp(-α·ΔL) Among them, ω′ is the updated photon weight; α is the absorption coefficient of the laser in the medium; ΔL is the random walk step length of the photon; Update the variables, let ω = ω′; Step C-5, update the total distance of photons: Sum L ′=Sum L +ΔL Among them, Sum L ′ is the updated total distance of photons; Sum L is the total distance of photons before updating, and the initial total distance of photons is 0; ΔL is the random walk step length of photons; Update the variables, let Sum L =Sum L ′.
5. The Monte Carlo simulation method of single photon detection echo signal integrating SiPM response characteristics according to claim 1, characterized in that: In step D, the relative angle between the current position of the photon and the center point of the optical receiving system is calculated according to the k-th photon coordinates, the current scattering angle and the current azimuth angle calculated in step C, combined with the set receiving field of view angle and the radius of the optical receiving system; and by comparing the receiving field of view angle, it is determined whether the current position of the photon is within the receiving field of view. The specific steps are as follows: Step D-1: Determine whether the photon is absorbed. The determination method is as follows: Determine u5 and ω fanzhao The size of, where u5 is a random number independently and uniformly distributed in [0,1], ω fanzhao is the single albedo of suspended particles in the medium; If u5>ω fanzhao , the photon is considered to be absorbed, and the photon is determined to be extinct, and the photon sequence number k is set to k+1, and the process returns to step B-2; If u5≤ω fanzhao , it is considered that the photon is not absorbed and the process goes to step D-2; Step D-2: Calculate the relative angle between the current position of the photon and the center point of the optical receiving system. The calculation formula is as follows: Among them, θ tele is the relative angle between the current position of the photon and the center point of the optical receiving system; r r is the radius of the optical receiving system; FOV is the receiving field of view; (x, y, z) is the photon coordinate after the updated variable, which is used to indicate the current position of the photon; Step D-3: Determine whether the photon is in the receiving field of view. The determination method is as follows: If θ tele ≤FOV / 2, the photon is considered to be in the receiving field of view, Out=0, and the process goes to step D-4; If θ tele >FOV / 2, further judge; if Out>1, it is considered that the photon has left the receiving field of view twice in succession, and the photon is determined to be dead, and the photon sequence number k is set to k+1, and return to step B-2; if Out≤1, Out=Out+1, and go to step D-7; where Out is the number of times the photon leaves the receiving field of view in succession, and its initial value is 0; Step D-4, semi-analytically receive photons, calculate the expected number of incident photons, and update the photon weights: Step D-4-1, calculate the angle between the photon propagation direction and the direction of the line connecting the photon and the center of the optical receiving system. The calculation formula is as follows: Among them, θ mr It is the angle between the photon propagation direction and the direction of the line connecting the photon and the center of the optical receiving system; is the vector pointing from the current position of the photon to the center of the optical receiving system; is the propagation direction of the photon before it interacts with the suspended particles, that is, the propagation direction of the previous trajectory; Step D-4-2, calculate the photon at θ mr The scattering probability in a direction is calculated as follows: According to the HG scattering phase function: in, is the photon at θ mr The scattering probability in the direction; g is the back anisotropy factor value, which is used for the HG scattering phase function; θ mr It is the angle between the photon propagation direction and the direction of the line connecting the photon and the center of the optical receiving system; Step D-4-3, calculate the receiving solid angle, the calculation formula is as follows: Where ΔΩ is the receiving solid angle; A is the receiving area of the optical receiving system, A = πr r 2 ; R is the distance that the photon travels to reach the optical receiving system without collision, r r is the radius of the optical receiving system; Step D-4-4, calculate the expected number of photons received by the optical receiving system at this time, the calculation formula is as follows: Among them, N seed is the expected number of photons received when the photons reach the optical receiving system at this time; exp(-αR) is the probability that a photon moves a distance R without colliding; ΔΩ is the receiving solid angle; ω is the photon weight, and α is the absorption coefficient of the laser in the medium; Step D-4-5, update photon weight: Where ω′ is the updated photon weight; update the variable and let ω=ω′; Step D-5: Determine whether the incident photon can cause a primary avalanche event. The determination method is as follows: Step D-5-1, calculate the photon detection efficiency, the calculation formula is as follows: PDE=QE×FF×P trigger Among them, PDE is the probability that an incident photon is detected to cause an avalanche event, which depends on the operating voltage, temperature and wavelength of the SiPM; QE is the quantum efficiency, which indicates the efficiency of the detector in converting incident photons into electron-hole pairs; FF is the fill factor, which indicates the ratio of the effective photosensitive area to the entire detector surface area; P trigger is the avalanche triggering probability, which indicates the probability that the generated carriers successfully trigger the avalanche process; Step D-5-2: Determine whether the incident photon can cause an avalanche event. The determination method is as follows: If u6≤PDE, the incident photon is considered to cause an avalanche event; where PDE is the probability that the incident photon is detected to cause an avalanche event; u6 is a random number independently and uniformly distributed in [0,1]; If u6>PDE, it is considered that the incident photon will not cause an avalanche event, and the process goes to step D-7; Step D-5-3, record the avalanche event type, expected number of photons, corresponding timestamp, event number and parent event number received by semi-analysis; Avalanche event types include: avalanche events caused by incident photons, afterpulses, fast crosstalk, and dark counts; the event number refers to the sequence number of the avalanche event that occurred; the parent event refers to the event that caused the avalanche event; Among them, the timestamp calculation formula corresponding to this avalanche event is as follows: Among them, t xb is the timestamp corresponding to this avalanche event; It indicates the starting time of the avalanche event in the simulation process of the i-th emission pulse; PRF is the pulse laser repetition frequency; Indicates the starting time of the avalanche event during the simulation of the jth photon packet of the i-th transmitted pulse; t0 is the starting time of the i-th pulse signal; represents the time required for the photon that caused the avalanche event to propagate; c is the speed of light in the medium; Step D-6: Generate and recursively generate secondary avalanche events based on primary avalanche events: Step D-6-1, assuming the maximum recursive depth is p, calculate the probability of the secondary event occurring: P corr =P ap +P ct -P ap P ct Among them, P corr is the probability of the secondary event occurring; P ap is the probability of a single afterpulse; P ct is the probability of a single fast crosstalk; the primary events include avalanche events caused by photon incidence and dark count events; the secondary events are avalanche events caused by the primary events, including afterpulses and fast crosstalk events; Step D-6-2: Determine whether the primary event can cause a secondary event. The determination method is as follows: If u7≤P corr , it is believed that the primary event can cause a secondary event, and the process goes to step D-6-3, where P corr is the probability of the secondary event occurring; u7 is a random number independently and uniformly distributed in [0,1]; If u7>P corr , it is considered that the primary event cannot cause a secondary event, so the recursive secondary avalanche event is terminated and the process goes to step D-7; Step D-6-3, determine the occurrence of secondary events, the occurrence of secondary events includes: only the post-pulse event occurs, only the fast crosstalk event occurs, and the post-pulse event and the fast crosstalk event occur at the same time. The determination method is as follows: Compare u8 and The size of; where u8 is a random number independently and uniformly distributed in [0,1]; P ct (1-P ap ) represents the probability of only post-pulse events occurring without fast crosstalk events; P ap +P ct -2P ap P ct represents the sum of the probabilities of post-pulse events and fast crosstalk events except for the simultaneous occurrence; like It is believed that only postpulse events occur; like It is believed that only fast crosstalk events occur; like Postpulse events and fast crosstalk events are considered to occur simultaneously; Step D-6-4, record the secondary avalanche event type, expected number of photons, corresponding timestamp, event number and parent event number; Among them, the post-pulse event timestamp t xb ′=t xb +t ap , t xb ′ is the updated timestamp, t ap is the post-pulse event time constant; the fast crosstalk event timestamp t xb ′=t xb ,The fast crosstalk event occurs almost simultaneously with the upper-level avalanche event; Update the variables, let t xb =t xb ′; Step D-6-5, loop recursively through the secondary events until p≤0, and then go to step D-7; otherwise, set p=p-1 and return to step D-6-1, where p is the maximum recursive depth set; Step D-7, the remaining photons continue to scatter, and the current direction cosine is updated. The calculation formula is as follows: in, Among them, (δ x ′,δ y ′,δ z ′) is the updated direction cosine, (δ x ,δ y ,δ z ) is the current direction cosine, θ and are respectively the current scattering angle and the current azimuth angle calculated in step C-3; Update the variable, let δ x = δ x ′, δ y = δ y ′, δ z = δ z ′.
6. The Monte Carlo simulation method for single-photon detection echo signals integrating SiPM response characteristics according to claim 5, characterized in that: In step F, the maximum iteration duration of the dark count event is calculated according to the number of transmitted pulses i and the set pulse laser repetition frequency; initialization is performed, and the dark count event timestamp t DCR =0; according to the statistical distribution characteristics of dark count events, dark count events are generated cyclically and their secondary events are recursively generated; the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to the dark count event and its secondary avalanche event are recorded and updated until the maximum iteration time is reached. The specific steps are as follows: Step F-1, calculate the maximum iteration duration of the dark count event, the calculation formula is as follows: Among them, t DCR_set is the maximum iteration time of counting events; i is the number of transmitted pulses; PRF is the pulse laser repetition frequency; t p is the pulse width; Step F-2, initialize the average dark count rate DCR and dark count event timestamp t DCR ; Step F-3, generate a dark count event and recurse its secondary events: Step F-3-1: According to the statistical distribution characteristics of dark count events, the time interval obeys The time interval between two adjacent dark count events is calculated, and dark count events are randomly generated. The calculation formula is as follows: Among them, Δt DCR is the time interval between two adjacent dark count events; DCR is the average dark count rate, which refers to the average number of false alarms (or noise signals) generated by a single-photon detector when there is no light signal input; u8 is a random number independently and uniformly distributed in [0,1]; Step F-3-2, recursively record the secondary events, refer to step D-6 for details; Step F-4, loop to generate dark count events, and recursively generate their secondary events, record and update the avalanche event type, expected number of photons, timestamp, event number, and parent event number corresponding to the dark count event and its secondary avalanche event, until the maximum iteration time is reached.
7. The Monte Carlo simulation method for single-photon detection echo signals integrating SiPM response characteristics according to claim 1, characterized in that: In step G, according to the avalanche event type, expected number of photons, timestamp, event number, and superior event number of each recorded avalanche event, the data set is rearranged in the order of timestamp from small to large, and the pixel state and recovery time are initialized; the pending events are selected one by one in chronological order, and when processing a pending event, it is checked whether each occupied pixel at the corresponding moment of the pending event has reached the recovery time and restored to the idle state, until all occupied pixels are traversed, and it is determined whether there is an idle pixel at this time. If so, the pixel is occupied, otherwise, the event and its subordinate events are discarded, and the above process is repeated until all pending events are traversed to generate a valid event data set. The specific steps are as follows: Step G-1, sorting the event list from small to large according to the recorded avalanche event timestamps; Step G-2, initializing pixel state and restoring time t rec ,SiPM is composed of multiple pixels, and pixels have two states: idle and occupied. Only pixels in the idle state can respond to avalanche events, and the initial state of all pixels is set to idle; the number of idle pixels N free =N pixels ;Number of pixels occupied used =0; total number of pixels N pixels =N free +N used ; Define the sequence number of the event to be processed as m, and the sequence number of the occupied pixel to be checked as n; Step G-3, set the first event to be processed m=1; Step G-4: Select the events to be processed one by one from the event list in ascending order of time. The number of photons of the mth event to be processed is N seed (m), the corresponding timestamp is t xb (m); Step G-5, check whether there are occupied pixels that have reached the recovery time and restored to the idle state, as follows: Step G-5-1, set the first occupied pixel to be checked n=1; Step G-5-2: Determine whether the nth checked occupied pixel has reached the recovery time and restored to the idle state. The determination method is as follows: If t rec <t xb (m)-t xs (n), it is considered that the occupied pixel can be restored to an idle state, and n=n+1 is set, and the process returns to step G-5-2 to check the next occupied pixel until all occupied pixels are traversed; Among them, t xb (m)-t xs (n) is the difference between the current time and the avalanche event timestamp recorded by the occupied pixel, i.e., the time the pixel was occupied; t xb (m) is the timestamp corresponding to the mth event to be processed; t xs (n) is the timestamp of the avalanche event recorded by the nth checked occupied pixel; If t rec ≥t xb (m)-t xs (n), it is considered that the occupied pixel has not yet been restored to an idle state, and n=n+1 is set, and the process returns to step G-5-2 to check the next occupied pixel until all occupied pixels are traversed; If all occupied pixels are traversed, go to step G-6; Step G-6: Determine whether there are idle pixels at this time. The determination method is as follows: If N free > 0, it is considered that there is an idle pixel at this time, and the pixel can be occupied, and the number of photons of the event N is recorded in the pixel seed (m) and timestamp t xb (m), update pixel state, N′ free =N free -1,N free =N f ' ree , N used =N pixels -N free , let m=m+1, and return to step G-4 until all pending events are traversed; If N free ≤0, then discard the event and its subordinate events, delete them from the event list, set m=m+1, and return to step G-4 until all pending events are traversed; If all pending events are traversed and a valid event data set is generated, go to step H.
Citation Information
Cited By
Photon receiving simulation method of time-of-flight measurement system and electronic equipment
CN120871091A
Monte Carlo simulation-based single-photon detector full-link simulation method
CN121902465A
A single-photon detector full-link simulation method based on monte carlo simulation
CN121902465B
