Laser control method, device and system and computing equipment

By dynamically adjusting the frame rate of the laser in the laser scanner and determining the target frame rate based on the duty cycle and quantity, the problem of low scanning efficiency in the prior art is solved, and the stable operation and efficient scanning of the laser are achieved.

CN120262153APending Publication Date: 2025-07-04SCANTECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510308699.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, in order to protect the laser, the frame rate is limited to avoid excessive use, resulting in a decrease in the scanning efficiency of the laser scanner, and it is impossible to improve the scanning efficiency without affecting the performance of the laser.

Method used

By obtaining the laser exposure time, frame period and working state number in the target scanning mode, dynamically adjust the laser frame rate, and determine the target frame rate based on the predicted duty cycle and the number of lasers, ensuring that the frame rate is reduced at high duty cycle to protect the laser, and increasing the frame rate at low duty cycle to improve scanning efficiency.

Benefits of technology

Dynamically adjust the frame rate of the laser under different working conditions, improve scanning efficiency, ensure the stable operation and life of the laser, optimize the scanning process, and improve overall performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120262153A_ABST
    Figure CN120262153A_ABST
Patent Text Reader

Abstract

The invention provides a laser control method and system, and a computing device. The method comprises the following steps: obtaining the exposure duration and frame period of a laser in a target scanning mode and the number of lasers in a working state; determining a predicted duty ratio based on the exposure duration, the frame period and the number of the lasers; if the predicted duty ratio is greater than a preset duty ratio threshold value, determining a target frame rate according to the duty ratio threshold value, the number of the lasers and the exposure duration; and based on the target frame rate, turning on each laser in a round-robin manner. According to the method, the frame rate of the laser can be dynamically adjusted under different working conditions, the scanning task requirement is met, the laser is protected, the scanning efficiency is improved, stable operation and service life of the laser are ensured, the scanning process is optimized, and the overall performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of laser scanning, and in particular, to a control method, system, and computing device for a laser. Background Art

[0002] Currently, in a laser scanner, only one or two lasers are lit during a single scan, and the frame rate is limited according to the duty cycle threshold of the laser to protect the laser.

[0003] Since there is a limit on the time the laser is lit within one second (duty cycle threshold), which is an inherent property of physical devices such as lasers. Therefore, in the case of high laser exposure, to protect the laser, the PC will reduce the frame rate of the laser. Although this plays a good role in protecting the device itself, it greatly affects the scanning efficiency of the laser scanner. Therefore, there is an urgent need to propose a control method for the laser that can adaptively adjust the frame rate of the laser without affecting the performance of the laser, and enable the laser scanner to still have a high scanning efficiency on the premise of ensuring that the laser is not damaged. Summary of the Invention

[0004] To solve the deficiencies of the prior art, the purpose of this application is to provide a control method, system, and computing device for a laser. This control method can improve the scanning efficiency, ensure the stable operation of the laser, optimize the scanning process, and enhance the overall performance.

[0005] To achieve the above object, this application adopts the following technical solutions:

[0006] In a first aspect, this application provides a control method for a laser, characterized in that the method includes:

[0007] Obtain the exposure duration, frame period, and the number of lasers in the working state in the target scanning mode;

[0008] Determine the predicted duty cycle based on the exposure duration, frame period, and the number of lasers;

[0009] If the predicted duty cycle is greater than the preset duty cycle threshold, determine the target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration;

[0010] Based on the target frame rate, cycle through and light up each laser.

[0011] In some embodiments, in the process of determining the target frame rate, it includes:

[0012] If the predicted duty cycle is greater than the preset duty cycle threshold, determine the target frame rate based on the ratio of the number of lasers to the exposure duration, and the target frame rate is positively correlated with the number of lasers.

[0013] In some embodiments, the method further includes:

[0014] If the predicted duty cycle is less than the duty cycle threshold, each laser operates at a set frame rate, and the set frame rate is negatively correlated with the frame period of the laser.

[0015] In some embodiments, in the process of determining the target frame rate, the method includes:

[0016] Based on a preset fixed coefficient, determine the product of the number of lasers and the fixed coefficient;

[0017] Determine the target frame rate according to the ratio of the product to the laser line exposure duration, and the target frame rate is less than the set frame rate.

[0018] In some embodiments, in the process of determining the predicted duty cycle, it includes:

[0019] Based on the product of the number of lasers and the frame period, determine the total transmission duration of the lasers;

[0020] Determine the predicted duty cycle according to the ratio between the laser line exposure duration and the total transmission duration.

[0021] In some embodiments, in the process of sequentially lighting each laser, it includes:

[0022] The laser signal generated by each laser scans an area of the target object, and the areas scanned by two adjacent lit lasers have at least partial overlap; the area of the total area of the target object scanned after sequentially lighting a number of lasers is greater than the area of any one area.

[0023] In a second aspect, the present application provides a control device for a laser, and the device includes:

[0024] A receiving module, configured to obtain the exposure duration, frame period, and the number of lasers in the working state of the lasers in the target scanning mode;

[0025] A determining module, configured to determine a predicted duty cycle based on the exposure duration, frame period, and the number of lasers; if the predicted duty cycle is greater than a preset duty cycle threshold, determine the target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration;

[0026] An execution module, configured to sequentially light each laser based on the target frame rate.

[0027] In a third aspect, the present application provides a control system for a laser, and the control system includes a scanner device and a control device for a laser.

[0028] In a fourth aspect, the present application provides a scanner device, and the scanner device includes:

[0029] Scanner main body; several lasers, which are arranged on the scanner main body; a processor, configured to obtain the exposure duration, frame period, and the number of lasers in the working state in a target scanning mode; determine a predicted duty cycle based on the exposure duration, frame period, and the number of lasers; if the predicted duty cycle is greater than a preset duty cycle threshold, determine a target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration; and cyclically turn on each laser based on the target frame rate.

[0030] In a fifth aspect, the present application further provides a computing device, which includes a memory and a processor. The memory is used to store a computer program; when the processor executes the program stored on the memory, it implements the control method of the laser in the first aspect.

[0031] In the above laser control method, determine the number of lasers in the working state in the target scanning mode, and judge whether the predicted duty cycle of these lasers is lower than a preset duty cycle threshold. If the predicted duty cycle is lower than the duty cycle threshold, determine the target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration, and cyclically turn on each laser at the target frame rate. This method dynamically adjusts the frame rate of the laser under different working conditions to meet the requirements of the scanning task and protect the laser. When the duty cycle is lower than the threshold, the laser operates efficiently at the set frame rate; when the duty cycle exceeds the threshold, the frame rate is reduced to reduce the working time of the laser, prevent overheating or damage, improve the scanning efficiency, ensure the stable operation of the laser, optimize the scanning process, and improve the overall performance. Description of the Drawings

[0032] Figure 1 It is a flowchart of the laser control method in the embodiment of the present application;

[0033] Figure 2 It is a flowchart of determining the target frame rate of the laser in the embodiment of the present application;

[0034] Figure 3 It is a flowchart of determining the target frame rate in the embodiment of the present application;

[0035] Figure 4 It is a flowchart of determining the predicted duty cycle in the embodiment of the present application;

[0036] Figure 5 It is a schematic diagram of the laser emitted by a single laser in the embodiment of the present application;

[0037] Figure 6 It is a schematic diagram of the laser emitted by four lasers in the embodiment of the present application;

[0038] Figure 7 It is a diagram of the laser control device in the embodiment of the present application;

[0039] Figure 8 This is the structural diagram of the computing device in the embodiments of the present application. Detailed Embodiments

[0040] To enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the specific embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application.

[0041] The present application provides a method for controlling a laser, as Figure 1 shown, the method includes the following steps:

[0042] Step 101: Obtain the exposure duration, frame period, and the number of lasers in the working state of the laser under the target scanning mode.

[0043] When the laser performs a scanning task, it can calculate the actual number of lasers in the working state, that is, the number of lasers participating in the scanning, according to the selected scanning mode (such as single-line scanning, cross scanning, parallel scanning, etc.).

[0044] Furthermore, in different scanning modes, the number of lasers in the working state will be different. For example, in the single-line scanning mode, only one laser may be in the working state; while in the cross scanning or parallel scanning mode, two or more lasers may work simultaneously.

[0045] Step S102: Determine the predicted duty cycle based on the exposure duration, frame period, and the number of lasers.

[0046] Step S103: Determine the target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration.

[0047] Exemplarily, when the number of lasers in the working state, the exposure duration of the laser, and the frame period are obtained, it is determined whether the predicted duty cycle of the laser is less than a preset duty cycle threshold (the preset duty cycle threshold can be a key index set based on the physical performance of the laser); if so, the laser receives a control signal representing the set frame rate, and uses the set frame rate (the set frame rate is the theoretical frame rate calculated under ideal conditions without considering the duty cycle limit, and the set frame rate can represent the expected scanning speed) as the target frame rate of the laser; if not, the set frame rate is adjusted, and a control signal representing the target frame rate is sent to the laser, and the target frame rate is less than the set frame rate.

[0048] In the embodiments of the present application, the preset duty cycle threshold can be 30%. If the predicted duty cycle is less than 30%, the laser receives a control signal representing the set frame rate and uses the set frame rate as the target frame rate of the laser; if the predicted duty cycle is greater than 30%, the laser receives a control signal representing the target frame rate and uses the target frame rate as the target frame rate of the laser.

[0049] In the case of different laser beams, the current duty cycle can be calculated as shown in the following formula

[0050] For a single laser, dc1 = exposure(ms) / T;

[0051] For two lasers, dc2 = exposure(ms) / (2*T);

[0052] For three lasers, dc3 = exposure(ms) / (3*T);

[0053] For four lasers, dc4 = exposure(ms) / (4*T);

[0054] For N lasers, dcN = exposure(ms) / (N*T).

[0055] Furthermore, the specific frame rate calculation formula can be:

[0056] If(dc1<30%){F = F0;}else{F = 1000*30% / exposure(ms);}

[0057] If(dc2<30%){F = F0;}else{F = 1000*30%*2 / exposure(ms);}

[0058] If(dc3<30%){F = F0;}else{F = 1000*30%*3 / exposure(ms);}

[0059] If(dc4<30%){F = F0;}else{F = 1000*30%*4 / exposure(ms);}

[0060] If(dcN<30%){F = F0;}else{F = 1000*30%*N / exposure(ms);}

[0061] Among them, the frame period is T(ms); the laser duty cycle threshold is 30%; the predicted duty cycle is dc; the laser line exposure duration is exposure(ms); the set frame rate is F0; taking N lasers as an example, the target frame rate is (1000(ms)*30%*N / exposure(ms)); the target frame rate is F. Without considering the theoretical exposure frame rate upper limit of the laser line duty cycle, that is, the set frame rate F0 = 1000 / T. Among them, 1000 represents 1000ms.

[0062] Exemplarily, from the frame rate calculation formula and the laser duty cycle formula, the calculation formula for the adjusted frame rate F can be obtained: F = 300 / (dcN * T).

[0063] If the predicted duty cycle is greater than the duty cycle threshold, that is, dcN is greater than 30%, it can be calculated that F < 1000 / T. Therefore, it can be deduced that if the predicted duty cycle is greater than the duty cycle threshold, the target frame rate is less than the set frame rate.

[0064] Step 104: Light up each laser in a round-robin manner based on the target frame rate.

[0065] During the process of round-robin lighting, each laser is activated in sequence according to the target frame rate.

[0066] In some embodiments, if the scanner device obtains a control signal sent by the terminal, the processor of the scanner device responds to the control signal and sends a drive signal to multiple lasers simultaneously. When the multiple lasers receive the drive signal, they light up in sequence with a certain delay.

[0067] In other embodiments, if the scanner device obtains a control signal sent by the terminal, the processor of the scanner device responds to the control signal and sends drive signals to multiple lasers respectively with a certain delay. The lasers are lit when they receive the drive signal to achieve the effect of round-robin lighting of multiple lasers.

[0068] In the above control method of the laser, the method dynamically adjusts the frame rate of the laser under different working conditions to meet the requirements of the scanning task and protect the laser. When the predicted duty cycle is lower than the duty cycle threshold, the laser operates efficiently at the set frame rate; when the predicted duty cycle is greater than the duty cycle threshold, the frame rate is reduced to reduce the working time of the laser, prevent overheating or damage, improve the scanning efficiency, ensure the stable operation of the laser, optimize the scanning process and improve the overall performance.

[0069] In one embodiment, as Figure 2 shown, in the process of determining the target frame rate, the following steps are included:

[0070] Step 201: In the case where the predicted duty cycle is less than or equal to the preset duty cycle threshold, determine the set frame rate based on the frame period of the laser. The set frame rate is negatively correlated with the frame period of the laser.

[0071] The set frame rate F0 can be determined based on the ratio of the frame periods of the lasers. The set frame rate F0 can be calculated by the following formula:

