[go: up one dir, main page]

CN117782314B - Data optimization method of SPAD signal sensor and application thereof - Google Patents

Data optimization method of SPAD signal sensor and application thereof Download PDF

Info

Publication number
CN117782314B
CN117782314B CN202410206567.8A CN202410206567A CN117782314B CN 117782314 B CN117782314 B CN 117782314B CN 202410206567 A CN202410206567 A CN 202410206567A CN 117782314 B CN117782314 B CN 117782314B
Authority
CN
China
Prior art keywords
data
channel
value
central peak
maximum value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410206567.8A
Other languages
Chinese (zh)
Other versions
CN117782314A (en
Inventor
陈慧卿
解露莎
邓忠旭
岳晓光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Yuming Electronic Technology Co ltd
Original Assignee
Hangzhou Yuming Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Yuming Electronic Technology Co ltd filed Critical Hangzhou Yuming Electronic Technology Co ltd
Priority to CN202410206567.8A priority Critical patent/CN117782314B/en
Publication of CN117782314A publication Critical patent/CN117782314A/en
Application granted granted Critical
Publication of CN117782314B publication Critical patent/CN117782314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

The application provides a data optimization method of a SPAD signal sensor and application thereof, comprising S00, sorting collected signal data according to size; s10, taking channel data in which a sequenced central peak value maximum BP and a next-largest value Bw which is next to the central peak value maximum are located as an A channel and a B channel respectively; s20, calculating a strong and weak signal demarcation point R1, an available signal amplitude minimum value R2 and ideal data waveform data R3 according to a signal amplitude range maximum value Rmax and a signal amplitude range minimum value Rmin in the signal data; s30, performing preliminary data screening; s40, performing advanced data screening. The application can improve the measurement capability of the system to small signals and expand the detection breadth or depth of the signal sensor.

Description

Data optimization method of SPAD signal sensor and application thereof
Technical Field
The application relates to the technical field of TOF, in particular to a data optimization method of a SPAD signal sensor and application thereof.
Background
SPAD sensors, i.e. single photon avalanche diode (Single Photon Avalanche Diode) sensors, are highly sensitive photodetectors that can detect extremely weak optical signals and even accurately detect and count single photons. The sensor adopts special semiconductor materials and structural design, so that when a photon is absorbed and an electron-hole pair is generated, the pair of carriers can induce avalanche multiplication effect under a high electric field, and the avalanche multiplication effect is rapidly amplified into a detectable large electric signal.
In the existing TOF system, an algorithm processing unit is arranged outside a chip and adopts a single MCU. In the use process of the SPAD signal sensor, a plurality of channels can acquire signal information of SPAD points in each channel. As in the prior art, all data (total m×n) of multiple channels (e.g., M channels N data in fig. 4) are output to the algorithm processing unit. And finally, outputting the channel with the highest signal amplitude value, taking the number X of bits with the highest signal amplitude value of the channel as measured actual distance information, for example, outputting L as measured actual distance information when the maximum signal amplitude value is L in 0 to (N-1). Taking fig. 4 as an example, MP0 is a 0 channel, and X 0 represents the position of the peak of the signal amplitude in the N signal amplitude data (for example, the data is the N-2 th data, X 0 =n-2), hereinafter referred to as X 0 as distance information. In the data acquisition of M channels of the signal sensor, R max is the maximum value of the signal amplitude range, and R min is the minimum value of the signal amplitude range; b 0、B1、...、BM-1 is the maximum value of the signal amplitude in the channel corresponding to each of the M channels (called as the central peak for short); a 00、A01、...、A(M-1)(N-2), A (M-1) (N-1) are N signal amplitudes corresponding to each of the M channels. In the data processing process, the central peak value B 0~BM-1 of each channel is compared in the prior art, and the maximum value B P in B 0~BM-1 is obtained, namely, the central peak value of the P-1 channel is the maximum value of the central peak values in all channels. Given that B P corresponds to the L-th signal amplitude in the P-1 channel, the measurement result L is the final algorithm output content. In the prior art, although multichannel data are measured, peak searching is finally carried out, only single-channel distance information is used, and other judgment on the channel data is absent, so that the fluctuation of a plurality of groups of test results is larger under the same test condition, especially when small signals are measured.
Therefore, a data optimization method of the SPAD signal sensor and application thereof are needed to solve the problems of the prior art, improve the measurement capability of a system on small signals, fully utilize measurement data and expand the detection breadth or depth of the signal sensor.
Disclosure of Invention
The embodiment of the application provides a data optimization method of a SPAD signal sensor and application thereof, aiming at the problems of low signal-to-noise ratio, large fluctuation of distance data and the like in the small signal measurement process in the prior art.
The core technology of the invention mainly distinguishes the collected channel signals, takes the central peak value and the secondary maximum value of the central peak value, and screens and outputs the channel signals according to the boundary point R1 of strong and weak signals, the minimum value R2 of the available signal amplitude and the peak value R3 of the ideal data waveform.
In a first aspect, the present application provides a method for optimizing data of a SPAD signal sensor, the method comprising the steps of:
s00, collecting signal data, and sequencing the maximum value B 0~BM-1 of the signal amplitude of each channel according to the size;
wherein the maximum value of the signal amplitude is taken as a central peak value;
S10, taking channel data of a sequenced central peak value maximum value B P and a secondary maximum value B w which is only inferior to the central peak value maximum value as an A channel and a B channel respectively;
S20, calculating a strong and weak signal demarcation point R1, an available signal amplitude minimum value R2 and ideal data waveform data R3 according to a signal amplitude range maximum value R max and a signal amplitude range minimum value R min in the signal data;
s30, when the maximum value B P of the central peak value is more than or equal to the strong and weak signal demarcation point R1 or the next-largest value B w meeting the set condition does not exist, using the channel data of the channel A to output the corresponding bit number of the maximum value of the central peak value of the channel A in the channel;
When the maximum value B P of the central peak value is less than the boundary point R1 of the strong and weak signals and the second maximum value B w meeting the set condition exists, executing the step S40;
S40, taking the central peak value as a terminal data point of the data of the A channel and the B channel respectively, and intercepting G data points forwards to obtain A 0~AG-1 and B 0~BG-1;
Wherein a G-1 represents the central peak maximum and B G-1 represents the central peak next-maximum;
s50, when A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is more than or equal to the minimum value R2 of the available signal amplitude, using the B channel data to output the bit number corresponding to the maximum value of the central peak value of the B channel;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value next-maximum value B G-1 is less than the ideal data waveform data R3, B channel data is used, and the bit number corresponding to the central peak value maximum value of the B channel is output;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value sub-maximum value B G-1 is more than or equal to the ideal data waveform data R3, the B channel data is integrally reduced according to the first set multiplying power FB, and the bit number corresponding to the maximum value of the central peak value of the B channel is output;
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is larger than or equal to the ideal data waveform data R3, integrally shrinking the data of the A channel according to the second set multiplying power FB, and outputting the bit number corresponding to the maximum value of the central peak value of the A channel;
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is smaller than the ideal data waveform data R3, the channel data of the channel A is used, and the corresponding bit number of the maximum value of the central peak value of the channel A in the channel is output.
Further, in step S10, the set conditions are: the value of the next-highest value B w is 80% or more of the central peak maximum value B P.
Further, in step S20, the calculation formula of the strong and weak signal demarcation point R1 is:
Further, in step S20, the calculation formula of the usable signal amplitude minimum value R2 is:
further, in step S20, the calculation formula of the ideal data waveform data R3 is:
further, in step S40, G is 3 or more for G data points.
Further, in step S40, the calculation formula of the first set multiplying factor FB is:
the calculation formula of the second set multiplying power FB is:
in a second aspect, the present application provides a data optimization device of a SPAD signal sensor, including:
The acquisition module acquires signal data and sorts the maximum value B 0~BM-1 of the signal amplitude of each channel according to the size; wherein the maximum value of the signal amplitude is taken as a central peak value;
The processing module takes channel data of the sequenced central peak value maximum value B P and the secondary maximum value B w which is only inferior to the central peak value maximum value as an A channel and a B channel respectively;
The calculation module calculates a strong and weak signal demarcation point R1, an available signal amplitude minimum value R2 and ideal data waveform data R3 according to a signal amplitude range maximum value R max and a signal amplitude range minimum value R min in the signal data;
The primary screening module is used for outputting the corresponding bit number of the central peak value maximum value of the A channel in the channel by using the channel data of the A channel when the central peak value maximum value B P is more than or equal to the strong and weak signal demarcation point R1 or the next largest value B w meeting the set condition does not exist;
when the maximum value B P of the central peak value is smaller than the boundary point R1 of the strong and weak signals and the second maximum value B w meeting the set condition exists, executing a step-by-step screening module;
The advanced screening module is used for taking the central peak value as a terminal data point of the data of the A channel and the B channel respectively, and intercepting G data points forwards to obtain A 0~AG-1 and B 0~BG-1; wherein a G-1 represents the central peak maximum and B G-1 represents the central peak next-maximum;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is more than or equal to the minimum value R2 of the available signal amplitude, using the B channel data to output the bit number corresponding to the maximum value of the central peak value of the B channel;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value next-maximum value B G-1 is less than the ideal data waveform data R3, B channel data is used, and the bit number corresponding to the central peak value maximum value of the B channel is output;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value sub-maximum value B G-1 is more than or equal to the ideal data waveform data R3, the B channel data is integrally reduced according to the first set multiplying power FB, and the bit number corresponding to the maximum value of the central peak value of the B channel is output;
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is larger than or equal to the ideal data waveform data R3, integrally shrinking the data of the A channel according to the second set multiplying power FB, and outputting the bit number corresponding to the maximum value of the central peak value of the A channel;
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is smaller than the ideal data waveform data R3, the channel data of the channel A is used, and the corresponding bit number of the maximum value of the central peak value of the channel A in the channel is output.
In a third aspect, the application provides an electronic device comprising a memory in which a computer program is stored and a processor arranged to run the computer program to perform the data optimization method of the SPAD signal sensor described above.
In a fourth aspect, the present application provides a readable storage medium having stored therein a computer program comprising program code for controlling a process to execute a process comprising a data optimization method according to the SPAD signal sensor described above.
The main contributions and innovation points of the application are as follows: 1. compared with the prior art, the application takes the signal data in the channel as the guide. Therefore, the method is suitable for correcting the output data of the signal sensors with more than two channels and in any arrangement mode;
2. compared with the prior art, the application can improve the measurement capability of the system on small signals, fully utilize measurement data and expand the detection breadth or depth of the signal sensor.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of a data optimization method of a SPAD signal sensor according to an embodiment of the present application;
FIG. 2 is a graph showing the contrast between sets of data before and after distance correction according to an embodiment of the present application;
FIG. 3 is a chart showing the comparison of standard deviations between sets of data before and after distance correction according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a prior art sensor multi-channel data structure;
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of one or more embodiments of the present description as detailed in the accompanying claims.
It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
Example 1
The application aims to provide a data optimization method of a SPAD signal sensor, in particular to fig. 1, comprising the following steps:
s00, collecting signal data, and sequencing the maximum value B 0~BM-1 of the signal amplitude of each channel according to the size;
Wherein the maximum value of the signal amplitude is taken as a central peak value; multichannel signal data, i.e. M x N data for M channels, is collected. In the process, R max is the maximum value of the signal amplitude range, and R min is the minimum value of the signal amplitude range; x 0、X1、...、Xm-1 is original distance information (hereinafter abbreviated as bit number) corresponding to each channel (0) - (M-1) in the same group of data; a 00、A01、...、A(M-1)(N-2) and A (M-1) (N-1) are N signal amplitudes corresponding to the M channels respectively; b 0、B1、...、BM-1 is the maximum value of the signal amplitude in the channel corresponding to each of the M channels (called as the central peak for short); q 0、Q1、...、QM-1 is the distance information of each channel (0 to (M-1) in the same group of data after algorithm correction.
S10, taking channel data of a sequenced central peak value maximum value B P and a secondary maximum value B w which is only inferior to the central peak value maximum value as an A channel and a B channel respectively;
in this embodiment, under certain test conditions, the signals are relatively concentrated in one channel, and the channel has better signal distribution and higher reliability, and no secondary large value is needed for assistance, so that the requirement is that Otherwise, B w has no reference value.
S20, calculating a strong and weak signal demarcation point R1, an available signal amplitude minimum value R2 and ideal data waveform data R3 according to a signal amplitude range maximum value R max and a signal amplitude range minimum value R min in the signal data;
In this embodiment, before further screening and judging, the boundary point R1 of the strong and weak signals needs to be calculated first:
The minimum value R2 of the available signal amplitude is calculated as follows:
the ideal data waveform peak R3 is calculated as follows:
s30, when the maximum value B P of the central peak value is more than or equal to the strong and weak signal demarcation point R1 or the next-largest value B w meeting the set condition does not exist, using the channel data of the channel A to output the corresponding bit number of the maximum value of the central peak value of the channel A in the channel;
In this embodiment, if B P≥R1 or no usable B w exists, it indicates that the signal is strong and the center peak B P of the P channel is sufficiently large or the signal is very concentrated under the test condition, and the data a P0~AP(N-1) in the P channel is directly processed, so as to output the bit number corresponding to B P, i.e. the bit number of B P in the P channel. Otherwise, the signal is weaker or more scattered under the test condition, and the next algorithm processing is carried out.
When the maximum value B P of the central peak value is less than the boundary point R1 of the strong and weak signals and the second maximum value B w meeting the set condition exists, executing the step S40;
s40, taking the central peak value as a terminal data point of the data of the A channel and the B channel respectively, and intercepting G data points forwards to obtain A 0~AG-1 and B 0~BG-1; wherein a G-1 represents the central peak maximum and B G-1 represents the central peak next-maximum;
In this embodiment, N data a P0~AP(N-1) corresponding to the P channel are extracted, G signal amplitude data including the center peak B P are intercepted, and if the bit number of the bit B P is LP, the intercepted data is a PLP-G+1~APLP. Ensure the processing speed of the algorithm and suggest that L P is more than G and is more than or equal to 3. And carrying out the same treatment on the channel W, setting the bit number of the B w as LW, and intercepting to obtain A WLW-G+1~AWLW.
S50, when A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is more than or equal to the minimum value R2 of the available signal amplitude, using the B channel data to output the bit number corresponding to the maximum value of the central peak value of the B channel;
In the present embodiment of the present invention, in the present embodiment, And selecting the bit LW corresponding to the data B w of the W channel for outputting.
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value next-maximum value B G-1 is less than the ideal data waveform data R3, B channel data is used, and the bit number corresponding to the central peak value maximum value of the B channel is output;
In the present embodiment of the present invention, in the present embodiment, And selecting the bit LW corresponding to the data B w of the W channel for outputting.
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value sub-maximum value B G-1 is more than or equal to the ideal data waveform data R3, the B channel data is integrally reduced according to the first set multiplying power FB, and the bit number corresponding to the maximum value of the central peak value of the B channel is output;
In the present embodiment of the present invention, in the present embodiment, And calculating the multiplying power FB of the signal amplitude data peak value relative to the ideal data waveform peak value:
The A W0~AW(N-1) is reduced according to the multiplying power, namely C W0~CW(N-1) (the range of data at this time is close to the ideal data waveform) is obtained, and C W0~CW(N-1) is used to perform data processing, and the bit LW corresponding to B w is output.
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is larger than or equal to the ideal data waveform data R3, integrally shrinking the data of the A channel according to the second set multiplying power FB, and outputting the bit number corresponding to the maximum value of the central peak value of the A channel;
In the present embodiment of the present invention, in the present embodiment, And calculating the multiplying power FB of the signal amplitude data peak value relative to the ideal data waveform peak value:
Narrowing A P0~AP(N-1) by a multiplying power, namely/> C P0~CP(N-1) (the range of data at this time is close to the ideal data waveform) is obtained, and data processing is performed using C P0~CP(N-1) to output the bit number LP corresponding to B P.
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is smaller than the ideal data waveform data R3, the channel data of the channel A is used, and the corresponding bit number of the maximum value of the central peak value of the channel A in the channel is output.
In the present embodiment of the present invention, in the present embodiment,And selecting the bit LP corresponding to the data B P of the P channel for outputting.
Wherein each scheme outputs corrected data q=the number of bits that each scheme finally outputs.
Preferably, as shown in fig. 2 and 3, under the test condition of poor signal (such as weak signal or excessive noise), the sensor is used to measure, and multiple groups of data are tested at each fixed distance, and statistics before and after data processing are compared by taking the range and standard deviation.
And (3) ranging in a 150 mm-5650 mm distance range by using a signal sensor, taking 150mm as a measurement starting point, measuring 150 groups of data every 100mm, and when the same channel is selected at the same distance, the difference exists between the distance information of different groups of data, wherein the difference can be counted as the extremely difference (extremely difference=distance information maximum value-distance information minimum value) and the standard difference (arithmetic square root of arithmetic mean from the square of the average difference, and the degree of dispersion of 150 groups of data is reflected).
As can be seen from fig. 2, "before data screening" indicates distance information which is not processed by the algorithm, and under the same distance and same channel, the data of different groups are extremely bad, and correspondingly, "after data screening" indicates that the data after being processed by the algorithm are extremely bad. It can be seen that the data processed by the algorithm is extremely bad, which is smaller than or equal to that before the algorithm processing under different distances, and is reduced by more than 1 time at a long distance, such as 4150 mm.
As can be seen from fig. 3, "before data screening" refers to the standard deviation of the distance information which is not processed by the algorithm for different groups when the same distance and the same channel are obtained, and "after data screening" refers to the standard deviation of the distance information which is processed by the algorithm. When the distance is less than 1950mm, the standard deviation obtained before and after data screening on partial distance points is similar or weak advantage exists before data screening. But as distance increases, the advantages of data screening become increasingly apparent.
Obviously, after data screening, even if the signals received by the sensor are poor, the standard deviation and the range of the signals can still be kept relatively low, namely the stability of the data measured for a plurality of times under the same distance is better.
Example two
Based on the same conception, the application also provides a data optimization device of the SPAD signal sensor, which comprises:
The acquisition module acquires signal data and sorts the maximum value B 0~BM-1 of the signal amplitude of each channel according to the size; wherein the maximum value of the signal amplitude is taken as a central peak value;
The processing module takes channel data of the sequenced central peak value maximum value B P and the secondary maximum value B w which is only inferior to the central peak value maximum value as an A channel and a B channel respectively;
The calculation module calculates a strong and weak signal demarcation point R1, an available signal amplitude minimum value R2 and ideal data waveform data R3 according to a signal amplitude range maximum value R max and a signal amplitude range minimum value R min in the signal data;
The primary screening module is used for outputting the corresponding bit number of the central peak value maximum value of the A channel in the channel by using the channel data of the A channel when the central peak value maximum value B P is more than or equal to the strong and weak signal demarcation point R1 or the next largest value B w meeting the set condition does not exist;
when the maximum value B P of the central peak value is smaller than the boundary point R1 of the strong and weak signals and the second maximum value B w meeting the set condition exists, executing a step-by-step screening module;
The advanced screening module is used for taking the central peak value as a terminal data point of the data of the A channel and the B channel respectively, and intercepting G data points forwards to obtain A 0~AG-1 and B 0~BG-1; wherein a G-1 represents the central peak maximum and B G-1 represents the central peak next-maximum;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is more than or equal to the minimum value R2 of the available signal amplitude, using the B channel data to output the bit number corresponding to the maximum value of the central peak value of the B channel;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value next-maximum value B G-1 is less than the ideal data waveform data R3, B channel data is used, and the bit number corresponding to the central peak value maximum value of the B channel is output;
When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value sub-maximum value B G-1 is more than or equal to the ideal data waveform data R3, the B channel data is integrally reduced according to the first set multiplying power FB, and the bit number corresponding to the maximum value of the central peak value of the B channel is output;
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is larger than or equal to the ideal data waveform data R3, integrally shrinking the data of the A channel according to the second set multiplying power FB, and outputting the bit number corresponding to the maximum value of the central peak value of the A channel;
When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is smaller than the ideal data waveform data R3, the channel data of the channel A is used, and the corresponding bit number of the maximum value of the central peak value of the channel A in the channel is output.
Example III
This embodiment also provides an electronic device, referring to fig. 5, comprising a memory 404 and a processor 402, the memory 404 having stored therein a computer program, the processor 402 being arranged to run the computer program to perform the steps of any of the method embodiments described above.
In particular, the processor 402 may include a Central Processing Unit (CPU), or an application specific integrated circuit (ApplicationSpecificIntegratedCircuit, abbreviated as ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
The memory 404 may include, among other things, mass storage 404 for data or instructions. By way of example, and not limitation, memory 404 may comprise a hard disk drive (HARDDISKDRIVE, abbreviated HDD), a floppy disk drive, a solid state drive (SolidStateDrive, abbreviated SSD), flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Memory 404 may include removable or non-removable (or fixed) media, where appropriate. Memory 404 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 404 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 404 includes Read-only memory (ROM) and Random Access Memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (ProgrammableRead-only memory, abbreviated PROM), an erasable PROM (ErasableProgrammableRead-only memory, abbreviated EPROM), an electrically erasable PROM (ElectricallyErasableProgrammableRead-only memory, abbreviated EEPROM), an electrically rewritable ROM (ElectricallyAlterableRead-only memory, abbreviated EAROM) or a FLASH memory (FLASH), or a combination of two or more of these. The RAM may be a static random access memory (StaticRandom-access memory, abbreviated SRAM) or a dynamic random access memory (DynamicRandomAccessMemory, abbreviated DRAM) where the DRAM may be a fast page mode dynamic random access memory 404 (FastPageModeDynamicRandomAccessMemory, abbreviated FPMDRAM), an extended data output dynamic random access memory (ExtendedDateOutDynamicRandomAccessMemory, abbreviated EDODRAM), a synchronous dynamic random access memory (SynchronousDynamicRandom-access memory, abbreviated SDRAM), or the like, where appropriate.
Memory 404 may be used to store or cache various data files that need to be processed and/or used for communication, as well as possible computer program instructions for execution by processor 402.
The processor 402 reads and executes the computer program instructions stored in the memory 404 to implement the data optimization method of any SPAD signal sensor in the above embodiments.
Optionally, the electronic apparatus may further include a transmission device 406 and an input/output device 408, where the transmission device 406 is connected to the processor 402 and the input/output device 408 is connected to the processor 402.
The transmission device 406 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wired or wireless network provided by a communication provider of the electronic device. In one example, the transmission device includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device 406 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
The input-output device 408 is used to input or output information.
Example IV
The present embodiment also provides a readable storage medium having stored therein a computer program including program code for controlling a process to execute the process, the process including the data optimization method of the SPAD signal sensor according to the first embodiment.
It should be noted that, specific examples in this embodiment may refer to examples described in the foregoing embodiments and alternative implementations, and this embodiment is not repeated herein.
In general, the various embodiments may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. Some aspects of the invention may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the invention may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
Embodiments of the invention may be implemented by computer software executable by a data processor of a mobile device, such as in a processor entity, or by hardware, or by a combination of software and hardware. Computer software or programs (also referred to as program products) including software routines, applets, and/or macros can be stored in any apparatus-readable data storage medium and they include program instructions for performing particular tasks. The computer program product may include one or more computer-executable components configured to perform embodiments when the program is run. The one or more computer-executable components may be at least one software code or a portion thereof. In addition, in this regard, it should be noted that any blocks of the logic flows as illustrated may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions. The software may be stored on physical media such as memory chips or memory blocks implemented within the processor, magnetic media such as hard or floppy disks, and optical media such as, for example, DVDs and data variants thereof, CDs, etc. The physical medium is a non-transitory medium.
It should be understood by those skilled in the art that the technical features of the above embodiments may be combined in any manner, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as being within the scope of the description provided herein, as long as there is no contradiction between the combinations of the technical features.
The foregoing examples illustrate only a few embodiments of the application, which are described in greater detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit of the application, which are within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (6)

  1. The data optimization method of the SPAD signal sensor is characterized by comprising the following steps of:
    s00, collecting signal data, and sequencing the maximum value B 0~BM-1 of the signal amplitude of each channel according to the size;
    wherein the maximum value of the signal amplitude is taken as a central peak value;
    S10, taking channel data of a sequenced central peak value maximum value B P and a secondary maximum value B w which is only inferior to the central peak value maximum value as an A channel and a B channel respectively;
    S20, calculating a strong and weak signal demarcation point R1, an available signal amplitude minimum value R2 and ideal data waveform data R3 according to a signal amplitude range maximum value R max and a signal amplitude range minimum value R min in the signal data;
    the calculation formula of the strong and weak signal demarcation point R1 is as follows:
    The calculation formula of the minimum value R2 of the available signal amplitude is as follows:
    the calculation formula of the ideal data waveform data R3 is:
    s30, when the maximum value B P of the central peak value is more than or equal to the strong and weak signal demarcation point R1 or the next-largest value B w meeting the set condition does not exist, using the channel data of the channel A to output the corresponding bit number of the maximum value of the central peak value of the channel A in the channel;
    When the maximum value B P of the central peak value is less than the boundary point R1 of the strong and weak signals and the second maximum value B w meeting the set condition exists, executing the step S40;
    Wherein, the setting conditions are as follows: the value of the second largest value B w is 80% or more of the central peak maximum value B P;
    S40, taking the central peak value as a terminal data point of the data of the A channel and the B channel respectively, and intercepting G data points forwards to obtain A 0~AG-1 and B 0~BG-1;
    Wherein a G-1 represents the central peak maximum and B G-1 represents the central peak next-maximum;
    s50, when A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is more than or equal to the minimum value R2 of the available signal amplitude, using the B channel data to output the bit number corresponding to the maximum value of the central peak value of the B channel;
    When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value next-maximum value B G-1 is less than the ideal data waveform data R3, B channel data is used, and the bit number corresponding to the central peak value maximum value of the B channel is output;
    When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value sub-maximum value B G-1 is more than or equal to the ideal data waveform data R3, the B channel data is integrally reduced according to the first set multiplying power FB, and the bit number corresponding to the maximum value of the central peak value of the B channel is output;
    When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is larger than or equal to the ideal data waveform data R3, integrally shrinking the data of the A channel according to the second set multiplying power FB, and outputting the bit number corresponding to the maximum value of the central peak value of the A channel;
    When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is smaller than the ideal data waveform data R3, the channel data of the channel A is used, and the corresponding bit number of the maximum value of the central peak value of the channel A in the channel is output.
  2. 2. The method of data optimization of SPAD signal sensor according to claim 1, wherein in step S40, G of said G data points is ≡3.
  3. 3. The method for optimizing data of SPAD signal sensor according to claim 2, wherein in step S40, the calculation formula of the first set multiplying factor FB is:
    The calculation formula of the second set multiplying power FB is as follows:
  4. 4. a data optimization device of a SPAD signal sensor, comprising:
    The acquisition module acquires signal data and sorts the maximum value B 0~BM-1 of the signal amplitude of each channel according to the size; wherein the maximum value of the signal amplitude is taken as a central peak value;
    The processing module takes channel data of the sequenced central peak value maximum value B P and the secondary maximum value B w which is only inferior to the central peak value maximum value as an A channel and a B channel respectively;
    The calculation module calculates a strong and weak signal demarcation point R1, an available signal amplitude minimum value R2 and ideal data waveform data R3 according to a signal amplitude range maximum value R max and a signal amplitude range minimum value R min in the signal data;
    the calculation formula of the strong and weak signal demarcation point R1 is as follows:
    The calculation formula of the minimum value R2 of the available signal amplitude is as follows:
    the calculation formula of the ideal data waveform data R3 is:
    The primary screening module is used for outputting the corresponding bit number of the central peak value maximum value of the A channel in the channel by using the channel data of the A channel when the central peak value maximum value B P is more than or equal to the strong and weak signal demarcation point R1 or the next largest value B w meeting the set condition does not exist;
    when the maximum value B P of the central peak value is smaller than the boundary point R1 of the strong and weak signals and the second maximum value B w meeting the set condition exists, executing a step-by-step screening module;
    Wherein, the setting conditions are as follows: the value of the second largest value B w is 80% or more of the central peak maximum value B P;
    The advanced screening module is used for taking the central peak value as a terminal data point of the data of the A channel and the B channel respectively, and intercepting G data points forwards to obtain A 0~AG-1 and B 0~BG-1; wherein a G-1 represents the central peak maximum and B G-1 represents the central peak next-maximum;
    When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is more than or equal to the minimum value R2 of the available signal amplitude, using the B channel data to output the bit number corresponding to the maximum value of the central peak value of the B channel;
    When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value next-maximum value B G-1 is less than the ideal data waveform data R3, B channel data is used, and the bit number corresponding to the central peak value maximum value of the B channel is output;
    When A 0 is more than or equal to the minimum value R2 of the available signal amplitude and B 0 is less than the minimum value R2 of the available signal amplitude, the central peak value sub-maximum value B G-1 is more than or equal to the ideal data waveform data R3, the B channel data is integrally reduced according to the first set multiplying power FB, and the bit number corresponding to the maximum value of the central peak value of the B channel is output;
    When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is larger than or equal to the ideal data waveform data R3, integrally shrinking the data of the A channel according to the second set multiplying power FB, and outputting the bit number corresponding to the maximum value of the central peak value of the A channel;
    When A 0 is smaller than the minimum value R2 of the available signal amplitude and the maximum value A G-1 of the central peak value is smaller than the ideal data waveform data R3, the channel data of the channel A is used, and the corresponding bit number of the maximum value of the central peak value of the channel A in the channel is output.
  5. 5. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being configured to run the computer program to perform the data optimization method of the SPAD signal sensor of any one of claims 1 to 3.
  6. 6. A readable storage medium having stored therein a computer program comprising program code for controlling a process to perform a process comprising a data optimization method of a SPAD signal sensor according to any one of claims 1 to 3.
CN202410206567.8A 2024-02-26 2024-02-26 Data optimization method of SPAD signal sensor and application thereof Active CN117782314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410206567.8A CN117782314B (en) 2024-02-26 2024-02-26 Data optimization method of SPAD signal sensor and application thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410206567.8A CN117782314B (en) 2024-02-26 2024-02-26 Data optimization method of SPAD signal sensor and application thereof

Publications (2)

Publication Number Publication Date
CN117782314A CN117782314A (en) 2024-03-29
CN117782314B true CN117782314B (en) 2024-05-07

Family

ID=90380146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410206567.8A Active CN117782314B (en) 2024-02-26 2024-02-26 Data optimization method of SPAD signal sensor and application thereof

Country Status (1)

Country Link
CN (1) CN117782314B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115032608A (en) * 2022-08-15 2022-09-09 杭州宇称电子技术有限公司 Ranging sensor data optimization method and application thereof
CN115598623A (en) * 2022-09-30 2023-01-13 无锡科洋电子科技有限公司(Cn) Method for quickly searching target object by TOF sensor
CN116666404A (en) * 2023-07-25 2023-08-29 深圳市灵明光子科技有限公司 SPAD array and manufacturing method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640122B2 (en) * 2007-11-07 2009-12-29 Institut National D'optique Digital signal processing in optical systems used for ranging applications
US11096618B2 (en) * 2016-12-06 2021-08-24 Nippon Telegraph And Telephone Corporation Signal feature extraction apparatus, signal feature extraction method, and program
EP3415950B1 (en) * 2017-06-13 2020-05-27 Hexagon Technology Center GmbH Range finder using spad assembly and range walk compensation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115032608A (en) * 2022-08-15 2022-09-09 杭州宇称电子技术有限公司 Ranging sensor data optimization method and application thereof
CN115598623A (en) * 2022-09-30 2023-01-13 无锡科洋电子科技有限公司(Cn) Method for quickly searching target object by TOF sensor
CN116666404A (en) * 2023-07-25 2023-08-29 深圳市灵明光子科技有限公司 SPAD array and manufacturing method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SPAD阵列读出电路关键技术与发展趋势;郑丽霞 等;《红外与激光工程》;20230331;全文 *

Also Published As

Publication number Publication date
CN117782314A (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN115032608B (en) Ranging sensor data optimization method and application thereof
CN103841597B (en) Frequency point scanning method and device for TD-SCDMA system
CN109067473B (en) A method and device for demodulation analysis of qubit read signal
CN107431614A (en) Method and apparatus for automatic deviation compensation
CN107994963B (en) Method and device for expanding detection range of power detector
CN105721072A (en) Method, device and terminal for judging antenna fault
CN102522960A (en) Hardware-controlled automatic intermediate-frequency gain control method for vector network analyzer
CN117782314B (en) Data optimization method of SPAD signal sensor and application thereof
CN107276691B (en) Method and device for determining direction angle of antenna
CN105611559A (en) Debugging method and debugging system of terminal radio frequency
CN101340198B (en) Calibration method, apparatus and system for RF receiver
WO2022116901A1 (en) Iis bus decoding method and apparatus, oscilloscope and computer-readable storage medium
EP3793333A1 (en) Filament current control method and apparatus
CN110412644A (en) Photoncounting methods and device
CN103533607A (en) Frequency band searching method and device
CN110263417B (en) A method, device and electronic equipment for obtaining timing characteristics
CN109710172B (en) Parameter configuration method, device and system of multi-channel high-speed analog-to-digital conversion chip
CN102841250A (en) Signal measurement device and signal measurement method
KR20200001344A (en) Method and terminal for performing association to access point in wireless communication system
CN111224723B (en) Calibration method and system of radio frequency front-end module, electronic equipment and storage medium
CN108235328B (en) Automatic spectrum re-sensing method, system, computer-readable storage medium and terminal
CN106199243A (en) A kind of optimization group technology of multifrequency electromagnetic susceptibility test
CN115833979B (en) Spectrum detection method, device, chip and mobile station
CN115687881B (en) Error compensation measuring and calculating method for optimizing accuracy of ranging sensor and application thereof
CN108710731B (en) Method for judging by-pass event by sections

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant