Method and apparatus for determining output voltage, and electronic device and storage medium

By sending multiple laser pulse signals with different output voltages to the target object, receiving and processing the reflected signals, and directly determining the optimal output voltage of the laser using a preset correspondence, the problems of low efficiency and large error in the existing technology are solved, and efficient and accurate laser voltage control is achieved.

WO2026152535A1PCT designated stage Publication Date: 2026-07-23HANGZHOU LONGSHUO TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HANGZHOU LONGSHUO TECHNOLOGY CO LTD
Filing Date
2025-03-05
Publication Date
2026-07-23

AI Technical Summary

Technical Problem

In existing technologies, determining the output voltage of a laser is inefficient, requiring multiple trials and adjustments, which leads to excessive time consumption and errors.

Method used

By sending multiple laser pulse signals with different output voltages to the target object, receiving and processing the reflected signals, and directly determining the optimal output voltage using a preset correspondence, including superposition processing and target pulse signal analysis.

Benefits of technology

This improves the efficiency and accuracy of output voltage determination, reduces errors caused by multiple trials and adjustments, and ensures the accuracy and stability of laser ranging and processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025080634_23072026_PF_FP_ABST
    Figure CN2025080634_23072026_PF_FP_ABST
Patent Text Reader

Abstract

A method and apparatus for determining an output voltage, and an electronic device and a storage medium, which relate to the technical field of lasers. The method comprises: transmitting a plurality of emitted laser pulse signals to a target object, wherein the plurality of emitted laser pulse signals are each generated on the basis of different output voltages (S101); receiving a plurality of reflected laser pulse signals reflected by the target object, wherein the plurality of reflected laser pulse signals respectively correspond to the plurality of emitted laser pulse signals (S102); processing the plurality of reflected laser pulse signals to acquire a target pulse signal (S103); on the basis of the target pulse signal, determining a target distance value corresponding to a target pulse peak value (S104); and on the basis of a preset correspondence, determining a target output voltage corresponding to the target distance value (S105). The method and apparatus can improve the efficiency of determining an output voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Methods, devices, electronic equipment, and storage media for determining output voltage Technical Field

[0001] This application relates to the field of laser technology, specifically to a method, apparatus, electronic device, and storage medium for determining output voltage. Background Technology

[0002] Currently, laser technology has been widely applied in industrial production and scientific research, such as laser processing and laser ranging. With the increasing demands for quality and efficiency in laser processing, precisely controlling the laser output has become a pressing issue. The working principle of a laser means its output is directly affected by the power supply; therefore, fine-tuning the laser power supply is crucial for ensuring laser processing quality. In laser ranging, close-range measurements can easily lead to excessive laser energy, necessitating output voltage adjustment. Most current methods employ feedback regulation, which involves testing different output voltages multiple times. For example, a target voltage or power value is set, the laser is activated, and the system detects the actual output power or the intensity of the received reflected laser signal, comparing it to the target value. If a deviation exists, the system adjusts the power supply output voltage to try and reduce this deviation. However, these methods require multiple laser ignitions and waiting to determine the target voltage, resulting in high time consumption and low efficiency in determining the output voltage. Summary of the Invention

[0003] To address the aforementioned technical problems, this application provides a method, apparatus, electronic device, and storage medium for determining the output voltage.

[0004] In a first aspect, this application provides a method for determining output voltage, applied in a laser device, comprising: emitting a plurality of emitted laser pulse signals to a target object, wherein each of the plurality of emitted laser pulse signals is generated based on a different output voltage; receiving a plurality of reflected laser pulse signals reflected back from the target object, wherein each of the plurality of reflected laser pulse signals corresponds to one of the plurality of emitted laser pulse signals; processing the plurality of reflected laser pulse signals to obtain a target pulse signal; determining a target distance value corresponding to the peak value of the target pulse based on the target pulse signal; and determining a target output voltage corresponding to the target distance value based on a preset correspondence.

[0005] By adopting the technical scheme, a plurality of emitted laser pulse signals based on different output voltages are sent to the target object, and the reflected laser pulse signals reflected from the target object are received. Then, the reflected laser pulse signals are processed to obtain a target pulse signal, and the target distance value is determined according to the peak value of the target pulse signal. Finally, the target output voltage corresponding to the target distance value is determined by using the preset corresponding relationship. In this way, the output voltage of the laser device can be determined, and the cumbersome process of trying and adjusting the output voltage multiple times in the related art is avoided. Instead, a plurality of laser pulses at different voltages are sent at one time, and the optimal output voltage is directly determined by analyzing the reflected signals. This method not only improves the efficiency, but also reduces the errors and uncertainties caused by multiple attempts and adjustments.

