Laser cutting method and system
By obtaining and adjusting the safe starting point and B-axis position of the laser cutting equipment, the safety and interruption problems of the turntable model laser processing equipment are solved, and more efficient automatic continuous processing is achieved.
Patent Information
- Application Number
- CN202411193843.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The turntable laser processing equipment has poor safety and interruption in cutting trajectory planning and B-axis movement, especially in the process of automated continuous processing, which is difficult to meet the requirements.
By obtaining the safety area of the feeding bracket, the initial safety starting point is obtained by cycling processing, and the B-axis position is adjusted based on the preset B-axis motion logic to ensure that the laser cutting head is processed at the safe starting point, avoiding the interruption caused by the drop of parts and the B-axis out of range. .
It improves the processing safety of laser processing equipment, reduces interruptions, meets the needs of automated continuous processing, and improves processing efficiency.
Smart Images

Figure CN119016894A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of machine tool control, and in particular to a laser cutting method and system. Background Art
[0002] Laser processing refers to a method of processing materials using a converged laser beam, which is usually accomplished using laser equipment including lasers, processing machines, optical fibers, and laser processing heads.
[0003] Existing laser equipment includes chuck models and turntable models. Among them, the laser processing head of the chuck model remains stationary, and the cutting is performed by rotating and pulling the material (tube, etc.) held by the chuck. Due to the mechanical movement of the chuck rotation and the swing of the tube, the accuracy is poor. The turntable model is a turntable that moves the laser head through the optical fiber, and the material only moves on the feeding bracket without rotating, so the processing accuracy can be significantly improved.
[0004] However, on the one hand, the laser processing head of the turntable model has a wider range of motion. Therefore, when the starting point position of the cutting trajectory planning on the drawing is unreasonable, it is not only easy for the laser processing head to be damaged due to parts falling, etc., which makes the processing safety of the turntable model poor. On the other hand, due to the feedback limitation of the B-axis encoder and the optical fiber length limitation of the turntable model, the B-axis stroke often needs to be limited to a range and cannot rotate infinitely. Therefore, during the laser processing, it is easy for the B-axis position to exceed the range of the B-axis stroke, causing the processing to be interrupted. As a result, not only is the processing safety poor, but it also cannot meet the processing requirements of continuous processing in the automated processing process. Summary of the invention
[0005] The present invention provides a laser cutting method and system, which are suitable for laser processing equipment of a turntable type, so as to improve processing safety, reduce processing interruptions, and better meet the processing requirements of continuous processing in an automated processing process.
[0006] In a first aspect of the present invention, a laser cutting method is provided, which is suitable for a laser processing device of a turntable type, wherein the laser processing device has a corresponding B-axis stroke, and the laser cutting method comprises:
[0007] Based on the feeding support of the laser processing equipment, a safety zone is obtained;
[0008] According to the pre-selection rule, a plurality of candidate starting points are obtained on the second cutting trajectory, where the second cutting trajectory is the first cutting trajectory to be cut in the current processing task;
[0009] Perform several loop processing to obtain a safe starting point and a B-axis position corresponding to the safe starting point, the Rth of the several loop processing comprising: obtaining an initial safe starting point of the Rth loop processing within the safety zone from among several alternative starting points, where R is a natural number; obtaining a second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing based on a first posture angle, a first B-axis position, the second cutting trajectory, the initial safe starting point of the Rth loop processing, and a preset B-axis motion logic; if the second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing is within the range of the B-axis travel, the initial safe starting point of the Rth loop processing is used as the safe starting point, and the second initial B-axis position corresponding to the second cutting trajectory at the initial safe starting point of the Rth loop processing is used as the safe starting point. The B-axis position corresponding to the starting point of the R-th loop processing; if the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing exceeds the range of the B-axis travel, based on the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing and the preset rotation correction angle, the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing is obtained; if the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing meets the preset B-axis constraint condition, the initial safety starting point of the R-th loop processing is taken as the safety starting point, and the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing is taken as the B-axis position corresponding to the safety starting point; if the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing does not meet the preset B-axis constraint condition, the R+1-th loop processing is performed;
[0010] Based on the preset B-axis motion logic, the safety starting point, and the B-axis position corresponding to the safety starting point, laser cutting of the current processing task is performed;
[0011] Among them, if there is no processing task before the current processing task, the first posture angle is the preset posture angle of the laser cutting head in the laser processing equipment, and the first B-axis position is the preset B-axis position; if there is a previous processing task before the current processing task, the first posture angle is the posture angle of the laser cutting head at the end position of the previous processing task, and the first B-axis position is the corresponding B-axis position at the end position of the previous processing task.
[0012] Optionally, the method for obtaining several alternative starting points on the second cutting trajectory according to the pre-equipped selection rules includes: obtaining several alternative starting points according to the pre-equipped starting point selection conditions; sorting the several alternative starting points according to the preset sorting rules to form an alternative starting point list; wherein the pre-equipped starting point selection conditions include at least one of the following types: the midpoint of the long side of the second cutting trajectory with a length greater than a preset length, the midpoint of the line segment in the boundary of the bounding box corresponding to the second cutting trajectory after two-dimensional expansion, several preset sampling points on the far end boundary of the second cutting trajectory, the midpoint of the designated long side of the second cutting trajectory outside the cutting line, and at least one of the endpoints of the micro-segment in the second cutting trajectory, the designated long side being a line segment formed by all line segments connected end to end on the same straight line after the cutting trajectory is two-dimensionally expanded; the method for obtaining the initial safe starting point for the Rth cycle processing in the safety zone from the several alternative starting points further includes: based on the sorting of the several alternative starting points in the alternative starting point list, obtaining the initial safe starting point for the Rth cycle processing in the safety zone from the several alternative starting points.
[0013] Optionally, the obtaining of the plurality of candidate starting points according to the pre-equipment starting point selection conditions further comprises: if the second cutting trajectory is at least partially within the safety zone, obtaining the plurality of candidate starting points according to the pre-equipment starting point selection conditions.
[0014] Optionally, the preset sorting rules include: sorting each of the alternative starting points based on the Z-axis coordinate of each of the alternative starting points, the alternative starting point with a larger Z-axis coordinate takes precedence over the alternative starting point with a smaller Z-axis coordinate, the Z-axis is a coordinate axis parallel to the feeding direction, and the Z-axis coordinate decreases toward the feeding direction; when the Z-axis coordinates of several alternative starting points are the same, sorting is based on the preset category priority.
[0015] Optionally, the priority of the preset categories is as follows: the endpoint of the micro-segment in the second cutting trajectory, the midpoint of the specified long side of the second cutting trajectory outside the cutting line, the midpoint of the long side of the second cutting trajectory above a preset length, the midpoint of the line segment in the boundary of the bounding box corresponding to the second cutting trajectory after two-dimensional expansion, and several preset sampling points on the far boundary of the second cutting trajectory.
[0016] Optionally, the Rth of the several loop processings also includes: judging whether there is an obtainable initial safety starting point in the Rth loop processing based on the ranking of several alternative starting points in the alternative starting point list; if so, obtaining the initial safety starting point for the Rth loop processing within the safety zone from among the several alternative starting points based on the ranking of the several alternative starting points in the alternative starting point list; if not, giving a prompt that the initial safety starting point is not in the safety zone and terminating the loop processing.
[0017] Optionally, when the safety starting point and the B-axis position corresponding to the safety starting point cannot be obtained in several cycles of processing, the laser cutting method further includes: terminating the current processing task.
[0018] Optionally, the method further includes: if all the second cutting tracks or all the several candidate starting points are outside the safety zone, and the second cutting track does not contain a micro-segment, adding a micro-segment to the second cutting track.
[0019] Optionally, the method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing based on the first posture angle, the first B-axis position, the second cutting trajectory, the initial safety starting point of the R-th loop processing, and the preset B-axis motion logic includes: obtaining the posture angle of the laser cutting head on the second cutting trajectory based on the second cutting trajectory; obtaining the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing based on the first posture angle, the first B-axis position, the preset B-axis motion logic, and the posture angle of the laser cutting head at the initial safety starting point of the R-th loop processing; obtaining the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing based on the preset B-axis motion logic, the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing, and the posture angle of the laser cutting head on the second cutting trajectory.
[0020] Optionally, the method for obtaining the posture angle of the laser cutting head on the second cutting trajectory includes: obtaining the two-dimensional normal vector of the three-dimensional normal vector of the second cutting trajectory on the projection plane, and the projection plane is perpendicular to the feeding direction of the laser processing equipment; sampling the two-dimensional normal vector of the second cutting trajectory on the projection plane based on the bow height error, and obtaining the posture angle of the laser cutting head at each sampling point in a plurality of sampling points, and the plurality of sampling points include the initial safe starting point of the Rth cycle processing.
[0021] Optionally, the method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing includes: sorting the m sampling points, where m is a natural number greater than 3; based on the preset B-axis motion logic, the second initial B-axis position corresponding to the n-1th sampling point, the posture angle of the laser cutting head at the n-1th sampling point, and the posture angle of the laser cutting head at the n-1th sampling point, obtaining the second initial B-axis position corresponding to the n-th sampling point, wherein 2≤n≤m, n is a natural number, and when n=2, the n-1th sampling point is the initial safety starting point of the R-th loop processing; based on the second initial B-axis positions corresponding to the m sampling points, obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing, the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing is a B-axis position range starting from the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing.
[0022] Optionally, the second initial B-axis position corresponding to the second cutting trajectory in the R-th cycle processing is the second initial B-axis position BCur corresponding to the initial safety starting point of the R-th cycle processing. R The method for obtaining the second corrected B-axis position corresponding to the initial safety starting point of the R-th cycle processing includes: based on the second initial B-axis position BCur R The relationship between the B-axis stroke and the first preset correction angle is used to obtain the first correction angle value ExtRotation0 of the R-th cycle processing. R Based on the relationship between the second initial B-axis position and the B-axis stroke corresponding to the second cutting trajectory outside the initial safety starting point of the R-th cycle processing, and the second preset correction angle, the second correction angle value ExtRotation1 of the R-th cycle processing is obtained. R ; If the first correction angle value ExtRotation0 R and the second modified angle value ExtRotation1 R At least one of them is not 0°, and the second modified B-axis position BAdj corresponding to the initial safety starting point of the R-th cycle processing is obtained. R , where BAdj R =BCur R +ExtRotation0 R +ExtRotation1 R .
[0023] Optionally, obtain the first correction angle value ExtRotation0 RThe method further comprises: if the second initial B-axis position BCur R Beyond the range of the B-axis travel, the first correction angle value ExtRotation0 is formed based on the first preset correction angle and the corresponding correction direction. R ; If the second initial B-axis position BCur R Within the range of the B-axis travel, the first correction angle value ExtRotation0 R is 0°; wherein, if the second initial B-axis position BCur R If the positive limit of the B-axis stroke is exceeded, then in the Rth cycle processing, the correction direction corresponding to the first preset correction angle is reverse; if the second initial B-axis position BCur R If the negative limit of the B-axis stroke is exceeded, in the R-th cycle processing, the correction direction corresponding to the first preset correction angle is positive.
[0024] Optionally, obtain the second correction angle value ExtRotation1 R The method further includes: if the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point of the R-th cycle processing exceeds the range of the B-axis travel, based on the second preset correction angle and the corresponding correction direction, forming a second correction angle value ExtRotation1 R If the second initial B-axis position corresponding to the second cutting trajectory other than the initial safety starting point of the Rth cycle processing is within the range of the B-axis stroke, the second correction angle value ExtRotation1 R is 0°; wherein, if the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point of the R-th cycle processing exceeds the positive limit of the B-axis stroke, then in the R-th cycle processing, the correction direction corresponding to the second preset correction angle is reverse; if the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point of the R-th cycle processing exceeds the negative limit of the B-axis stroke, then in the R-th cycle processing, the correction direction corresponding to the second preset correction angle is positive.
[0025] Optionally, the first preset correction angle is equal to the second preset correction angle, and the first preset correction angle and the second preset correction angle are both 360°.
[0026] Optionally, if the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing meets the preset B-axis constraint condition, it further includes: the second intermediate B-axis position and the second intermediate B-axis position range of the R-th loop processing are both within the range of the B-axis stroke, wherein the second intermediate B-axis position processed by the R-th loop is based on the second initial B-axis position BCur R Superimpose the first correction angle value ExtRotation0 R The second intermediate B-axis position range processed in the Rth cycle is based on the second initial B-axis position BCur R , the first correction angle value ExtRotation0 R , and the second correction angle value ExtRotation1 R Superposition formation.
[0027] Optionally, the method for obtaining a safety zone based on the feeding bracket of the laser processing equipment includes: obtaining the safety zone based on a bracket angle of the feeding bracket, and the safety zone is within the range of the bracket angle.
[0028] Optionally, the preset B-axis motion logic includes: within the B-axis travel range, the rotating mechanism of the laser processing equipment moves along the minor arc between any two B-axis positions, and when the B-axis position is at 180°, the rotating mechanism moves to the 0 position in the B-axis travel.
[0029] Optionally, before obtaining the several alternative starting points on the second cutting trajectory, it also includes: sorting the Q cutting trajectories in the current processing task according to a preset trajectory sorting rule to form the current processing task trajectory information, Q is a natural number; determining the second cutting trajectory among the Q cutting trajectories according to the current processing task trajectory information; the laser cutting of the current processing task based on the preset B-axis motion logic, the safety starting point, and the B-axis position corresponding to the safety starting point further includes: performing laser cutting of the current processing task based on the preset B-axis motion logic, the safety starting point, the B-axis position corresponding to the safety starting point, and the current processing task trajectory information.
[0030] Optionally, the method of sorting the Q cutting trajectories in the current processing task according to the preset trajectory sorting rules to form the trajectory information of the current processing task includes: determining the rotation direction of the rotating mechanism of the laser processing equipment based on the first B-axis position and the preset B-axis motion logic; sorting the Q cutting trajectories in the current processing task based on the first position, the rotation direction of the rotating mechanism and the principle of shortest idle movement to form the trajectory information of the current processing task; wherein, if there is no processing task before the current processing task, the first position is the preset position of the laser cutting head; if there is a previous processing task before the current processing task, the first position is the end position of the laser cutting head in the previous processing task.
[0031] Optionally, before sorting the Q cutting trajectories in the current processing task according to the preset trajectory sorting rule to form the trajectory information of the current processing task, it also includes: screening the P cutting trajectories within the processing range to form a current processing task containing the Q cutting trajectories, where P is a natural number and 1≤Q≤P;
[0032] Optionally, the method for screening P cutting trajectories within the processing range to form a current processing task containing Q cutting trajectories includes: obtaining P cutting trajectories within the processing range; dividing the P cutting trajectories into a first type of cutting trajectories and a second type of cutting trajectories, the first type of cutting trajectories including cutting lines and cross-surface trajectories, and the second type of cutting trajectories including other cutting trajectories except the first type of cutting trajectories; sorting the cutting trajectories in the first type of cutting trajectories in order of Zbmax from small to large to form a first list, where the Z axis is a coordinate axis parallel to the feeding direction, the Z axis coordinate decreases toward the feeding direction, and Zbmax is the cutting trajectory. the maximum Z-axis coordinate of the bounding box on the Z-axis; sort the cutting trajectories in the second type of cutting trajectories in the order of Zbmax from small to large, or in the order of surface sorting based on the rotation direction of the rotating mechanism, to form a second list; obtain a first target cutting trajectory in the first list, the first target cutting trajectory is the cutting trajectory with the smallest Zbmax in the first list; obtain several second target cutting trajectories in the second list, the Zbmax of the second target cutting trajectory is less than the Zbmax of the first target cutting trajectory, and the Q cutting trajectories include the first target cutting trajectory and several second target cutting trajectories.
[0033] Optionally, it also includes: performing the aforementioned multiple cycles of processing during the process of performing the previous processing task.
[0034] Optionally, it also includes: during the process of performing the previous processing task and after completing the loop processing, performing center point addition processing and fly cutting generation processing on the current processing task.
[0035] A second aspect of the present invention provides a laser cutting system suitable for a turntable type laser processing device, the laser processing device having a corresponding B-axis stroke, and the laser cutting system adopts any of the laser cutting methods described above.
[0036] According to a third aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above methods when executing the program.
[0037] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in any of the above methods are implemented.
[0038] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0039] In the laser cutting method and system provided by the technical solution of the present invention, before the current processing task is performed, the safety zone is obtained based on the bracket angle of the feeding bracket, and in the loop processing, the safety starting point is obtained based on the initial safety starting point in the safety zone. Therefore, by setting the starting point of the laser cutting of the current processing task as the safety starting point (i.e., the laser cutting of the current processing task is performed based on the safety starting point), the risk of the laser cutting head being damaged by falling parts during the laser cutting process is reduced, thereby improving the processing safety of the laser processing equipment of the turntable type. On this basis, because the relationship between the second initial B-axis position corresponding to the initial safety starting point and the B-axis travel range is predicted through the loop processing before the current processing task is performed, so that when the second initial B-axis position corresponding to the initial safety starting point exceeds the B-axis travel range, a second corrected B-axis position that can adjust and optimize the B-axis action of the current processing task is formed, and on the basis that the second corrected B-axis position meets the preset B-axis constraint condition, the initial safety starting point is determined as the safety starting point to perform the laser cutting of the current processing task in the subsequent process. Therefore, while improving the processing safety of the laser processing equipment of the turntable type, the processing interruption is reduced, and the processing requirements of continuous processing in the automated processing process are better met. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, 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 creative labor.
[0041] Figure 1 is a schematic flow chart of a laser cutting method according to an embodiment of the present invention;
[0042] Figure 2 It is a cross-sectional schematic diagram of a feeding bracket, a bracket angle and a safety zone in a projection plane according to an embodiment of the present invention;
[0043] Figure 3 is a schematic cross-sectional view of a feeding bracket, bracket angle and safety zone in a projection plane of another embodiment of the present invention;
[0044] Figure 4 is a flow chart of step S500 in one embodiment of the present invention;
[0045] Figure 5 is a schematic diagram of a B-axis stroke, a second cutting trajectory and a laser cutting head in one embodiment of the present invention;
[0046] Figure 6 is a schematic diagram of the process flow of the Rth cycle processing in one embodiment of the present invention;
[0047] Figure 7 It is a schematic diagram of the first B-axis position after the B-axis stroke is expanded, the second cutting trajectory, and the initial safety starting point RS of the R-th cycle processing in one embodiment of the present invention;
[0048] Figure 8 is a flow chart of step S630 in one embodiment of the present invention;
[0049] Fig. 9 It is a schematic diagram of the second corrected B-axis position corresponding to the safety starting point after the B-axis stroke is expanded in one embodiment of the present invention. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0052] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0053] An embodiment of the present invention provides a laser cutting method, which is suitable for a turntable type laser processing device, and the turntable type laser processing device has a corresponding B-axis stroke.
[0054] Specifically, the rotating mechanism of the laser processing equipment is a turntable, and the B axis is the rotating axis of the turntable.
[0055] The B-axis travel corresponding to the laser processing equipment is: the rotation angle range of the B-axis.
[0056] Correspondingly, the B-axis travel has positive limit and negative limit.
[0057] In addition, for the convenience of explanation and illustration, a coordinate system is defined in the embodiment of the present invention.
[0058] Specifically, the Z axis is defined as a coordinate axis parallel to the feeding direction, and the plane perpendicular to the Z axis is the projection plane. The projection plane includes a rectangular coordinate system formed by the X axis and the Y axis, wherein the X axis direction is the horizontal direction, the Y axis direction is the vertical direction, and the Z axis coordinate decreases toward the feeding direction.
[0059] It should be understood that, in actual application scenarios, the coordinate system can be defined according to actual needs, and the definition of the coordinate system does not affect the technical effect of the present invention.
[0060] Please refer to Figure 1 , the laser cutting method provided by the embodiment of the present invention includes:
[0061] Step S400, obtaining a safety zone based on a feeding bracket of a laser processing device;
[0062] Step S500, obtaining a number of candidate starting points on the second cutting trajectory according to a pre-set selection rule;
[0063] Step S600, performing a plurality of loop processes to obtain a safety starting point and a B-axis position corresponding to the safety starting point;
[0064] Step S700, based on the preset B-axis motion logic, the safety starting point, and the B-axis position corresponding to the safety starting point, laser cutting of the current processing task is performed.
[0065] The following is a detailed description with reference to the accompanying drawings.
[0066] Please refer to Figure 2 , for step S400, based on the feeding support 10 of the laser processing equipment, the safety zone A is obtained.
[0067] In some optional embodiments, based on the feeding bracket 10 of the laser processing equipment, the method for obtaining the safety zone A includes: obtaining the safety zone A based on the bracket angle C of the feeding bracket 10, and the safety zone A is within the range of the bracket angle C.
[0068] Specifically, on the projection plane, the area where the feeding support 10 supports the material 20 corresponds to a support angle C.
[0069] It should be noted that in actual application scenarios, since the structures of various laser cutting machines are different, each laser cutting machine has its own bracket angle C.
[0070] In addition, the bracket angle C does not only include angle information, but also includes position information based on the feeding bracket 10. Therefore, in actual application scenarios, in order to accurately express the bracket angle C, the range corresponding to the bracket angle C can be converted into a corresponding coordinate range based on the rectangular coordinate system composed of the above X-axis and Y-axis, and the range of the safety zone A can be determined accordingly.
[0071] It should be understood that, since the safety zone A is obtained based on the bracket angle C, similar to the bracket angle C, the safety zone A can also convert the corresponding range into a corresponding coordinate range.
[0072] In some optional embodiments, the safety zone A and the bracket angle C have the same range. For ease of explanation, Figure 2 The boundary of the safety zone A is schematically indicated by a dotted line.
[0073] In some other optional embodiments, the range of the safety zone B is smaller than the range of the bracket angle C (eg Figure 3 As shown). Thus, the obtained security zone is more secure. For ease of explanation, Figure 3 The boundary of the safety zone B is schematically indicated by a dotted line.
[0074] Please continue to refer to Figure 1 In step S500, the second cutting trajectory is the first cutting trajectory to be cut in the current processing task.
[0075] It should be noted that the current processing task is a task that has not yet started processing.
[0076] In some alternative embodiments, please refer to Figure 4 , with respect to step S500, the method for obtaining a plurality of candidate starting points on the second cutting trajectory according to the pre-equipment selection rule includes: step S510, obtaining a plurality of candidate starting points according to the pre-equipment selection starting point condition.
[0077] Specifically, the pre-device selection starting point condition includes at least one of the following types:
[0078] 1) The midpoint of the long side of the cutting track that is longer than the preset length;
[0079] 2) The midpoint of the line segment in the bounding box boundary corresponding to the two-dimensional expansion of the cutting trajectory;
[0080] 3) a number of preset sampling points on the distal boundary of the cutting trajectory;
[0081] 4) The midpoint of the designated long side of the cutting trajectory outside the cutting line;
[0082] 5) Cut the endpoints of the micro-segments in the trajectory.
[0083] The following will further explain the various types of alternative starting points for easier understanding.
[0084] 1) The midpoint of the long side of the cutting track that is longer than the preset length.
[0085] Usually, when a point on a short side is used as the cutting starting point, or when a line segment endpoint is used as the cutting starting point, the pattern deviation after cutting is large and it is difficult to perforate during cutting, resulting in poor cutting effect. Therefore, the midpoint of a long side longer than a preset length is used as an alternative starting point, eliminating the need to select an alternative starting point on a side that is too short or a line segment endpoint, and ultimately forming a safe starting point, thereby improving the cutting accuracy and cutting effect of laser cutting.
[0086] In some optional embodiments, the preset length is 5 mm.
[0087] 2) The midpoint of the line segment in the boundary of the bounding box corresponding to the cutting trajectory after two-dimensional expansion.
[0088] By using the midpoint of the line segment in the boundary of the bounding box corresponding to the two-dimensional expansion of the cutting trajectory as the pre-selected starting point condition, corresponding alternative starting points can be provided for situations where the cutting trajectory contains arcs, or is circular or elliptical.
[0089] 3) Several preset sampling points on the far boundary of the cutting trajectory.
[0090] Specifically, the distal boundary of the cutting trajectory refers to a boundary on the cutting trajectory having a maximum Z-axis coordinate.
[0091] By using a preset sampling point on the far end boundary of the cutting trajectory as an alternative starting point, the risk of the laser processing equipment's jaws being clamped during the feeding process can be reduced.
[0092] Furthermore, the preset sampling points may be directly selected by a technician or may be selected according to certain preset sampling rules.
[0093] For example, the specific number of preset sampling points, the distribution method of the preset sampling points, etc. can be pre-set as sampling rules.
[0094] In some optional embodiments, there are multiple preset sampling points evenly distributed on the distal boundary of the cutting track. For example, five preset sampling points evenly distributed on the distal boundary of the cutting track are used as the candidate starting points.
[0095] 4) The midpoint of the specified long side of the cutting trajectory outside the cutting line.
[0096] Among them, the cutting line is one of the cutting tracks, and the cutting line is usually used to cut the pipe so that the processed parts fall off.
[0097] The designated long side refers to the line segment formed by all the line segments connected end to end on the same straight line after the cutting trajectory is expanded in two dimensions.
[0098] Specifically, for example, when cutting a tube with a circular cross-section along a rectangular cutting trajectory, since the surface of the tube is a curved surface, the trajectory formed after the rectangular cutting trajectory is two-dimensionally unfolded will include multiple continuous line segments connected end to end on the same straight line, and these multiple continuous line segments connected end to end will eventually form a long line segment.
[0099] 5) Cut the endpoints of the micro-segments in the trajectory.
[0100] That is to say, when the cutting track itself has a micro segment, the endpoint of the micro segment can be used as an alternative starting point.
[0101] It should be understood that the types of pre-selected starting point conditions can be one, two, more or all of the above types. When fewer types are adopted, it is beneficial to improve processing efficiency. When more types are adopted, more alternative starting points are provided for selection, so that it is easy to obtain a safe starting point that meets the conditions and the corresponding B-axis position at the safe starting point.
[0102] In actual application scenarios, it is also possible to select appropriate types of pre-device starting point selection conditions based on the pre-judgment of the graphics of the cutting trajectory. For example, when the cutting trajectory includes an arc or a circle, the midpoint of the line segment of the boundary of the bounding box after the cutting trajectory is two-dimensionally unfolded can be selected as the pre-device starting point selection condition to obtain an alternative starting point; when there is a rectangular cutting trajectory on a pipe with a circular cross-section, the midpoint of the long side of the cutting trajectory that is longer than a preset length, the midpoint of the designated long side of the cutting trajectory outside the cutting line, etc. can be selected as the pre-device starting point selection condition to obtain an alternative starting point.
[0103] In some optional embodiments, step S510, obtaining several candidate starting points according to the pre-equipment starting point selection conditions, further includes: if the second cutting trajectory is at least partially within the safety zone, obtaining several candidate starting points according to the pre-equipment starting point selection conditions.
[0104] Specifically, if the second cutting trajectory is at least partially within the safety zone, the method for obtaining several candidate starting points according to the pre-set starting point selection conditions includes:
[0105] Determine whether all cutting tracks are outside the safety zone;
[0106] If not, execute step S510 to obtain a number of candidate starting points according to the pre-configured starting point selection conditions.
[0107] Among them, whether all cutting tracks are outside the safety zone can be determined by judging the relationship between the projection of the cutting track on the projection plane and the safety zone.
[0108] In actual application scenarios, judgment can also be made by comparing the coordinate information of the cutting trajectory on the projection plane with the coordinate range of the safety zone.
[0109] Since the second cutting trajectory is at least partially within the safety zone, several alternative starting points are obtained according to the pre-equipped starting point selection conditions. Therefore, a situation in which a safe starting point cannot be selected from the alternative starting points is eliminated in an efficient way, thereby not only improving the processing efficiency but also facilitating early risk warning.
[0110] In some optional embodiments, please continue to refer to Figure 4 , with respect to step S500, according to a preset device selection rule, the method for obtaining several candidate starting points on the second cutting trajectory also includes: step S520, sorting the several candidate starting points according to a preset sorting rule to form a list of candidate starting points.
[0111] Furthermore, the preset sorting rules include:
[0112] 1) sorting the candidate starting points based on their Z-axis coordinates, with the candidate starting points with larger Z-axis coordinates taking precedence over the candidate starting points with smaller Z-axis coordinates;
[0113] 2) When the Z-axis coordinates of several candidate starting points are the same, they are sorted based on the preset category priority.
[0114] That is, the candidate starting point with a larger coordinate on the Z axis has a higher sorting priority, and when two or more candidate starting points have the same coordinate on the Z axis, they are sorted based on the preset category priority.
[0115] By giving priority to the alternative starting points with larger Z-axis coordinates over the alternative starting points with smaller Z-axis coordinates during sorting, the risk of the laser processing equipment's clamping jaws being empty during processing can be better reduced.
[0116] In some optional embodiments, the priority of preset categories is as follows: the endpoints of micro-segments in the cutting trajectory, the midpoints of the specified long sides of the cutting trajectory outside the cutting line, the midpoints of the long sides of the cutting trajectory above the preset length, the midpoints of the line segments in the boundary of the bounding box corresponding to the two-dimensional expansion of the cutting trajectory, and several preset sampling points on the far boundary of the cutting trajectory.
[0117] For clearer explanation, “>” represents “priority” below, indicating the priority of preset types: endpoint of micro-segment in cutting trajectory > midpoint of specified long side of cutting trajectory outside cutting line > midpoint of long side of cutting trajectory longer than preset length > midpoint of line segment in the boundary of bounding box corresponding to the two-dimensional expansion of cutting trajectory > several preset sampling points on the far boundary of cutting trajectory.
[0118] By taking the endpoint of the micro-segment in the cutting trajectory as the highest priority alternative starting point, the cutting logic of the laser cutting head can be easily planned, saving cutting time and improving cutting efficiency.
[0119] Of course, in some other optional embodiments, other sorting methods may also be used.
[0120] Please refer to Figure 1 and Figure 6 For step S600, several loop processes are performed to obtain a safe starting point and the B-axis position corresponding to the safe starting point, wherein the Rth of the several loop processes includes: step S620, obtaining the initial safe starting point of the Rth loop process in the safety zone from several alternative starting points.
[0121] R is a natural number.
[0122] Among them, whether the candidate starting point is within the safety zone can be determined by determining the relationship between the projection of the candidate starting point on the projection plane and the safety zone.
[0123] In actual application scenarios, the initial safe starting point for the Rth cycle processing can also be obtained by checking whether the coordinate information of the candidate starting point on the projection plane is within the coordinate range of the safe zone.
[0124] In some optional embodiments, the Rth of the several cycles further includes:
[0125] Based on the ranking of several candidate starting points in the candidate starting point list, determining whether there is an obtainable initial safe starting point in the R-th cycle processing;
[0126] If not, execute step S610, give a prompt that the user is not in the safe zone, and end the loop process;
[0127] If yes, execute step S620.
[0128] Among them, step S620, the method of obtaining the initial safe starting point for the Rth cycle processing in the safety zone from several alternative starting points further includes: based on the order of several alternative starting points in the alternative starting point list, obtaining the initial safe starting point for the Rth cycle processing in the safety zone from several alternative starting points.
[0129] Specifically, if R=1, when performing the Rth loop processing, the candidate starting points can be screened in order according to the sorting order of the candidate starting points in the candidate starting point list, starting from the first candidate starting point as the starting point, until a candidate starting point in the safety zone is screened out, and the selected candidate starting point in the safety zone is used as the initial safety starting point for the Rth loop processing (when R=1). If R≥2, when performing the Rth loop processing, the candidate starting points can be screened in order according to the sorting order of the candidate starting points in the candidate starting point list, starting from the next candidate starting point of the initial safety starting point in the previous loop processing, until a candidate starting point in the safety zone is screened out, and the selected candidate starting point in the safety zone is used as the initial safety starting point for the Rth loop processing (when R≥2). On this basis, if the candidate starting point in the safety zone cannot be screened out during the Rth loop processing, it is determined that there is no obtainable initial safety starting point in the Rth loop processing.
[0130] By giving a reminder that the vehicle is not in the safe zone when there is no initial safe starting point, technical personnel are warned, making it convenient for them to intervene manually in advance.
[0131] Please continue to refer to Figure 1 and Figure 6 For step S600, the Rth of several loop processings also includes: step S630, based on the first posture angle, the first B-axis position, the second cutting trajectory, the initial safety starting point of the Rth loop processing, and the preset B-axis motion logic, obtaining the second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing.
[0132] Please refer to Figure 7 , Figure 7Schematically shows the correspondence between the first B-axis position, the second cutting trajectory, the initial safety starting point RS of the R-th cycle processing, and the expanded B-axis stroke.
[0133] Specifically, the first B-axis position and the first posture angle are determined based on whether there is a previous processing task before the current processing task:
[0134] If there is no processing task before the current processing task, the first posture angle is the preset posture angle of the laser cutting head in the laser processing equipment, and the first B-axis position is the preset B-axis position;
[0135] If there is a previous processing task before the current processing task, the first posture angle is the posture angle of the laser cutting head at the end position of the previous processing task, and the first B-axis position is the B-axis position corresponding to the end position of the previous processing task.
[0136] That is, in the absence of a previous processing task, the first B-axis position and the first posture angle are pre-set. In the presence of a previous processing task, the first B-axis position and the first posture angle are determined based on the first cutting trajectory, wherein the first cutting trajectory is the cutting trajectory in the previous processing task.
[0137] In some embodiments, the preset B-axis motion logic includes: within the B-axis travel range, the rotating mechanism of the laser processing equipment moves along the minor arc between any two B-axis positions, and when the B-axis position is at 180°, the rotating mechanism moves to the 0 position in the B-axis travel.
[0138] The 0 position in the B-axis travel refers to the middle B-axis position between the positive limit and the negative limit of the B-axis travel.
[0139] Since the rotating mechanism moves along a minor arc between any two B-axis positions within the B-axis travel range, the B-axis movement can always be completed in the shortest path without exceeding the B-axis travel range, thereby improving cutting efficiency.
[0140] In some alternative embodiments, please refer to Figure 6 and Figure 8 , for step S630, based on the first posture angle, the first B-axis position, the second cutting trajectory, the initial safety starting point of the R-th loop processing, and the preset B-axis motion logic, the method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing includes: step S631, based on the second cutting trajectory, obtaining the posture angle of the laser cutting head on the second cutting trajectory.
[0141] Specifically, for step S631, based on the second cutting trajectory, the method for obtaining the posture angle of the laser cutting head on the second cutting trajectory includes: step S6311, obtaining the two-dimensional normal vector of the three-dimensional normal vector of the second cutting trajectory on the projection plane; step S6312, sampling the two-dimensional normal vector of the second cutting trajectory on the projection plane based on the bow height error, and obtaining the posture angle of the laser cutting head at each sampling point among multiple sampling points.
[0142] The multiple sampling points include an initial safety starting point for the Rth cycle processing.
[0143] In some optional embodiments, please continue to refer to Figure 6 and Figure 8 , for step S630, based on the first posture angle, the first B-axis position, the second cutting trajectory, the initial safety starting point of the R-th loop processing, and the preset B-axis motion logic, the method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing also includes: step S632, based on the first posture angle, the first B-axis position, the preset B-axis motion logic, and the posture angle of the laser cutting head at the initial safety starting point of the R-th loop processing, obtaining the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing.
[0144] Specifically, through the first posture angle, the first B-axis position, and the posture angle of the laser cutting head at the initial safety starting point of the Rth cycle processing, the preset B-axis motion logic can be calculated: without adjustment or optimization, the second initial B-axis position BCur corresponding to the initial safety starting point of the Rth cycle processing R .
[0145] In some optional embodiments, please continue to refer to Figure 6 and Figure 8 , for step S630, based on the first posture angle, the first B-axis position, the second cutting trajectory, the initial safety starting point of the R-th loop processing, and the preset B-axis motion logic, the method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing also includes: step S633, based on the preset B-axis motion logic, the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing, and the posture angle of the laser cutting head on the second cutting trajectory, obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing.
[0146] Further, for step S633, based on the preset B-axis motion logic, the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing, and the posture angle of the laser cutting head on the second cutting trajectory, the method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing includes:
[0147] Step S6331, sorting the m sampling points;
[0148] Step S6332, based on the preset B-axis motion logic, the second initial B-axis position corresponding to the n-1th sampling point, the posture angle of the laser cutting head at the n-1th sampling point, and the posture angle of the laser cutting head at the n-1th sampling point, obtain the second initial B-axis position corresponding to the nth sampling point;
[0149] Step S6333: Based on the second initial B-axis positions corresponding to the m sampling points, obtain the second initial B-axis position corresponding to the second cutting trajectory in the Rth cycle processing.
[0150] Wherein, m is the number of the plurality of sampling points, and m is a natural number greater than 3. n is a natural number, and 2≤n≤m.
[0151] In addition, when n=2, the n-1th sampling point is the initial safe starting point of the Rth cycle processing.
[0152] That is, similar to obtaining the second initial B-axis position BCur corresponding to the initial safety starting point of the Rth cycle processing R In this way, the second initial B-axis position corresponding to each sampling point can be obtained by repeating step S6332.
[0153] On this basis, a corresponding B-axis position variation range can be obtained through the second initial B-axis position corresponding to each sampling point, thereby obtaining the second initial B-axis position BCur corresponding to the initial safety starting point of the Rth cycle processing through the B-axis position variation range. R , which can constitute the second initial B-axis position corresponding to the second cutting trajectory in the Rth cycle processing without adjustment or optimization.
[0154] That is to say, the second initial B-axis position corresponding to the second cutting trajectory in the Rth cycle processing refers to: the second initial B-axis position BCur corresponding to the initial safety starting point of the Rth cycle processing R The B-axis position range for the starting point.
[0155] Please continue to refer to Figure 1, for step S600, the Rth of several loop processings also includes: if the second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing is within the range of the B-axis travel, the initial safety starting point of the Rth loop processing is used as the safety starting point, and the second initial B-axis position corresponding to the second cutting trajectory at the initial safety starting point of the Rth loop processing is used as the B-axis position corresponding to the safety starting point; if the second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing exceeds the range of the B-axis travel, based on the second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing and the preset rotation correction angle, the second corrected B-axis position corresponding to the initial safety starting point of the Rth loop processing is obtained.
[0156] The preset rotation correction angle includes a first preset correction angle and a second preset correction angle.
[0157] For details, please continue to refer to Figure 6 , execute step S640, based on the second initial B-axis position BCur R The relationship between the B-axis stroke and the first preset correction angle is used to obtain the first correction angle value ExtRotation0 for the Rth cycle processing. R .
[0158] Further, for step S640, the first correction angle value ExtRotation0 of the Rth loop processing is obtained. R The methods include:
[0159] Determine the second initial B-axis position BCur R Whether it exceeds the range of B-axis travel;
[0160] If yes, execute step S641 and step S642; if no, execute step S643:
[0161] Step S641, based on the second initial B-axis position BCur R The limit direction exceeded, obtain the corresponding correction direction: If the second initial B-axis position BCur R If the positive limit of the B-axis travel is exceeded, then in the Rth cycle processing, the correction direction corresponding to the first preset correction angle is reversed; if the second initial B-axis position BCur R If the negative limit of the B-axis travel is exceeded, in the Rth cycle processing, the correction direction corresponding to the first preset correction angle is positive;
[0162] Step S642: Based on the first preset correction angle and the corresponding correction direction, a first correction angle value ExtRotation0 is formed. R ;
[0163] Step S643, determine the first correction angle value ExtRotation0 R is 0°.
[0164] In some optional embodiments, the first preset correction angle is 360°. Thus, the first preset correction angle is set as the minimum rotation angle, which is beneficial to reduce the rotation angle required to be adjusted when correcting to the second corrected B-axis position corresponding to the starting point of the second cutting trajectory, so as to improve the processing efficiency.
[0165] Correspondingly, when the correction direction is reverse, the first correction angle value ExtRotation0 R -360°; when the correction direction is positive, the first correction angle value is ExtRotation0 R is +360°.
[0166] In some other optional embodiments, the first preset correction angle may be other integer multiples of 360° according to actual conditions.
[0167] Please continue to refer to Figure 6 , execute step S650, based on the relationship between the second initial B-axis position and the B-axis stroke corresponding to the second cutting trajectory other than the initial safety starting point of the R-th cycle processing, and the second preset correction angle, obtain the second correction angle value ExtRotation1 of the R-th cycle processing R .
[0168] Further, for step S650, the second correction angle value ExtRotation1 of the Rth loop processing is obtained. R The methods include:
[0169] Determine whether the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point processed in the Rth cycle exceeds the range of the B-axis travel;
[0170] If yes, execute step S651 and step S652; if no, execute step S653:
[0171] Step S651, based on the limit direction exceeded by the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point processed in the Rth cycle, obtain the corresponding correction direction: if the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point processed in the Rth cycle exceeds the positive limit of the B-axis stroke, the corresponding correction direction is reverse; if the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point processed in the Rth cycle exceeds the negative limit of the B-axis stroke, the corresponding correction direction is positive;
[0172] Step S652: Based on the second preset correction angle and the corresponding correction direction, a second correction angle value ExtRotation1 is formed. R ;
[0173] Step S653, determine the second correction angle value ExtRotation1 R is 0°.
[0174] In some optional embodiments, the second preset correction angle is the same as the first preset correction angle, both of which are 360°. Thus, the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing can be formed through the minimum rotation angle. R , which is conducive to further improving processing efficiency.
[0175] Correspondingly, when the correction direction is reverse, the second correction angle value ExtRotation1 R -360°; when the correction direction is positive, the second correction angle value ExtRotation1 R is +360°.
[0176] In some other optional embodiments, the second preset correction angle may be other integer multiples of 360° according to actual conditions.
[0177] In some other optional embodiments, the second preset correction angle may also be different from the first preset correction angle. For example, one of the two is 360°, and the other is 2 times or 3 times of 360°.
[0178] Please continue to refer to Figure 6 , determine the first correction angle value ExtRotation0 R and the second correction angle value ExtRotation1 R Are they both 0°? If so, go to step S660; if not, go to step S670:
[0179] Step S660, taking the initial safety starting point of the R-th cycle processing as the safety starting point, and taking the second initial B-axis position corresponding to the initial safety starting point of the R-th cycle processing of the second cutting trajectory as the B-axis position corresponding to the safety starting point;
[0180] Step S670, obtaining the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth loop processing R , where BAdj R =BCur R +ExtRotation0 R +ExtRotation1 R .
[0181] That is to say, in this embodiment, by obtaining the first correction angle value ExtRotation0 R and the second correction angle value ExtRotation1 R The process is used to determine whether the second initial B-axis position corresponding to the entire second cutting trajectory in the Rth cycle processing is within the range of the B-axis travel.
[0182] In some other optional embodiments, the second initial B-axis position corresponding to the entire second cutting trajectory in the Rth cycle processing can be directly compared with the range of the B-axis travel to determine whether the second initial B-axis position corresponding to the entire second cutting trajectory in the Rth cycle processing is within the range of the B-axis travel.
[0183] On this basis, based on the corresponding initial safety starting point obtained in the Rth cycle processing, when the second initial B-axis position corresponding to the second cutting trajectory in the Rth cycle processing is within the range of the B-axis travel, there is no need to further adjust the B-axis position.
[0184] Please continue to refer to Figure 6 , determine the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing R Whether the preset B-axis constraint condition is met, if yes, execute step S680, if not, execute step S690:
[0185] Step S680: The initial safety starting point of the Rth cycle processing is used as the safety starting point, and the second modified B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing is used as the safety starting point. R is the B-axis position corresponding to the safety starting point;
[0186] Step S690, perform the R+1th loop process.
[0187] In some optional embodiments, the second modified B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing is determined. R The method of whether the preset B-axis constraint condition is met includes: determining the second intermediate B-axis position BMid0 of the Rth cycle processing R and the second intermediate B axis position range BMid1 R Are they all within the range of the B-axis travel? If so, the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing R Meet the preset B-axis constraint condition; if not, the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing R The preset B-axis constraints are not met.
[0188] Among them, the second initial B-axis position BCur RSuperimpose the first correction angle value ExtRotation0 R , forming the second intermediate B axis position BMid0 R Specifically, BMid0 R =BCur+ExtRotation0.
[0189] By obtaining the second intermediate B axis position BMid0 R , can be at the second initial B-axis position BCur R When the B-axis travel range is exceeded, the first stage of the B-axis action (i.e., from the first B-axis position to the second initial B-axis position BCur) is obtained. R )The B-axis position that needs to be adjusted.
[0190] On this basis, by judging the second intermediate B axis position BMid0 R Whether it is within the range of the B-axis travel can determine whether the adjusted B-axis position in the first stage still exceeds the range of the B-axis travel, thereby further determining whether to continue the next cycle processing to obtain a safe B-axis position that does not exceed the B-axis travel range in the first stage.
[0191] Among them, the second initial B-axis position BCur R , the first correction angle value ExtRotation0 R , and the second correction angle value ExtRotation1 R Superposition, forming the second intermediate B axis position range BMid1 R Specifically, BMid1 R =BCur R +ExtRotation0 R +ExtRotation1 R +BCRan R .
[0192] BCRan is the second initial B-axis position corresponding to the second cutting trajectory in the Rth cycle processing.
[0193] It should be noted that BMid1 R and BCRan R Both refer to a range.
[0194] By obtaining the second intermediate B axis position range BMid1 R , when the second initial B-axis position corresponding to the Rth cycle processing exceeds the B-axis travel range, the second stage of the B-axis action (i.e., the second initial B-axis position BCur) can be obtained. R The B-axis position range that needs to be adjusted according to the stage of B-axis action of the entire second cutting trajectory).
[0195] On this basis, by judging the second intermediate B axis position range BMid1 R Whether it is within the range of the B-axis travel, it can be determined whether the adjusted B-axis position range in the second stage still exceeds the range of the B-axis travel, thereby further determining whether to continue the next cycle processing to obtain a safe B-axis position range that does not exceed the B-axis travel range in the first stage.
[0196] Thus, through several cycles of processing, the safe starting point and the B-axis position corresponding to the safe starting point can be obtained, and step S700 can be continued accordingly to perform laser cutting of the current processing task based on the preset B-axis motion logic, the safe starting point, and the B-axis position corresponding to the safe starting point.
[0197] Specifically, in the B-axis action of step S700, when the B-axis position corresponding to the safety starting point is obtained based on the correction of the second initial B-axis position, the rotation mechanism will be adjusted according to the major arc (such as Fig. 9 ) to reach the B-axis position corresponding to the safety starting point, or to reach the B-axis position corresponding to the safety starting point by superimposing an integer multiple of 360° on the major arc.
[0198] In addition, for ease of explanation and understanding, Fig. 9 The figure schematically shows: after the B-axis stroke is expanded, the process of adjusting the first B-axis position to the starting point of the current machining task by optimizing the B-axis action, from the first B-axis position to the second initial B-axis position, and then to the process of adjusting from the first B-axis position to the second corrected B-axis position.
[0199] In the embodiment of the present invention, before the current processing task is performed, the safety zone is obtained based on the bracket angle of the feeding bracket, and in the loop processing, the safety starting point is obtained based on the initial safety starting point in the safety zone. Therefore, by setting the starting point of the laser cutting of the current processing task as the safety starting point (i.e., the laser cutting of the current processing task is performed based on the safety starting point), the risk of the laser cutting head being damaged by falling parts during the laser cutting process is reduced, thereby improving the processing safety of the laser processing equipment of the turntable type. On this basis, because the relationship between the second initial B-axis position corresponding to the initial safety starting point and the B-axis travel range is predicted through the loop processing before the current processing task is performed, so that when the second initial B-axis position corresponding to the initial safety starting point exceeds the B-axis travel range, a second corrected B-axis position that can adjust and optimize the B-axis action of the current processing task is formed, and on the basis that the second corrected B-axis position meets the preset B-axis constraint condition, the initial safety starting point is determined as the safety starting point to perform the laser cutting of the current processing task in the subsequent process. Therefore, while improving the processing safety of the laser processing equipment of the turntable type, the processing interruption is reduced, and the processing requirements of continuous processing in the automated processing process are better met.
[0200] Moreover, since the B-axis motion of the current machining task is optimized by forming the B-axis position corresponding to the safety starting point, that is to say, the adjustments required for the two sections of B-axis motion, from the first B-axis position to the second initial B-axis position corresponding to the starting point of the second cutting trajectory, and from the starting point of the second cutting trajectory to the second initial B-axis position corresponding to the entire second cutting trajectory, are concentrated in the process from the first B-axis position to the B-axis position corresponding to the safety starting point, therefore, the B-axis motion optimization required to cover the aforementioned two sections of B-axis motion is directly completed at one time, so that there is no need to adjust the B-axis motion during cutting according to the second cutting trajectory, thereby improving machining efficiency while reducing machining interruptions.
[0201] In some other optional embodiments, the second modified B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing is determined. R Whether the timing of meeting the preset B-axis constraint conditions is advanced.
[0202] For example, between step S642 and step S653, the second intermediate B-axis position BMid0 of the Rth loop processing is determined. R Is it within the range of B axis travel?
[0203] If not, determine the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing R The preset B-axis constraint condition is not met, and step S690 is executed to perform the R+1th loop processing;
[0204] If yes, then between step S653 and step S670, determine the second middle B axis position range BMid1 R Is it within the range of B axis travel?
[0205] If not, determine the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing R The preset B-axis constraint condition is not met, and step S690 is executed to perform the R+1th loop processing;
[0206] If yes, determine the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing R The preset B-axis constraint condition is met, and step S670 and step S680 are executed.
[0207] By splitting the preset B-axis constraint condition and using the split preset B-axis constraint condition separately, the second corrected B-axis position BAdj corresponding to the initial safety starting point of the Rth cycle processing is determined. R The timing of whether the preset B-axis constraint condition is met is advanced, and it can be determined in advance that the second cutting trajectory cannot form a reliable second corrected B-axis position BAdj in the Rth cycle processing. R To improve the B-axis movement, thereby further improving the processing efficiency. In some optional embodiments, the laser cutting method further includes: when the safety starting point and the B-axis position corresponding to the safety starting point cannot be obtained in several cycles of processing, executing step S810 to terminate the current processing task.
[0208] Thus, processing interruptions during the current processing task are avoided, thereby improving processing efficiency and reducing the problems of waste and reduced yield.
[0209] In some other optional embodiments, the laser cutting method further includes: when the safety starting point and the B-axis position corresponding to the safety starting point cannot be obtained in several cycles of processing, executing:
[0210] Step S820, obtaining a second initial B-axis position corresponding to the second cutting trajectory according to a preset initial starting point;
[0211] Step S830, when the second initial B-axis position does not exceed the range of the B-axis travel, based on the preset initial starting point and the corresponding second initial B-axis position, continue the current processing task;
[0212] Step S840, when the second initial B-axis position exceeds the range of the B-axis travel, based on the corresponding second initial B-axis position and the preset rotation correction angle, obtaining a second corrected B-axis position corresponding to the preset initial starting point;
[0213] Step S850, if the second modified B-axis position corresponding to the preset initial starting point meets the preset B-axis constraint condition, continue the current processing task according to the preset initial starting point and its corresponding second modified B-axis position;
[0214] Step S860: If the second modified B-axis position corresponding to the preset initial starting point does not meet the preset B-axis constraint condition, the current processing task is terminated.
[0215] The specific implementation of steps S820 to S860 can refer to the implementation of each step in the loop processing, which will not be repeated here.
[0216] As a result, the capability of continuous automatic processing is further enhanced.
[0217] At the same time, if steps S820 to S860 are executed on the basis of step S610, the capability of continuous automatic processing is further enhanced, and technical personnel can pay targeted attention to current processing tasks with higher risks so as to intervene manually at any time, thereby better balancing processing efficiency and processing risks.
[0218] In some optional embodiments, the laser cutting method further includes: if all second cutting tracks or all several alternative starting points are outside the safety zone, and the second cutting track does not contain a micro-segment, executing step S900 to add a micro-segment to the second cutting track.
[0219] When the entire second cutting trajectory or all of the several alternative starting points are outside the safety zone, by adding a micro-segment to the second cutting trajectory that does not contain a micro-segment, the risk of the laser cutting head being damaged by falling workpieces can be better avoided, thereby further improving processing safety.
[0220] In some optional embodiments, step S900 further includes: adding a micro-segment on the second cutting trajectory, and providing a prompt indicating that the cutting trajectory is not in the safe zone.
[0221] In some other optional embodiments, if all the second cutting trajectories or all the several candidate starting points are outside the safety zone, and the second cutting trajectories do not include micro-segments, the above step S900 and the above steps S820 to S860 are executed.
[0222] In some optional embodiments, the endpoint of the micro-segment added on the second cutting trajectory is used as a preset initial starting point.
[0223] In some other optional embodiments, the endpoints of the original micro-segments on the second cutting trajectory are used as the preset initial starting points.
[0224] Please continue to refer to Figure 1In some optional embodiments, before step S400, the laser cutting method further includes: step S100, screening P cutting tracks within the processing range to form a current processing task including Q cutting tracks.
[0225] Wherein, P is a natural number, Q is a natural number, and 1≤Q≤P.
[0226] In some optional embodiments, with respect to step S100, the method of screening P cutting trajectories within the processing range to form a current processing task including Q cutting trajectories further includes:
[0227] Step S110, obtaining P cutting trajectories within the range to be processed;
[0228] Step S120, dividing the P cutting trajectories into first-category cutting trajectories and second-category cutting trajectories;
[0229] Step S130, sorting the cutting trajectories in the first type of cutting trajectories in ascending order of Zbmax to form a first list;
[0230] Step S140, sorting the cutting tracks in the second type of cutting tracks in the order of Zbmax from small to large, or in the order of surface sorting based on the rotation direction of the rotating mechanism, to form a second list;
[0231] Step S140, obtaining a first target cutting trajectory in the first list;
[0232] Step S150, obtaining a plurality of second target cutting trajectories in the second list.
[0233] The first type of cutting tracks include cutting lines and cross-surface tracks, and the second type of cutting tracks include other cutting tracks except the first type of cutting tracks.
[0234] Zbmax is the maximum Z-axis coordinate of the bounding box of the cutting trajectory on the Z axis
[0235] The first target cutting trajectory is the cutting trajectory with the smallest Zbmax in the first list.
[0236] The Zbmax of the second target cutting trajectory is smaller than the Zbmax of the first target cutting trajectory. Accordingly, the plurality of second target cutting trajectories refer to: all cutting trajectories in the second list that meet the requirements of the second target cutting trajectory.
[0237] The Q cutting trajectories include: a first target cutting trajectory and a plurality of second target cutting trajectories.
[0238] Please continue to refer to Figure 1 In some optional embodiments, after step S100, the laser cutting method further includes:
[0239] Step S200, sorting the Q cutting trajectories in the current processing task according to the preset trajectory sorting rule to form the trajectory information of the current processing task;
[0240] Step S300, determining a second cutting trajectory among Q cutting trajectories according to the current processing task trajectory information.
[0241] The current processing task trajectory information includes a number of cutting trajectories that need to be processed in the current processing task, and the order in which the cutting trajectories are to be cut.
[0242] On this basis, in some optional embodiments, for step S700, based on the preset B-axis motion logic, the safety starting point, and the B-axis position corresponding to the safety starting point, performing laser cutting of the current processing task further includes: based on the preset B-axis motion logic, the safety starting point, the B-axis position corresponding to the safety starting point, and the current processing task trajectory information, performing laser cutting of the current processing task.
[0243] In some optional embodiments, for step S200, the method of sorting the Q cutting trajectories in the current processing task according to the preset trajectory sorting rule to form the trajectory information of the current processing task includes:
[0244] Step S210, determining the rotation direction of the rotating mechanism of the laser processing equipment based on the first B-axis position and the preset B-axis motion logic;
[0245] Step S220, based on the first position, the rotation direction of the rotating mechanism and the principle of shortest idle movement, the Q cutting trajectories in the current processing task are sorted to form the trajectory information of the current processing task.
[0246] Among them, if there is no processing task before the current processing task, the first position is the preset position of the laser cutting head; if there is a previous processing task before the current processing task, the first position is the end position of the laser cutting head in the previous processing task.
[0247] In some optional embodiments, the Q cutting trajectories in the current processing task may be sorted by face sorting to form the trajectory information of the current processing task.
[0248] In some other optional embodiments, other sorting methods may be used as required to sort the Q cutting trajectories in the current processing task to form the trajectory information of the current processing task.
[0249] In some optional embodiments, the laser cutting method further includes: performing a plurality of cycles during the process of performing the previous processing task. Therefore, the parameter calculation, risk prediction, risk warning and other processing for the current processing task are performed in parallel with the implementation process of the previous processing task, thereby better realizing automated processing.
[0250] In some optional embodiments, the laser cutting method further includes: during the process of performing the previous processing task and after completing the cycle processing, performing a center point addition processing and a fly cutting generation processing on the current processing task.
[0251] In some practical application scenarios, CAM (computer-aided manufacturing) preliminarily screens out P cutting trajectories within the range to be processed and transmits them to CAD (computer-aided design). Then, CAD executes each step in the embodiment of the present invention, and at the same time, CAM runs the automated mechanical action of the previous processing task. When CAM completes the automated mechanical action of the previous processing task, CAD transmits the relevant parameters obtained based on each step in the embodiment of the present invention to CAM, so that CAM continues to run the automated mechanical action of the current processing task. In this way, real-time sorting in automatic processing is achieved.
[0252] It should be understood that although the steps in the embodiment of the present invention are numbered for ease of illustration and explanation, the order of the steps in the embodiment of the present invention is not limited by the numbering order, and the basis for executing any step is that the previous step of the step has performed the relevant judgment required for the step or obtained the input data required for the step.
[0253] Correspondingly, an embodiment of the present invention further provides a laser cutting system using the above-mentioned laser cutting method, and the laser cutting system is suitable for a turntable type laser processing equipment, and the turntable type laser processing equipment has a corresponding B-axis stroke.
[0254] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts may refer to the partial description of the method embodiment.
[0255] The present invention also provides an electronic device, including a processor and a memory; the memory stores a program that can be called by the processor; wherein when the processor executes the program, the laser cutting method in the aforementioned embodiment is implemented.
[0256] The present invention also provides a machine-readable storage medium on which a program is stored. When the program is executed by a processor, the laser cutting method in the aforementioned embodiment is implemented.
[0257] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A laser cutting method, suitable for a laser processing device of a turntable type, wherein the laser processing device has a corresponding B-axis stroke, characterized in that: The laser cutting method comprises: Based on the feeding support of the laser processing equipment, a safety zone is obtained; According to the pre-selection rule, a plurality of candidate starting points are obtained on the second cutting trajectory, where the second cutting trajectory is the first cutting trajectory to be cut in the current processing task; Perform several loop processing to obtain a safe starting point and a B-axis position corresponding to the safe starting point, the Rth of the several loop processing comprising: obtaining an initial safe starting point of the Rth loop processing within the safety zone from among several alternative starting points, where R is a natural number; obtaining a second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing based on a first posture angle, a first B-axis position, the second cutting trajectory, the initial safe starting point of the Rth loop processing, and a preset B-axis motion logic; if the second initial B-axis position corresponding to the second cutting trajectory in the Rth loop processing is within the range of the B-axis travel, the initial safe starting point of the Rth loop processing is used as the safe starting point, and the second initial B-axis position corresponding to the second cutting trajectory at the initial safe starting point of the Rth loop processing is used as the safe starting point. The B-axis position corresponding to the starting point of the R-th loop processing; if the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing exceeds the range of the B-axis travel, based on the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing and the preset rotation correction angle, the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing is obtained; if the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing meets the preset B-axis constraint condition, the initial safety starting point of the R-th loop processing is taken as the safety starting point, and the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing is taken as the B-axis position corresponding to the safety starting point; if the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing does not meet the preset B-axis constraint condition, the R+1-th loop processing is performed; Based on the preset B-axis motion logic, the safety starting point, and the B-axis position corresponding to the safety starting point, laser cutting of the current processing task is performed; Among them, if there is no processing task before the current processing task, the first posture angle is the preset posture angle of the laser cutting head in the laser processing equipment, and the first B-axis position is the preset B-axis position; if there is a previous processing task before the current processing task, the first posture angle is the posture angle of the laser cutting head at the end position of the previous processing task, and the first B-axis position is the corresponding B-axis position at the end position of the previous processing task.
2. The laser cutting method according to claim 1, characterized in that: The method for obtaining a plurality of candidate starting points on the second cutting trajectory according to the pre-selection rule comprises: According to the pre-configured starting point selection conditions, a plurality of candidate starting points are obtained; Sorting the candidate starting points according to a preset sorting rule to form a list of candidate starting points; The pre-selected starting point condition includes at least one of the following types: the midpoint of a long side of the second cutting trajectory with a length longer than a preset length, the midpoint of a line segment in the boundary of a bounding box corresponding to the second cutting trajectory after two-dimensional expansion, a number of preset sampling points on the far-end boundary of the second cutting trajectory, the midpoint of a designated long side of the second cutting trajectory outside the cutting line, and at least one of the endpoints of a micro-segment in the second cutting trajectory, wherein the designated long side is a line segment formed by all line segments connected end to end on the same straight line after the cutting trajectory is two-dimensionally expanded; The step of obtaining an initial safe starting point for the Rth loop processing in the safety zone from among the several alternative starting points further includes: obtaining an initial safe starting point for the Rth loop processing in the safety zone from among the several alternative starting points based on the order of the several alternative starting points in the alternative starting point list.
3. The laser cutting method according to claim 2, characterized in that: The obtaining of the plurality of candidate starting points according to the pre-equipment starting point selection conditions further comprises: if the second cutting trajectory is at least partially within the safety zone, obtaining the plurality of candidate starting points according to the pre-equipment starting point selection conditions.
4. The laser cutting method according to claim 2 or 3, characterized in that: The preset sorting rules include: The candidate starting points are sorted based on their Z-axis coordinates, with the candidate starting points with larger Z-axis coordinates taking precedence over the candidate starting points with smaller Z-axis coordinates, wherein the Z-axis is a coordinate axis parallel to the feeding direction, and the Z-axis coordinate decreases toward the feeding direction; When the Z-axis coordinates of several candidate starting points are the same, they are sorted based on the preset category priority.
5. The laser cutting method according to claim 4, characterized in that: The priority of the preset categories is as follows: the endpoint of the micro-segment in the second cutting trajectory, the midpoint of the specified long side of the second cutting trajectory outside the cutting line, the midpoint of the long side of the second cutting trajectory above the preset length, the midpoint of the line segment in the boundary of the bounding box corresponding to the second cutting trajectory after two-dimensional expansion, and several preset sampling points on the far boundary of the second cutting trajectory.
6. The laser cutting method according to claim 2, characterized in that: The Rth of the several cycles further includes: Based on the ranking of several candidate starting points in the candidate starting point list, determining whether there is an obtainable initial safe starting point in the R-th cycle processing; If yes, based on the order of the candidate starting points in the candidate starting point list, obtaining an initial safety starting point for the Rth cycle processing in the safety zone from the candidate starting points; If not, a prompt is given that the user is not in the safe zone, and the loop processing is terminated.
7. The laser cutting method according to claim 1 or 6, characterized in that: When the safety starting point and the B-axis position corresponding to the safety starting point cannot be obtained in several cycles of processing, the laser cutting method further includes: terminating the current processing task.
8. The laser cutting method according to claim 1, characterized in that: Also includes: If all the second cutting tracks or all the candidate starting points are outside the safety zone, and the second cutting track does not include a micro-segment, a micro-segment is added to the second cutting track.
9. The laser cutting method according to claim 1, characterized in that: The method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th cycle processing based on the first posture angle, the first B-axis position, the second cutting trajectory, the initial safety starting point of the R-th cycle processing, and the preset B-axis motion logic includes: Based on the second cutting trajectory, acquiring the posture angle of the laser cutting head on the second cutting trajectory; Based on the first posture angle, the first B-axis position, the preset B-axis motion logic, and the posture angle of the laser cutting head at the initial safety starting point of the R-th loop processing, obtaining a second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing; Based on the preset B-axis motion logic, the second initial B-axis position corresponding to the initial safety starting point of the R-th cycle processing, and the posture angle of the laser cutting head on the second cutting trajectory, the second initial B-axis position corresponding to the second cutting trajectory in the R-th cycle processing is obtained.
10. The laser cutting method according to claim 9, characterized in that: The method for obtaining the posture angle of the laser cutting head on the second cutting trajectory includes: Obtaining a two-dimensional normal vector of a three-dimensional normal vector of the second cutting trajectory on a projection plane, wherein the projection plane is perpendicular to a feeding direction of the laser processing equipment; Based on the bow height error, the two-dimensional normal vector of the second cutting trajectory on the projection plane is sampled to obtain the posture angle of the laser cutting head at each sampling point in a plurality of sampling points, wherein the plurality of sampling points include an initial safety starting point for the Rth cycle processing.
11. The laser cutting method according to claim 10, characterized in that: The method for obtaining the second initial B-axis position corresponding to the second cutting trajectory in the R-th cycle processing includes: Sorting the m sampling points, where m is a natural number greater than 3; Based on the preset B-axis motion logic, the second initial B-axis position corresponding to the n-1th sampling point, the posture angle of the laser cutting head at the n-1th sampling point, and the posture angle of the laser cutting head at the nth sampling point, the second initial B-axis position corresponding to the n-th sampling point is obtained, wherein 2≤n≤m, the n is a natural number, and when n=2, the n-1th sampling point is the initial safety starting point of the Rth loop processing; Based on the second initial B-axis positions corresponding to the m sampling points, the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing is obtained, and the second initial B-axis position corresponding to the second cutting trajectory in the R-th loop processing is a B-axis position range starting from the second initial B-axis position corresponding to the initial safety starting point of the R-th loop processing.
12. The laser cutting method according to claim 9, characterized in that: The second initial B-axis position corresponding to the second cutting trajectory in the Rth cycle processing is the second initial B-axis position BCur corresponding to the initial safety starting point of the Rth cycle processing. R The method for obtaining the second corrected B-axis position corresponding to the initial safety starting point of the R-th cycle processing includes: Based on the second initial B-axis position BCur R The relationship between the B-axis stroke and the first preset correction angle is used to obtain the first correction angle value ExtRotation0 of the R-th cycle processing. R ; Based on the relationship between the second initial B-axis position and the B-axis stroke corresponding to the second cutting trajectory outside the initial safety starting point of the R-th cycle processing, and the second preset correction angle, the second correction angle value ExtRotation1 of the R-th cycle processing is obtained. R ; If the first correction angle value ExtRotation0 R and the second modified angle value ExtRotation1 R At least one of them is not 0°, and the second modified B-axis position BAdj corresponding to the initial safety starting point of the R-th cycle processing is obtained. R , where BAdj R =BCur R +ExtRotation0 R +ExtRotation1 R .
13. The laser cutting method according to claim 12, characterized in that: Get the first correction angle value ExtRotation0 R The method further comprises: If the second initial B-axis position BCur R Beyond the range of the B-axis travel, the first correction angle value ExtRotation0 is formed based on the first preset correction angle and the corresponding correction direction. R ; If the second initial B-axis position BCur R Within the range of the B-axis travel, the first correction angle value ExtRotation0 R is 0°; Wherein, if the second initial B-axis position BCur R If the positive limit of the B-axis stroke is exceeded, then in the Rth cycle processing, the correction direction corresponding to the first preset correction angle is reverse; if the second initial B-axis position BCur R If the negative limit of the B-axis stroke is exceeded, in the R-th cycle processing, the correction direction corresponding to the first preset correction angle is positive.
14. The laser cutting method according to claim 13, characterized in that: Get the second correction angle value ExtRotation1 R The method further comprises: If the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point of the Rth cycle processing exceeds the range of the B-axis travel, a second correction angle value ExtRotation1 is formed based on the second preset correction angle and the corresponding correction direction. R ; If the second initial B-axis position corresponding to the second cutting trajectory other than the initial safety starting point of the Rth cycle processing is within the range of the B-axis stroke, the second correction angle value ExtRotation1 R is 0°; Among them, if the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point of the R-th cycle processing exceeds the positive limit of the B-axis stroke, then in the R-th cycle processing, the correction direction corresponding to the second preset correction angle is reverse; if the second initial B-axis position corresponding to the second cutting trajectory outside the initial safety starting point of the R-th cycle processing exceeds the negative limit of the B-axis stroke, then in the R-th cycle processing, the correction direction corresponding to the second preset correction angle is positive.
15. The laser cutting method according to claim 12, characterized in that: The first preset correction angle is equal to the second preset correction angle, and both the first preset correction angle and the second preset correction angle are 360°.
16. The laser cutting method according to claim 12, characterized in that: If the second corrected B-axis position corresponding to the initial safety starting point of the R-th loop processing meets the preset B-axis constraint condition, it further includes: the second intermediate B-axis position and the second intermediate B-axis position range of the R-th loop processing are both within the range of the B-axis stroke, wherein the second intermediate B-axis position processed by the R-th loop is based on the second initial B-axis position BCur R Superimpose the first correction angle value ExtRotation0 R The second intermediate B-axis position range processed in the Rth cycle is based on the second initial B-axis position BCur R , the first correction angle value ExtRotation0 R , and the second correction angle value ExtRotation1 R Superposition formation.
17. The laser cutting method according to claim 1, characterized in that: The method for obtaining a safety zone based on the feeding bracket of the laser processing equipment includes: obtaining the safety zone based on a bracket angle of the feeding bracket, and the safety zone is within the range of the bracket angle.
18. The laser cutting method according to claim 1, characterized in that: The preset B-axis motion logic includes: within the B-axis travel range, the rotating mechanism of the laser processing equipment moves along the minor arc between any two B-axis positions, and when the B-axis position is at 180°, the rotating mechanism moves to the 0 position in the B-axis travel.
19. The laser cutting method according to claim 1, characterized in that: Before acquiring the plurality of candidate starting points on the second cutting trajectory, the method further includes: sorting Q cutting trajectories in the current processing task according to a preset trajectory sorting rule to form trajectory information of the current processing task, where Q is a natural number; and determining the second cutting trajectory from the Q cutting trajectories according to the trajectory information of the current processing task; The laser cutting of the current processing task based on the preset B-axis motion logic, the safety starting point, and the B-axis position corresponding to the safety starting point further includes: laser cutting of the current processing task based on the preset B-axis motion logic, the safety starting point, the B-axis position corresponding to the safety starting point, and the current processing task trajectory information.
20. The laser cutting method according to claim 19, characterized in that: The method of sorting the Q cutting trajectories in the current processing task according to the preset trajectory sorting rule to form the trajectory information of the current processing task includes: Determining a rotation direction of a rotating mechanism of the laser processing device based on the first B-axis position and the preset B-axis motion logic; Based on the first position, the rotation direction of the rotating mechanism and the principle of shortest idle movement, Q cutting trajectories in the current processing task are sorted to form the trajectory information of the current processing task; Among them, if there is no processing task before the current processing task, the first position is the preset position of the laser cutting head; if there is a previous processing task before the current processing task, the first position is the end position of the laser cutting head in the previous processing task.
21. The laser cutting method according to claim 19, characterized in that: Before sorting the Q cutting trajectories in the current processing task according to the preset trajectory sorting rules to form the trajectory information of the current processing task, it also includes: screening the P cutting trajectories within the processing range to form a current processing task containing Q cutting trajectories, where P is a natural number and 1≤Q≤P.
22. The laser cutting method according to claim 21, characterized in that: The method of screening P cutting tracks within the processing range to form a current processing task including Q cutting tracks includes: Obtain P cutting trajectories within the range to be processed; Dividing the P cutting tracks into a first type of cutting tracks and a second type of cutting tracks, wherein the first type of cutting tracks includes a cutting line and a cross-surface track, and the second type of cutting tracks includes other cutting tracks except the first type of cutting tracks; Sort the cutting tracks in the first type of cutting tracks in ascending order of Zbmax to form a first list, where the Z axis is a coordinate axis parallel to the feeding direction, the Z axis coordinate decreases toward the feeding direction, and Zbmax is the maximum Z axis coordinate of the bounding box of the cutting track on the Z axis; Sort the cutting tracks in the second type of cutting tracks in the order of Zbmax from small to large, or in the order of surface sorting based on the rotation direction of the rotating mechanism, to form a second list; Acquire a first target cutting trajectory in the first list, where the first target cutting trajectory is a cutting trajectory with a minimum Zbmax in the first list; A plurality of second target cutting trajectories are obtained in the second list, the Zbmax of the second target cutting trajectories is smaller than the Zbmax of the first target cutting trajectory, and the Q cutting trajectories include the first target cutting trajectory and a plurality of the second target cutting trajectories.
23. The laser cutting method according to claim 1, characterized in that: Also includes: During the process of performing the previous processing task, the aforementioned several cycles of processing are performed.
24. The laser cutting method according to claim 23, characterized in that: Also includes: During the process of performing the previous processing task and after completing the cycle processing, the current processing task is subjected to the center point addition processing and the fly cutting generation processing.
25. A laser cutting system, suitable for a turntable type laser processing device, the laser processing device having a corresponding B-axis stroke, characterized in that: A laser cutting method as described in any one of claims 1 to 24 is adopted.
26. An electronic device, characterized in that: The method comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein the processor implements the steps of any method described in claims 1-24 when executing the program.
27. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 24 are implemented.
Citation Information
Patent Citations
Method of planning laser cutting path to stop light and move emptily to avoid obstacles
CN108581191A
Method for adjusting usability of two-dimensional and three-dimensional metal material laser cutting
CN108581219A
Monitoring processing method and device for dynamically tracking cutting head, equipment and medium
CN111901569A
Method for automated ckecking of cuts made by a machine for cutting into a strip
FR2687091A1
Laser processing systems and methods for beam dithering and skiving
US20120273472A1
Cited By
Laser processing method and system
CN119035796A
Technological manufacturing method for cutting image
CN121236068A