[0072] F0 = 1000 / T.

[0073] Among them, 1000 represents 1000 ms, that is, 1 s. T is the frame period of the laser, and its unit is ms. When calculating the frame rate using this formula, it is actually calculating the number of frames that can be processed per second.

[0074] From the calculation formula of the set frame rate F0, it can be obtained that the set frame rate F0 is negatively correlated with the frame period T of the laser, that is, the larger the frame period T of the laser, the smaller the set frame rate F0.

[0075] Step 202: When the predicted duty cycle is greater than the preset duty cycle threshold, determine the target frame rate based on the ratio of the number of lasers to the laser line exposure duration of the lasers, and the target frame rate is positively correlated with the number of lasers.

[0076] It should be noted that in a laser scanner, if multiple lasers can work simultaneously, multiple lasers can cover a larger scanning area or provide more scan lines in the same area, that is, the number of scans completed per unit time can be increased. Therefore, when the number of lasers increases, theoretically the target frame rate will also increase accordingly.

[0077] Furthermore, the calculation formula of the target frame rate can be expressed as:

[0078] F = (number of lasers * 1000 (ms) * duty cycle threshold) / laser exposure duration of the lasers.

[0079] This formula can show that if the number of lasers increases, the target frame rate F will increase with the increase in the number of lasers, that is, the target frame rate F is positively correlated with the number of lasers.

[0080] In this embodiment, the set frame rate is determined by the frame period, and the set frame rate is negatively correlated with the data transmission duration. The target frame rate is determined according to the ratio of the number of lasers to the laser line exposure duration, and the target frame rate is positively correlated with the number of lasers. This method enables the laser scanner to flexibly adjust the frame rate under different conditions and optimize the scanning efficiency. The setting of the set frame rate ensures that the lasers can work quickly when the data transmission efficiency is high. The target frame rate improves the scanning efficiency while keeping the laser line exposure duration unchanged.

[0081] In one embodiment, as Figure 3 shown, in the process of determining the target frame rate, the following steps are included:

[0082] Step 301: Based on a preset fixed coefficient, determine the product of the number of lasers and the fixed coefficient;

[0083] It should be noted that the fixed coefficient can be a parameter for adjusting the frame rate. The determination of the fixed coefficient is usually based on the technical specifications of the laser, the specific requirements of the scanning task, and the system's expectation for the scanning quality. In the embodiments of the present application, the fixed coefficient is determined to be 300. For example, according to the set frame rate F0, the number of times a laser is lit within 1000 ms can be known. If the duty cycle threshold of the laser is 30%, then the fixed coefficient = 1000 ms * 30%.

[0084] Further, multiply the number N of lasers by the fixed coefficient 300 to obtain the product 300 * N. Among them, the product of the number N of lasers and the fixed coefficient 300 can be used to calculate the target frame rate.

[0085] Step 302: Determine the target frame rate according to the ratio of the product to the laser line exposure duration, and the target frame rate is less than the set frame rate.

[0086] In this embodiment, the target frame rate can be based on the ratio of the product of the number of lasers and the fixed coefficient 300 * N to the laser line exposure duration exposure.

[0087] The calculation formula of the target frame rate F can be expressed as:

[0088] F = (1000(ms) * 30% * N / exposure(ms)).

[0089] Among them, exposure is the exposure duration of the laser.

[0090] In the case where the predicted duty cycle is greater than the duty cycle threshold, that is, in the case where the predicted duty cycle dcN > 30%. Since the predicted duty cycle dcN = exposure(ms) / (N * T). Adjusting this formula can obtain exposure(ms) = (N * T) * dcN. Substituting exposure(ms) into the calculation formula of the target frame rate F can obtain:

[0091] F = 300 / (dcN * T).

[0092] When dcN > 30%, it is calculated that F < 1000 / T, and it can be deduced that F < F0. That is, when the predicted duty cycle is greater than the duty cycle threshold, the target frame rate is less than the set frame rate, that is, the frame rate starts to decrease.

[0093] In this embodiment, the operating state of the laser is adjusted based on the product of a determined fixed coefficient and the number of lasers. By using the ratio of the product to the exposure duration of the laser line to determine the target frame rate, it can be ensured that when the predicted duty cycle exceeds the preset threshold, the target frame rate will be lower than the set frame rate to protect the laser. This method enables the laser scanner to dynamically adjust the frame rate according to the actual operating state and number of lasers to optimize the scanning efficiency and protect the laser. By introducing a fixed coefficient, the frame rate can be more finely controlled. The dynamic adjustment strategy not only improves the flexibility of the scanning process but also ensures effective protection of the laser under various working conditions, thereby enhancing the overall working efficiency and the performance of the laser scanner.