[0006] Optionally, the plurality of reflected laser pulse signals are processed to obtain the target pulse signal, including: superimposing the plurality of reflected laser pulse signals to obtain the target pulse signal.

[0007] By adopting the technical scheme, the plurality of reflected laser pulse signals are superimposed to obtain the target pulse signal. The superimposition processing can enhance the intensity of the target pulse signal, and at the same time, suppress the influence of noise and interference signals to a certain extent. Specifically, the target pulse signal is reflected from the same target, so it has similar waveforms and characteristics in the plurality of pulse signals. By superimposition processing, these similar signal components can be enhanced. Noise and interference signals are random and unrelated, so their intensity is offset or weakened to a certain extent during the superimposition process. That is, the intensity of the target pulse signal is enhanced, and the noise and interference are suppressed.

[0008] Optionally, the target distance value corresponding to the target pulse peak value is determined according to the target pulse signal, including: determining the target pulse peak value from the target pulse signal, wherein the target pulse peak value is used to represent the maximum signal amplitude value in the target pulse signal; determining the target flight time corresponding to the target pulse peak value; and obtaining the target distance value according to the target flight time.

[0009] By adopting the technical solution, the value of the signal amplitude maximum in the target pulse signal is identified, that is, the target pulse peak value, which ensures that the strongest and most reliable part of the reflected laser pulse signal is selected. Then, the time of flight corresponding to the target pulse peak value is determined, that is, the time experienced by the pulse from emission to reflection by the target object and back to reception. Once the target time of flight is determined, the target distance value can be accurately calculated. That is, by identifying the target pulse peak value to calculate the distance, the influence of noise and interference can be minimized, and the accuracy of the measurement result can be improved. The technical solution can quickly and accurately determine the target pulse peak value from the target pulse signal, and further obtain the corresponding target time of flight, so as to calculate the target distance value, thereby improving the speed and accuracy of the output voltage determination.

[0010] Optionally, the target output voltage corresponding to the target distance value is determined according to the preset correspondence relationship, including: establishing a preset correspondence relationship, wherein the preset correspondence relationship is used to represent the correspondence relationship between the measured distance and the output voltage; determining the output voltage corresponding to the target distance value in the preset correspondence relationship as the target output voltage.

[0011] By adopting the technical solution, the target output voltage corresponding to the target distance value can be quickly determined by establishing the preset correspondence relationship, avoiding the time consumption problem of multiple laser emissions and waiting in the traditional feedback regulation mode, reducing the number of laser emissions and waiting for judgment, and significantly improving the efficiency of output voltage determination.

[0012] Optionally, the preset correspondence relationship is established, including: obtaining a plurality of sets of historical measurement data, wherein each set of historical measurement data includes data of different measured distances and data of corresponding output voltages; and constructing a target function based on the plurality of sets of historical measurement data, wherein the target function represents a function between the output voltage and the measured distance.

[0013] By adopting the technical solution, by obtaining a plurality of sets of historical measurement data and constructing a target function based on the data, the relationship between the output voltage and the measured distance is more clear and accurate, and the preset correspondence relationship can be quickly and accurately established, thereby improving the accuracy and speed of output voltage determination.

[0014] Optionally, the target output voltage corresponding to the target distance value is determined according to the preset correspondence relationship, including: determining a target distance interval to which the target distance value belongs; and determining the target output voltage corresponding to the target distance interval according to the preset correspondence relationship, wherein the preset correspondence relationship includes a correspondence relationship between a plurality of measured distance intervals and output voltages.

[0015] By adopting the above technical solution, the target distance range to which the target distance value belongs is first determined, and then the output voltage corresponding to that target distance range is determined according to the preset correspondence. By dividing the entire measurement distance range into multiple ranges and pre-determining the corresponding output voltage value for each range, the lookup time can be greatly reduced. When it is necessary to determine the target output voltage, it is only necessary to find the range to which the target distance value belongs, and then directly read the output voltage value of that range, without having to traverse the entire preset correspondence table.

[0016] Optionally, multiple reflected laser pulse signals are processed to obtain a target pulse signal, including: generating a target histogram based on the multiple reflected laser pulse signals, wherein the target histogram is used to represent the photon count corresponding to different flight times, and the target pulse signal is represented by the target histogram; determining the target distance value corresponding to the peak value of the target pulse based on the target pulse signal, including: determining the target flight time corresponding to the maximum photon count based on the target histogram; and determining the target distance value based on the target flight time.

[0017] By adopting the above technical solution, by generating a target histogram from multiple reflected laser pulse signals, and using the target histogram to represent the photon count corresponding to different flight times, the target pulse peak can be determined more accurately, thereby improving the accuracy of the target flight time and target distance values, and ultimately making the determination of the target output voltage more accurate.

[0018] In a second aspect of this application, an output voltage determination device is also provided, located in a laser device, comprising: a transmitting module for emitting a plurality of emitted laser pulse signals to a target object, wherein each of the plurality of emitted laser pulse signals is generated according to a different output voltage; a receiving module for receiving a plurality of reflected laser pulse signals reflected back by the target object, wherein each of the plurality of reflected laser pulse signals corresponds to one of the plurality of emitted laser pulse signals; a processing module for processing the plurality of reflected laser pulse signals to obtain a target pulse signal; a first determining module for determining a target distance value corresponding to the peak value of the target pulse based on the target pulse signal; and a second determining module for determining a target output voltage corresponding to the target distance value according to a preset correspondence.

[0019] In a third aspect of this application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the program to implement the method steps of any of the above claims.

[0020] In a fourth aspect of this application, a computer-readable storage medium is also provided, which stores instructions that, when executed, perform the method steps of any of the above claims.

[0021] In summary, one or more technical solutions provided in this application have at least the following technical effects or advantages:

[0022] 1. By emitting multiple laser pulses at different voltages at once and directly determining the optimal output voltage through analysis of the reflected signals, the tedious process of repeatedly trying and adjusting the output voltage required in related technologies is avoided. This method improves efficiency and reduces the errors and uncertainties that may be caused by repeated attempts and adjustments.

[0023] 2. It can quickly and accurately determine the target pulse peak from the target pulse signal and further obtain the corresponding target flight time, thereby calculating the target distance value, which improves the speed and accuracy of output voltage determination;

[0024] 3. By utilizing multiple sets of historical measurement data to construct the objective function, the relationship between the output voltage and the measurement distance becomes clearer and more accurate, enabling the rapid and accurate establishment of a preset correspondence, thereby improving the accuracy and speed of output voltage determination. Attached Figure Description

[0025] Figure 1 is a flowchart of a method for determining output voltage provided in an embodiment of this application;

[0026] Figure 2 is a schematic diagram of the received signal corresponding to the lower limit voltage provided in the embodiment of this application;

[0027] Figure 3 is a schematic diagram of the received signal corresponding to the preset voltage provided in the embodiment of this application;

[0028] Figure 4 is a schematic diagram of the received signal corresponding to the upper limit voltage provided in the embodiment of this application;

[0029] Figure 5 is a schematic diagram of the received signal after superposition provided in an embodiment of this application;

[0030] Figure 6 is a structural block diagram of an output voltage determination device provided in an embodiment of this application;

[0031] Figure 7 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application.

[0032] Explanation of reference numerals in the attached figures: 700 - Electronic device; 701 - Processor; 702 - Communication bus; 703 - User interface; 704 - Network interface; 705 - Memory. Detailed Implementation

[0033] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0034] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.

[0035] In the description of the embodiments of this application, the term "multiple" means two or more. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0036] The embodiments of this application will be described below with reference to Figures 1-7.

[0037] This application provides a method for determining output voltage, applied in laser equipment. Referring to Figure 1, Figure 1 is a flowchart of a method for determining output voltage according to an embodiment of this application, including the following steps:

[0038] Step S101: Send multiple laser pulse signals to the target object, wherein each of the multiple laser pulse signals is generated according to a different output voltage;

[0039] Step S102: Receive multiple reflected laser pulse signals reflected back from the target object, wherein each of the multiple reflected laser pulse signals corresponds to one of the multiple emitted laser pulse signals;

[0040] Step S103: Process the multiple reflected laser pulse signals to obtain the target pulse signal;

[0041] Step S104: Determine the target distance value corresponding to the peak value of the target pulse based on the target pulse signal;

[0042] Step S105: Determine the target output voltage corresponding to the target distance value according to the preset correspondence.

[0043] Through the above steps, multiple emitted laser pulse signals based on different output voltages are emitted towards the target object, and the reflected laser pulse signals are received. These reflected laser pulse signals are then processed to obtain the target pulse signal, and the target distance is determined based on the peak value of this target pulse signal. Finally, a preset correspondence is used to determine the target output voltage corresponding to the target distance value. In other words, by processing these reflected laser pulse signals, the target distance value corresponding to the target pulse peak can be directly found, and the target output voltage matching the target distance value can be quickly determined according to the preset correspondence. This method determines the output voltage of the laser device, avoiding the tedious process of multiple trials and adjustments required in related technologies. Instead, it directly determines the optimal output voltage by emitting multiple laser pulses at different voltages at once and analyzing the reflected signals. This method not only improves efficiency but also reduces the errors and uncertainties that may arise from multiple trials and adjustments.

[0044] In laser ranging and processing, due to the instability of laser energy, precise control of the laser's output voltage is necessary to ensure measurement accuracy and processing quality. Before measuring the distance to an object, the actual distance to the object being measured (such as the target object mentioned above) is usually unknown, and therefore the appropriate voltage output to the laser device is also unclear. Current technologies involve testing with different output voltages multiple times and judging their accuracy based on the results. For example, trying 10V, 9V, 8V, or 10V, 5V, 7.5V, etc. This requires multiple laser firings and waiting for the target voltage to be determined, resulting in long processing times and low efficiency.

[0045] In practical applications, by simultaneously emitting multiple sets of laser pulses at different voltages and rapidly analyzing the reflected signals, the optimal output voltage can be quickly determined, significantly improving efficiency. Precise adjustment of the output voltage ensures that the laser energy is moderate during processing, preventing both insufficient energy from affecting processing quality and excessive energy from damaging the target object or creating safety hazards. This method is not only applicable to laser ranging but can also be widely used in various industrial production and scientific research fields requiring precise laser output control. By testing multiple voltage levels simultaneously, instead of relying on successive approximations, the number of laser emission and waiting judgment steps is reduced, significantly improving the efficiency of output voltage determination. Precise measurement and processing of reflected signals allows for more accurate determination of the required output voltage, thereby improving the quality and efficiency of laser processing. Rapid and accurate determination of the output voltage ensures that the laser equipment outputs stable and appropriate laser energy during laser processing and ranging. In laser processing, this contributes to improved processing quality and efficiency; in laser ranging, it enables more accurate measurement of target objects at different distances while avoiding excessive laser energy at close range.

[0046] In an optional embodiment, processing multiple reflected laser pulse signals to obtain a target pulse signal includes: superimposing multiple reflected laser pulse signals to obtain the target pulse signal.

[0047] In the above embodiments, multiple reflected laser pulse signals are superimposed to obtain the target pulse signal. This superposition process enhances the intensity of the target pulse signal while suppressing the influence of noise and interference signals to a certain extent. Specifically, since the target pulse signal originates from reflections of the same target, it exhibits similar waveforms and characteristics across multiple pulse signals. Superposition enhances these similar signal components. Furthermore, noise and interference signals, being random and uncorrelated, are partially canceled out or weakened during the superposition process. In other words, the intensity of the target pulse signal is enhanced, while noise and interference are suppressed.

[0048] In practical applications, laser pulses emitted by lidar or similar devices are reflected back upon encountering a target, forming reflected laser pulse signals. However, due to environmental noise, multiple reflections, and equipment errors, the received reflected laser pulse signals often contain multiple signal components. Furthermore, when emitting multiple laser pulses with different output voltages, individual reflected signals may not be strong or clear enough due to environmental noise or other factors, making it difficult to directly extract useful information. Superposition processing can enhance the signal-to-noise ratio of the effective signal, making it easier to identify and analyze. The superimposed target pulse signal can more accurately reflect the distance information of the target object, resulting in a more precise output voltage and improving the quality and efficiency of laser processing or laser ranging.

[0049] In an optional embodiment, determining the target distance value corresponding to the target pulse peak value based on the target pulse signal includes: determining the target pulse peak value from the target pulse signal, wherein the target pulse peak value is used to represent the value with the largest signal amplitude in the target pulse signal; determining the target flight time corresponding to the target pulse peak value; and obtaining the target distance value based on the target flight time.

[0050] In the above embodiment, the step of identifying the value with the largest signal amplitude from the target pulse signal, i.e., the target pulse peak value, ensures that the strongest and most reliable part of the reflected laser pulse signal is selected. Next, the flight time corresponding to the target pulse peak value is determined, i.e., the time it takes for the pulse to travel from emission to being reflected back by the target object and received. Finally, based on the flight time and the known pulse propagation speed (such as the speed of light), the target distance is calculated using the formula distance = speed × time. In lidar, sonar, or other pulse signal-based ranging technologies, the target pulse peak value typically represents the strongest part of the received reflected signal from the target. It is directly related to the flight time of the pulse from emission to reception, and thus the distance between the target and the emission source can be calculated. By accurately identifying the pulse peak value with the largest signal amplitude, the round-trip flight time of the laser signal between the target object and the laser device can be determined more reliably. Since there is a direct proportional relationship between flight time and distance (considering that the speed of light is constant), once the target flight time is determined, the target distance can be calculated accurately. In other words, calculating distance by identifying the target pulse peak can minimize the impact of noise and interference, thus improving the accuracy of measurement results. The target pulse peak is usually the most prominent feature of the reflected signal, therefore this method has high reliability in various environments. This method is not only applicable to lidar but can also be applied to other pulse signal-based ranging technologies, such as sonar and ultrasonic ranging. This embodiment can quickly and accurately determine the target pulse peak from the target pulse signal and further obtain the corresponding target flight time, thereby calculating the target distance value, improving the speed and accuracy of output voltage determination.

[0051] In an optional embodiment, determining the target output voltage corresponding to the target distance value according to a preset correspondence includes: establishing a preset correspondence, wherein the preset correspondence is used to represent the correspondence between the measured distance and the output voltage; and determining the output voltage corresponding to the target distance value in the preset correspondence as the target output voltage.

[0052] In the above embodiments, by establishing a preset correspondence, the target output voltage corresponding to the target distance value can be quickly determined, avoiding the time consumption problem of multiple laser emission and waiting in traditional feedback adjustment methods. This reduces the number of laser emission and waiting judgments, significantly improving the efficiency of output voltage determination. By establishing a preset correspondence, the output voltage value corresponding to the target distance value can be accurately found. This correspondence can be based on historical experimental data, theoretical calculations, or equipment characteristics, thereby improving the efficiency of output voltage determination. The preset correspondence can be adjusted according to the needs of specific application scenarios. For example, different correspondences can be set in different measurement ranges to adapt to different accuracy requirements. Furthermore, as equipment characteristics change (such as aging, temperature changes, etc.), the preset correspondence can be updated to maintain conversion accuracy. Through a pre-established correspondence table between measurement distance and output voltage, the corresponding optimal output voltage can be found immediately after the target distance value is determined. This method not only greatly simplifies the operation process and improves efficiency but also ensures that the most suitable output voltage is used for each measurement, thereby improving the stability of the laser equipment and the accuracy of the measurement results.

[0053] In an optional embodiment, establishing a preset correspondence includes: acquiring multiple sets of historical measurement data, wherein each set of historical measurement data includes data on different measurement distances and corresponding output voltage data; and constructing an objective function based on the multiple sets of historical measurement data, wherein the objective function represents a function relating the output voltage and the measurement distance.

[0054] In the above embodiments, by acquiring multiple sets of historical measurement data and constructing an objective function based on these data, the relationship between output voltage and measurement distance becomes clearer and more accurate. This allows for the rapid and accurate establishment of a preset correspondence, thereby improving the accuracy and speed of output voltage determination. In practical applications, due to various factors such as equipment characteristics and environmental conditions, the relationship between output voltage and measurement distance may also be non-linear. By acquiring multiple sets of historical measurement data and constructing an objective function based on these data, the non-linear relationship between output voltage and measurement distance can be described more accurately. This method reflects the actual situation better than simple linear fitting or empirical formulas, thus improving the accuracy of the conversion. Since the objective function is constructed based on historical measurement data, it can automatically adapt to changes in equipment characteristics, environmental factors, and other conditions. This embodiment, by acquiring a large amount of historical measurement data and constructing an objective function based on this data, can achieve a more accurate correspondence between output voltage and measurement distance. This method utilizes data accumulation from actual operation; through data analysis and modeling, it can more scientifically reflect the optimal working state of the equipment at different distances. The preset correspondence established in this way can not only improve the working efficiency and accuracy of laser equipment but also reduce errors caused by human factors. Of course, in some situations where the measurement accuracy requirement is not high, a linear fit can be performed based on historical measurement data to obtain a simple linear function relationship between the output voltage and the measurement distance.

[0055] In an optional embodiment, determining the target output voltage corresponding to the target distance value according to a preset correspondence includes: determining the target distance interval to which the target distance value belongs; and determining the target output voltage corresponding to the target distance interval according to the preset correspondence, wherein the preset correspondence includes multiple sets of correspondences between measurement distance intervals and output voltages.

[0056] In the above embodiment, the target distance interval to which the target distance value belongs is first determined, and then the output voltage corresponding to the target distance interval is determined according to a preset correspondence. By dividing the entire measurement distance range into multiple intervals and pre-determining the corresponding output voltage value for each interval, the search time can be greatly reduced. When it is necessary to determine the target output voltage, it is only necessary to find the interval to which the target distance value belongs and then directly read the output voltage value of that interval, without having to traverse the entire preset correspondence table. Since the distance measured in actual applications may be a continuous value, while the output voltage of laser equipment is usually adjusted in a certain step size, a mechanism is needed to convert the continuous distance value into a discrete output voltage adjustment scheme. If the interval division method is not adopted, a large amount of experimental data may be needed to establish a very detailed voltage-distance relationship, which is neither economical nor practical in actual operation. By assigning the target distance value to a preset distance interval and determining the output voltage according to the interval, the output voltage determination process can be simplified. This method can not only reduce the complexity of data processing, but also improve the speed and accuracy of output voltage adjustment. At the same time, by dividing the range, we can better adapt to the performance requirements of laser equipment in different distance measurement ranges and ensure that there is an optimal voltage configuration in each range.

