A multi-axis linkage rotary laser processing method and control device
Through the multi-axis linkage rotating laser processing method, the problems of low laser processing efficiency and splicing marks in the existing technology have been solved, and efficient, mark-free multi-dimensional processing of special-shaped workpieces has been achieved, improving the processing quality.
Patent Information
- Application Number
- CN202410607506.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-05-16
AI Technical Summary
Existing laser processing technology is inefficient in multi-dimensional processing of special-shaped workpieces and has splicing marks, which affects the processing quality. Especially in the manufacturing process of titanium alloy 3D printed workpieces such as mobile phone middle frames and smart watch cases, laser vibration alone is not enough. The mirror system cannot effectively complete continuous processing.
Using the multi-axis linkage rotating laser processing method, through parameter configuration and model import, the motion mechanism, laser galvanometer and workpiece position are calibrated, the laser galvanometer processing graphics and the motion mechanism trajectory are generated, and dynamic interpolation control is realized to ensure the laser galvanometer and motion The linkage processing of the mechanism avoids splicing marks.
It improves the processing efficiency, eliminates splicing traces, significantly improves the processing quality, and realizes laser processing of multiple surfaces of the workpiece synchronously linked in continuous motion.
Smart Images

Figure CN118237734B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of laser processing, and in particular to a multi-axis linkage rotation laser processing method and a control device. Background Art
[0002] In the production and manufacturing of special-shaped workpieces, such as the middle frame of mobile phones and the case of smart watches, the manufacturing process of titanium alloy 3D printing is adopted. The surface of the workpiece processed by the manufacturing process is relatively rough, and it is necessary to use laser to perform laser roughening and grinding on the middle frame of mobile phones and the circle of smart watch markings, and the processing area is continuous; the plane processing method of the laser galvanometer system alone cannot meet the processing needs; at this time, a multi-axis platform motion mechanism will be used in conjunction with the laser galvanometer system to realize the multi-dimensional processing of such workpieces; the motion mechanism clamps the workpiece and moves the workpiece processing surface to the laser galvanometer processing area to complete the laser processing. In the general processing method, the workpiece moves to the laser galvanometer processing area and then stops, and then the laser galvanometer performs laser processing. In this way, all the processing surfaces of the workpiece are processed in sequence by splicing. The processing area of the laser galvanometer is generally small, and multiple splicing is required to complete the processing, and the processing efficiency is low. In addition, there are laser splicing marks at the splicing of laser processing, which seriously affects the processing quality. For example, for a rectangular workpiece with a circle of laser roughening and grinding, the area to be processed in one circle of the rectangular workpiece is divided into four planes and four vertex arc surfaces. The sizes of the four planes of the workpiece exceed the range of the laser galvanometer, and these four planes need to be divided. Then the motion mechanism is controlled to move the position to be processed to the bottom of the laser galvanometer and keep it still. The laser galvanometer processes this position and completes the splicing processing of 8 planes and 4 arc surfaces in turn. In the process of processing the rectangular workpiece, the motion mechanism moves 10 times, and there is a problem of laser splicing between every two processed surfaces. The splicing will cause color difference, which seriously affects the processing quality. The multiple movements and stops of the motion mechanism seriously affect the processing efficiency. Summary of the invention
[0003] The purpose of the present invention is to provide a multi-axis linkage rotary laser processing method and a control device in view of the deficiencies in the prior art.
[0004] To achieve the above objectives, in a first aspect, the present invention provides a multi-axis linkage rotary laser processing method, comprising:
[0005] Parameter configuration is performed and a model of the workpiece to be processed is imported. The parameters include the motion axis parameters of the motion mechanism, the laser galvanometer parameters and the laser process parameters. The motion mechanism includes an XY platform composed of a vertically intersecting X motion axis and a Y motion axis, a rotating clamping platform connected to an A motion axis arranged to rotate around the X motion axis or the Y motion axis, and a vertical platform connected to a Z motion axis arranged vertically above the XY platform. The motion axis parameters include the positioning error corresponding to each motion axis.
[0006] Calibrate the spatial positions of the motion mechanism, the laser galvanometer and the workpiece to be processed to obtain the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed;
[0007] Analyze the positioning error corresponding to each motion axis of the configuration, and compensate the spatial positioning position error of the motion mechanism according to the positioning error of each motion axis;
[0008] Parse the imported workpiece model to be processed, and generate the laser galvanometer processing graphics according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed;
[0009] Generate a spatial position trajectory of the motion mechanism according to the position coordinate relationship among the motion mechanism coordinate system, the laser galvanometer coordinate system and the coordinate system of the workpiece to be processed and the processing process requirements, and decompose the spatial position trajectory of the motion mechanism into the trajectory coordinates of each motion axis according to the spatial positioning position of the motion mechanism after compensation;
[0010] The motion mechanism is controlled to move according to the trajectory coordinates of each motion axis, and the motion trajectories of the laser galvanometer and the motion mechanism are dynamically interpolated according to the position feedback of each motion axis. At the same time, the laser galvanometer is controlled to emit laser according to the laser galvanometer processing pattern to realize the linkage between the laser galvanometer and the motion mechanism, and complete the laser processing while the workpiece to be processed is in motion.
[0011] Furthermore, the method of generating the laser galvanometer processing pattern is as follows:
[0012] The model of the workpiece to be processed is unfolded along the rotation center of the A motion axis to obtain the unfolded model with the XY plane where the rotation center of the A motion axis is located as the bottom surface, and the height L of the processing surface of the unfolded model relative to the bottom surface where the rotation center of the A motion axis is located is obtained. The upper surface sheet of the unfolded model is extracted, and the edge contour of the upper surface sheet is used as the boundary. According to the processing technology requirements, the surface of the upper surface sheet is filled, and the filled figure is used as the generated laser galvanometer processing figure.
[0013] Furthermore, the method of dynamically interpolating the motion trajectory of the laser galvanometer and the motion mechanism according to the position feedback of each motion axis is as follows:
[0014] The A motion axis is controlled to rotate at a uniform speed, the rotation angle α of the A motion axis is calculated according to the rotation position feedback data of the A motion axis, and then the rotation arc length is calculated according to the height of the processing surface of the unfolded model relative to the bottom surface; when the change in the height L is less than or equal to the focusing range of the laser galvanometer in the Z motion axis direction, the laser galvanometer is controlled to adjust in the Z motion axis direction according to the change in the height L; when the change in the height L is greater than the focusing range of the laser galvanometer in the Z motion axis direction, the Z motion axis of the motion mechanism is controlled to move according to the change in the height L; when the difference between the rotation arc length and the fill line spacing of the laser galvanometer is less than or equal to the processing range of the laser galvanometer in the X motion axis direction, the laser galvanometer is controlled to move in the X motion axis direction according to the difference between the rotation arc length and the fill line spacing; when the difference between the rotation arc length and the fill line spacing is greater than the processing range of the laser galvanometer in the X motion axis direction, the X motion axis of the motion mechanism is controlled to move according to the difference between the rotation arc length and the fill line spacing.
[0015] Furthermore, the calculation method of the rotation arc length is as follows:
[0016]
[0017] Where P is the calculated rotation arc length, π is the ratio of pi.
[0018] Furthermore, before generating the spatial position trajectory of the motion mechanism, a 3D camera is used to perform visual positioning of the workpiece to be processed to obtain the position deviation of the clamping of the workpiece to be processed, and the coordinate system of the workpiece to be processed is transformed according to the position deviation. Then, when generating the spatial position trajectory of the motion mechanism, the transformed coordinate system of the workpiece to be processed is used for compensation.
[0019] In a second aspect, the present invention provides a multi-axis linkage rotary laser processing control device, comprising:
[0020] A parameter configuration module is used to configure parameters and import a model of a workpiece to be processed. The parameters include motion axis parameters of a motion mechanism, laser galvanometer parameters, and laser process parameters. The motion mechanism includes an XY platform composed of a vertically intersecting X motion axis and Y motion axis, a rotating clamping platform connected to an A motion axis arranged to rotate around the X motion axis or the Y motion axis, and a vertical platform connected to a Z motion axis arranged vertically above the XY platform. The motion axis parameters include positioning errors corresponding to each motion axis.
[0021] A data processing module is used to calibrate the spatial positions of the motion mechanism, the laser galvanometer and the workpiece to be processed to obtain the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed; analyze the positioning error corresponding to each configured motion axis, and compensate the spatial positioning position error of the motion mechanism according to the positioning error of each motion axis; analyze the imported workpiece model to be processed, and generate a laser galvanometer processing graphic according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed; generate a spatial position trajectory of the motion mechanism according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed and the processing process requirements, and decompose the spatial position trajectory of the motion mechanism into the trajectory coordinates of each motion axis according to the compensated spatial positioning position of the motion mechanism;
[0022] The control unit is used to control the motion mechanism to move according to the trajectory coordinates of each motion axis, and dynamically interpolate the motion trajectory of the laser galvanometer and the motion mechanism according to the position feedback of each motion axis, and at the same time control the laser galvanometer to emit laser according to the laser galvanometer processing pattern to realize the linkage of the laser galvanometer and the motion mechanism, and complete the laser processing during the movement of the workpiece to be processed.
[0023] Furthermore, the method of generating the laser galvanometer processing pattern is as follows:
[0024] The model of the workpiece to be processed is unfolded along the rotation center of the A motion axis to obtain the unfolded model with the XY plane where the rotation center of the A motion axis is located as the bottom surface, and the height L of the processing surface of the unfolded model relative to the bottom surface where the rotation center of the A motion axis is located is obtained. The upper surface sheet of the unfolded model is extracted, and the edge contour of the upper surface sheet is used as the boundary. According to the processing technology requirements, the surface of the upper surface sheet is filled, and the filled figure is used as the generated laser galvanometer processing figure.
[0025] Furthermore, the method of dynamically interpolating the motion trajectory of the laser galvanometer and the motion mechanism according to the position feedback of each motion axis is as follows:
[0026] The A motion axis is controlled to rotate at a uniform speed, the rotation angle α of the A motion axis is calculated according to the rotation position feedback data of the A motion axis, and then the rotation arc length is calculated according to the height of the processing surface of the unfolded model relative to the bottom surface; when the change in the height L is less than or equal to the focusing range of the laser galvanometer in the Z motion axis direction, the laser galvanometer is controlled to adjust in the Z motion axis direction according to the change in the height L; when the change in the height L is greater than the focusing range of the laser galvanometer in the Z motion axis direction, the Z motion axis of the motion mechanism is controlled to move according to the change in the height L; when the difference between the rotation arc length and the fill line spacing of the laser galvanometer is less than or equal to the processing range of the laser galvanometer in the X motion axis direction, the laser galvanometer is controlled to move in the X motion axis direction according to the difference between the rotation arc length and the fill line spacing; when the difference between the rotation arc length and the fill line spacing is greater than the processing range of the laser galvanometer in the X motion axis direction, the X motion axis of the motion mechanism is controlled to move according to the difference between the rotation arc length and the fill line spacing.
[0027] Furthermore, the calculation method of the rotation arc length is as follows:
[0028]
[0029] Where P is the calculated rotation arc length, π is the ratio of pi.
[0030] Furthermore, before generating the spatial position trajectory of the motion mechanism, a 3D camera is used to perform visual positioning of the workpiece to be processed to obtain the position deviation of the clamping of the workpiece to be processed, and the coordinate system of the workpiece to be processed is transformed according to the position deviation. Then, when generating the spatial position trajectory of the motion mechanism, the transformed coordinate system of the workpiece to be processed is used for compensation.
[0031] Beneficial effects: The present invention fixes the workpiece to be processed on the motion mechanism, analyzes the imported workpiece model according to the workpiece model and the processing technology requirements of the workpiece, obtains and generates the spatial motion trajectory of the multi-axis motion mechanism and the laser processing graphics of the laser galvanometer, and completes the laser processing during the movement of the workpiece to be processed by controlling the motion mechanism and the galvanometer, thereby greatly improving the processing efficiency; since multiple surfaces of the workpiece to be processed are laser processed synchronously during continuous motion, there is no problem of splicing marks caused by splicing processing during the laser processing process, which effectively solves the problem of poor processing quality caused by splicing processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic flow chart of a multi-axis linkage rotary laser processing method according to an embodiment of the present invention;
[0033] Figure 2 is a schematic diagram of a rectangular workpiece according to an embodiment of the present invention;
[0034] Figure 3 is based on Figure 2 Schematic diagram of the unfolded model obtained from the rectangular workpiece in;
[0035] Figure 4 Schematic diagram of a multi-axis linkage rotary laser processing control device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. The embodiments are implemented based on the technical solution of the present invention. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0037] like Figures 1 to 3 As shown, an embodiment of the present invention provides a multi-axis linkage rotary laser processing method, comprising:
[0038] Perform parameter configuration and import the model of the workpiece to be processed. The parameters include the motion axis parameters of the motion mechanism, the laser galvanometer parameters and the laser process parameters. The above motion mechanism includes an XY platform composed of vertically crossed X and Y motion axes, a rotating clamping platform connected to the A motion axis that rotates around the X or Y motion axis, and a vertical platform connected to the Z motion axis that is vertically set above the XY platform. Among them, the X motion axis is set in the left-right direction, the Y motion axis is set in the front-back direction, and the Z motion axis is set vertically up and down. They are assembled on the gantry structure, the A motion axis is installed on the XY platform, and the workpiece to be processed is clamped on the rotating clamping platform. Figure 2Taking the rectangular workpiece to be processed as an example, the four sides 1 of the rectangular workpiece are the processing surfaces, and the workpiece center 2 is the geometric center of the rectangular tool. After being clamped on the rotating clamping platform, it is considered to be set concentrically with the A motion axis. After the rectangular workpiece is clamped on the rotating clamping platform, it is set in an upright state, and one of the processing surfaces of the rectangular workpiece faces the laser galvanometer set at intervals. In order to facilitate the clamping of the workpiece to be processed, the C motion axis can also be rotatably set on the XY platform, and the A motion axis is installed on the rotating platform connected to the C motion axis. The direction of the C motion axis is set perpendicular to the A motion axis. If the A motion axis is set parallel to the Y motion axis in the working state, the C motion axis is set parallel to the X motion axis. Before clamping the workpiece to be processed, the C motion axis is first controlled to rotate 90°, and the A motion axis can be adjusted to the clamping state (parallel to the Z motion axis direction) so that the workpiece to be processed can be clamped in a horizontal state. After the clamping of the workpiece to be processed is completed, it is rotated in the opposite direction by 90° to rotate the workpiece to an upright state. When the laser galvanometer is a 3D galvanometer, it includes a laser scanning head, a zoom third axis, a focusing mirror (field mirror) and other structures, which can realize three-dimensional curved surface processing. When the A motion axis rotates one circle, the laser output by the laser galvanometer during the rotation can process the four sides of the rectangular workpiece in turn. The above-mentioned motion axis parameters include the positioning error corresponding to each motion axis, and the positioning error can be obtained by measuring the interferometer or micrometer in conjunction with the ball head. In addition, the above-mentioned motion axis parameters also include the number of pulses per revolution, the movement distance per revolution, the maximum speed, the minimum speed, the acceleration and the return to zero parameters. The above-mentioned laser galvanometer parameters include the correction parameters and processing range of the galvanometer. The above-mentioned laser process parameters include parameters such as galvanometer speed, laser power and frequency. The above parameters are all existing technologies, which ensure the normal operation of each execution component of the laser processing system and will not be repeated. When importing the model of the workpiece to be processed, the position and posture of the model of the workpiece to be processed are also adjusted to the position and posture of the workpiece to be processed when it is actually clamped on the motion mechanism.
[0039] The spatial positions of the motion mechanism, the laser galvanometer and the workpiece to be processed are calibrated to obtain the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed. The calibration can be performed using a probe, which is to facilitate the next step of generating the laser galvanometer processing graphics and the spatial position trajectory coordinates of the motion mechanism in the same coordinate system.
[0040] The positioning error corresponding to each motion axis of the configuration is analyzed, and the spatial positioning position error of the motion mechanism is compensated according to the positioning error of each motion axis. XTake the error of the rotation center O of the A motion axis on the XY plane as an example. When the A motion axis is in the clamped state (parallel to the Z motion axis direction), it can move a circular trajectory in the XY plane by controlling the X and Y motion axes. The A motion axis can also move a circular trajectory in the same position by controlling the rotation of the A motion axis in the XY plane. In the case of no errors in assembly and movement, the two circular trajectories should completely overlap. However, in fact, there must be errors in assembly and axis movement. Assume that the rotation center O of the A motion axis coincides with the center of the coordinate system of the motion mechanism, and the rotation center O of the X motion axis and the Y motion axis are linked. X The coordinates are (x, y), the positioning error value is m, and the rotation angle is θ, then the X-axis and Y-axis linkage rotation center is O X The error of the angle θ with the center O of the A axis in the XY direction is:
[0041]
[0042]
[0043] Parse the imported workpiece model to be processed, and generate the laser galvanometer processing graphics according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed. The details are as follows:
[0044] Expand the workpiece model to be processed along the rotation center of the A motion axis to obtain the expanded model with the XY plane where the rotation center of the A motion axis is located as the bottom surface, obtain the height data of the processing surface of the expanded model relative to the bottom surface where the rotation center of the A motion axis is located, extract the upper surface sheet of the expanded model, and use the edge contour of the upper surface sheet as the boundary. According to the processing requirements, fill the surface of the upper surface sheet, and use the filled figure as the generated laser galvanometer processing figure. Figure 2 The unfolded model of the workpiece shown in the figure can be found in Figure 3 , Figure 3 The unfolded model in the figure includes a machining surface 3 of the unfolded model, a bottom surface 5 in the XY plane where the rotation center of the A motion axis is located, a rotation starting point position 6 and a rotation ending position 7. In addition, the height between the bottom surface 5 and the machining surface 3 of the unfolded model is the rotation chord length 4.
[0045] The spatial position trajectory of the motion mechanism is generated according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the coordinate system of the workpiece to be processed and the processing technology requirements, and the spatial position trajectory of the motion mechanism is decomposed into the trajectory coordinates of each motion axis according to the spatial positioning position of the motion mechanism after compensation. For details, see Figure 3 , Figure 3In the figure, the height L (rotation chord length 4) of the processing surface 3 of the unfolded model relative to the bottom surface 5 is mapped to the Z motion axis of the motion mechanism; the starting point of the unfolded model is the 0 point of the X motion axis, and the length of the processing surface 3 of the unfolded model is the motion length of the X motion axis of the motion mechanism; the A motion axis loads a rectangular workpiece, and its motion trajectory is a 360° rotation.
[0046] The motion mechanism is controlled to move according to the trajectory coordinates of each motion axis, and the motion trajectories of the laser galvanometer and the motion mechanism are dynamically interpolated according to the position feedback of each motion axis. At the same time, the laser galvanometer is controlled to emit laser according to the laser galvanometer processing pattern to realize the linkage between the laser galvanometer and the motion mechanism, and complete the laser processing while the workpiece to be processed is in motion. Specifically, the A motion axis is controlled to rotate at a uniform speed, the rotation angle α of the A motion axis is calculated according to the rotation position feedback data of the A motion axis, and then the rotation arc length is calculated according to the height of the processing surface of the unfolded model relative to the bottom surface; when the change in the height L is less than or equal to the focusing range of the laser galvanometer in the Z motion axis direction, the laser galvanometer is controlled to adjust in the Z motion axis direction according to the change in height L; when the change in the height L is greater than the focusing range of the laser galvanometer in the Z motion axis direction, the Z motion axis of the motion mechanism is controlled to move according to the change in height L; when the difference between the rotation arc length and the fill line spacing of the laser galvanometer is less than or equal to the processing range of the laser galvanometer in the X motion axis direction, the laser galvanometer is controlled to move in the X motion axis direction according to the difference between the rotation arc length and the fill line spacing; when the difference between the rotation arc length and the fill line spacing is greater than the processing range of the laser galvanometer in the X motion axis direction, the X motion axis of the motion mechanism is controlled to move according to the difference between the rotation arc length and the fill line spacing. Since the rotational motion of the A motion axis will not cause displacement of the workpiece to be processed in the direction of the Y motion axis, the interpolation value in the direction of the Y motion axis is 0.
[0047] The calculation method of the above rotation arc length is as follows:
[0048]
[0049] Where P is the calculated rotation arc length, π is the ratio of pi.
[0050] Since different workpieces to be processed will have certain position deviations when clamped on the rotating clamping platform during batch processing, in order to ensure the accuracy and consistency of batch workpiece processing, a 3D camera is used to perform visual positioning of the workpiece to be processed before generating the spatial position trajectory of the motion mechanism to obtain the position deviation of the workpiece clamping, including the displacement deviation and angle deviation in the X, Y, and Z motion axis directions, and transform the coordinate system of the workpiece to be processed according to the position deviation. Then, the transformed coordinate system of the workpiece to be processed is used for compensation when generating the spatial position trajectory of the motion mechanism.
[0051] Combination Figures 2 to 4 Based on the above embodiments, those skilled in the art can easily understand that a multi-axis linkage rotary laser processing control device includes a parameter configuration module 1, a data processing module 2 and a control unit 3.
[0052] The parameter configuration module 1 is used to configure parameters and import the model of the workpiece to be processed. The parameters include the motion axis parameters of the motion mechanism, the laser galvanometer parameters and the laser process parameters. The above motion mechanism includes an XY platform composed of vertically crossed X motion axis and Y motion axis, a rotating clamping platform connected to the A motion axis rotating around the X motion axis or Y motion axis, and a vertical platform connected to the Z motion axis vertically set above the XY platform. Among them, the X motion axis is set in the left-right direction, the Y motion axis is set in the front-back direction, and the Z motion axis is set vertically up and down. It is assembled on the gantry structure, the A motion axis is installed on the XY platform, and the workpiece to be processed is clamped on the rotating clamping platform. Figure 2 Taking the rectangular workpiece to be processed as an example, the four sides 1 of the rectangular workpiece are the processing surfaces, and the workpiece center 2 is the geometric center of the rectangular tool. After being clamped on the rotating clamping platform, it is considered to be set concentrically with the A motion axis. After the rectangular workpiece is clamped on the rotating clamping platform, it is set in an upright state, and one of the processing surfaces of the rectangular workpiece faces the laser galvanometer set at intervals. In order to facilitate the clamping of the workpiece to be processed, the C motion axis can also be rotatably set on the XY platform, and the A motion axis is installed on the rotating platform connected to the C motion axis. The direction of the C motion axis is set perpendicular to the A motion axis. If the A motion axis is set parallel to the Y motion axis in the working state, the C motion axis is set parallel to the X motion axis. Before clamping the workpiece to be processed, the C motion axis is first controlled to rotate 90°, and the A motion axis can be adjusted to the Z motion axis direction, so that the workpiece to be processed can be clamped in a horizontal state. After the clamping of the workpiece to be processed is completed, it is rotated in the opposite direction by 90° to rotate the workpiece to an upright state. When the laser galvanometer is a 3D galvanometer, it includes a laser scanning head, a zoom third axis, a focusing mirror (field mirror) and other structures, which can realize three-dimensional curved surface processing. When the A motion axis rotates one circle, the laser output by the laser galvanometer during the rotation can process the four sides of the rectangular workpiece in turn. The above-mentioned motion axis parameters include the positioning error corresponding to each motion axis, and the positioning error can be obtained by measuring the interferometer or micrometer in conjunction with the ball head. In addition, the above-mentioned motion axis parameters also include the number of pulses per revolution, the movement distance per revolution, the maximum speed, the minimum speed, the acceleration and the return to zero parameters. The above-mentioned laser galvanometer parameters include the correction parameters and processing range of the galvanometer. The above-mentioned laser process parameters include parameters such as galvanometer speed, laser power and frequency. The above parameters are all existing technologies, which ensure the normal operation of each execution component of the laser processing system and will not be repeated. When importing the model of the workpiece to be processed, the position and posture of the model of the workpiece to be processed are also adjusted to the position and posture of the workpiece to be processed when it is actually clamped on the motion mechanism.
[0053] The data processing module 2 is used to calibrate the spatial position of the motion mechanism, the laser galvanometer and the workpiece to be processed, so as to obtain the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed. The calibration can be performed using a probe, which is to facilitate the next step of generating the spatial position trajectory coordinates of the laser galvanometer processing graphics and the motion mechanism in the same coordinate system.
[0054] The data processing module 2 is also used to analyze the positioning error corresponding to each configured motion axis, and compensate the spatial positioning position error of the motion mechanism according to the positioning error of each motion axis. X Take the error of the rotation center O of the A motion axis on the XY plane as an example. By controlling the X and Y motion axes in the XY plane, a circular trajectory can be taken. By controlling the A motion axis to rotate alone in the XY plane, a circular trajectory at the same position can also be taken. In the case of no errors in assembly and motion, the two circular trajectories should completely coincide. However, in reality, there must be errors in assembly and axis motion. Assume that the rotation center O of the A motion axis coincides with the center of the coordinate system of the motion mechanism, and the rotation center O of the X motion axis and the Y motion axis are linked. X The coordinates are (x, y), the positioning error value is m, and the rotation angle is θ, then the X-axis and Y-axis linkage rotation center is O X The error of the angle θ with the center O of the A axis in the XY direction is:
[0055]
[0056]
[0057] The data processing module 2 is also used to analyze the imported workpiece model to be processed, and generate a laser galvanometer processing graph according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed. The details are as follows:
[0058] Expand the workpiece model to be processed along the rotation center of the A motion axis to obtain the expanded model with the XY plane where the rotation center of the A motion axis is located as the bottom surface, obtain the height data of the processing surface of the expanded model relative to the bottom surface where the rotation center of the A motion axis is located, extract the upper surface sheet of the expanded model, and use the edge contour of the upper surface sheet as the boundary. According to the processing requirements, fill the surface of the upper surface sheet, and use the filled figure as the generated laser galvanometer processing figure. Figure 2 The unfolded model of the workpiece shown in the figure can be found in Figure 3 , Figure 3 The unfolded model in the figure includes a machining surface 3 of the unfolded model, a bottom surface 5 in the XY plane where the rotation center of the A motion axis is located, a rotation starting point position 6 and a rotation ending position 7. In addition, the height between the bottom surface 5 and the machining surface 3 of the unfolded model is the rotation chord length 4.
[0059] The data processing module 2 is also used to generate the spatial position trajectory of the motion mechanism according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the coordinate system of the workpiece to be processed and the processing process requirements, and decompose the spatial position trajectory of the motion mechanism into the trajectory coordinates of each motion axis according to the spatial positioning position of the motion mechanism after compensation. Figure 3 , Figure 3 In the figure, the height L (rotation chord length 4) of the processing surface 3 of the unfolded model relative to the bottom surface 5 is mapped to the Z motion axis of the motion mechanism; the starting point of the unfolded model is the 0 point of the X motion axis, and the length of the processing surface 3 of the unfolded model is the motion length of the X motion axis of the motion mechanism; the A motion axis loads a rectangular workpiece, and its motion trajectory is a 360° rotation.
[0060] The control unit 3 is used to control the motion mechanism to move according to the trajectory coordinates of each motion axis, and dynamically interpolate the motion trajectory of the laser galvanometer and the motion mechanism according to the position feedback of each motion axis. At the same time, it controls the laser galvanometer to emit laser according to the laser galvanometer processing pattern to realize the linkage between the laser galvanometer and the motion mechanism, and complete the laser processing during the movement of the workpiece to be processed. Specifically, the A motion axis is controlled to rotate at a uniform speed, the rotation angle α of the A motion axis is calculated according to the rotation position feedback data of the A motion axis, and then the rotation arc length is calculated according to the height of the processing surface of the unfolded model relative to the bottom surface; when the change in the height L is less than or equal to the focusing range of the laser galvanometer in the Z motion axis direction, the laser galvanometer is controlled to adjust in the Z motion axis direction according to the change in height L; when the change in the height L is greater than the focusing range of the laser galvanometer in the Z motion axis direction, the Z motion axis of the motion mechanism is controlled to move according to the change in height L; when the difference between the rotation arc length and the fill line spacing of the laser galvanometer is less than or equal to the processing range of the laser galvanometer in the X motion axis direction, the laser galvanometer is controlled to move in the X motion axis direction according to the difference between the rotation arc length and the fill line spacing; when the difference between the rotation arc length and the fill line spacing is greater than the processing range of the laser galvanometer in the X motion axis direction, the X motion axis of the motion mechanism is controlled to move according to the difference between the rotation arc length and the fill line spacing. Since the rotational motion of the A motion axis will not cause displacement of the workpiece to be processed in the direction of the Y motion axis, the interpolation value in the direction of the Y motion axis is 0.
[0061] The calculation method of the above rotation arc length is as follows:
[0062]
[0063] Where P is the calculated rotation arc length, π is the ratio of pi.
[0064] The laser galvanometer is controlled to complete laser processing while the workpiece to be processed is moving according to the laser galvanometer processing pattern.
[0065] Since different workpieces to be processed will have certain position deviations when clamped on the rotating clamping platform during batch processing, in order to ensure the accuracy and consistency of batch workpiece processing, a 3D camera is used to perform visual positioning of the workpiece to be processed before generating the spatial position trajectory of the motion mechanism to obtain the position deviation of the workpiece clamping, including the displacement deviation and angle deviation in the X, Y, and Z motion axis directions, and transform the coordinate system of the workpiece to be processed according to the position deviation. Then, the transformed coordinate system of the workpiece to be processed is used for compensation when generating the spatial position trajectory of the motion mechanism.
[0066] The above is only a preferred embodiment of the present invention. It should be noted that for ordinary technicians in this technical field, other parts not specifically described belong to the prior art or common knowledge. Several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.
Claims
1. A multi-axis linkage rotary laser processing method, characterized in that: include: Parameter configuration is performed and a model of the workpiece to be processed is imported. The parameters include the motion axis parameters of the motion mechanism, the laser galvanometer parameters and the laser process parameters. The motion mechanism includes an XY platform composed of a vertically intersecting X motion axis and a Y motion axis, a rotating clamping platform connected to an A motion axis arranged to rotate around the X motion axis or the Y motion axis, and a vertical platform connected to a Z motion axis arranged vertically above the XY platform. The motion axis parameters include the positioning error corresponding to each motion axis. Calibrate the spatial positions of the motion mechanism, the laser galvanometer and the workpiece to be processed to obtain the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed; Analyze the positioning error corresponding to each motion axis of the configuration, and compensate the spatial positioning position error of the motion mechanism according to the positioning error of each motion axis; Parse the imported workpiece model to be processed, and generate the laser galvanometer processing graphics according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed; Generate a spatial position trajectory of the motion mechanism according to the position coordinate relationship among the motion mechanism coordinate system, the laser galvanometer coordinate system and the coordinate system of the workpiece to be processed and the processing process requirements, and decompose the spatial position trajectory of the motion mechanism into the trajectory coordinates of each motion axis according to the spatial positioning position of the motion mechanism after compensation; Control the motion mechanism to move according to the trajectory coordinates of each motion axis, and dynamically interpolate the motion trajectory of the laser galvanometer and the motion mechanism according to the position feedback of each motion axis, and at the same time control the laser galvanometer to emit laser according to the laser galvanometer processing pattern to realize the linkage of the laser galvanometer and the motion mechanism, and complete the laser processing while the workpiece to be processed is moving; The method of generating the laser galvanometer processing pattern is as follows: The workpiece model to be processed is unfolded along the rotation center of the A motion axis to obtain an unfolded model with the XY plane where the rotation center of the A motion axis is located as the bottom surface, and the height L of the processing surface of the unfolded model relative to the bottom surface where the rotation center of the A motion axis is located is obtained. The upper surface sheet of the unfolded model is extracted, and the edge contour of the upper surface sheet is used as the boundary. According to the processing technology requirements, the surface of the upper surface sheet is filled, and the filled figure is used as the generated laser galvanometer processing figure; The method of dynamically interpolating the motion trajectory of the laser galvanometer and the motion mechanism based on the position feedback of each motion axis is as follows: The A motion axis is controlled to rotate at a uniform speed, the rotation angle α of the A motion axis is calculated according to the rotation position feedback data of the A motion axis, and then the rotation arc length is calculated according to the height of the processing surface of the unfolded model relative to the bottom surface; when the change in the height L is less than or equal to the focusing range of the laser galvanometer in the Z motion axis direction, the laser galvanometer is controlled to adjust in the Z motion axis direction according to the change in the height L; when the change in the height L is greater than the focusing range of the laser galvanometer in the Z motion axis direction, the Z motion axis of the motion mechanism is controlled to move according to the change in the height L; when the difference between the rotation arc length and the fill line spacing of the laser galvanometer is less than or equal to the processing range of the laser galvanometer in the X motion axis direction, the laser galvanometer is controlled to move in the X motion axis direction according to the difference between the rotation arc length and the fill line spacing; when the difference between the rotation arc length and the fill line spacing is greater than the processing range of the laser galvanometer in the X motion axis direction, the X motion axis of the motion mechanism is controlled to move according to the difference between the rotation arc length and the fill line spacing.
2. A multi-axis linkage rotary laser processing method according to claim 1, characterized in that: The rotation arc length is calculated as follows: ; Where P is the calculated rotation arc length, π is the ratio of pi.
3. The multi-axis linkage rotary laser processing method according to claim 1, characterized in that: Before generating the spatial position trajectory of the motion mechanism, a 3D camera is used to visually locate the workpiece to be processed to obtain the position deviation of the clamping of the workpiece to be processed, and the coordinate system of the workpiece to be processed is transformed according to the position deviation. Then, when generating the spatial position trajectory of the motion mechanism, the transformed coordinate system of the workpiece to be processed is used for compensation.
4. A multi-axis linkage rotary laser processing control device, characterized in that: include: A parameter configuration module is used to configure parameters and import a model of a workpiece to be processed. The parameters include motion axis parameters of a motion mechanism, laser galvanometer parameters, and laser process parameters. The motion mechanism includes an XY platform composed of a vertically intersecting X motion axis and Y motion axis, a rotating clamping platform connected to an A motion axis arranged to rotate around the X motion axis or the Y motion axis, and a vertical platform connected to a Z motion axis arranged vertically above the XY platform. The motion axis parameters include positioning errors corresponding to each motion axis. A data processing module is used to calibrate the spatial positions of the motion mechanism, the laser galvanometer and the workpiece to be processed to obtain the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed; analyze the positioning error corresponding to each configured motion axis, and compensate the spatial positioning position error of the motion mechanism according to the positioning error of each motion axis; analyze the imported workpiece model to be processed, and generate a laser galvanometer processing graphic according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed; generate a spatial position trajectory of the motion mechanism according to the position coordinate relationship between the motion mechanism coordinate system, the laser galvanometer coordinate system and the workpiece coordinate system to be processed and the processing process requirements, and decompose the spatial position trajectory of the motion mechanism into the trajectory coordinates of each motion axis according to the compensated spatial positioning position of the motion mechanism; A control unit is used to control the motion mechanism to move according to the trajectory coordinates of each motion axis, and dynamically interpolate the motion trajectory of the laser galvanometer and the motion mechanism according to the position feedback of each motion axis, and at the same time control the laser galvanometer to emit laser according to the laser galvanometer processing pattern, so as to realize the linkage of the laser galvanometer and the motion mechanism, and complete the laser processing while the workpiece to be processed is moving; The method of generating the laser galvanometer processing pattern is as follows: The workpiece model to be processed is unfolded along the rotation center of the A motion axis to obtain an unfolded model with the XY plane where the rotation center of the A motion axis is located as the bottom surface, and the height L of the processing surface of the unfolded model relative to the bottom surface where the rotation center of the A motion axis is located is obtained. The upper surface sheet of the unfolded model is extracted, and the edge contour of the upper surface sheet is used as the boundary. According to the processing technology requirements, the surface of the upper surface sheet is filled, and the filled figure is used as the generated laser galvanometer processing figure; The method of dynamically interpolating the motion trajectory of the laser galvanometer and the motion mechanism based on the position feedback of each motion axis is as follows: The A motion axis is controlled to rotate at a uniform speed, the rotation angle α of the A motion axis is calculated according to the rotation position feedback data of the A motion axis, and then the rotation arc length is calculated according to the height of the processing surface of the unfolded model relative to the bottom surface; when the change in the height L is less than or equal to the focusing range of the laser galvanometer in the Z motion axis direction, the laser galvanometer is controlled to adjust in the Z motion axis direction according to the change in the height L; when the change in the height L is greater than the focusing range of the laser galvanometer in the Z motion axis direction, the Z motion axis of the motion mechanism is controlled to move according to the change in the height L; when the difference between the rotation arc length and the fill line spacing of the laser galvanometer is less than or equal to the processing range of the laser galvanometer in the X motion axis direction, the laser galvanometer is controlled to move in the X motion axis direction according to the difference between the rotation arc length and the fill line spacing; when the difference between the rotation arc length and the fill line spacing is greater than the processing range of the laser galvanometer in the X motion axis direction, the X motion axis of the motion mechanism is controlled to move according to the difference between the rotation arc length and the fill line spacing.
5. The multi-axis linkage rotary laser processing control device according to claim 4, characterized in that: The rotation arc length is calculated as follows: ; Where P is the calculated rotation arc length, π is the ratio of pi.
6. The multi-axis linkage rotary laser processing control device according to claim 4, characterized in that: Before generating the spatial position trajectory of the motion mechanism, a 3D camera is used to visually locate the workpiece to be processed to obtain the position deviation of the clamping of the workpiece to be processed, and the coordinate system of the workpiece to be processed is transformed according to the position deviation. Then, when generating the spatial position trajectory of the motion mechanism, the transformed coordinate system of the workpiece to be processed is used for compensation.