[0094] In one embodiment, as Figure 4 shown, in the process of determining the predicted duty cycle, the following steps are included:

[0095] Step 401: Determine the total transmission duration of the lasers based on the product of the number of lasers and the frame period.

[0096] When the frame period T remains unchanged, the total transmission duration of the lasers can be determined based on the product of the number of lasers N and the frame period T. Among them, the total transmission duration can refer to the total time required for all lasers to complete data transmission within one laser polling cycle.

[0097] Furthermore, if each laser requires T time to complete the transmission of one frame of data, then N lasers will require N*T time to complete the data transmission within the same laser polling cycle.

[0098] Step 402: Determine the predicted duty cycle according to the ratio between the exposure duration of the laser line and the total transmission duration.

[0099] The predicted duty cycle dcN can be determined by comparing the ratio between the exposure duration of the laser line exposure and the total transmission duration N*T of the lasers. Among them, the exposure duration of the laser line exposure can refer to the time length of the laser emission by the laser during one scan, and the total transmission duration N*T is the total time required for all lasers to complete data transmission within one laser polling cycle.

[0100] The calculation formula for the predicted duty cycle is dcN = exposure(ms) / (N*T), where N is the number of lasers and T is the frame period. This ratio can reflect the proportion of the time of the operating state of the lasers to the entire cycle time within one laser polling cycle, that is, the predicted duty cycle.

[0101] It should be noted that from the calculation formula of the predicted duty cycle, it can be obtained that when the laser exposure duration exposure and the frame period T remain unchanged, the larger the number N of lasers, the smaller the value of dcN. That is, the more lasers there are, the less likely dcN is to exceed the duty cycle threshold, which is equivalent to indirectly increasing the duty cycle threshold. For example, when the predicted duty cycle is proportional to the number of lasers, the predicted duty cycle is less than the product of the duty cycle threshold and the number of lasers, that is, dcN < 30% * N. Or, when the duty cycle threshold remains unchanged, dcN < 30%.

[0102] In this embodiment, the total transmission duration is determined by calculating the product of the number of lasers and the frame period, and the predicted duty cycle is determined by the ratio of the laser line exposure duration to the total transmission duration. This method enables the laser scanner to dynamically calculate the duty cycle according to the number of lasers while the data transmission duration remains unchanged, thereby more precisely controlling the working state of the lasers, which helps to optimize the usage efficiency and lifespan of the lasers while ensuring the scanning quality. By precisely controlling the duty cycle, overheating or damage of the lasers can be prevented, ensuring the stability of the scanning process and the long-term reliability of the lasers.

[0103] In one embodiment, a number of lasers are cyclically lit based on the target frame rate, including:

[0104] The laser signal generated by each laser scans an area of the target object, and the areas scanned by two adjacent lit lasers have at least partial overlap; the total area of the target object scanned after a number of lasers are cyclically lit is larger than the area of any one area.

[0105] The process of cyclically lighting a number of lasers based on the target frame rate, that is, the lasers are activated in a specific order and time interval to scan different areas of the target object. When each laser is lit, it generates a laser signal for scanning a specific area of the target object. Further, to improve the scanning coverage and efficiency, the areas scanned by two adjacent lit lasers can have at least partial overlap. This overlap can ensure that each point of the target object is scanned by at least two lasers during the scanning process, thereby improving the redundancy and accuracy of the data.

[0106] After a number of lasers are cyclically lit, the total area of the target object scanned together is larger than the area of any single laser scanning area. That is, through the cyclic lighting of the lasers and the overlapping scanning of some areas, a more comprehensive and detailed scanning of the target object can be achieved. This method can not only improve the scanning coverage, but also increase the reliability of the scanning data through the overlapping of areas, because the overlapping areas can be used to verify and validate the consistency of the scanning data.

[0107] In addition, by controlling the lighting sequence and time of the laser, the frame rate during the scanning process can be precisely managed to ensure that the scanning process matches the target frame rate. This enables the laser scanner to not only maintain high-efficiency scanning but also adapt to different scanning requirements and conditions, such as scanning speed, data density, and the characteristics of the target object. In this way, the laser scanner can achieve high-quality scanning of the target object while optimizing the scanning efficiency and the use of the laser.