[0057] For example, the output voltage is 10V for a measurement distance of [150m, 200m), 8.5V for a measurement distance of [120m, 150m), and 7V for a measurement distance of [100m, 120m), and so on. It should be noted that this is only an example; in practical applications, the output voltage of different laser devices may differ, and different measurement distance ranges may correspond to different output voltages. In practical applications, the number and range of intervals can be adjusted according to the specific application requirements. For example, when the measurement distance varies greatly or the relationship between the output voltage and the measurement distance is complex, the number of intervals can be increased to improve search accuracy; when the measurement distance varies little or the relationship between the output voltage and the measurement distance is relatively simple, the number of intervals can be reduced to improve search efficiency.

[0058] In an optional embodiment, processing multiple reflected laser pulse signals to obtain a target pulse signal includes: generating a target histogram based on the multiple reflected laser pulse signals, wherein the target histogram is used to represent photon counts corresponding to different flight times, and the target pulse signal is represented by the target histogram; determining the target distance value corresponding to the peak value of the target pulse based on the target pulse signal includes: determining the target flight time corresponding to the maximum photon count based on the target histogram; and determining the target distance value based on the target flight time.

[0059] In the above embodiments, by generating a target histogram from multiple reflected laser pulse signals and using the target histogram to represent the photon count corresponding to different flight times, the target pulse peak can be determined more accurately, thereby improving the accuracy of the target flight time and target distance values, and ultimately making the determination of the target output voltage more precise. The target histogram provides an intuitive visual presentation, making peak detection more accurate. Even in cases of weak signal or high noise, the target pulse peak can be accurately determined by comparing the photon counts at different flight times. Since the target histogram accurately reflects the flight time corresponding to the maximum photon count, the target distance value can be calculated more accurately based on this flight time. In practical applications, the receiver may receive reflected laser pulse signals from multiple targets at different distances, as well as interference signals such as background noise. These signals are mixed together, making it difficult to directly determine the target distance. By generating a target histogram, signals at different flight times can be distinguished, facilitating subsequent processing. Traditional methods may struggle to accurately detect the peak value of reflected laser pulse signals, especially in cases of weak signal or high noise. The target histogram is used to represent the photon count (or intensity of the reflected laser pulse signal) corresponding to different flight times. The distribution of photon counts can be clearly seen through the target histogram, thus more accurately determining the peak value of the target pulse.

[0060] In an optional embodiment, the plurality of emitted laser pulse signals include a first emitted laser pulse signal, a second emitted laser pulse signal, and a third emitted laser pulse signal, which are generated based on a first voltage, a second voltage, and a third voltage, respectively. The plurality of reflected laser pulse signals include a first reflected laser pulse signal, a second reflected laser pulse signal, and a third reflected laser pulse signal. Processing the plurality of reflected laser pulse signals to obtain a target pulse signal includes superimposing the first reflected laser pulse signal, the second reflected laser pulse signal, and the third reflected laser pulse signal to obtain the target pulse signal.

[0061] In the above embodiments, the first voltage can be the lower limit of the output voltage range of the laser device, the second voltage can be the middle value of the output voltage range, and the third voltage can be the upper limit of the output voltage range. For example, assuming that the output voltage range of the laser device is 1-10V, then the first voltage is 1V, the second voltage is 5V (or 7V, or 8V, or others), and the third voltage is 10V. Of course, the first voltage, the second voltage, and the third voltage can all be the middle values ​​of the output voltage range, such as 2V, 5V, and 9V, or others, respectively.

[0062] It should be noted that the embodiments described above are only some embodiments of this application, and not all embodiments. The present application will be described in detail below with reference to specific embodiments.

[0063] This application provides a method for determining laser output voltage, which can quickly determine the output voltage. The method includes the following:

[0064] Laser emission: Multiple voltages are applied to the laser emitting end, thereby achieving laser emission of different powers;

[0065] Laser signal processing: Receive multiple reflected laser signal waveforms and superimpose the corresponding values ​​of the multiple laser signal waveforms. The highest point of the laser signal waveform can be obtained after superposition.

[0066] Determine the target output voltage: Determine the distance information at the highest point of the waveform. The distance information is the distance obtained by laser measurement. Based on the preset correspondence between the measurement distance and the output voltage, the target output voltage is determined.

