Laser ranging system and method
By utilizing the randomness of echo data in the laser ranging system for optimization and iterative processing, noise signals are eliminated, the problem of noise interference is solved, and the stability and accuracy of the ranging system are improved.
Patent Information
- Application Number
- CN202410661541.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-03
AI Technical Summary
Existing laser ranging systems are susceptible to interference from noise signals, which affects the accuracy and stability of ranging, especially under factors such as ambient light interference, beam scattering, system vibration, and temperature changes, leading to a decline in ranging performance.
By utilizing the randomness of echo data in the data processing module, recording each echo moment data and performing optimized iterative processing to determine the real and effective echo data, the TDC echo measurement chip and the window flow method are used to conduct second-order historical echoes. Data iteration eliminates noise signals and improves the robustness of the system.
It effectively reduces the system's control capability requirements for noise signals, improves ranging accuracy and stability, and enhances the system's robustness and ranging capabilities.
Smart Images

Figure CN118584498A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automatic control, and in particular relates to a laser ranging system and method. Background Art
[0002] Laser ranging technology is a technology that measures the distance of a target through a laser beam and is widely used in many fields such as military, industry, surveying and mapping, geological exploration, etc. However, in practical applications, laser ranging systems are often interfered by noise signals, which affects the accuracy and stability of ranging.
[0003] Noise signals refer to unwanted signals in laser ranging systems, which may come from environmental interference, errors in the system itself, or errors in the signal processing process. Common noise signals include ambient light interference, laser beam scattering, system vibration, temperature changes, etc. Ambient light interference is one of the common noise signals in laser ranging. In outdoor environments or under strong light, ambient light will interfere with the signal received by the laser sensor, resulting in errors in distance measurement. In order to reduce ambient light interference, optical components such as filters and photodiodes are usually used to shield external light and improve the system's anti-interference ability. In addition, laser beams may scatter during transmission, causing signal attenuation and diffusion, affecting the accuracy of ranging. In order to reduce the noise signals caused by beam scattering, the ranging accuracy of the system is usually improved by optimizing the emission parameters of the laser, selecting appropriate optical components and receivers, and using signal processing algorithms. In addition, factors such as system vibration and temperature changes will also generate noise signals in the laser ranging system. In order to reduce the impact of these noise signals, technical means such as mechanical isolation and temperature compensation are usually used to reduce the noise level, that is, to reduce the probability of noise and the number of noise occurrences, thereby improving the stability and reliability of the system. However, the above method is achieved by reducing the detection sensitivity of the ranging system, that is, sacrificing the ranging performance of the ranging system, which is not what people intended.
[0004] Therefore, how to optimize the system design, effectively reduce the impact of noise signals, and improve the stability of the laser ranging system are technical problems that need to be solved urgently. Summary of the invention
[0005] In order to solve the technical problems existing in the prior art, the purpose of the present invention is to provide a laser ranging system and method, which utilizes the randomness of noise in the echo data to find out the real and effective echo data.
[0006] In order to achieve the above purpose and the above technical effect, the technical solution adopted by the present invention is:
[0007] A laser ranging system, comprising:
[0008] Host computer;
[0009] PD laser emission module, used to emit laser to the object to be measured;
[0010] APD optical signal acquisition module, used to receive reflected light signals reflected by the measured object and convert the optical signals into electrical signals;
[0011] The data processing module is connected to the APD optical signal acquisition module and the host computer. It is used to record the data at each echo moment, compare the historical echo data, perform data optimization and iterative processing, determine the real and effective echo data, and transmit it to the host computer.
[0012] Furthermore, the data processing module uses a TDC echo measurement chip.
[0013] The present invention discloses a laser ranging method, which uses the laser ranging system as described above to perform ranging, and comprises the following steps:
[0014] Open up a historical echo data space and a second-order historical echo data space, respectively for storing historical echo data and second-order historical echo data; and set the maximum allowable offset K of the echo data and the maximum allowable offset B of the second-order echo data;
[0015] Determine whether a start distance measurement instruction is received. If so, control the PD laser emission module to emit a laser toward the object to be measured. The APD optical signal acquisition module receives the reflected light signal reflected by the object to be measured and converts the optical signal into an electrical signal. The data processing module records the data of each echo moment and compares it with the historical echo data for data optimization and iterative processing. The real and effective echo data is determined and transmitted to the host computer. Repeat the above steps until a stop distance measurement instruction is received.
[0016] Furthermore, the laser ranging method comprises the following steps:
[0017] S301, the ranging system initializes the echo data, opens a history echo data space historydata[2][n] for storing the history echo data; sets a maximum allowable offset K of the echo data according to the system, and the maximum allowable offset K of the echo data varies according to different ranging systems;
[0018] S302, the ranging system initializes echo data, opens a second-order historical echo data space called secondOrderDiff[m][6] to store the second-order historical echo data; sets a maximum allowable offset B of the second-order echo data according to the system, and the maximum allowable offset B of the second-order echo data varies according to different ranging systems;
[0019] S303, determining whether the system has received a distance measurement start instruction, if so, executing step S304, if not, executing step S303;
[0020] S304, controlling the PD laser emission module to emit laser light toward the object to be measured;
[0021] S305, the APD optical signal acquisition module receives the reflected light signal reflected by the measured object and converts the optical signal into an electrical signal;
[0022] S306, the TDC echo measurement chip records the echo time data current_data[n] in this cycle according to the electrical signal;
[0023] S307, iterate the data of the echo data space historydata[1][n] in the historical echo data space to the echo data space historydata[0][n], and update the echo time data current_data[n] in this cycle to the echo data space historydata[1][n] to ensure the real-time and reliability of the data;
[0024] S308, comparing historydata[0][n] data and historydata[1][n] data in the echo data space;
[0025] S309, determine whether there is data in the echo data space historydata[0][n] data and historydata[1][n] data with a difference not greater than the maximum allowable offset K of the echo data, if yes, go to step S310, if no, go to step S312;
[0026] S310, recording the data positions of historydata[0][n] and historydata[1][n] in the echo data space, the data positions whose difference is not greater than the maximum allowable offset K of the echo data, into the recording space current_pos[p], and locating and recording the positions of the valid signals;
[0027] S311, clearing the data of the non-spatial current_pos[p] position in the echo time data current_data[n], completing the data iteration of the echo time data current_data[n], and completing the elimination of the noise signal in the data;
[0028] S312: At this moment, the noise exceeds the system suppression capability, and the echo time data current_data[n] is not processed, and the abnormal data is directly transmitted for system judgment;
[0029] S313, iterating the data of the second-order historical echo data space secondOrderDiff[m][6], and updating the echo time data current_data[n] to the last set of second-order historical echo data space secondOrderDiff[m][5];
[0030] S314, performing second-order derivative on each group of data in the second-order historical echo data space secondOrderDiff[m][6] data in turn, iterating the next echo data for the data whose extreme value point is greater than the maximum allowable offset B of the second-order echo data, and eliminating the influence of the extreme value data on the ranging stability;
[0031] S315, obtain each group of echo data after median filtering in the second-order historical echo data space secondOrderDiff[m][6] data and update it to effective echo data effective_data[r];
[0032] S316, transmitting effective echo data effective_data[r] to the upper computer;
[0033] S317, determine whether the system has received a stop distance measurement instruction, if so, end the distance measurement, if not, go to step S304 to continue the system distance measurement.
[0034] Further, in step S301, the historical echo data space is a 2×n 2-row and n-column space, expressed as historydata[2][n], where historydata[0][n] represents the space of the first row, and historydata[1][n] represents the space of the second row.
[0035] Further, in step S302, the second-order historical echo data space is an m×6 data space of m rows and 6 columns, expressed as secondOrderDiff[m][6], where secondOrderDiff[m][0], secondOrderDiff[m][1], secondOrderDiff[m][2], secondOrderDiff[m][3], secondOrderDiff[m][4], and secondOrderDiff[m][5] represent the spaces of the first row, the second row, the third row, the fourth row, the fifth row, and the sixth row, respectively.
[0036] Furthermore, in step S313, the data of the second-order historical echo data space secondOrderDiff[m][6] is iterated using a window flow method, including the following steps:
[0037] Assign the second row of data headed by secondOrderDiff[m][1] to the first row headed by secondOrderDiff[m][0], the third row of data headed by secondOrderDiff[m][2] to the second row headed by secondOrderDiff[m][1], the fourth row of data headed by secondOrderDiff[m][3] to the third row headed by secondOrderDiff[m][2], and the fifth row of data headed by secondOrderDiff[m][4] to s The fourth row headed by econdOrderDiff[m][3] and the sixth row headed by secondOrderDiff[m][5] are assigned to the fifth row headed by secondOrderDiff[m][4]. At this time, the sixth row headed by secondOrderDiff[m][5] is empty, waiting for the latest echo data to be updated, and then updating the latest echo data, and updating the echo time data current_data[n] to the sixth row headed by secondOrderDiff[m][5] of the last set of second-order historical echo data space.
[0038] Furthermore, in step S314, the formula for performing second-order derivative on each group of data in the second-order historical echo data space secondOrderDiff[m][6] data is:
[0039] secon_derivative[i]=secondOrderDiff[n][i+2]-2×(secondOrderDiff[n][i+1])+secondOrderDiff[n][i]
[0040] Among them, secon_derivative[i] is the extreme point;
[0041] For the data in the extreme point se_derivative[i] that is greater than the maximum allowable offset B of the second-order echo data, the next echo data is iterated, that is, the next data is assigned to the data that generates the extreme value data, eliminating the influence of the extreme value data on the ranging stability.
[0042] Furthermore, in step S315, the step of obtaining each group of median-filtered echo data in the second-order historical echo data space secondOrderDiff[m][6] data and updating it to effective echo data effective_data[r] includes:
[0043] Arrange each group of echo data in the second-order historical echo data space secondOrderDiff[m][6] in ascending order, find the data in the middle position as the median data, and calculate the weighted median data as the data before the middle position × 0.1 + the data after the middle position × 0.1 + the data in the middle position × 0.8. Update the obtained weighted median data to the effective echo data effective_data[r].
[0044] Compared with the prior art, the present invention has the following beneficial effects:
[0045] The present invention discloses a laser ranging system and method. According to the randomness of noise signals, multipath robustness optimization is adopted for the ranging system. The data of each echo moment is recorded according to the electrical signal by a data processing module, and the data is optimized and iteratively processed by comparing the historical echo data to determine the real and effective echo data. The requirements of the system on the control capability of noise signals can be effectively reduced, the amplification capability of the system can be further improved, the ranging capability of the system can be enhanced, and the robustness of the system can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a principle block diagram of the present invention;
[0047] Figure 2 This is a schematic diagram of the echo time read in a single cycle of the present invention;
[0048] Figure 3 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0049] The present invention is described in detail below so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0050] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.
[0051] like Figure 1As shown, the present invention discloses a laser ranging system, including a PD laser emitting module 101, an APD optical signal acquisition module 102 and a data processing module. The APD optical signal acquisition module 102 has the characteristic of converting optical signals into electrical signals. When the system performs distance measurement, the PD laser emitting module 101 emits laser (photons) to hit the object to be measured. After the photons are reflected by the object to be measured, the photon signals are collected by the APD optical signal acquisition module 102 and photoelectrically converted into electrical signals. The data processing module records the data of each echo time according to the electrical signal, and compares the historical echo data to perform data optimization iterative processing to determine the real and effective echo data, effectively reduce the system's requirements for noise signal control capability, further improve the system's amplification capability, enhance the system's ranging capability, and improve the system's robustness.
[0052] The data processing module uses a TDC echo measurement chip.
[0053] like Figure 2-3 As shown, the present invention also discloses a laser ranging method, comprising the following steps:
[0054] S301, the ranging system initializes the echo data, and opens a history echo data space historydata[2][n] for storing the history echo data; a maximum allowable offset K of the echo data is set according to the system, and the maximum allowable offset K of the echo data varies according to different ranging systems; in this step, the history echo data space of historydata[2][n] represents a 2×n 2-row and n-column space, where historydata[0][n] represents the space of the first row, and historydata[1][n] represents the space of the second row;
[0055] S302, the ranging system initializes echo data, opens a second-order historical echo data space called secondOrderDiff[m][6] to store the second-order historical echo data; sets a maximum allowable offset B of the second-order echo data according to the system, and the maximum allowable offset B of the second-order echo data varies according to different ranging systems;
[0056] S303, determining whether the system has received a distance measurement start instruction, if so, executing step S304, if not, executing step S303;
[0057] S304, controlling the PD laser emitting module 101 to emit laser or photons toward the object to be measured;
[0058] S305, the APD optical signal acquisition module 102 receives the reflected light signal reflected by the measured object and converts the optical signal into an electrical signal;
[0059] S306, the TDC echo measurement chip records the echo time data current_data[n] in this cycle according to the electrical signal. The echo time read in a single cycle is as follows: Figure 2 As shown. The TDC echo measurement chip is used to accurately and effectively record all echo time data within this cycle;
[0060] S307, iterate the data of the echo data space historydata[1][n] to the echo data space historydata[0][n], and update the echo time data current_data[n] in this cycle to the echo data space historydata[1][n]. In this step, the data of the echo data space historydata[1][n] is first iterated to the echo data space historydata[0][n], and then current_data[n] is updated to the echo data space historydata[1][n]. This can realize data flow, facilitate comparison of the current echo data with the previous echo data, find out the real echo data, eliminate noise signals, and ensure the real-time and reliability of the data.
[0061] S308, compare the historydata[0][n] data and historydata[1][n] data in the echo data space; determine whether there is a valid echo signal in this ranging;
[0062] S309, determine whether there is data in the echo data space historydata[0][n] data and historydata[1][n] data with a difference not greater than the maximum allowable offset K of the echo data, if yes, go to step S310, if no, go to step S312;
[0063] S310, recording the data positions of historydata[0][n] and historydata[1][n] in the echo data space, the data positions whose difference is not greater than the maximum allowable offset K of the echo data, into the recording space current_pos[p], and locating and recording the positions of the valid signals;
[0064] S311, clearing the data of the non-spatial current_pos[p] position in the echo time data current_data[n], completing the data iteration of the echo time data current_data[n], and completing the elimination of the noise signal in the data;
[0065] S312: At this moment, the noise exceeds the system suppression capability, and the echo moment data current_data[n] is not processed, and the abnormal data is directly transmitted for system judgment; at this moment, the system noise signal has completely covered the effective signal, and all noise signals need to be directly transmitted to avoid the fault situation being covered and unable to be reported normally;
[0066] S313. Iterate the data of the second-order historical echo data space secondOrderDiff[m][6] using the window flow method. The second-order historical echo data space secondOrderDiff[m][6] is a data space with m rows and 6 columns. Each row can store up to m echo data in this ranging echo, and can store 6 groups of historical echo data. Among them, secondOrderDiff[m][0], secondOrderDiff[m][1], secondOrderDiff[m][2], secondOrderDiff[m][3], secondOrderDiff[m][4], and secondOrderDiff[m][5] represent the last 5 echo data, the last 4 echo data, the last 3 echo data, the last 2 echo data, the last 1 echo data, and the current echo data respectively. In the window flow method, all the echo data of the latter time are first iterated to the previous echo data. Specifically, the second row of data headed by secondOrderDiff[m][1] is assigned to secondOrderDiff[m][ The first row of data headed by secondOrderDiff[m][0], the third row of data headed by secondOrderDiff[m][2] is assigned to the second row headed by secondOrderDiff[m][1], the fourth row of data headed by secondOrderDiff[m][3] is assigned to the third row headed by secondOrderDiff[m][2], the fifth row of data headed by secondOrderDiff[m][4] is assigned to the fourth row headed by secondOrderDiff[m][3], and the sixth row of data headed by secondOrderDiff[m][5] is assigned to the fifth row headed by secondOrderDiff[m][4]. At this time, the sixth row of data headed by secondOrderDiff[m][5] is empty, waiting for the latest echo data to be updated, and then updating the latest echo data, and updating the echo time data current_data[n] to the sixth row of data headed by secondOrderDiff[m][5] of the last set of second-order historical echo data space; the window flow is used to iteratively process the data to be compatible with the real-time and validity of the data;
[0067] S314, perform second-order derivatives on each group of data in the second-order historical echo data space secondOrderDiff[m][6] data in turn, and the specific derivation steps are: secondOrderDiff[n][0], secondOrderDiff[n][2], secondOrderDiff[n][3], secondOrderDiff[n][4], secondOrderDiff[n][5] are the echo data of a target n in the echo target, and the derivative of these data is as follows:
[0068] secon_derivative[i]=secondOrderDiff[n][i+2]-2×(secondOrderDiff[n][i+1])+secondOrderDiff[n][i]
[0069] For the data in the extreme point second_derivative[i] that is greater than the maximum allowable offset B of the second-order echo data, iterating the next echo data is to assign the next data to the data that generates the extreme value data, thereby eliminating the influence of the extreme value data on the ranging stability;
[0070] S315, obtain each group of echo data after median filtering in the second-order historical echo data space secondOrderDiff[m][6] data and update it to the effective echo data effective_data[r]. The steps of median filtering are: arrange each group of echo data in secondOrderDiff[m][6] in ascending order, find out the data arranged in the middle position as the median data, calculate the weighted median data as the data of the position before the middle position × 0.1 + the data of the position after the middle position × 0.1 + the data of the middle position × 0.8, and update the obtained weighted median data to the effective echo data effective_data[r].
[0071] S316, transmitting effective echo data effective_data[r] to the upper computer;
[0072] S317, determine whether the system has received a stop distance measurement instruction, if so, end the distance measurement, if not, go to step S304 to continue the system distance measurement.
[0073] Parts or structures not specifically described in the present invention may adopt existing technologies or existing products and will not be described in detail here.
[0074] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A laser ranging system, characterized in that: include: Host computer; PD laser emission module, used to emit laser to the object to be measured; APD optical signal acquisition module, used to receive reflected light signals reflected by the measured object and convert the optical signals into electrical signals; The data processing module is connected to the APD optical signal acquisition module and the host computer. It is used to record the data at each echo moment, compare the historical echo data, perform data optimization and iterative processing, determine the real and effective echo data, and transmit it to the host computer.
2. A laser ranging system according to claim 1, characterized in that: The data processing module uses a TDC echo measurement chip.
3. A laser ranging method, characterized in that: The laser ranging system according to claim 1-2 is used to measure the distance, comprising the following steps: Open up a historical echo data space and a second-order historical echo data space, respectively for storing historical echo data and second-order historical echo data; and set the maximum allowable offset K of the echo data and the maximum allowable offset B of the second-order echo data; Determine whether a start distance measurement instruction is received. If so, control the PD laser emission module to emit a laser toward the object to be measured. The APD optical signal acquisition module receives the reflected light signal reflected by the object to be measured and converts the optical signal into an electrical signal. The data processing module records the data of each echo moment and compares it with the historical echo data for data optimization and iterative processing. The real and effective echo data is determined and transmitted to the host computer. Repeat the above steps until a stop distance measurement instruction is received.
4. A laser ranging method according to claim 3, characterized in that: The following steps are involved: S301, the ranging system initializes the echo data, opens a history echo data space historydata[2][n] for storing the history echo data; sets a maximum allowable offset K of the echo data according to the system, and the maximum allowable offset K of the echo data varies according to different ranging systems; S302, the ranging system initializes echo data, opens a second-order historical echo data space called secondOrderDiff[m][6] to store the second-order historical echo data; sets a maximum allowable offset B of the second-order echo data according to the system, and the maximum allowable offset B of the second-order echo data varies according to different ranging systems; S303, determining whether the system has received a distance measurement start instruction, if so, executing step S304, if not, executing step S303; S304, controlling the PD laser emission module to emit laser light toward the object to be measured; S305, the APD optical signal acquisition module receives the reflected light signal reflected by the measured object and converts the optical signal into an electrical signal; S306, the TDC echo measurement chip records the echo time data current_data[n] in this cycle according to the electrical signal; S307, iterate the data of the echo data space historydata[1][n] in the historical echo data space to the echo data space historydata[0][n], and update the echo time data current_data[n] in this cycle to the echo data space historydata[1][n] to ensure the real-time and reliability of the data; S308, comparing historydata[0][n] data and historydata[1][n] data in the echo data space; S309, determine whether there is data in the echo data space historydata[0][n] data and historydata[1][n] data with a difference not greater than the maximum allowable offset K of the echo data, if yes, go to step S310, if no, go to step S312; S310, recording the data positions of historydata[0][n] and historydata[1][n] in the echo data space, the data positions whose difference is not greater than the maximum allowable offset K of the echo data, into the recording space current_pos[p], and locating and recording the positions of the valid signals; S311, clearing the data of the non-spatial current_pos[p] position in the echo time data current_data[n], completing the data iteration of the echo time data current_data[n], and completing the elimination of the noise signal in the data; S312: At this moment, the noise exceeds the system suppression capability, and the echo time data current_data[n] is not processed, and the abnormal data is directly transmitted for system judgment; S313, iterating the data of the second-order historical echo data space secondOrderDiff[m][6], and updating the echo time data current_data[n] to the last set of second-order historical echo data space secondOrderDiff[m][5]; S314, performing second-order derivative on each group of data in the second-order historical echo data space secondOrderDiff[m][6] data in turn, iterating the next echo data for the data whose extreme value point is greater than the maximum allowable offset B of the second-order echo data, and eliminating the influence of the extreme value data on the ranging stability; S315, obtain each group of median-filtered echo data in the second-order historical echo data space secondOrderDiff[m][6] data and update it to effective echo data effective_data[r]; S316, transmitting effective echo data effective_data[r] to the upper computer; S317, determine whether the system has received a stop distance measurement instruction, if so, end the distance measurement, if not, go to step S304 to continue the system distance measurement.
5. A laser ranging method according to claim 4, characterized in that: In step S301, the historical echo data space is a 2×n 2-row and n-column space, expressed as historydata[2][n], where historydata[0][n] represents the space of the first row, and historydata[1][n] represents the space of the second row.
6. A laser ranging method according to claim 4, characterized in that: In step S302, the second-order historical echo data space is an m×6 data space of m rows and 6 columns, expressed as secondOrderDiff[m][6], where secondOrderDiff[m][0], secondOrderDiff[m][1], secondOrderDiff[m][2], secondOrderDiff[m][3], secondOrderDiff[m][4], and secondOrderDiff[m][5] represent the spaces of the first row, the second row, the third row, the fourth row, the fifth row, and the sixth row, respectively.
7. A laser distance measurement method according to claim 6, characterized in that: In step S313, the data of the second-order historical echo data space secondOrderDiff[m][6] is iterated using a window flow method, including the following steps: Assign the second row of data headed by secondOrderDiff[m][1] to the first row headed by secondOrderDiff[m][0], the third row of data headed by secondOrderDiff[m][2] to the second row headed by secondOrderDiff[m][1], the fourth row of data headed by secondOrderDiff[m][3] to the third row headed by secondOrderDiff[m][2], and the fifth row of data headed by secondOrderDiff[m][4] to s The fourth row headed by econdOrderDiff[m][3] and the sixth row headed by secondOrderDiff[m][5] are assigned to the fifth row headed by secondOrderDiff[m][4]. At this time, the sixth row headed by secondOrderDiff[m][5] is empty, waiting for the latest echo data to be updated, and then updating the latest echo data, and updating the echo time data current_data[n] to the sixth row headed by secondOrderDiff[m][5] of the last set of second-order historical echo data space.
8. A laser ranging method according to claim 4, characterized in that: In step S314, the formula for performing second-order derivative on each group of data in the second-order historical echo data space secondOrderDiff[m][6] data is: secon_derivative[i]=secondOrderDiff[n][i+2]-2×(secondOrderDiff[n][i+1])+secondOrderDiff[n][i] Among them, secon_derivative[i] is the extreme point; For the data in the extreme point se_derivative[i] that is greater than the maximum allowable offset B of the second-order echo data, the next echo data is iterated, that is, the next data is assigned to the data that generates the extreme value data, eliminating the influence of the extreme value data on the ranging stability.
9. A laser distance measurement method according to claim 4, characterized in that: In step S315, the step of obtaining each group of median-filtered echo data in the second-order historical echo data space secondOrderDiff[m][6] data and updating it to effective echo data effective_data[r] includes: Arrange each group of echo data in the second-order historical echo data space secondOrderDiff[m][6] in ascending order, find the data in the middle position as the median data, and calculate the weighted median data as the data before the middle position × 0.1 + the data after the middle position × 0.1 + the data in the middle position × 0.
8. Update the obtained weighted median data to the effective echo data effective_data[r].