[0108] Furthermore, the schematic diagram of the laser emitted by a single laser is as shown in Figure 5 and the schematic diagram of the laser emitted by four lasers is as shown in Figure 6 . From Figure 5 and Figure 6 , it can be obtained that the more lasers are polled and lit in a single scan cycle, the larger the scanned area, that is, the higher the scanning efficiency.

[0109] In this embodiment, the strategy of dynamically adjusting the frame rate not only improves the scanning performance but also maximizes the output of the scanner without exceeding the safe operating limit of the laser, making the laser scanner more flexible and efficient when processing different scanning tasks while ensuring the stable operation of the laser.

[0110] Based on the same inventive concept, the embodiments of the present application also provide a laser control device. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the laser control device provided below can refer to the limitations on the interface development method for multi-operating system platforms described above, and will not be elaborated here.

[0111] In one embodiment, as shown in Figure 7 , the embodiments of the present application also provide a laser control device, which includes:

[0112] A receiving module 701, configured to obtain the exposure duration, frame period, and the number of lasers in the working state in the target scanning mode.

[0113] A determining module 702, configured to determine a predicted duty cycle based on the exposure duration, frame period, and the number of lasers; if the predicted duty cycle is greater than a preset duty cycle threshold, determine the target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration.

[0114] An execution module 703, configured to sequentially light each laser based on the target frame rate.

[0115] In one embodiment, the determining module 702 is further configured to determine that each laser operates at a set frame rate when the predicted duty cycle is less than the duty cycle threshold, where the set frame rate is negatively correlated with the frame period of the laser.

[0116] In one embodiment, during the process of determining the target frame rate of the laser, the determining module 702 is specifically configured to: when the predicted duty cycle is greater than a preset duty cycle threshold, determine the target frame rate based on the ratio of the number of lasers to the exposure duration, where the target frame rate is positively correlated with the number of lasers.

[0117] In one embodiment, during the process of determining the target frame rate, the determining module 702 is specifically configured to: determine the product of the number of lasers and a preset fixed coefficient; determine the target frame rate according to the ratio of the product to the laser line exposure duration, where the target frame rate is less than the set frame rate.

[0118] In one embodiment, during the process of determining the predicted duty cycle, the determining module 702 is specifically configured to: determine the total transmission duration of the lasers based on the product of the number of lasers and the frame period; determine the predicted duty cycle according to the ratio between the laser line exposure duration and the total transmission duration.

[0119] In one embodiment, during the process of sequentially turning on each laser, the execution module 703 is specifically configured to: control the laser signal generated by each laser to scan an area of the target object, so that the areas scanned by two adjacent lasers have at least partial overlap; after a number of lasers are sequentially turned on, the total area of the target object scanned is greater than the area of any one area.

[0120] Based on the same concept, the present application further provides a laser control system, which includes a scanner device and the aforementioned laser control device.

[0121] Based on the same concept, the present application further provides a scanner device, which includes:

[0122] A number of lasers, which are arranged on the scanner main body;

[0123] A processor, configured to obtain the exposure duration, frame period, and the number of lasers in the working state of the lasers in the target scanning mode; determine the predicted duty cycle based on the exposure duration, frame period, and the number of lasers; if the predicted duty cycle is greater than a preset duty cycle threshold, determine the target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration; sequentially turn on each laser based on the target frame rate.

[0124] The laser control system provided by the present application is a comprehensive solution, which includes not only a scanner device but also a laser control device. The scanner device itself is equipped with multiple lasers, and the multiple lasers are integrated in the main body of the scanner and are used to emit laser signals to scan the target object.

[0125] The core of the laser control system is a processor built into the scanner device, which can be responsible for executing a series of complex control tasks. The processor determines the number of lasers in the working state based on the laser signals generated by the scanner device per unit time. The processor calculates the predicted duty cycle of the lasers, which is achieved by considering the exposure duration of the laser lines of the lasers and the data transmission duration of each frame of laser signals. If the calculated predicted duty cycle is less than the preset duty cycle threshold, the processor sets the set frame rate of the lasers to the target frame rate, enabling the lasers to operate with higher efficiency. If the predicted duty cycle is greater than or equal to the threshold, the processor determines an actual frame rate based on the number of lasers and the exposure duration of the laser lines, and sets the actual frame rate as the target frame rate to reduce the working time of the lasers and prevent overheating or damage.