[0067] Figures 2, 3, and 4 are schematic diagrams of the received signals corresponding to the lower limit voltage, preset voltage, and upper limit voltage, respectively. For example, assuming the output voltage range of the laser device is 1V-10V, the lower limit voltage is 1V, the upper limit voltage is 10V, and the preset voltage is an intermediate value within the output voltage range, such as 5V (or 7V, or other voltages). In Figures 2-4, the horizontal axis represents the flight time, and the vertical axis represents the signal strength. Figure 5 is obtained by superimposing the received signals from Figures 2-4. The flight time corresponding to the highest point (or peak value) after superposition is determined as the target flight time. The distance to the measured object can be calculated based on this target flight time. Then, based on the correspondence between the preset distance and the output voltage, the target output voltage is determined.

[0068] It should be noted that the above explanation only uses three voltages (lower limit voltage, preset voltage, and upper limit voltage) as examples. In practical applications, more lasers corresponding to different voltages can be emitted, and the received laser signals can be processed in the same way as above to determine the distance information corresponding to the highest point (i.e., peak value), and then the target output voltage can be determined.

[0069] The embodiments of this application achieve the effect of improving the efficiency of determining the laser output voltage.

[0070] This application also provides an output voltage determination device located in a laser device, as shown in Figure 6. Figure 6 is a structural block diagram of an output voltage determination device provided in an embodiment of this application. The device includes:

[0071] The transmitting module 601 is used to emit multiple laser pulse signals to a target object, wherein each of the multiple laser pulse signals is generated according to a different output voltage;

[0072] The receiving module 602 is used to receive multiple reflected laser pulse signals reflected back by the target object, wherein each of the multiple reflected laser pulse signals corresponds to one of the multiple emitted laser pulse signals.

[0073] Processing module 603 is used to process multiple reflected laser pulse signals to obtain the target pulse signal;

[0074] The first determining module 604 is used to determine the target distance value corresponding to the peak value of the target pulse based on the target pulse signal;

[0075] The second determining module 605 is used to determine the target output voltage corresponding to the target distance value according to a preset correspondence.

[0076] The aforementioned device enables the rapid and accurate determination of the target output voltage suitable for laser equipment. Specifically, a transmitting module emits multiple transmitted laser pulse signals based on different output voltages to the target object, and a receiving module receives the corresponding reflected laser pulse signals. The target pulse signal is obtained through processing these reflected laser pulse signals, and the target distance is determined based on the pulse peak value in the target pulse signal. Finally, a target output voltage suitable for this target distance value is determined according to a preset correspondence. This device avoids the time consumption problems associated with multiple laser emission and waiting for target voltage determination in traditional feedback regulation methods, significantly improving the efficiency of output voltage determination.

[0077] In an optional embodiment, the processing module 603 includes a superposition unit for superimposing multiple reflected laser pulse signals to obtain a target pulse signal.

[0078] In an optional embodiment, the first determining module 604 includes: a first determining unit, configured to determine a target pulse peak value from the target pulse signal, wherein the target pulse peak value represents the value with the largest signal amplitude in the target pulse signal; a second determining unit, configured to determine the target flight time corresponding to the target pulse peak value; and an obtaining unit, configured to obtain a target distance value based on the target flight time.

[0079] In an optional embodiment, the second determining module 605 includes: an establishing unit for establishing a preset correspondence, wherein the preset correspondence represents the correspondence between the measured distance and the output voltage; and a third determining unit for determining the output voltage corresponding to the target distance value in the preset correspondence as the target output voltage.

[0080] In an optional embodiment, the above-mentioned establishment unit includes: an acquisition subunit, configured to acquire multiple sets of historical measurement data, wherein each set of historical measurement data includes data on different measurement distances and corresponding output voltage data; and a construction subunit, configured to construct an objective function based on the multiple sets of historical measurement data, wherein the objective function represents a function relating the output voltage and the measurement distance.

[0081] In an optional embodiment, the second determining module 605 includes: a fourth determining unit, configured to determine the target distance interval to which the target distance value belongs; and a fifth determining unit, configured to determine the target output voltage corresponding to the target distance interval according to a preset correspondence, wherein the preset correspondence includes multiple sets of correspondences between measurement distance intervals and output voltages.

[0082] In an optional embodiment, the processing module 603 includes: a generation unit, configured to generate a target histogram based on multiple reflected laser pulse signals, wherein the target histogram is used to represent photon counts corresponding to different flight times, and the target pulse signals are represented by the target histogram; the first determining module 604 includes: a sixth determining unit, configured to determine the target flight time corresponding to the maximum photon count based on the target histogram; and a seventh determining unit, configured to determine the target distance value based on the target flight time.

[0083] This application also provides a computer-readable storage medium storing instructions that, when executed, perform the steps of any of the methods described above.

[0084] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0085] This application also discloses an electronic device. As shown in FIG7, FIG7 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. The electronic device 700 may include: at least one processor 701, at least one network interface 704, a user interface 703, a memory 705, and at least one communication bus 702.

