Laser control method, device and system, storage medium and computer program product
By changing the time base of the pulse width and modulating the control signal of the power output range, combined with preset rules and prediction models of historical data, the problem of insufficient output flexibility of traditional lasers is solved, and the laser precise control of different materials and scenarios is achieved. Improves processing accuracy and versatility.
Patent Information
- Application Number
- CN202411234904.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-13
AI Technical Summary
The time-based output mode of traditional lasers is fixed, resulting in insufficient output flexibility and cannot meet the processing needs of different scenarios and materials.
By changing the time base of the pulse width, modulating the control signal in the power output range, dynamically adjusting the output power of the laser, combining preset rules and historical data training prediction models, the laser can achieve precise control of different materials and processing requirements.
It improves the output flexibility and processing accuracy of the laser, meets the power requirements in different scenarios, and enhances the versatility and adaptability of the laser.
Smart Images

Figure CN119134020A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of laser technology, and in particular to a laser control method, a laser control device, a laser control system, a storage medium and a computer program product. Background Art
[0002] At present, the time base output of traditional lasers is usually designed as a fixed mode, that is, the time base output characteristics of the laser are determined during design, and only a single time base output can be selected or two time bases can be enabled for output at the same time during operation. This fixed time base output mode simplifies the operation of the laser to a certain extent, but there are obvious limitations in the flexibility of controlling the laser output. Summary of the invention
[0003] The main purpose of the present application is to provide a laser control method, a laser control device, a laser control system, a storage medium and a computer program product, aiming to solve the technical problem of low flexibility of laser output.
[0004] To achieve the above objectives, the present application proposes a laser control method, which is applied to a laser control system and includes:
[0005] The time base of the pulse width is changed according to a preset rule to obtain a target time base;
[0006] Modulating the power output range of the received pulse signal by means of the target time base to obtain control signals with different power output ranges;
[0007] According to the control signals in different power output ranges, the laser is controlled to perform different processing actions.
[0008] In one embodiment, the laser control component of the laser control system includes a control register and a parameter register, the laser includes at least one laser port, the control register is used to store type parameters for selecting the laser port, and the parameter register is used to store functional parameters of the laser port.
[0009] In one embodiment, after the step of obtaining different power output ranges of the control signal, the following steps are included:
[0010] A general enable signal is output to the laser through the laser control component of the laser control system; when the general enable signal is valid, the control signal of the laser is activated; when the general enable signal is invalid, the control signal of the laser is blocked.
[0011] In one embodiment, after the step of obtaining different power output ranges of the control signal, the following steps are included:
[0012] Monitor the temperature of the laser during warm-up;
[0013] When the temperature of the laser during preheating reaches a preset temperature threshold, a control signal for activating the laser;
[0014] When the temperature of the laser during preheating does not reach the preset temperature threshold, the control signal of the laser is blocked.
[0015] In one embodiment, before the step of performing different control actions according to the different power output ranges, the step includes:
[0016] Using the workload of the laser and the characteristics of the material to be processed as inputs of the prediction model to obtain prediction parameters of the functional parameters;
[0017] Evaluate the prediction parameters of the functional parameters according to the preset scoring rules to obtain a score;
[0018] When the score is greater than or equal to the preset score, the current prediction parameter is determined to be a functional parameter of the laser port of the laser.
[0019] In one embodiment, before the step of using the workload of the laser and the characteristics of the material to be processed as inputs of the prediction model to obtain the prediction parameters of the functional parameters, the following steps are included:
[0020] Obtain the historical workload of the laser, historical processing material characteristics and historical functional parameters of the laser port;
[0021] The prediction model is trained according to the historical workload, the historical processing material characteristics and the historical functional parameters.
[0022] In addition, to achieve the above-mentioned purpose, the present application also proposes a laser control device, the laser control device comprising:
[0023] A processing module, used for changing the time base of the pulse width according to a preset rule to obtain a target time base;
[0024] A modulation module, used to modulate the power output range of the received pulse signal through the target time base to obtain control signals with different power output ranges;
[0025] The execution module is used to control the laser to execute different processing actions according to the control signals of the different power output ranges.
[0026] In addition, to achieve the above-mentioned purpose, the present application also proposes a laser control system, which includes: a laser control component, including a laser with at least one laser port, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the laser control method described above.
[0027] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the laser control method described above are implemented.
[0028] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the laser control method described above are implemented.
[0029] The present application realizes dynamic adjustment of the time base by changing the time base of the pulse width, which enables the laser to flexibly adjust the output power according to real-time needs to meet the power requirements in different scenarios, thereby solving the problem of traditional lasers being designed for single time base output; control signals with different power output ranges enable the laser to perform precise processing actions for different materials or processing requirements, thereby improving the flexibility of laser output. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0032] Figure 1 A schematic diagram of a flow chart of the first embodiment of the laser control method of the present application;
[0033] Figure 2 A schematic diagram of a second embodiment of the laser control method of the present application;
[0034] Figure 3 A brief flowchart diagram of the third embodiment of the laser control method of the present application;
[0035] Figure 4 This is a schematic diagram of the module structure of the laser control device of this application;
[0036] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the laser control method of this application.
[0037] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0038] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0039] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0040] It should be noted that the execution subject of this embodiment may be a laser control system, or a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, a processor, etc. capable of realizing the above functions. The laser control system is taken as an example to illustrate this embodiment and the following embodiments.
[0041] Based on this, the embodiment of the present application provides a laser control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the laser control method of the present application.
[0042] In this embodiment, the laser control method includes steps S10 to S40:
[0043] Step S10, changing the time base of the pulse width according to a preset rule to obtain a target time base;
[0044] It should be noted that pulse width refers to the duration of the laser pulse, and time base refers to the time reference inside the laser used to control and synchronize various operations, which affects the frequency and phase of the laser pulse.
[0045] The preset rule refers to the conditions pre-set in the laser control program to guide the adjustment of the pulse width. By adjusting the time base, the width of the laser pulse signal can be changed, and the pulse signal frequency or phase can be adjusted, thereby affecting the duration of the pulse. The target time base is the time base that can support a specific power output after adjustment, and contains information such as the frequency and phase of the laser pulse.
[0046] Step S20, modulating the power output range of the received pulse signal by the target time base to obtain control signals with different power output ranges;
[0047] It should be noted that in lasers, pulse signals are the key factor in driving the laser and determining the laser power output. By modulating this signal, the laser power can be changed. Under the control of the target time base, the amplitude, width or frequency of the pulse signal is adjusted to change the actual power range of the laser output. Through modulation, the original pulse signal is converted into a control signal that can control the laser output in different power ranges. This means that the laser can be adjusted within a wider power range according to actual processing requirements.
[0048] Exemplarily, the preset rule can be 2 to the power of n (n is 1, 2, 3, 4, 5...). When n is 1, the output power is consistent with the set power. When n is 2, the output power is twice the set power..., thereby modulating the power output range of the pulse signal.
[0049] Step S30, controlling the laser to perform different processing actions according to the control signals of the different power output ranges.
[0050] It should be noted that a laser is a device that can generate laser light, and its principle is based on light amplification by stimulated emission of radiation. Lasers are widely used in communications, medical treatment, military, scientific research, material processing and other fields. It generates high-energy, high-directional and high-monochromatic light beams through specific optical resonators and working materials.
[0051] In laser processing, the power output range determines the effect of the interaction between the laser and the material. Through modulation, a control signal that can control the output of the laser in different power ranges is obtained, where the control signal contains the adjusted time base information and the power output instructions modulated according to the specific processing requirements. Different processing actions, such as cutting, welding, marking, surface treatment, etc., often require lasers of different powers. For example, high-power lasers are suitable for fast cutting of thick materials, while low-power lasers are suitable for fine marking or surface treatment of sensitive materials.
[0052] In one embodiment, the laser control method is applied to a laser control system, comprising:
[0053] The parameters of the laser are set by the laser control component to obtain the parameters after the laser is set;
[0054] According to the set parameters, a pulse signal is sent to the laser power supply;
[0055] By changing the time base of the pulse width according to a preset rule, the power output range of the received pulse signal is modulated to obtain control signals with different power output ranges;
[0056] According to the control signals in different power output ranges, the laser is controlled to perform different processing actions.
[0057] In one embodiment, the laser control component of the laser control system includes a control register and a parameter register, the laser includes at least one laser port, the control register is used to store type parameters for selecting the laser port, and the parameter register is used to store functional parameters of the laser port.
[0058] It should be noted that the laser control system is a system used to control the working state and output characteristics of the laser. The control component is the core component of the laser control system and directly controls the laser. The control register is used to store the selection parameters for controlling the laser port type. The parameter register is used to store parameters related to the laser port function, such as power level, pulse frequency, pulse width, etc. These parameters directly determine the actual output behavior of the laser.
[0059] In one embodiment, there is a one-to-many control relationship between the laser control component and the lasers, and one laser control component controls one or more identical or different lasers.
[0060] In one embodiment, the step of setting the parameters of the laser by the laser control component to obtain the preset parameters of the laser includes:
[0061] Setting the type parameter of the laser through the control register to obtain the type parameter;
[0062] The function parameters of the laser are set through the parameter register to obtain the function parameters, wherein the type of the laser is determined according to the type parameter; after the function parameters are set according to the type of the laser, an output signal is sent to the laser power supply through the clock signal.
[0063] It should be noted that the type parameter stored in the control register determines the type of the laser. For example, if the type parameter is 1, the laser is a carbon dioxide laser; if the type parameter is 2, the laser is a fiber laser.
[0064] In this embodiment, through the coordinated operation of the control register and the parameter register, the laser control system can flexibly and accurately control the output characteristics of the laser to meet the needs of different application scenarios, which not only improves the versatility and adaptability of the laser, but also ensures the accuracy and efficiency of laser processing.
[0065] This embodiment achieves dynamic adjustment of the time base by changing the time base of the pulse width, which enables the laser to flexibly adjust the output power according to real-time needs to meet the power requirements in different scenarios, thereby solving the problem of traditional lasers being designed for single time base output; control signals with different power output ranges enable the laser to perform precise processing actions for different materials or processing requirements, thereby improving the flexibility of laser output.
[0066] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2After step S20, the laser control method includes: outputting a general enable signal to the laser through the laser control component of the laser control system; wherein, when the general enable signal is valid, activating the control signal of the laser; and when the general enable signal is invalid, blocking the control signal of the laser.
[0067] It should be noted that the general enable signal is a key control signal in the laser control system, which is used to globally control the start and stop of the laser. Only when the general enable signal is valid (usually high or low, depending on the specific circuit design), the laser can receive the activation control signal and start working. The general enable signal is usually tightly integrated with the safety system, user interface and external control logic to ensure that the laser works under safe conditions.
[0068] When the general enable signal is valid and the system meets all startup conditions, the general enable signal will trigger the normal working process of the laser.
[0069] When the general enable signal is invalid, the laser control unit will block the control signal that activates the laser. This means that regardless of other conditions, the laser will stop working and enter a safe state to prevent accidental laser emission.
[0070] In one embodiment, after step S20, the laser control method further includes steps D10 to D30:
[0071] Step D10, monitoring the temperature of the laser during preheating;
[0072] It should be noted that sensors, controllers or special monitoring software are used to collect and analyze the temperature of the laser during preheating; preheating is an important process before the laser is started, the purpose of which is to make the optical and electronic components inside the laser reach a stable operating temperature. Preheating can avoid unstable performance caused by temperature differences, reduce the damage to components caused by thermal stress, and ensure the stability of the laser's output power and beam quality. When the laser is in the preheating state, the laser will not emit light and is in a critical state.
[0073] Step D20, when the temperature of the laser during preheating reaches a preset temperature threshold, activating a control signal of the laser;
[0074] It should be noted that the preset temperature threshold is a target temperature point set during the laser preheating process. Once the internal temperature of the laser reaches or exceeds this threshold, the preheating process is considered complete and the laser can enter the working state. When the laser is preheated to the preset temperature threshold, the laser control system activates the control signal of the laser, indicating that the laser can start normal operation. Exemplarily, when the laser is preheated to the preset temperature threshold, the pulse width increases, and the laser immediately emits a laser to process the material to be processed.
[0075] Step D30: When the temperature of the laser during preheating does not reach a preset temperature threshold, the control signal of the laser is blocked.
[0076] It should be noted that when the temperature of the laser during preheating does not reach the preset temperature threshold, the laser control system will block the control signal of the laser. This means that the laser will not receive the activation instruction and therefore cannot start normal operation.
[0077] In this embodiment, by monitoring the temperature of the laser during preheating, after the laser is preheated to a preset temperature threshold, the control signal is activated to ensure that the laser starts in the best state; the laser is stopped by blocking the control signal. This process helps to improve the stability of the laser output and is also an important safety measure in the design of laser control systems.
[0078] In one embodiment, the temperature of the laser during preheating is monitored; and the total enable signal of the laser is controlled by the laser control component of the laser control system; wherein, when the total enable signal is valid and the temperature of the laser during preheating reaches a preset temperature threshold, the control signal of the laser is activated; and when the total enable signal is invalid or the temperature of the laser during preheating reaches a preset temperature threshold, the control signal of the laser is blocked.
[0079] It should be noted that the control signal for activating the laser can be based on the fact that the total enable signal is valid and the temperature during preheating reaches the preset temperature threshold. Only when these two conditions are met can the laser work normally; when the total enable signal is invalid or the temperature during preheating does not reach the preset temperature threshold, the laser stops working.
[0080] In this embodiment, the general enable signal is the key to safety control, ensuring that the laser is allowed to work only when the system is ready and all safety conditions are met, effectively avoiding safety accidents caused by operating errors or system failures. The setting of the preheating temperature threshold avoids damage to the internal components of the laser or unstable performance caused by cold start, ensuring the long-term stable operation and service life of the laser.
[0081] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated later. Figure 4 Before step S30, the laser control method includes steps E10 to E30:
[0082] Step E10, using the workload of the laser and the characteristics of the material to be processed as inputs of the prediction model to obtain prediction parameters of the functional parameters;
[0083] It should be noted that the workload of the laser refers to the load that the laser bears during the processing. The characteristics of the material to be processed include the type of material, thickness, surface treatment, thermal conductivity, absorptivity, etc. These characteristics are crucial to the effect of laser processing, and different material characteristics may require different laser parameters.
[0084] A prediction model is a model based on historical data and theory, which is used to predict parameter values in unknown situations. In the field of laser processing, the prediction model can be a model based on machine learning algorithms, physical models, or a combination of both, which is used to predict the performance of the laser under given workloads and material properties. The prediction parameters are the output results of the prediction model, which include key functional parameters in laser processing, such as output power, pulse width, pulse, etc.
[0085] Step E20, evaluating the prediction parameters of the functional parameters according to a preset scoring rule to obtain a score;
[0086] It should be noted that the preset scoring rules refer to a set of evaluation criteria that are pre-set when evaluating a certain parameter. These rules can be based on industry standards or statistical analysis of historical data. The preset scoring rules quantify the quality of the prediction parameters of the functional parameters obtained by the prediction model in the form of numerical scores, where the prediction parameters are the expected values of the functional parameters calculated according to the prediction model.
[0087] The score is a quantitative result obtained by evaluating the predicted parameters of the functional parameters according to the preset scoring rules. In the field of laser processing, the score can directly affect the setting of the functional parameters to achieve the best processing effect.
[0088] Step E30, when the score is greater than or equal to a preset score, determining the current prediction parameter as a functional parameter of a laser port of the laser.
[0089] It should be noted that the preset score is a pre-set scoring threshold. Only when the score reaches or exceeds this preset score, the prediction parameters are considered to meet the requirements.
[0090] The laser port of the laser is the output part of the laser, which is responsible for transmitting the laser energy to the processing area in a specific form (such as wavelength, power, spot size, etc.). When the score of the predicted parameters (i.e., the functional parameter values predicted by the model) reaches or exceeds the preset score, these predicted parameters are regarded as functional parameters that meet the requirements of laser processing and can be used as the working parameters of the laser port of the laser during actual operation.
[0091] In one embodiment, before step E10, the laser control method includes steps F10 to F20:
[0092] Step F10, obtaining the historical workload of the laser, the historical processing material characteristics and the historical functional parameters of the laser port;
[0093] It should be noted that the historical workload of a laser refers to the load record of the laser in past work. This includes historical data of parameters such as power, frequency, and duration used by the laser at different times and scenarios. Historical workload data helps to understand the usage patterns and performance changes of the laser.
[0094] Historical processing material characteristics refer to the historical property records of the materials used in the laser processing process, which are important for analyzing the impact of processing effects, predicting the laws of material response to laser processing, and optimizing functional parameters. Historical functional parameters refer to the parameter records of the laser port under different working conditions in the laser processing history, such as power stability, beam quality, focus accuracy, etc.
[0095] Step F20, training a prediction model based on the historical workload, the historical processing material characteristics and the historical functional parameters.
[0096] It should be noted that by using historical workloads, historical processing material characteristics, and historical functional parameters to train the prediction model, a model can be established that can predict the functional parameters of the laser based on current or historical workloads and processing material characteristics.
[0097] In this embodiment, obtaining the historical workload of the laser, the historical processing material characteristics and the historical functional parameters of the laser port can provide rich information for data analysis, model building and performance prediction; thus, the functional parameters of the laser can be predicted based on the historical workload and historical processing material characteristics of the laser, which helps to improve the efficiency of laser processing.
[0098] In this embodiment, the workload of the laser and the characteristics of the material to be processed are used as inputs, the prediction model is used to obtain the prediction parameters, the prediction parameters of the functional parameters are evaluated and scored according to the preset scoring rules, and the scores are compared with the preset scores to determine whether the prediction parameters meet the requirements of laser processing, thereby guiding the setting of laser parameters in the actual processing process. This process can help operators and engineers to make effective parameter adjustments and process optimization before actual processing, thereby improving the efficiency and accuracy of laser processing, reducing trial and error costs, and ensuring high efficiency, high quality and economy of the processing process.
[0099] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the laser control method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0100] This application also provides a laser control device, please refer to Figure 4 , the laser control device comprises:
[0101] The processing module 10 is used to change the time base of the pulse width according to a preset rule to obtain a target time base;
[0102] The modulation module 20 is used to modulate the power output range of the received pulse signal by the target time base to obtain control signals with different power output ranges;
[0103] The execution module 30 is used to control the laser to perform different processing actions according to the control signals of the different power output ranges.
[0104] Optionally, the modulation module 20 is also used to output a general enable signal to the laser through the laser control component of the laser control system; wherein, when the general enable signal is valid, the control signal of the laser is activated; when the general enable signal is invalid, the control signal of the laser is blocked.
[0105] Optionally, the modulation module 20 is also used to monitor the temperature of the laser during preheating;
[0106] When the temperature of the laser during preheating reaches a preset temperature threshold, a control signal for activating the laser;
[0107] When the temperature of the laser during preheating does not reach the preset temperature threshold, the control signal of the laser is blocked.
[0108] Optionally, the execution module 30 is further used to use the workload of the laser and the characteristics of the material to be processed as inputs of the prediction model to obtain prediction parameters of the functional parameters;
[0109] Evaluate the prediction parameters of the functional parameters according to the preset scoring rules to obtain a score;
[0110] When the score is greater than or equal to the preset score, the current prediction parameter is determined to be a functional parameter of the laser port of the laser.
[0111] Optionally, the execution module 30 is further used to obtain the historical workload of the laser, the historical processing material characteristics and the historical functional parameters of the laser port;
[0112] The prediction model is trained according to the historical workload, the historical processing material characteristics and the historical functional parameters.
[0113] The laser control device provided by the present application adopts the laser control method in the above embodiment, which can solve the technical problem of low flexibility of laser output. Compared with the prior art, the beneficial effects of the laser control device provided by the present application are the same as the beneficial effects of the laser control method provided by the above embodiment, and other technical features in the laser control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0114] The present application provides a laser control system, which includes: a laser control component, including a laser with at least one laser port, at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the laser control method in the first embodiment described above.
[0115] Reference below Figure 5 , which shows a schematic diagram of the structure of a laser control system suitable for implementing the embodiment of the present application. The laser control system in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The laser control system shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0116] like Figure 5As shown, the laser control system may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the laser control system are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the laser control system to communicate with other devices wirelessly or by wire to exchange data. Although the laser control system with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0117] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0118] The laser control system provided by the present application adopts the laser control method in the above embodiment, which can solve the technical problem of low flexibility of laser output. Compared with the prior art, the beneficial effects of the laser control system provided by the present application are the same as the beneficial effects of the laser control method provided by the above embodiment, and other technical features in the laser control system are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0119] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0120] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0121] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the laser control method in the above-mentioned embodiment.
[0122] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0123] The computer-readable storage medium may be included in the laser control system; or may exist independently without being assembled into the laser control system.
[0124] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the laser control system, the laser control system: changes the time base of the pulse width according to a preset rule to obtain a target time base; modulates the power output range of the received pulse signal through the target time base to obtain control signals with different power output ranges; and controls the laser to perform different processing actions according to the control signals with different power output ranges.
[0125] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0126] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0127] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0128] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned laser control method, and can solve the technical problem of low flexibility of laser output. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the laser control method provided in the above-mentioned embodiment, and will not be described in detail here.
[0129] The present application also provides a computer program product, including a computer program, which implements the steps of the laser control method as described above when executed by a processor.
[0130] The computer program product provided in this application can solve the technical problem of low flexibility of laser output. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the laser control method provided in the above embodiment, which will not be repeated here.
[0131] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A laser control method, characterized in that: The laser control method is applied to a laser control system, comprising: The time base of the pulse width is changed according to a preset rule to obtain a target time base; Modulating the power output range of the received pulse signal by means of the target time base to obtain control signals with different power output ranges; According to the control signals in different power output ranges, the laser is controlled to perform different processing actions.
2. The laser control method according to claim 1, characterized in that: The laser control component of the laser control system includes a control register and a parameter register. The laser includes at least one laser port. The control register is used to store type parameters for selecting the laser port, and the parameter register is used to store functional parameters of the laser port.
3. The laser control method according to claim 1, characterized in that: After the step of obtaining different power output ranges of the control signal, the method further comprises: A general enable signal is output to the laser through the laser control component of the laser control system; when the general enable signal is valid, the control signal of the laser is activated; when the general enable signal is invalid, the control signal of the laser is blocked.
4. The laser control method according to claim 1, characterized in that: After the step of obtaining different power output ranges of the control signal, the method further comprises: Monitor the temperature of the laser during warm-up; When the temperature of the laser during preheating reaches a preset temperature threshold, a control signal for activating the laser; When the temperature of the laser during preheating does not reach the preset temperature threshold, the control signal of the laser is blocked.
5. The laser control method according to claim 2, characterized in that: Before the step of performing different control actions according to the different power output ranges, the method includes: Using the workload of the laser and the characteristics of the material to be processed as inputs of the prediction model to obtain prediction parameters of the functional parameters; Evaluate the prediction parameters of the functional parameters according to the preset scoring rules to obtain a score; When the score is greater than or equal to the preset score, the current prediction parameter is determined to be a functional parameter of the laser port of the laser.
6. The laser control method according to claim 5, characterized in that: Before the step of using the workload of the laser and the characteristics of the material to be processed as the input of the prediction model to obtain the prediction parameters of the functional parameters, the method includes: Obtain the historical workload of the laser, historical processing material characteristics and historical functional parameters of the laser port; The prediction model is trained according to the historical workload, the historical processing material characteristics and the historical functional parameters.
7. A laser control device, characterized in that: The laser control device comprises: A processing module, used for changing the time base of the pulse width according to a preset rule to obtain a target time base; A modulation module, used to modulate the power output range of the received pulse signal through the target time base to obtain control signals with different power output ranges; The execution module is used to control the laser to execute different processing actions according to the control signals of the different power output ranges.
8. A laser control system, characterized in that: The system comprises: a laser control component, a laser including at least one laser port, a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the laser control method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the laser control method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the laser control method according to any one of claims 1 to 6 are implemented.