[0126] The processor controls the sequential lighting of the lasers based on the determined target frame rate to ensure the continuity and efficiency of the scanning process. This design enables the scanner device to dynamically adjust the working state of the lasers under different working conditions to achieve optimal scanning performance and laser protection. In this way, the laser control system can improve the scanning efficiency, reduce the scanning time while ensuring the scanning quality, thereby enhancing the overall working efficiency, and at the same time ensuring the long-term stable operation and reliability of the lasers.

[0127] Based on the same concept, the present application also provides a computing device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it is a control method for lasers.

[0128] In one embodiment, a computing device is provided, including a memory and a processor. The computing device can be a terminal, and its internal structural diagram can be as Figure 8 shown. The computing device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computing device is used to provide computing and control capabilities. The memory of the computing device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computing device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a control method for lasers. The display screen of the computing device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computing device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computing device, or an external keyboard, a touchpad, or a mouse, etc.

[0129] Those skilled in the art can understand,Figure 8 The structure shown is only a block diagram of some of the structures related to the solution of this application, and does not constitute a limitation on the computing device to which the solution of this application is applied. The specific computing device may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0130] It should be understood that for those of ordinary skill in the art, improvements or transformations can be made according to the above description, and all such improvements and transformations should fall within the protection scope of the appended claims of this application.

Claims

1. A control method for a laser, characterized in that, The method includes: Obtaining the exposure duration, frame period, and the number of lasers in the working state under the target scanning mode; Determining a predicted duty cycle based on the exposure duration, the frame period, and the number of lasers; If the predicted duty cycle is greater than a preset duty cycle threshold, determining a target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration; Sequentially turning on each of the lasers based on the target frame rate.

2. The method according to claim 1, wherein: In the process of determining the target frame rate, it includes: If the predicted duty cycle is greater than a preset duty cycle threshold, determining the target frame rate based on the ratio of the number of lasers to the exposure duration, and the target frame rate is positively correlated with the number of lasers.

3. The method according to claim 2, wherein: The method further includes: If the predicted duty cycle is less than the duty cycle threshold, each of the lasers operates at a set frame rate, and the set frame rate is negatively correlated with the frame period of the lasers.

4. The method according to claim 3, wherein: In the process of determining the target frame rate, it includes: Determining the product of the number of lasers and a preset fixed coefficient; Determining the target frame rate according to the ratio of the product to the exposure duration of the laser line, and the target frame rate is less than the set frame rate.

5. The method according to claim 1, wherein: In the process of determining the predicted duty cycle, it includes: Determining the total transmission duration of the lasers based on the product of the number of lasers and the frame period; Determining the predicted duty cycle according to the ratio between the exposure duration of the laser line and the total transmission duration.

6. The method according to claim 1, wherein: In the process of sequentially turning on each of the lasers, it includes: The laser signal generated by each of the lasers scans an area of the target object, and the areas scanned by two adjacent lasers that are turned on have at least partial overlap; after several lasers are sequentially turned on, the total area of the target object scanned is greater than the area of any one of the areas.

7. A control device for a laser, characterized in that, The device includes: A receiving module, configured to obtain the exposure duration, frame period, and the number of lasers in the working state under the target scanning mode; A determining module, configured to determine a predicted duty cycle based on the exposure duration, the frame period, and the number of lasers; if the predicted duty cycle is greater than a preset duty cycle threshold, determining a target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration; An execution module, configured to sequentially turn on each of the lasers based on the target frame rate.

8. A control system for a laser, characterized in that, The control system includes a scanner device and a control device according to claim 7.

9. A scanner device, characterized in that, The scanner device includes: A scanner main body; A plurality of lasers, and the lasers are arranged on the scanner main body; A processor is configured to obtain the exposure duration, frame period, and the number of lasers in a working state of a laser under a target scanning mode; determine a predicted duty cycle based on the exposure duration, the frame period, and the number of lasers; if the predicted duty cycle is greater than a preset duty cycle threshold, determine a target frame rate according to the duty cycle threshold, the number of lasers, and the exposure duration; and sequentially turn on each of the lasers based on the target frame rate.

10. A computing device, characterized in that, It includes a memory and a processor. The memory is used to store a computer program. When the processor executes the program stored on the memory, it implements the method steps described in any one of claims 1-6.