CN-122018438-A - Vibrating mirror linkage laser processing system and control method thereof
Abstract
The invention discloses a vibrating mirror linkage laser processing system and a control method thereof, belonging to the technical field of laser processing, wherein the system comprises a track planning module, an instruction generation and transmission module, a shaft mirror cooperative control module and a shaft mirror cooperative control module, wherein the track planning module is used for intelligently splitting a motion shaft path into an idle stroke section and an effective processing section based on an effective processing breadth of a vibrating mirror, performing track smooth optimization, adopting a Modbus TCP and TCP/IP dual-protocol separation architecture, independently transmitting a motion shaft control instruction and a vibrating mirror control instruction, and being provided with a buffer threshold and a dynamic batch sending mechanism, and realizing millisecond-level accurate synchronization of shaft in-place and vibrating mirror start processing by combining a real-time coordinate transformation algorithm through linkage of a synchronous zone bit in a motion controller and a laser zone bit in a vibrating mirror controller. The invention realizes the comprehensive improvement of the processing efficiency, the precision and the system stability.
Inventors
- CHEN ZHIMING
Assignees
- 苏州金橙子激光技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260126
Claims (10)
- 1. A galvanometer linkage laser processing system, comprising: The track planning module (100) is configured to split the total processing path of the moving shaft into at least one idle stroke section and at least one effective processing section based on effective processing breadth parameters of the vibrating mirror, and smooth and optimize the moving track of the moving shaft, wherein the idle stroke section corresponds to a region in which position transfer is only performed by the moving shaft, and the effective processing section corresponds to a region in which the moving shaft and the vibrating mirror need to be cooperatively processed; The instruction generation and transmission module (200) is connected with the track planning module (100) and is configured to generate a structured motion axis control instruction and a galvanometer control instruction according to the optimized track, and transmit the motion axis control instruction to the motion controller (301) through a first communication protocol, and transmit the galvanometer control instruction to the galvanometer controller (302) through a second communication protocol, wherein the first communication protocol is different from the second communication protocol; And the axicon cooperative control logic is executed by the motion controller (301) and the galvanometer controller (302), the motion axis control instruction comprises a synchronous zone bit, the galvanometer control instruction comprises a laser zone bit, and the galvanometer controller (302) is configured to periodically read the synchronous zone bit of the motion controller (301) and control the galvanometer and the laser to process according to the corresponding galvanometer control instruction and the real-time position of the motion axis when the synchronous zone bit indicates an effective processing section.
- 2. The galvanometer-linked laser machining system of claim 1, wherein the instruction generation and transmission module (200) includes a motion axis instruction buffering/transmission unit (201) and a galvanometer instruction buffering/transmission unit (202), and the motion axis instruction buffering/transmission unit (201) and the galvanometer instruction buffering/transmission unit (202) are both provided with an instruction buffering upper limit threshold and configured to perform dynamic batch transmission when a total amount of instructions to be transmitted exceeds the upper limit threshold.
- 3. The vibrating mirror linked laser machining system of claim 1 or 2, wherein the first communication protocol is Modbus TCP protocol and the second communication protocol is TCP/IP protocol.
- 4. The galvanometer-linked laser machining system of claim 1, wherein the motion axis control command and the galvanometer control command each include a segment number field that uniquely identifies each segment in the trajectory plan and that is used as an index to associate the motion axis control command with the galvanometer control command.
- 5. The galvanometer-linked laser machining system of claim 1, wherein the galvanometer controller (302) is specifically configured to: Reading a synchronization flag bit of the motion controller (301); if the synchronous zone bit indicates an idle stroke section, controlling the galvanometer and the laser to be in a standby state; if the synchronous zone bit indicates an effective processing section, reading the current section number and the real-time position of the motion axis; acquiring a pre-stored corresponding processing data block according to the current segment number; calculating real-time deflection coordinates of the vibrating mirror based on the real-time positions of the processing data block and the motion axis; and controlling the deflection of the vibrating mirror according to the real-time deflection coordinates, and synchronously controlling the light emission of the laser.
- 6. The system of claim 5, wherein the real-time deflection coordinates of the galvanometer are calculated based on the real-time positions of the processing data block and the motion axis by the formula of galvanometer deflection coordinates = absolute coordinates of the processing point in the processing data block-real-time positions of the motion axis.
- 7. The galvanometer-linked laser machining system of claim 1, characterized in that the smooth optimization of the motion trajectory by the trajectory planning module (100) includes employing an S-shaped acceleration-deceleration curve plan and/or a circular arc transition process to reduce abrupt velocity changes and mechanical shocks of the motion axis at the path inflection point.
- 8. A galvanometer-linked laser processing control method applied to the galvanometer-linked laser processing system according to any one of claims 1 to 7, characterized by comprising: The track planning step is based on the effective processing breadth of the vibrating mirror, the total processing path is divided into an idle stroke section and an effective processing section, and the track of a motion axis is smoothly optimized; The method comprises the steps of generating a structured motion axis control instruction and a galvanometer control instruction, sending the motion axis control instruction to a motion controller (301) through a first communication protocol, and sending the galvanometer control instruction to a galvanometer controller (302) through a second communication protocol; The method comprises the steps of executing a motion axis control instruction by a motion controller (301) to control the motion axis to move, periodically reading synchronous zone bits of the motion controller (301) by a galvanometer controller (302), controlling processing by the galvanometer controller (302) according to the corresponding galvanometer control instruction and the real-time position of the motion axis when the synchronous zone bits indicate effective processing sections, and controlling the galvanometer and the laser to stand by when the synchronous zone bits indicate idle stroke sections.
- 9. The method for controlling laser processing of vibrating mirror linkage according to claim 8, wherein the step of generating and transmitting the command further comprises a command buffer management sub-step of setting a buffer queue and a capacity upper limit for the motion axis control command and the vibrating mirror control command respectively, and monitoring the amount of the command to be transmitted, and sending the command to the transmission queue in batches when the amount of the command to be transmitted exceeds the capacity upper limit.
- 10. The method of controlling laser machining with oscillating mirror linkage according to claim 8, wherein a period in which the oscillating mirror controller (302) periodically performs cooperative control is fixed, and the period time is shorter than a time required for the movement of the moving axis by a minimum machining step within the effective machining section.
Description
Vibrating mirror linkage laser processing system and control method thereof Technical Field The invention relates to the technical field of laser processing, in particular to a vibrating mirror linkage laser processing system and a control method thereof. Background The vibrating mirror linkage laser processing system realizes large-range position movement through a motion axis (X/Y/Z axis), combines a vibrating mirror to perform small-range and high-precision laser scanning processing, and is widely applied to the fields of precise marking, cutting, welding and the like. However, the prior art has the following significant drawbacks in practical application, severely restricting the processing efficiency, precision and system stability: 1. the existing track planning scheme is mainly designed in a simple 'figure outline following' mode, the track of a motion axis is directly generated according to the outline sequence of a figure to be processed, and intelligent splitting is carried out on an effective scanning breadth (namely the largest area where the vibrating mirror can process under the condition that the vibrating mirror does not move the axis) of the vibration mirror. This results in the "lost motion" phase of the axis of motion across the different patterns, and the galvanometer system may remain on or frequently turned on and off, rather than being in standby. The invalid action not only greatly increases the mechanical abrasion and energy consumption of the vibrating mirror, but also seriously delays the whole processing beat due to meaningless waiting and starting and stopping time. Meanwhile, the traditional track design lacks optimization of acceleration and deceleration processes and smooth transition of a motion axis, speed abrupt change and impact are easy to generate at a path inflection point, errors are introduced, the finish degree of a processing surface of the edge of a complex graph such as a polygon, a star and the like is directly influenced, and the quality requirement of high-precision processing is difficult to meet. 2. The existing system mostly adopts a single-protocol single-channel instruction transmission architecture, for example, only uses an RS485 serial protocol to simultaneously transmit control data of a motion axis and control data of a galvanometer. The two types of data streams are transmitted in a mixed queuing way in the same physical channel, so that command conflict, blockage and transmission delay are easily caused, and the time sequence synchronism of the motion axis and the execution of the vibrating mirror action is destroyed. At the hardware level, instruction cache capacity is typically a fixed small capacity design and lacks dynamic management mechanisms. When the total processing instruction amount of the large-scale complex graph exceeds the upper limit of the cache, the system either discards part of the instructions to cause processing data loss or forcedly pauses processing to wait for the cache to be emptied, thereby seriously damaging the processing continuity, further damaging the processing precision due to frequent unexpected start and stop, and being incapable of supporting stable execution of complex and multi-task tasks. 3. The prior art lacks an accurate and reliable synchronous linkage mechanism, and common schemes rely on a preset fixed time delay or a special hardware level signal to switch on the actions of coupling in place and starting the vibrating mirror. The method is characterized in that the method is suitable for the natural fluctuation of the shaft movement duration under different processing paths, the time sequence dislocation of ' the wrong starting of the vibrating mirror when the shaft is not in place ' or the delayed response of the vibrating mirror when the shaft is in place ' is easily caused, and the method is high in deployment cost, poor in flexibility and extremely low in compatibility among different devices, wherein independent electric wiring and parameter debugging are required for different types of motion controllers and vibrating mirror controllers. In addition, when multiple patterns are continuously processed, the track switching is hard, and smooth connection is lacked, so that the shaft is easy to generate position deviation when being positioned between different patterns, and the consistency of processing precision is affected. In summary, the conventional galvanometer linkage laser processing system has systematic short plates in three core links of track planning, instruction transmission and cooperative control, so that the processing efficiency is low, the precision is difficult to ensure, the equipment loss is large, and the task suitability is poor. It should be noted that the foregoing description of the background art is only for the purpose of providing a clear and complete description of the technical solution of the present invention and is presented for the convenience of understanding by th