Device, method and equipment for adjusting laser focal length lens
By collecting spot data through the detection system, the control system generates adjustment instructions, and the adjustment system drives the lens displacement, the automatic control of the laser focal length lens is realized, which solves the problems of low efficiency and insufficient precision in the existing technology and achieves high-precision and high-efficiency adjustment effects.
Patent Information
- Application Number
- CN202510720887.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-19
AI Technical Summary
The existing method of adjusting the laser focal length lens is inefficient, difficult to achieve high precision and automated linkage, and cannot meet the requirements of industrial automation and precision processing.
The detection system is used to collect the original data of the light spot, the control system generates adjustment instructions, and the adjustment system is used to drive the lens displacement to determine the optimal position and realize automatic control.
The adjustment accuracy and efficiency are improved, automatic linkage is realized, and the lens positioning accuracy and adjustment efficiency are improved.
Smart Images

Figure CN120669377A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of sensors, and in particular relates to a device, method and equipment for adjusting a laser focal length lens. Background Art
[0002] The adjustment of the laser focal length lens is a key link in the performance of the laser system. Adjusting the position of the laser focal length lens to change the shape and size of the light spot is the key to matching the laser energy distribution, range of action and accuracy requirements of different scenarios. For example, the correction sensor requires a rectangular light spot, the laser displacement sensor requires a small point light spot with high energy concentration, and other scenarios may require circular light spots of different sizes. In the existing technology, manual mechanical adjustment is usually used to adjust the laser focal length lens. The horizontal movement or rotation angle of the lens is adjusted by manually operating a mechanical fixture to change the position or spacing of the lens, and the light spot detection equipment is relied upon to provide real-time feedback on the size, shape and energy distribution information of the light spot for the operator to observe and manually correct. However, in high-frequency adjustment or high-precision control scenarios, manual mechanical adjustment is prone to introduce errors, and the adjustment is time-consuming and labor-intensive, inefficient, and difficult to meet the requirements of industrial automation and precision processing. It is inefficient, lacks functional scalability, and cannot achieve automated linkage.
[0003] Therefore, it is necessary to provide a new technical solution to solve the above technical problems. Summary of the Invention
[0004] The technical problem to be solved by the present invention is poor adjustment accuracy, low efficiency, and difficulty in achieving automatic linkage.
[0005] To solve the above technical problems, the present invention provides a device for adjusting a laser focal length lens, the device comprising a detection system, a control system and an adjustment system, the detection system being used to collect the original data of the laser spot and process the original data to output spot status information, the spot status information comprising the size information, shape information and energy distribution information of the spot; the control system being used to generate adjustment instructions using a traversal adjustment algorithm according to the spot status information, the adjustment instructions comprising instruction information of the lens in the horizontal direction, instruction information of the lens in the vertical direction and multi-round step parameter instruction information; the adjustment system being used to adjust the position of the laser focal length lens according to the adjustment instructions to determine the optimal position of the lens.
[0006] Optionally, the detection system includes a light spot detection device and a light spot detection control host computer, the light spot detection device is communicatively connected to the light spot detection control host computer; the light spot detection device is used to collect light spot raw data in real time; the light spot detection control host computer is configured to receive the light spot raw data and process the light spot raw data to output the light spot status information.
[0007] Optionally, the control system includes a motor control host computer and a motor drive control board, and the motor control host computer is communicatively connected to the light spot detection control host computer and the motor drive control board respectively; the motor control host computer is configured to generate the adjustment instruction according to the light spot state information; the motor drive control board is configured to receive the adjustment instruction and convert the adjustment instruction into a drive signal for the adjustment motor.
[0008] Optionally, the adjustment system includes an adjustment motor and an adjustment module, the adjustment module is connected to the adjustment motor, and the adjustment motor is electrically connected to the motor drive control board; the adjustment motor performs multiple rounds of stepping actions according to the drive signal to drive the adjustment module to drive the lens to traverse and search in the horizontal and vertical directions respectively, and determine the optimal position of the lens in the horizontal and vertical directions by iteratively reducing the step distance.
[0009] Optionally, the adjustment module includes a horizontal guide rail and a vertical guide rail that are orthogonal to each other, and the adjustment motor drives the lens to move along the horizontal guide rail and the vertical guide rail respectively through a screw transmission mechanism.
[0010] Optionally, the motor control host computer has a manual adjustment mode and an automatic adjustment mode. When the motor control host computer is in the manual adjustment mode, the motor control host computer is used to receive step parameters input from the outside; when the motor control host computer is in the automatic adjustment mode, the motor control host computer automatically generates the adjustment instruction based on the light spot state information.
[0011] Optionally, the light spot detection device includes a CMOS camera-type light spot analyzer, a scanning slit-type light spot analyzer, or a multi-blade scanning light spot analyzer.
[0012] According to another aspect of the present invention, the present invention also provides a method for adjusting a laser focal length lens, the method including the device for adjusting a laser focal length lens, and further including S1, fixing a laser emitter and a lens on the same optical path axis, and placing a light spot detection device at a laser projection target surface; S2, collecting raw light spot data of the laser in real time through the light spot detection device; S3, a light spot detection control host computer receives the raw light spot data, and processes the raw light spot data through the light spot detection control host computer to output light spot status information, wherein the light spot status information includes size information, shape information, and energy distribution information of the light spot. ; S4, the upper computer is controlled by the motor to generate an adjustment instruction by adopting a traversal adjustment algorithm according to the light spot state information, and the adjustment instruction is converted into a driving signal of the adjustment motor through the motor drive control board, and the driving signal is transmitted to the adjustment motor of the adjustment system, wherein the adjustment instruction includes the instruction information of the lens in the horizontal direction, the instruction information of the lens in the vertical direction and the instruction information of multiple rounds of stepping parameters; S5, the adjustment motor drives the lens to perform multiple rounds of stepping adjustment according to the driving signal to traverse and search for the optimal position combination of the lens in the horizontal direction and the vertical direction to determine the optimal position of the lens.
[0013] Optionally, the traversal adjustment algorithm includes S41, adjusting the lens back and forth between the edge limit positions in a single direction with an initial step distance, and recording the light spot state information at each position; S42, selecting two position intervals with the best light spot state information, and performing secondary traversal adjustment with the reduced step distance; S43, when the single direction is set to the horizontal direction, repeating step S42 until the horizontal preset accuracy threshold is reached to obtain the optimal position in the horizontal direction; when the single direction is set to the vertical direction, executing steps S41 to S42 until the vertical preset accuracy threshold is reached to obtain the optimal position in the vertical direction.
[0014] According to another aspect of the present invention, the present invention also provides an electronic device for adjusting the laser focal length lens, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the program: S1, fixing the laser emitter and the lens on the same optical path axis, and placing the light spot detection device at the laser projection target surface; S2, collecting the laser spot raw data in real time through the light spot detection device; S3, the light spot detection control host computer receives the light spot raw data, and processes the light spot raw data through the light spot detection control host computer to output light spot status information, wherein the light spot status information includes the size of the light spot. S4, using a motor to control the upper computer to generate an adjustment instruction according to the light spot state information by adopting a traversal adjustment algorithm, and converting the adjustment instruction into a driving signal of the adjustment motor through the motor drive control board, and transmitting the driving signal to the adjustment motor of the adjustment system, wherein the adjustment instruction includes instruction information of the lens in the horizontal direction, instruction information of the lens in the vertical direction and multi-round step parameter instruction information; S5, the adjustment motor drives the lens to perform multi-round step adjustment according to the driving signal, so as to traverse and search for the optimal position combination of the lens in the horizontal direction and the vertical direction to determine the optimal position of the lens.
[0015] Beneficial effects: The present invention provides a device for adjusting a laser focal length lens. A detection system collects raw laser spot data and processes the data to output spot status information. The spot status information includes spot size, shape, and energy distribution information. A control system employs a traversal adjustment algorithm based on the spot status information to generate adjustment instructions. The adjustment instructions include horizontal lens instruction information, vertical lens instruction information, and multi-round step parameter instruction information. The adjustment system drives the lens displacement according to the adjustment instructions to adjust the position of the laser focal length lens and determine its optimal position. The detection system collects and preprocesses the raw spot data into spot status information, which is then provided to the control system. Based on the spot status information, the control system generates adjustment instructions containing multi-round step parameters using a step-by-step traversal algorithm in both horizontal and vertical directions. This achieves precise position optimization, replacing manual adjustment based on experience, improving lens positioning accuracy, and forming an automated control chain of detection, analysis, and execution. This improves adjustment accuracy, enhances efficiency, and enables automated linkage. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 A block diagram of a device for adjusting a laser focal length lens provided by an embodiment of the present invention.
[0018] Figure 2 This is a block diagram of a detection system, a control system, and an adjustment system in a device for adjusting a laser focal length lens provided by an embodiment of the present invention.
[0019] Figure 3 This is a block diagram of a detection system in a device for adjusting a laser focal length lens provided by an embodiment of the present invention.
[0020] Figure 4 This is a block diagram of a control system in a device for adjusting a laser focal length lens provided by an embodiment of the present invention.
[0021] Figure 5 This is a block diagram of an adjustment system in a device for adjusting a laser focal length lens provided by an embodiment of the present invention.
[0022] Figure 6 The present invention provides a flowchart of a method for adjusting a laser focal length lens according to an embodiment of the present invention.
[0023] Figure 7 This is a structural diagram of an electronic device for adjusting a laser focal length lens provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.
[0025] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0026] In the embodiments of this application, "at least one" refers to one or more; "a plurality" refers to two or more. In the description of this application, the terms "first," "second," "third," etc. are used only for the purpose of distinguishing descriptions and should not be understood as indicating or implying relative importance or order.
[0027] References to "one embodiment" or "some embodiments" described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, in this specification, the terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. It should be noted that in the embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone.
[0028] It should be pointed out that, in the embodiment of the present invention, when a component is referred to as being "fixed to" another component, it may be directly on the other component or there may also be a central component. When a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a central component at the same time. When a component is considered to be "set on" another component, it may be directly set on the other component or there may be a central component at the same time. At the same time, "connection" in the embodiment of the present application can also be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, A and B are connected, which can be either A and B directly connected, or A and B indirectly connected through one or more other electrical components. The terms "vertical", "horizontal", "left", "right" and similar expressions used in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the present invention.
[0029] At the same time, in an embodiment of the present invention, it should be recognized that at least one controller disclosed herein may include various microprocessors, integrated circuits, storage devices (e.g., flash memory, random access memory (RAM), read-only memory (ROM), electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or other suitable variants), and software that cooperates with each other to perform the operations disclosed herein. In addition, at least one controller disclosed herein utilizes one or more microprocessors to execute a computer program contained in a non-transitory computer-readable medium, which is programmed to perform any number of functions disclosed. In addition, the controller provided herein includes a housing and various numbers of microprocessors, integrated circuits, and storage devices (e.g., flash memory, random access memory (RAM), read-only memory (ROM), electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) located within the housing. The disclosed controller also includes hardware-based inputs and outputs for receiving data from and sending data to other hardware-based devices discussed herein, respectively.
[0030] A device for adjusting the laser focal length lens provided in the first embodiment of the present invention is provided. Figures 1 to 5 As shown, Figure 1 is a block diagram of a device for adjusting a laser focal length lens provided by an embodiment of the present invention. Figure 2 This is a block diagram of a detection system, a control system, and an adjustment system in a device for adjusting a laser focal length lens provided by an embodiment of the present invention. Figure 3 This is a block diagram of a detection system in a device for adjusting a laser focal length lens provided by an embodiment of the present invention. Figure 4 is a block diagram of a control system in a device for adjusting a laser focal length lens provided by an embodiment of the present invention. Figure 5 This is a block diagram of an adjustment system in a device for adjusting a laser focal length lens provided in an embodiment of the present invention. The device for adjusting a laser focal length lens provided in an embodiment of the present invention includes a detection system 1, a control system 2, and an adjustment system 3. The detection system 1 is used to collect the raw data of the light spot of the laser 11 and process the raw data to output light spot status information. The light spot status information includes the size information, shape information, and energy distribution information of the light spot. The control system 2 is used to generate adjustment instructions using a traversal adjustment algorithm based on the light spot status information. The adjustment instructions include instruction information for the lens in the horizontal direction, instruction information for the lens in the vertical direction, and multi-round step parameter instruction information. The adjustment system 3 is used to adjust the position of the laser focal length lens 5 according to the adjustment instructions to determine the optimal position of the lens.
[0031] Among them, see Figure 1As shown, the guide rail 7 is mounted on a platform 8, which provides support for the guide rail 7. The power supply 4 can power the spot detection device 12 described below, such as the CMOS camera-type spot analyzer. The power supply 4 can also power the PCI industrial computer 42, the laser 11, and the adjustment motor 31. The PCI industrial computer 42 is connected to the adjustment motor 31 and the laser 11, respectively. A camera 41 is mounted on the guide rail 7. The camera 41 can also be connected to a motor, which drives the camera 41 to slide along the guide rail 7, that is, to adjust the distance position of the camera 41. A filter 43 can be provided between the camera 41 and the focal length lens 5. The laser light emitted by the laser 11 can pass through the focal length lens 5 to reach the filter 43 and then be observed by the camera 41.
[0032] Among them, the detection system 1 can use a high-resolution photoelectric sensor to align with the output end of the laser 11 and capture the original image data of the light spot at a certain rate. The high-resolution photoelectric sensor can include a CMOS camera-type spot analyzer as described below, or a scanning slit-type spot analyzer, or a multi-blade scanning spot analyzer to collect the light spot status information. The light spot status information includes the size information, shape information and energy distribution information of the light spot. The size information of the light spot includes the diameter and area of the light spot. The shape information of the light spot includes roundness, ellipticity and irregularity. The energy distribution information includes the energy center position and energy uniformity.
[0033] The horizontal direction may refer to Figure 1 The left and right directions in the text, the vertical direction can refer to Figure 1 The adjustment instructions include horizontal instruction information for the lens, vertical instruction information for the lens, and multi-round stepping parameter instruction information. The horizontal instruction information is used to control the horizontal movement of the lens, and the vertical instruction information is used to control the vertical movement of the lens. The multi-round stepping parameter instruction information includes the specific parameters required for multi-round stepping adjustment, such as the step amount, step direction, and number of adjustment rounds for each round.
[0034] The adjustment system 3 receives and executes adjustment instructions from the control system 2. It drives the adjustment motor 31 described below, or the motor connected to the camera 41, to adjust the spatial position of the laser focus lens 5 based on the horizontal and vertical movement amounts and multi-step parameters specified in the adjustment instructions. For example, the adjustment motor 31 is used to adjust the left and right movement of the laser focus lens 5, or the motor connected to the camera 41 is used to adjust the distance between the camera 41 and the laser focus lens 5. The adjustment system 3 is used to achieve correction of the light spot position and shape until the obtained light spot state information meets preset optimal conditions, such as a light spot size less than a threshold, a roundness greater than a threshold, and a maximum center energy proportion. At this point, the lens is considered to be in the optimal position.
[0035] In this embodiment, detection system 1 collects raw spot data from laser 11 and processes it to output spot state information. The spot state information includes spot size, shape, and energy distribution information. Control system 2 uses a traversal adjustment algorithm based on the spot state information to generate adjustment instructions. The adjustment instructions include horizontal lens instruction information, vertical lens instruction information, and multi-round step parameter instruction information. Adjustment system 3 drives lens displacement based on the adjustment instructions to adjust the position of laser focal length lens 5 to determine the optimal lens position. In this way, detection system 1 collects and pre-processes the raw spot data into spot state information, which is then provided to control system 2. Based on the spot state information, control system 2 generates adjustment instructions containing multi-round step parameters using a step-by-step traversal algorithm in the horizontal and vertical directions. This achieves precise position optimization, replaces manual adjustment based on experience, improves lens positioning accuracy, and forms an automated control chain of detection, analysis, and execution. This improves adjustment accuracy, enhances efficiency, and enables automated linkage.
[0036] As an embodiment, the detection system 1 includes a spot detection device 12 and a spot detection control host computer 13. The spot detection device 12 is communicatively connected to the spot detection control host computer 13. The spot detection device 12 is used to collect raw spot data in real time. The spot detection control host computer 13 is configured to receive and process the raw spot data to output spot status information. The spot detection device 12 can directly collect the raw spot data of the laser 11. The spot detection control host computer 13 can process the raw data using predefined algorithms, such as filtering to remove noise, edge detection to extract size information, morphological analysis to obtain shape information, and grayscale analysis to determine energy distribution information, thereby eliminating errors caused by human intervention and outputting structured spot status information.
[0037] As an embodiment, the control system 2 includes a motor control host computer 21 and a motor drive control board 22. The motor control host computer 21 is communicatively connected to the light spot detection control host computer 13 and the motor drive control board 22, respectively. The motor control host computer 21 is configured to generate adjustment instructions based on light spot status information, and the motor drive control board 22 is configured to receive the adjustment instructions and convert them into drive signals for the adjustment motor 31. The motor control host computer 21 can receive light spot status information from the light spot detection control host computer 13 and run the ergodic adjustment algorithm to generate adjustment instructions. The motor drive control board 22 can convert these instructions into electrical signals to drive the adjustment motor 31 to perform an action.
[0038] As an embodiment, the motor control host computer 21 in the control system 2 can be used to manually adjust the position of the focal lens 5 to change the light spot, or to automatically adjust the light spot by providing light spot information to the motor drive control board 22. The cross-verification of manual and automatic adjustment facilitates debugging and improves accuracy. The motor drive control board 22, based on the data information provided by the motor control host computer 21, processes the data internally and generates corresponding adjustment instructions, which are then provided to the adjustment motor 31. The main judgment steps and basis can be as follows: After the focal lens 5 and the laser 11 are fixed, the focal lens 5 is adjusted to the horizontal left edge limit position, and then adjusted to the right edge limit position at a certain step distance. After each step is in place, the light spot detection device 12 is adjusted back and forth from near to far. The light spot size information, the horizontal center pixel position of the light spot (e.g., ellipse, circle center position, rectangle center position, etc.), and the shape characteristics of the light spot (e.g., ellipse, circle center position, rectangle center position, etc.) are recorded for each step, depending on the light spot adjustment target. In the previous step, a finer step distance is made from the two focal lens 5 positions with the best light spot to further find the focal lens 5 position corresponding to the better light spot state. Similarly, the number of repeated step scanning searches is determined based on the time consumption and consistency accuracy requirements. After the fixed focal lens 5 finds the optimal horizontal position, the adjustment direction is changed to the vertical direction, and the above steps are repeated to find the optimal vertical position of the focal lens 5. The adjustment system 3 is mainly composed of an adjustment motor 31 and an adjustment module 32. The adjustment motor 31 performs corresponding control actions according to the instructions of the motor drive control board 22, and controls the adjustment module 32 to adjust the position of the focal lens 5 to change the shape of the light spot. At the same time, it can also adjust the position of the light spot detection device 12.
[0039] In one embodiment, the adjustment system 3 includes an adjustment motor 31 and an adjustment module 32. The adjustment module 32 is connected to the adjustment motor 31, which is electrically connected to the motor drive control board 22. The adjustment motor 31 performs multiple rounds of stepping motions based on a drive signal, driving the adjustment module 32 to traverse the lens in both the horizontal and vertical directions. The optimal position of the lens in both the horizontal and vertical directions is determined by iteratively reducing the stepping distance. The adjustment motor 31 receives the drive signal from the motor drive control board 22 and performs multiple rounds of stepping motions, such as first horizontally and then vertically. The adjustment module 32 can drive the lens to traverse in both the horizontal and vertical directions, searching for the optimal position by iteratively reducing the stepping distance, such as by a larger stepping distance in the first round and a smaller stepping distance in the last round, in either the horizontal or vertical directions by traversing the search until the spot state information meets the optimization criteria. The adjustment module 32 can also be a robotic arm. Iteratively reducing the stepping distance means reducing the step size based on spot state feedback. The optimal position can also be determined by stopping at the minimum spot size or the most uniform energy distribution.
[0040] As an embodiment, the adjustment module 32 includes a horizontal guide rail and a vertical guide rail, and the horizontal guide rail and the vertical guide rail are orthogonal to each other. It can be understood by those skilled in the art that in the device for adjusting the laser focal length lens provided in Example 1 of the present invention, there is no restriction on the specific structure of the horizontal guide rail and the vertical guide rail. It is only necessary to realize that the adjustment motor 31 drives the lens to move along the horizontal guide rail and the vertical guide rail respectively through the screw transmission mechanism, such as driving the lens to move along the horizontal guide rail and the vertical guide rail respectively through a ball screw. When stepping horizontally, the motor drives the screw to drive the lens to move along the horizontal guide rail. When stepping vertically, another motor drives the screw to drive the lens to move along the vertical guide rail. The mutually orthogonal horizontal guide rails and vertical guide rails of the adjustment module 32 can provide a precise movement path, and can also make the displacement of the lens in the horizontal and vertical directions not interfere with each other.
[0041] As an embodiment, the motor control host computer 21 has a manual adjustment mode and an automatic adjustment mode. When in manual adjustment mode, the motor control host computer 21 is used to receive external step parameters. When in automatic adjustment mode, the motor control host computer 21 automatically generates adjustment instructions based on the light spot status information. The motor control host computer 21 provides mode selection. For example, the motor control host computer 21 can switch modes through a user interface. In manual adjustment mode, the motor control host computer 21 receives external input parameters, such as the step size and direction set by the operator. In automatic adjustment mode, the traversal algorithm is run based on the light spot status information to automatically generate adjustment instructions.
[0042] As an embodiment, the light spot detection device 12 includes a CMOS camera-type light spot analyzer power supply, or a scanning slit-type light spot analyzer, or a multi-blade scanning light spot analyzer. For example, the complete light spot image is directly captured by an array CMOS sensor to obtain two-dimensional light spot raw data. Alternatively, the light spot is mechanically scanned by a slit to collect light intensity distribution data line by line. Alternatively, the light spot is cut by a rotating blade, and the timing signal is recorded by a photodetector to reconstruct the light spot energy distribution. The CMOS camera-type device can be applied to static or dynamic light spots and can output high-resolution image data in real time. The scanning slit-type device eliminates stray light interference through mechanical scanning and can improve the signal-to-noise ratio. The multi-blade-type device can achieve high-precision energy distribution reconstruction through rotary cutting. Replacing manual visual inspection or simple sensors with high-precision equipment is conducive to eliminating subjective errors.
[0043] In order to provide a detailed description of a method for adjusting the laser focal length lens 5 provided by the present invention, the above embodiment 1 provides a detailed description of a device for adjusting the laser focal length lens. Based on the same inventive concept, the present application also provides a method for adjusting the laser focal length lens 5, see embodiment 2 for details.
[0044] See Figure 6 , Figure 6 Flowchart of a method for adjusting the laser focal length lens 5 provided by an embodiment of the present invention. A second embodiment of the present invention provides a method for adjusting the laser focal length lens 5, including the above-mentioned device for adjusting the laser focal length lens, and the method includes the following steps: Step S1, fix the laser emitter and the lens on the same optical path axis, and place the light spot detection device 12 at the laser projection target surface; Specifically, the laser emitter and lens can be fixed to the same optical axis using a rigid fixture, such as a laser collimator to calibrate coaxiality. A spot detection device 12, such as a CMOS camera 41, is installed directly in front of the laser projection target surface. Its photosensitive plane is perpendicular to the optical path axis. Coaxial fixation of the optical element eliminates reference deviation, ensuring that the spot data acquisition position is consistent with the actual laser action surface, ensuring that the subsequently collected data reflects the true spot characteristics.
[0045] Step S2: collecting the original data of the light spot of the laser 11 in real time through the light spot detection device 12; Specifically, the light spot detection device 12 includes a CMOS camera-type light spot analyzer, a scanning slit-type light spot analyzer, or a multi-blade scanning light spot analyzer, which continuously collects light spot raw data at a certain sampling rate and captures dynamic light spot changes at a high frequency.
[0046] Step S3: the light spot detection control host computer 13 receives the light spot raw data, and processes the light spot raw data through the light spot detection control host computer 13 to output light spot state information, wherein the light spot state information includes size information, shape information, and energy distribution information of the light spot; Specifically, the spot detection and control host computer 13 can run a preset processing algorithm to calculate the effective area of the spot, fit the ellipse eccentricity, and calculate the standard deviation of the light intensity to output spot status information. The spot status information includes the size, shape, and energy distribution information of the spot. For example, after receiving the raw data, the spot detection and control host computer 13 can perform median filtering to reduce noise, segment and extract the spot area, calculate the size of the spot's circumscribed rectangle, fit an ellipse to obtain the major and minor axis ratio as shape information, and calculate the pixel grayscale centroid and energy distribution variance to output spot status information including size, shape, and energy distribution.
[0047] Step S4: The motor control host computer 21 generates an adjustment instruction using an ergodic adjustment algorithm according to the light spot state information, converts the adjustment instruction into a drive signal for the adjustment motor 31 through the motor drive control board 22, and transmits the drive signal to the adjustment motor 31 of the adjustment system 3, wherein the adjustment instruction includes instruction information for the lens in the horizontal direction, instruction information for the lens in the vertical direction, and multi-round stepping parameter instruction information; The traversal adjustment algorithm includes S41, adjusting the lens back and forth between the edge limit positions in a single direction with an initial step distance, and recording the light spot state information at each position; S42, selecting two position intervals with the best light spot state information, and performing secondary traversal adjustment with the reduced step distance; S43, when the single direction is set to the horizontal direction, repeating step S42 until the horizontal preset accuracy threshold is reached to obtain the optimal position in the horizontal direction; when the single direction is set to the vertical direction, executing steps S41 to S42 until the vertical preset accuracy threshold is reached to obtain the optimal position in the vertical direction.
[0048] Specifically, the lens can be moved with a certain step distance in the X-axis interval, and the spot size at each position can be recorded. Then, an adjacent interval can be selected for a second traversal; after the X-axis iteration reaches the horizontal preset accuracy threshold, the horizontal position of the lens is locked, and the Y-axis is also executed in the same way as above. By narrowing the search range by step-by-step iteration, the inefficiency of global search can be avoided. For example, in S41, the lens is controlled to move from position A1 to A2 in the horizontal direction, at this time the spacing is L, and it moves back and forth with a step distance D1, and the spot size value of each point is recorded. In S42, the two adjacent points B1 and B2 with the smallest size are selected, and a second traversal is performed in the interval [B1, B2] with a step distance D2=D1 / 5; assuming that the horizontal accuracy threshold is 0.1mm, the above step S42 is repeated until the step distance is less than or equal to 0.1mm to record the optimal horizontal position Px, and then switch to the vertical direction to execute the above steps S41 to S42 until the vertical accuracy threshold is reached to obtain Py. After that, the motor drive control board 22 will convert the coordinates and step sequence of Px and Py into PWM pulse signals.
[0049] Step S5: the adjustment motor 31 drives the lens to perform multiple rounds of step adjustment according to the driving signal, so as to traverse and search for the optimal position combination of the lens in the horizontal direction and the vertical direction to determine the optimal position of the lens.
[0050] Specifically, after receiving the drive signal, the adjustment motor 31 executes the instruction sequence. For example, after receiving the PWM pulse signal in step S4, the adjustment motor 31 drives the lens to move horizontally and vertically, and transmits the position back in real time to the motor control host computer 21. For example, according to the horizontal instruction information, the lead screw is driven to rotate N1 steps, driving the lens to move along the horizontal guide rail to Px. According to the vertical instruction information, the other lead screw is driven to rotate N2 steps, driving the lens to move along the vertical guide rail to Py. Assuming the preset spot size change rate threshold is 1%, the above operation can be repeated with a smaller step size for fine adjustment until the spot size change rate is less than 1%.
[0051] The present invention provides a method for adjusting the laser focal length lens 5, by fixing the laser emitter and the lens on the same optical path axis, placing the spot detection device 12 at the laser projection target surface; then collecting the original spot data of the laser 11 in real time through the spot detection device 12; then the spot detection control host computer 13 receives the original spot data, and processes the original spot data through the spot detection control host computer 13 to output spot status information, the spot status information including the size information, shape information and energy distribution information of the spot; then controlling the host computer 21 through the motor according to the spot The state information uses a traversal adjustment algorithm to generate adjustment instructions. The motor drive control board 22 converts the adjustment instructions into drive signals for the adjustment motor 31, which are then transmitted to the adjustment motor 31 of the adjustment system 3. The adjustment instructions include horizontal lens instruction information, vertical lens instruction information, and multi-round step parameter instruction information. The adjustment motor 31 then drives the lens to perform multi-round step adjustment based on the drive signals, traversing and searching for the optimal combination of horizontal and vertical lens positions to determine the optimal lens position. In this way, the detection system 1 collects and preprocesses the raw light spot data into light spot state information, which is then provided to the control system 2. Based on the light spot state information, the control system 2 generates adjustment instructions containing multi-round step parameters using a step-by-step traversal algorithm in the horizontal and vertical directions. This achieves precise position optimization, replaces manual adjustment based on experience, improves lens positioning accuracy, and forms an automated control chain of detection, analysis, and execution. This improves adjustment accuracy, increases efficiency, and enables automated linkage.
[0052] In order to provide a detailed description of an electronic device for adjusting the laser focal length lens 5 provided by the present invention, the above embodiment one provides a detailed description of a device for adjusting the laser focal length lens. Based on the same inventive concept, the present application also provides an electronic device for adjusting the laser focal length lens 5, see embodiment three for details.
[0053] See Figure 7 , Figure 7: is a structural diagram of an electronic device for adjusting the laser focal length lens 5 provided in an embodiment of the present invention. Embodiment 3 of the present invention provides an electronic device for adjusting the laser focal length lens 5, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: Step S1, fix the laser emitter and the lens on the same optical path axis, and place the light spot detection device 12 at the laser projection target surface; Step S2: collecting the original data of the light spot of the laser 11 in real time through the light spot detection device 12; Step S3: the light spot detection control host computer 13 receives the light spot raw data, and processes the light spot raw data through the light spot detection control host computer 13 to output light spot state information, wherein the light spot state information includes size information, shape information, and energy distribution information of the light spot; Step S4: The motor control host computer 21 generates an adjustment instruction using an ergodic adjustment algorithm according to the light spot state information, converts the adjustment instruction into a drive signal for the adjustment motor 31 through the motor drive control board 22, and transmits the drive signal to the adjustment motor 31 of the adjustment system 3, wherein the adjustment instruction includes instruction information for the lens in the horizontal direction, instruction information for the lens in the vertical direction, and multi-round stepping parameter instruction information; Step S5: the adjustment motor 31 drives the lens to perform multiple rounds of step adjustment according to the driving signal, so as to traverse and search for the optimal position combination of the lens in the horizontal direction and the vertical direction to determine the optimal position of the lens.
[0054] The present invention provides an electronic device for adjusting the laser focal length lens 5, which comprises the following steps: fixing the laser emitter and the lens on the same optical path axis, placing the light spot detection device 12 at the laser projection target surface; collecting the original light spot data of the laser 11 in real time through the light spot detection device 12; then the light spot detection control host computer 13 receives the original light spot data, and processes the original light spot data through the light spot detection control host computer 13 to output light spot status information, wherein the light spot status information includes the size information, shape information and energy distribution information of the light spot; and then controlling the host computer 21 through the motor according to the light spot data. Spot state information uses a traversal adjustment algorithm to generate adjustment instructions. The motor drive control board 22 converts these adjustment instructions into drive signals for the adjustment motor 31, which are then transmitted to the adjustment motor 31 of the adjustment system 3. The adjustment instructions include horizontal lens instruction information, vertical lens instruction information, and multi-round step parameter instruction information. The adjustment motor 31 then drives the lens to perform multi-round step adjustment based on the drive signals, traversing and searching for the optimal combination of horizontal and vertical lens positions to determine the optimal lens position. In this way, the detection system 1 collects and preprocesses the raw spot data into spot state information, which is then provided to the control system 2. Based on the spot state information, the control system 2 generates adjustment instructions containing multi-round step parameters using a step-by-step traversal algorithm in the horizontal and vertical directions. This achieves precise position optimization, replaces manual adjustment based on experience, improves lens positioning accuracy, and forms an automated control chain of detection, analysis, and execution. This improves adjustment accuracy, increases efficiency, and enables automated linkage.
[0055] In some embodiments, the device provided by the embodiments of the present disclosure may also have functions or include modules that can be used to execute the method described in the above method embodiments. Its specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here. The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity. In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation methods described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms. In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the various implementation methods of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program code. Finally, it should be noted that the above specific implementation methods are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to examples, those skilled in the art should understand that the technical solutions of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A device for adjusting the laser focal length lens, characterized in that: The device includes a detection system, a control system, and an adjustment system. The detection system is used to collect raw data of the laser spot and process the raw data to output spot status information. The spot status information includes size information, shape information, and energy distribution information of the spot. The control system is used to generate adjustment instructions using a traversal adjustment algorithm based on the light spot state information, and the adjustment instructions include instruction information of the lens in the horizontal direction, instruction information of the lens in the vertical direction, and multi-round step parameter instruction information; the adjustment system is used to adjust the position of the laser focal length lens according to the adjustment instructions to determine the optimal position of the lens.
2. The device for adjusting the laser focal length lens according to claim 1, characterized in that: The detection system includes a light spot detection device and a light spot detection control host computer, wherein the light spot detection device is communicatively connected to the light spot detection control host computer; the light spot detection device is used to collect light spot raw data in real time; the light spot detection control host computer is configured to receive the light spot raw data and process the light spot raw data to output the light spot status information.
3. The device for adjusting the laser focal length lens according to claim 2, characterized in that: The control system includes a motor control host computer and a motor drive control board, wherein the motor control host computer is communicatively connected to the light spot detection control host computer and the motor drive control board respectively; the motor control host computer is configured to generate the adjustment instruction according to the light spot state information; the motor drive control board is configured to receive the adjustment instruction and convert the adjustment instruction into a drive signal for the adjustment motor.
4. The device for adjusting the laser focal length lens according to claim 3, characterized in that: The adjustment system includes an adjustment motor and an adjustment module, wherein the adjustment module is connected to the adjustment motor, and the adjustment motor is electrically connected to the motor drive control board; the adjustment motor performs multiple rounds of stepping actions according to the drive signal to drive the adjustment module to drive the lens to traverse and search in the horizontal and vertical directions respectively, and determines the optimal position of the lens in the horizontal and vertical directions by iteratively reducing the step distance.
5. The device for adjusting the laser focal length lens according to claim 4, characterized in that: The adjustment module comprises a horizontal guide rail and a vertical guide rail that are orthogonal to each other, and the adjustment motor drives the lens to move along the horizontal guide rail and the vertical guide rail respectively through a screw transmission mechanism.
6. The device for adjusting the laser focal length lens according to claim 3, characterized in that: The motor control host computer has a manual adjustment mode and an automatic adjustment mode. When the motor control host computer is in the manual adjustment mode, the motor control host computer is used to receive external input step parameters; when the motor control host computer is in the automatic adjustment mode, the motor control host computer automatically generates the adjustment instruction based on the light spot state information.
7. The device for adjusting the laser focal length lens according to claim 1, characterized in that: The light spot detection device includes a CMOS camera-type light spot analyzer, a scanning slit-type light spot analyzer, or a multi-blade scanning light spot analyzer.
8. A method for adjusting a laser focal length lens, characterized in that: The method includes the device for adjusting the laser focal length lens according to any one of claims 1 to 7, and further includes S1. Fix the laser emitter and lens on the same optical axis, and place the spot detection device on the laser projection target surface; S2, collecting the laser spot raw data in real time through the spot detection equipment; S3. The light spot detection control host computer receives the light spot raw data, and processes the light spot raw data through the light spot detection control host computer to output light spot status information, where the light spot status information includes size information, shape information, and energy distribution information of the light spot; S4, using a motor control host computer to generate an adjustment instruction using an ergodic adjustment algorithm according to the light spot state information, converting the adjustment instruction into a drive signal for the adjustment motor through the motor drive control board, and transmitting the drive signal to the adjustment motor of the adjustment system, wherein the adjustment instruction includes instruction information of the lens in the horizontal direction, instruction information of the lens in the vertical direction, and multi-round stepping parameter instruction information; S5. The adjustment motor drives the lens to perform multiple rounds of step adjustment according to the driving signal, so as to traverse and search for the optimal position combination of the lens in the horizontal direction and the vertical direction to determine the optimal position of the lens.
9. The method for adjusting the laser focal length lens according to claim 8, characterized in that: The ergodic adjustment algorithm includes S41, adjusting the lens back and forth between unidirectional edge limit positions at an initial step distance, and recording light spot state information at each position; S42, selecting two position intervals with the best light spot state information and performing secondary traversal adjustment with the reduced step distance; S43. When the single direction is set to the horizontal direction, repeat step S42 until the horizontal preset accuracy threshold is reached to obtain the optimal position in the horizontal direction. When the single direction is set to the vertical direction, execute steps S41 to S42 until the vertical preset accuracy threshold is reached to obtain the optimal position in the vertical direction.
10. An electronic device for adjusting a laser focal length lens, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the following steps are implemented: S1. Fix the laser emitter and lens on the same optical axis, and place the spot detection device on the laser projection target surface; S2, collecting the laser spot raw data in real time through the spot detection equipment; S3. The light spot detection control host computer receives the light spot raw data, and processes the light spot raw data through the light spot detection control host computer to output light spot status information, where the light spot status information includes size information, shape information, and energy distribution information of the light spot; S4, using a motor control host computer to generate an adjustment instruction using an ergodic adjustment algorithm according to the light spot state information, converting the adjustment instruction into a drive signal for the adjustment motor through the motor drive control board, and transmitting the drive signal to the adjustment motor of the adjustment system, wherein the adjustment instruction includes instruction information of the lens in the horizontal direction, instruction information of the lens in the vertical direction, and multi-round stepping parameter instruction information; S5. The adjustment motor drives the lens to perform multiple rounds of step adjustment according to the driving signal, so as to traverse and search for the optimal position combination of the lens in the horizontal direction and the vertical direction to determine the optimal position of the lens.
Citation Information
Cited By
Focusing method of laser, focusing control device and laser etching equipment
CN121017784A