[0086] The communication bus 702 is used to enable communication between these components.

[0087] The user interface 703 may include a display screen and a camera. Optionally, the user interface 703 may also include a standard wired interface and a wireless interface.

[0088] The network interface 704 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0089] The processor 701 may include one or more processing cores. The processor 701 connects to various parts of the electronic device (such as a server) using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 705, and by calling data stored in memory 705. Optionally, the processor 701 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 701 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 701 and may be implemented as a separate chip.

[0090] The memory 705 may include random access memory (RAM) or read-only memory. Optionally, the memory 705 may include a non-transitory computer-readable storage medium. The memory 705 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 705 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 705 may also be at least one storage device located remotely from the aforementioned processor 701. Referring to FIG7, the memory 705, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for determining an output voltage.

[0091] In the electronic device 700 shown in Figure 7, the user interface 703 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 701 can be used to call an application program for determining an output voltage stored in the memory 705. When executed by one or more processors 701, the electronic device 700 performs one or more of the methods described in the above embodiments. It should be noted that, for the foregoing method embodiments, for the sake of simplicity, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0093] In the various embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.

[0094] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0095] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0096] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0097] The above description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will be readily apparent to those skilled in the art upon consideration of the disclosure herein.

[0098] This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art that are not described in this disclosure.

Claims

1. A method for determining output voltage, applied in laser equipment, characterized in that, include: Multiple laser pulse signals are emitted toward a target object, wherein each of the multiple laser pulse signals is generated based on a different output voltage; Receive multiple reflected laser pulse signals reflected back by the target object, wherein each of the multiple reflected laser pulse signals corresponds to one of the multiple emitted laser pulse signals; The multiple reflected laser pulse signals are processed to obtain the target pulse signal; The target distance value corresponding to the peak value of the target pulse is determined based on the target pulse signal; The target output voltage corresponding to the target distance value is determined according to a preset correspondence.

2. The method according to claim 1, characterized in that, The multiple reflected laser pulse signals are processed to obtain the target pulse signal, including: The target pulse signal is obtained by superimposing the multiple reflected laser pulse signals.

3. The method according to claim 1, characterized in that, Determining the target distance value corresponding to the peak value of the target pulse based on the target pulse signal includes: The target pulse peak value is determined from the target pulse signal, wherein the target pulse peak value is used to represent the value with the largest signal amplitude in the target pulse signal; Determine the target flight time corresponding to the peak value of the target pulse; The target distance value is obtained based on the target flight time.

4. The method according to claim 1, characterized in that, The target output voltage corresponding to the target distance value is determined according to a preset correspondence, including: Establish the preset correspondence, wherein the preset correspondence is used to represent the correspondence between the measurement distance and the output voltage; The output voltage corresponding to the target distance value in the preset correspondence is determined as the target output voltage.

5. The method according to claim 4, characterized in that, Establishing the preset correspondence includes: Acquire multiple sets of historical measurement data, each set of historical measurement data including data for different measurement distances and corresponding output voltage data; An objective function is constructed based on the multiple sets of historical measurement data, wherein the objective function represents the relationship between the output voltage and the measurement distance.

6. The method according to claim 1, characterized in that, The target output voltage corresponding to the target distance value is determined according to a preset correspondence, including: Determine the target distance interval to which the target distance value belongs; The target output voltage corresponding to the target distance interval is determined according to the preset correspondence, wherein the preset correspondence includes multiple sets of correspondences between measurement distance intervals and output voltages.

7. The method according to claim 1, characterized in that, Processing the plurality of reflected laser pulse signals to obtain a target pulse signal includes: generating a target histogram based on the plurality of reflected laser pulse signals, wherein the target histogram is used to represent the photon count corresponding to different flight times, and the target pulse signal is represented by the target histogram; Determining the target distance value corresponding to the peak value of the target pulse signal based on the target pulse signal includes: determining the target flight time corresponding to the maximum photon count based on the target histogram; and determining the target distance value based on the target flight time.

8. A device for determining output voltage, located in a laser device, characterized in that, include: The transmitting module is used to emit multiple laser pulse signals to a target object, wherein each of the multiple laser pulse signals is generated according to a different output voltage; A receiving module is configured to receive multiple reflected laser pulse signals reflected back by the target object, wherein each of the multiple reflected laser pulse signals corresponds to one of the multiple emitted laser pulse signals; The processing module is used to process the multiple reflected laser pulse signals to obtain the target pulse signal; The first determining module is used to determine the target distance value corresponding to the peak value of the target pulse based on the target pulse signal; The second determining module is used to determine the target output voltage corresponding to the target distance value according to a preset correspondence.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the method as described in any one of claims 1 to 7.