Trajectory motion parameter adjusting method and device, processing equipment and readable storage medium
By adjusting the target motion curve of the curved processing trajectory during laser processing, the problem of motion parameter limits in the acceleration and deceleration planning of the curved processing trajectory is solved, and the processing accuracy and efficiency are improved.
Patent Information
- Application Number
- CN202410544281.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2024-08-23
AI Technical Summary
During the laser processing process, during the acceleration and deceleration planning of the curved machining trajectory, the actual movement parameters of the trajectory after the synthesis of the trajectory tangential motion and the trajectory centripetal motion exceed the parameter limits of the original speed planning, resulting in abnormal vibration of the machine tool and an increase in processing errors. .
By obtaining the initial planning motion parameters and processing time information of the curve machining trajectory, the motion parameter constraint coefficients are determined, and based on these coefficients and processing constraint values, the target motion curve is adjusted to adapt to the changing trends of different initial planning states to ensure the continuity of speed and acceleration. properties and constraint range, thereby improving the limit problem of trajectory motion parameters.
It effectively improves the laser processing errors caused by abnormal vibration of the machine tool, improves the processing accuracy of the curved processing trajectory, and ensures the processing efficiency at the same time.
Smart Images

Figure CN118534838A
Abstract
Description
Technical Field
[0001] The present application relates to the field of laser processing, and in particular to a trajectory motion parameter adjustment method, device, processing equipment and readable storage medium. Background Art
[0002] With the continuous development of laser processing technology and the continuous enrichment of laser demand, the requirements for laser processing accuracy are getting higher and higher. In the laser processing process, processing trajectory planning, as the core of laser processing control, directly affects the laser processing accuracy.
[0003] In common speed planning, it can be divided into acceleration planning and deceleration planning according to the trajectory speed change trend. However, in the acceleration and deceleration planning process of curved processing trajectories such as arcs, there is a problem that the actual motion parameters of the trajectory after the synthesis of the trajectory tangential motion and the trajectory centripetal motion (such as the acceleration modulus) exceed the parameter limit of the original speed planning, which in turn causes abnormal vibration of the machine tool and increases the laser processing error. Summary of the invention
[0004] Based on this, it is necessary to provide a trajectory motion parameter adjustment method, device, processing equipment and readable storage medium to address the above technical problems.
[0005] A trajectory motion parameter adjustment method, applied to a curve processing trajectory, comprises:
[0006] Obtaining initial planning motion parameters, processing constraint values and processing time information of the curve processing trajectory;
[0007] Determining motion parameter constraint coefficients according to the initial planned motion parameters and the processing time information;
[0008] A target motion curve of the curve machining trajectory is determined according to the motion parameter constraint coefficient and the machining constraint value.
[0009] In one embodiment, the obtaining of the initial planning motion parameters of the curve processing trajectory includes:
[0010] Obtaining the initial point planned speed, the end point planned speed, and the planned acceleration of the curve processing trajectory;
[0011] The motion parameter constraint coefficients include a first motion parameter constraint coefficient, a second motion parameter constraint coefficient, and a third motion parameter constraint coefficient. The motion parameter constraint coefficients are determined according to the initial planning motion parameters and the processing time information, including:
[0012] Determining the first motion parameter constraint coefficient according to the planned acceleration and the processing time information;
[0013] Determining the second motion parameter constraint coefficient according to the initial point planning speed, the end point planning speed, the processing time information and the first motion parameter constraint coefficient;
[0014] The third motion parameter constraint coefficient is determined according to the initial point planning speed or the end point planning speed, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
[0015] In one embodiment, determining the first motion parameter constraint coefficient according to the planned acceleration and the processing time information includes:
[0016] Obtaining a ratio relationship between the planned acceleration and the processing time information;
[0017] The first motion parameter constraint coefficient is determined according to the ratio relationship.
[0018] In one embodiment, determining the second motion parameter constraint coefficient according to the initial point planning speed, the end point planning speed, the processing time information and the first motion parameter constraint coefficient includes:
[0019] Obtaining a difference between the planned speed of the initial point and the planned speed of the end point;
[0020] The second motion parameter constraint coefficient is determined according to the difference relationship, the processing time information and the first motion parameter constraint coefficient.
[0021] In one embodiment, determining the third motion parameter constraint coefficient according to the initial point planning speed or the end point planning speed, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient includes:
[0022] Acquire a first product value of the first motion parameter constraint coefficient and the second motion parameter constraint coefficient, and a second product value of the second motion parameter constraint coefficient and the processing duration information;
[0023] The third motion parameter constraint coefficient is determined according to the initial point planned speed or the end point planned speed, the first product value and the second product value.
[0024] In one embodiment, the obtaining of the initial planning motion parameters of the curve machining trajectory further includes:
[0025] Obtaining an average planned speed of the curve processing trajectory;
[0026] The step of determining the motion parameter constraint coefficient according to the initial planned motion parameter and the processing time information further includes:
[0027] Determining the travel information of the curve processing trajectory according to the average planning speed and the processing time information;
[0028] The third motion parameter constraint coefficient is determined according to the stroke information, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
[0029] In one embodiment, the obtaining of the processing constraint value of the curve processing trajectory further includes:
[0030] Obtaining a velocity constraint value and an acceleration constraint value of the curve machining trajectory;
[0031] The step of determining a target motion curve of the curve machining trajectory according to the motion parameter constraint coefficient and the machining constraint value comprises:
[0032] Determine a target travel curve of the curve machining trajectory according to a target composite function relationship, the first motion parameter constraint coefficient, the second motion parameter constraint coefficient and the third motion parameter constraint coefficient;
[0033] The target speed curve and the target acceleration curve of the curve machining trajectory are determined based on the target stroke curve with the speed constraint value and the acceleration constraint value as constraint conditions.
[0034] A trajectory motion parameter adjustment device, applied to a curve processing trajectory, comprising:
[0035] A parameter acquisition module, used to acquire the initial planning motion parameters, processing constraint values and processing time information of the curve processing trajectory;
[0036] A constraint coefficient determination module, connected to the parameter acquisition module, for determining the motion parameter constraint coefficient according to the initial planning motion parameters and the processing time information;
[0037] The motion curve determination module is connected to the constraint coefficient determination module and is used to determine the target motion curve of the curve processing trajectory according to the motion parameter constraint coefficient and the processing constraint value.
[0038] A processing device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the above method.
[0039] A computer-readable storage medium stores a computer program, which implements the above method when executed by a processor.
[0040] A computer program product, when the computer program product is run on a terminal device, enables the terminal device to execute any of the methods described above.
[0041] The beneficial effects of the embodiments provided in this application include:
[0042] The trajectory motion parameter adjustment method is applied to the curve processing trajectory. Based on the initial planning motion parameters of the curve processing trajectory (such as the initial point planning speed, the end point planning speed and the planning acceleration) and the processing time information, the motion parameter constraint coefficient is obtained. Then, according to the obtained motion parameter constraint coefficient and the processing constraint value (speed constraint value and acceleration constraint value), a target motion curve (such as a target speed curve and a target acceleration curve) that can meet the actual processing constraint conditions and guide the change trend of the trajectory motion parameters of the curve processing trajectory is obtained. The obtained target motion curve can be adjusted according to different initial planning states of the curve processing trajectory to adapt to different requirements for the change trend of the trajectory motion parameters when different initial planning states change. While ensuring the continuity of speed and acceleration, the value range of speed and acceleration can be constrained to improve the problem that the actual motion parameters of the trajectory after the synthesis of the trajectory tangential motion and the trajectory centripetal motion (such as the acceleration module length) exceed the parameter limit of the original speed planning, and then the problem of increased laser processing error caused by abnormal vibration of the machine tool can be effectively improved under the condition of ensuring processing efficiency, and the processing accuracy of the curve processing trajectory can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A schematic diagram of a process of adjusting a trajectory motion parameter in one embodiment;
[0045] Figure 2 is a specific flow chart of step 104 in one embodiment;
[0046] Figure 3 is a specific flow chart of step 104 in one embodiment;
[0047] Figure 4 This is a specific flow chart of step 106 in one embodiment;
[0048] Figure 5A schematic diagram of linear speed comparison of full circle processing in one embodiment;
[0049] Figure 6 A schematic diagram of linear acceleration comparison of full circle processing in one embodiment;
[0050] Figure 7 A schematic diagram showing a comparison of linear accelerations during full circle machining in one embodiment;
[0051] Figure 8 A schematic diagram of two-dimensional acceleration comparison of full circle processing in one embodiment;
[0052] Fig. 9 A schematic diagram of two-dimensional acceleration comparison of full-circle processing in one embodiment;
[0053] Fig.10 is a schematic block diagram of the structure of a trajectory motion parameter adjustment device in one embodiment;
[0054] Fig.11 is a schematic block diagram of a specific structure of a constraint coefficient determination module 40 in one embodiment;
[0055] Fig.12 is a schematic block diagram of a specific structure of a constraint coefficient determination module 40 in one embodiment;
[0056] Fig.13 is a schematic block diagram of a specific structure of a motion curve determination module 60 in one embodiment;
[0057] Fig.14 Schematic diagram of the structure of a processing device in one embodiment. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0059] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0060] Figure 1 , is a flow chart of a trajectory motion parameter adjustment method in one embodiment.
[0061] In this embodiment, if Figure 1As shown, the trajectory motion parameter adjustment method is applied to a curve processing trajectory, and the trajectory motion parameter adjustment method includes steps 102 to 106.
[0062] Step 102, obtaining the initial planning motion parameters, processing constraint values and processing time information of the curve processing trajectory.
[0063] The processing trajectory can be an initial planning trajectory for laser processing or an initial planning trajectory for machining. The curve processing trajectory can be a nonlinear processing trajectory such as an arc. The initial planning motion parameters can be the processing motion parameters expected to be achieved at each point on the processing trajectory initially planned according to the trajectory processing requirements. The processing constraint value can be the processing motion parameter allowed to be achieved at each point on the processing trajectory. The processing time information can be the time required to complete the processing of all points on the processing trajectory.
[0064] Optionally, the initial planning motion parameters include the initial point planning speed, the end point planning speed, the planning acceleration and the average planning speed. The processing constraint value includes the speed constraint value and the acceleration constraint value. The initial point planning speed can be the speed expected to be reached at the starting point on the processing trajectory. The end point planning speed can be the speed expected to be reached at the end point on the processing trajectory. The average planning speed can be the average of the speeds expected to be reached at each point on the processing trajectory.
[0065] The situations of obtaining the initial planned motion parameters, processing constraint values and processing time information of the curve processing trajectory include: the trajectory analysis module plans the initial planned motion parameters and processing time information that meet the trajectory processing requirements according to the trajectory length and trajectory endpoint speed, and obtains the processing constraint values according to the trajectory characteristics and processing conditions.
[0066] Step 104, determining the motion parameter constraint coefficient according to the initial planned motion parameters and processing time information.
[0067] The motion parameter constraint coefficient may be a coefficient that can constrain and adjust the initial planning motion parameters to obtain a target motion curve (such as a target velocity curve and a target acceleration curve) that can meet the actual processing constraint conditions and guide the change trend of the trajectory motion parameters of the curve processing trajectory, thereby constraining the value range of the actual motion parameters of the trajectory (such as the acceleration modulus). Optionally, the motion parameter constraint coefficient includes a first motion parameter constraint coefficient, a second motion parameter constraint coefficient, and a third motion parameter constraint coefficient.
[0068] The situations in which the motion parameter constraint coefficient is determined according to the initial planned motion parameters and processing time information include: determining the first motion parameter constraint coefficient according to the initial planned motion parameters and processing time information; determining the second motion parameter constraint coefficient according to the initial planned motion parameters, processing time information and the first motion parameter constraint coefficient; determining the third motion parameter constraint coefficient according to the initial planned motion parameters, processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
[0069] Step 106 , determining a target motion curve of the curve machining trajectory according to the motion parameter constraint coefficient and the machining constraint value.
[0070] The target motion curve may be a change trend of the processing motion parameters expected to be achieved at each point on the processing trajectory after adjusting the initial planning motion parameters based on the motion parameter constraint coefficient and the processing constraint value. Optionally, the target motion curve includes a target speed curve and a target acceleration curve.
[0071] The case of determining the target motion curve of the curve processing trajectory according to the motion parameter constraint coefficient and the processing constraint value includes: constructing a target motion parameter relational expression according to the first motion parameter constraint coefficient, the second motion parameter constraint coefficient and the third motion parameter constraint coefficient; adjusting the initial planning motion parameters according to the obtained target motion parameter relational expression and the processing constraint value to determine the target motion curve of the curve processing trajectory. Optionally, the target motion parameter relational expression can be a relational expression in the form of a composite function.
[0072] When planning the processing trajectory, the trajectory analysis module plans the initial planning motion parameters and processing time information that meet the trajectory processing requirements according to the trajectory length and the trajectory endpoint speed, and obtains the processing constraint value according to the trajectory characteristics and processing conditions; determines the second motion parameter constraint coefficient according to the initial planning motion parameters, processing time information and the first motion parameter constraint coefficient; determines the third motion parameter constraint coefficient according to the initial planning motion parameters, processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient; constructs the target motion parameter relationship according to the first motion parameter constraint coefficient, the second motion parameter constraint coefficient and the third motion parameter constraint coefficient; adjusts the initial planning motion parameters according to the obtained target motion parameter relationship and the processing constraint value to determine the target motion curve of the curve processing trajectory.
[0073] The trajectory motion parameter adjustment method provided in this embodiment is applied to the curve processing trajectory. Based on the initial planned motion parameters of the curve processing trajectory (such as the initial point planned speed, the end point planned speed and the planned acceleration) and the processing time information, the motion parameter constraint coefficient is obtained. Then, according to the obtained motion parameter constraint coefficient and the processing constraint value (speed constraint value and acceleration constraint value), a target motion curve (such as a target speed curve and a target acceleration curve) that can meet the actual processing constraint conditions and guide the change trend of the trajectory motion parameters of the curve processing trajectory is obtained. The obtained target motion curve can be adjusted according to different initial planning states of the curve processing trajectory to adapt to different requirements for the change trend of the trajectory motion parameters when different initial planning states change. While ensuring the continuity of speed and acceleration, the value range of speed and acceleration can be constrained to improve the problem that the actual motion parameters of the trajectory after the synthesis of the trajectory tangential motion and the trajectory centripetal motion (such as the acceleration module length) exceed the parameter limit of the original speed planning, thereby effectively improving the problem of increased laser processing error caused by abnormal vibration of the machine tool while ensuring processing efficiency, and improving the processing accuracy of the curve processing trajectory.
[0074] Figure 2 , which is a specific flow chart of step 104 in one embodiment.
[0075] In this embodiment, if Figure 2 As shown, step 104 includes sub-steps 202 to 206 .
[0076] In sub-step 202, a first motion parameter constraint coefficient is determined according to the planned jerk and processing time information.
[0077] The first motion parameter constraint coefficient may be a constraint coefficient for adjusting the value range of the planned acceleration.
[0078] The case of determining the first motion parameter constraint coefficient according to the planned acceleration and the processing time information includes: obtaining the ratio relationship between the planned acceleration and the processing time information; and determining the first motion parameter constraint coefficient according to the ratio relationship.
[0079] Optionally, the specific relationship for determining the first motion parameter constraint coefficient is as follows:
[0080]
[0081] In the formula, J s represents the planned acceleration, λ represents the processing time information (such as acceleration time or deceleration time), and k represents the first motion parameter constraint coefficient.
[0082] In sub-step 204, a second motion parameter constraint coefficient is determined according to the initial point planning speed, the end point planning speed, the processing time information and the first motion parameter constraint coefficient.
[0083] The second motion parameter constraint coefficient may be a constraint coefficient for adjusting the value range of the initial point planning speed and the end point planning speed.
[0084] The situations in which the second motion parameter constraint coefficient is determined based on the initial point planning speed, the end point planning speed, the processing time information and the first motion parameter constraint coefficient include: obtaining the difference relationship between the initial point planning speed and the end point planning speed; and determining the second motion parameter constraint coefficient based on the difference relationship, the processing time information and the first motion parameter constraint coefficient.
[0085] Optionally, the specific relationship for determining the second motion parameter constraint coefficient is as follows:
[0086] V e -V s =km -3 ·(2e -mλ +e -mλ ·mλ+mλ-2)
[0087] Where V s Indicates the initial point planning speed, V e represents the planned speed of the end point, λ represents the processing time information (such as acceleration time or deceleration time), k represents the first motion parameter constraint coefficient, and m represents the second motion parameter constraint coefficient.
[0088] In sub-step 206, a third motion parameter constraint coefficient is determined according to the initial point planning speed or the end point planning speed, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
[0089] The third motion parameter constraint coefficient may be a constraint coefficient for adjusting the value range of the initial point planning speed and the end point planning speed.
[0090] The case of determining the third motion parameter constraint coefficient according to the initial point planning speed or the end point planning speed, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient includes: obtaining a first product value of the first motion parameter constraint coefficient and the second motion parameter constraint coefficient, and a second product value of the second motion parameter constraint coefficient and the processing time information; determining the third motion parameter constraint coefficient according to the initial point planning speed or the end point planning speed, the first product value and the second product value.
[0091] Optionally, a specific relationship for determining the third motion parameter constraint coefficient is as follows:
[0092] C=V s-km -3 (2-mλ) or
[0093] C=V e -km -3 ·e -mλ (2+mλ)
[0094] Where V s Indicates the initial point planning speed, V e represents the planned speed of the end point, λ represents the processing time information (such as acceleration time or deceleration time), km -3 represents the first product value, mλ represents the second product value, and C represents the third motion parameter constraint coefficient.
[0095] The trajectory motion parameter adjustment method provided in this embodiment successively obtains the first motion parameter constraint coefficient, the second motion parameter constraint coefficient and the third motion parameter constraint coefficient by planning acceleration, processing time information, initial point planning speed and end point planning speed, so as to facilitate the subsequent determination of the target motion curve (such as the target speed curve and the target acceleration curve) that can meet the actual processing constraints and guide the change trend of the trajectory motion parameters of the curve processing trajectory based on the obtained first motion parameter constraint coefficient, second motion parameter constraint coefficient, third motion parameter constraint coefficient and processing constraint value (speed constraint value and acceleration constraint value).
[0096] Figure 3 , which is a specific flow chart of step 104 in an embodiment.
[0097] In this embodiment, if Figure 3 As shown, step 104 includes sub-steps 302 to 304 .
[0098] In sub-step 302, the travel information of the curve processing trajectory is determined according to the average planning speed and the processing time information.
[0099] The stroke information may be the stroke length of the curved processing trajectory. Optionally, the stroke information includes an acceleration stroke length and a deceleration stroke length. The acceleration stroke length may be the length corresponding to the acceleration planning in the processing trajectory. The deceleration stroke length may be the length corresponding to the acceleration planning in the processing trajectory.
[0100] In sub-step 304, a third motion parameter constraint coefficient is determined according to the stroke information, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
[0101] The case of determining the third motion parameter constraint coefficient based on the stroke information, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient includes: obtaining a first product value of the first motion parameter constraint coefficient and the second motion parameter constraint coefficient, and a second product value of the second motion parameter constraint coefficient and the processing time information; determining the third motion parameter constraint coefficient based on the stroke information, the first product value and the second product value.
[0102] Optionally, a specific relationship for determining the third motion parameter constraint coefficient is as follows:
[0103] S = km -4 ·e -mλ ·(-2mλ-6)+Cλ
[0104] In the formula, S represents the travel information, λ represents the processing time information (such as acceleration time or deceleration time), km -4 represents the first product value, mλ represents the second product value, and C represents the third motion parameter constraint coefficient.
[0105] The trajectory motion parameter adjustment method provided in this embodiment, on the basis of obtaining the first motion parameter constraint coefficient and the second motion parameter constraint coefficient, combines the stroke information and the processing time information to obtain the third motion parameter constraint coefficient, so as to facilitate the subsequent use of the obtained first motion parameter constraint coefficient, the second motion parameter constraint coefficient, the third motion parameter constraint coefficient and the processing constraint value (speed constraint value and acceleration constraint value) to obtain a target motion curve (such as a target speed curve and a target acceleration curve) that can meet the actual processing constraints and guide the change trend of the trajectory motion parameters of the curve processing trajectory.
[0106] Figure 4 , which is a specific flow chart of step 106 in one embodiment.
[0107] In this embodiment, if Figure 4 As shown, step 106 includes sub-steps 402 to 404 .
[0108] In sub-step 402, a target travel curve of the curve machining trajectory is determined according to the target composite function relationship, the first motion parameter constraint coefficient, the second motion parameter constraint coefficient and the third motion parameter constraint coefficient.
[0109] The target composite function relational expression can be a function model based on a combination of a power function and an exponential function, and can meet the requirements of trajectory processing. The target stroke curve can be generated based on the target composite function relational expression, the first motion parameter constraint coefficient, the second motion parameter constraint coefficient, and the third motion parameter constraint coefficient, and can reflect the change relationship between the stroke length of the curve processing trajectory and time.
[0110] Optionally, the specific relationship for determining the target travel curve of the curve processing trajectory is as follows:
[0111] S(t)=e -mt p(t)+Ct
[0112] p(t)=km -4 [m 2 t 2 +m(mλ-4)t+2mλ-6]
[0113] Where S is the travel length and t is the time.
[0114] In sub-step 404, the target speed curve and the target acceleration curve of the curve machining trajectory are determined according to the target stroke curve, with the speed constraint value and the acceleration constraint value as constraint conditions.
[0115] The speed constraint value includes the minimum speed value and the maximum speed value. The minimum speed value can be the minimum trajectory speed value allowed at each point on the curve processing trajectory to ensure processing efficiency during trajectory processing, which can be specifically applied to the scenario of limiting the minimum trajectory speed value. The maximum speed value can be the maximum trajectory speed value allowed at each point on the curve processing trajectory to ensure processing stability during trajectory processing, which can be specifically applied to the scenario of limiting the minimum trajectory speed value.
[0116] The acceleration constraint value includes the minimum acceleration value and the maximum acceleration value. The minimum acceleration value can be the minimum value of the trajectory acceleration (i.e., two-dimensional acceleration) allowed at each point on the curve processing trajectory to ensure processing efficiency during trajectory processing, and can be specifically applied to the scenario of limiting the minimum value of the trajectory acceleration. The maximum acceleration value can be the maximum value of the trajectory acceleration allowed at each point on the curve processing trajectory to ensure processing stability during trajectory processing, and can be specifically applied to the scenario of limiting the maximum value of the trajectory acceleration.
[0117] It should be noted that according to the law of circular motion, the centripetal acceleration a = v 2 / r, that is, the maximum speed and the maximum acceleration are in equal relationship.
[0118] The target speed curve can be the trajectory speed change trend that each point on the processing trajectory is expected to achieve after adjusting the initial planning trajectory speed based on the motion parameter constraint coefficient and the speed constraint value. The target acceleration curve can be the trajectory acceleration change trend that each point on the processing trajectory is expected to achieve after adjusting the initial planning trajectory acceleration based on the motion parameter constraint coefficient and the acceleration constraint value.
[0119] According to the target stroke curve, the target speed curve and the target acceleration curve of the curve processing trajectory are determined in the following situations: taking the speed constraint value as the constraint condition, taking a first derivative of the target stroke curve to obtain the target speed curve of the curve processing trajectory; taking the acceleration constraint value as the constraint condition, taking a second derivative of the target stroke curve to obtain the target acceleration curve of the curve processing trajectory.
[0120] The trajectory motion parameter adjustment method provided in this embodiment combines the obtained first motion parameter constraint coefficient, second motion parameter constraint coefficient, and third motion parameter constraint coefficient into the target composite function relationship to obtain the target stroke curve of the curve processing trajectory, and then uses the speed constraint value and the acceleration constraint value as constraint conditions to determine the target speed curve and the target acceleration curve of the curve processing trajectory for the obtained target stroke curve. The obtained target motion curve can be adjusted according to the different initial planning states of the curve processing trajectory to adapt to the different requirements for the change trend of the trajectory motion parameters when the different initial planning states change. While ensuring the continuity of the speed and acceleration, the value range of the speed and acceleration can be constrained, thereby effectively improving the problem of increased laser processing errors caused by abnormal vibration of the machine tool while ensuring the processing efficiency, and can improve the processing accuracy of the curve processing trajectory.
[0121] For example, Figures 5 to 9 As shown in the figure, during the acceleration / deceleration process using the conventional acceleration / deceleration algorithm, the time used for acceleration and deceleration is equal or similar and the acceleration curve is symmetrical. However, when machining a curved trajectory such as an arc, the acceleration magnitude will obviously exceed the limit.
[0122] Each point on the curve machining trajectory is expressed as (θ, r) in polar coordinates, θ represents the angle, r represents the radius of curvature, and the trajectory acceleration (i.e., two-dimensional acceleration) is expressed as follows:
[0123]
[0124] In the formula, j, a, and v are the linear jerk, linear acceleration, and linear velocity of the trajectory tangential motion, respectively. Therefore, the jerk modulus is expressed as When the circular motion is uniform, the acceleration modulus is only affected by the linear velocity, which is However, in the non-uniform speed state, the acceleration modulus will also be affected by the linear acceleration and linear jerk, and the greater the linear speed, the greater the impact of the linear speed on the acceleration modulus.
[0125] For full circle machining with a radius of 8 mm, the acceleration modulus is set to 400um / ms 3, while the trajectory motion parameter adjustment method provided in this application can be set normally. In order to suppress the influence of linear velocity, linear acceleration, and linear jerk on the acceleration modulus of the trajectory during centripetal motion acceleration and deceleration, the linear acceleration and linear acceleration should decrease as the speed increases after reaching a certain speed. The maximum acceleration modulus using the conventional acceleration and deceleration algorithm is set to about 200um / ms 3 In order to achieve the same processing efficiency (i.e., the processing time is almost the same), the acceleration module length during the conventional processing method will exceed the limit by more than 50%, and unexpected abnormal vibration of the machine tool will occur during the actual processing.
[0126] It should be understood that, although the various steps in the above flowchart are displayed in sequence according to the prompts of the arrows, these steps are not necessarily executed in sequence in the order of the arrow prompts. Unless clearly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the above sub-steps may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps. It should be noted that the above different embodiments can be combined with each other.
[0127] Fig.10 , is a schematic block diagram of the structure of a trajectory motion parameter adjustment device in an embodiment.
[0128] In this embodiment, if Fig.10 As shown, the trajectory motion parameter adjustment device is applied to a curve processing trajectory, and the trajectory motion parameter adjustment device includes a parameter acquisition module 20 , a constraint coefficient determination module 40 and a motion curve determination module 60 .
[0129] The parameter acquisition module 20 is used to obtain the initial planning motion parameters, processing constraint values and processing time information of the curve processing trajectory.
[0130] The constraint coefficient determination module 40 is connected to the parameter acquisition module 20 and is used to determine the motion parameter constraint coefficient according to the initial planned motion parameters and processing time information.
[0131] The motion curve determination module 60 is connected to the constraint coefficient determination module 40 and is used to determine the target motion curve of the curve machining trajectory according to the motion parameter constraint coefficient and the machining constraint value.
[0132] In this embodiment, each module is used to execute Figure 1 For details of the steps in the corresponding embodiments, please refer to Figure 1 as well as Figure 1 The relevant descriptions in the corresponding embodiments are not repeated here.
[0133] The trajectory motion parameter adjustment device provided in this embodiment is applied to the curve processing trajectory. Based on the initial planned motion parameters of the curve processing trajectory (such as the initial point planned speed, the end point planned speed and the planned acceleration) and the processing time information, the motion parameter constraint coefficient is obtained. Then, according to the obtained motion parameter constraint coefficient and the processing constraint value (speed constraint value and acceleration constraint value), a target motion curve (such as a target speed curve and a target acceleration curve) that can meet the actual processing constraint conditions and guide the change trend of the trajectory motion parameters of the curve processing trajectory is obtained. The obtained target motion curve can be adjusted according to different initial planning states of the curve processing trajectory to adapt to different requirements for the change trend of the trajectory motion parameters when different initial planning states change. While ensuring the continuity of speed and acceleration, the value range of speed and acceleration can be constrained to improve the problem that the actual motion parameters of the trajectory after the synthesis of the trajectory tangential motion and the trajectory centripetal motion (such as the acceleration module length) exceed the parameter limit of the original speed planning, and then the problem of increased laser processing error caused by abnormal vibration of the machine tool can be effectively improved while ensuring the processing efficiency, and the processing accuracy of the curve processing trajectory can be improved.
[0134] Fig.11 , is a schematic block diagram of the specific structure of the constraint coefficient determination module 40 in an embodiment.
[0135] In this embodiment, if Fig.11 As shown, the constraint coefficient determination module 40 includes a first constraint coefficient determination unit 420 , a second constraint coefficient determination unit 440 and a third constraint coefficient determination unit 460 .
[0136] The first constraint coefficient determining unit 420 is used to determine the first motion parameter constraint coefficient according to the planned acceleration and processing time information.
[0137] The second constraint coefficient determination unit 440 is connected to the first constraint coefficient determination unit 420, and is used to determine the second motion parameter constraint coefficient according to the initial point planning speed, the end point planning speed, the processing time information and the first motion parameter constraint coefficient.
[0138] The third constraint coefficient determination unit 460 is connected to the first constraint coefficient determination unit 420 and the second constraint coefficient determination unit 440, and is used to determine the third motion parameter constraint coefficient according to the initial point planning speed or the end point planning speed, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
[0139] In this embodiment, each unit is used to execute Figure 2 For details of the steps in the corresponding embodiments, please refer to Figure 2 as well as Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here.
[0140] Fig.12 , is a schematic block diagram of the specific structure of the constraint coefficient determination module 40 in an embodiment.
[0141] In this embodiment, if Fig.12 As shown, the constraint coefficient determination module 40 also includes a travel information determination unit 450 .
[0142] The travel information determining unit 450 is used to determine the travel information of the curve processing trajectory according to the average planned speed and processing time information.
[0143] The third constraint coefficient determining unit 460 is connected to the stroke information determining unit 450, and is used to determine the third motion parameter constraint coefficient according to the stroke information, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
[0144] In this embodiment, each unit is used to execute Figure 3 For details of the steps in the corresponding embodiments, please refer to Figure 3 as well as Figure 3 The relevant descriptions in the corresponding embodiments are not repeated here.
[0145] Fig.13 , is a schematic block diagram of the specific structure of the motion curve determination module 60 in an embodiment.
[0146] In this embodiment, if Fig.13 As shown, the motion curve determination module 60 includes a travel curve determination unit 620 and a motion parameter determination unit 640 .
[0147] The stroke curve determining unit 620 is used to determine the target stroke curve of the curve machining trajectory according to the target composite function relationship, the first motion parameter constraint coefficient, the second motion parameter constraint coefficient and the third motion parameter constraint coefficient.
[0148] The motion parameter determination unit 640 is connected to the stroke curve determination unit 620, and is used to determine the target speed curve and the target acceleration curve of the curve processing trajectory according to the target stroke curve with the speed constraint value and the acceleration constraint value as constraint conditions.
[0149] In this embodiment, each module is used to execute Figure 4 For details of the steps in the corresponding embodiments, please refer to Figure 4 as well as Figure 4 The relevant descriptions in the corresponding embodiments are not repeated here.
[0150] Each unit in the above-mentioned embodiment is used to execute each step in the above-mentioned corresponding embodiment. Please refer to the relevant description in the above-mentioned corresponding embodiment for details, which will not be repeated here.
[0151] The division of the various modules in the above-mentioned trajectory motion parameter adjustment device is only for illustration. In other embodiments, the trajectory motion parameter adjustment device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned trajectory motion parameter adjustment device.
[0152] For the specific definition of the trajectory motion parameter adjustment device, please refer to the definition of the trajectory motion parameter adjustment method above, which will not be repeated here. The various modules in the above-mentioned trajectory motion parameter adjustment device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the processing equipment in the form of hardware, or can be stored in the memory in the processing equipment in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0153] Fig.14 , is a schematic diagram of the structure of a processing device in an embodiment.
[0154] In this embodiment, if Fig.14 As shown, the processing equipment includes a memory A1 and a processor A2; it may also include a display screen A3, a communications interface (Communications Interface) and a bus. Optionally, the processing equipment may be a laser processing equipment.
[0155] Among them, the memory A1, the processor A2, the display screen A3 and the communication interface can communicate with each other through a bus; the display screen A3 is set to display the user operation interface preset in the initial setting mode, and the display screen A3 can also display the process control window; the communication interface can transmit information; the memory A1 stores a computer program, and the processor A2 can call the logical instructions in the memory A1 to execute the method in the above embodiment.
[0156] In addition, the logic instructions in the above-mentioned memory A1 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent workpiece.
[0157] The memory A1 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present application. The processor A2 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory A1, that is, implementing the methods in the above embodiments.
[0158] The memory A1 includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory A1 can include a high-speed random access memory and a non-volatile memory.
[0159] Processor A2 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0160] The present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, which, when executed by one or more processors, enable the processors to execute the method in the above embodiment.
[0161] The embodiment of the present application also provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the method in the above embodiment.
[0162] The trajectory motion parameter adjustment method, device, processing equipment and readable storage medium provided in the above embodiments are applied to the curve processing trajectory. Based on the initial planned motion parameters of the curve processing trajectory (such as the initial point planned speed, the end point planned speed and the planned acceleration) and the processing time information, the motion parameter constraint coefficient is obtained. Then, according to the obtained motion parameter constraint coefficient and the processing constraint value (speed constraint value and acceleration constraint value), a target motion curve (such as a target speed curve and a target acceleration curve) that can meet the actual processing constraint conditions and guide the change trend of the trajectory motion parameters of the curve processing trajectory is obtained. The obtained target motion curve It can be adjusted according to different initial planning states of the curve processing trajectory to adapt to different requirements on the changing trends of trajectory motion parameters when different initial planning states change. It can constrain the value range of speed and acceleration while ensuring the continuity of speed and acceleration, and improve the problem that the actual motion parameters of the trajectory after the synthesis of the trajectory tangential motion and the trajectory centripetal motion (such as the acceleration module length) exceed the parameter limit of the original speed planning. Then, it can effectively improve the problem of increased laser processing error caused by abnormal vibration of the machine tool while ensuring processing efficiency, and can improve the processing accuracy of the curve processing trajectory, which has important economic value and promotion and practical value.
[0163] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0164] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0165] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A method for adjusting trajectory motion parameters, applied to curve processing trajectory, characterized in that: include: Obtaining initial planning motion parameters, processing constraint values and processing time information of the curve processing trajectory; Determining motion parameter constraint coefficients according to the initial planned motion parameters and the processing time information; A target motion curve of the curve machining trajectory is determined according to the motion parameter constraint coefficient and the machining constraint value.
2. The method for adjusting trajectory motion parameters according to claim 1, wherein: The obtaining of the initial planning motion parameters of the curve machining trajectory includes: Obtaining the planned initial point speed, the planned end point speed, and the planned acceleration of the curve processing trajectory; The motion parameter constraint coefficients include a first motion parameter constraint coefficient, a second motion parameter constraint coefficient, and a third motion parameter constraint coefficient. Determining the motion parameter constraint coefficients according to the initial planned motion parameters and the processing time information includes: determining the first motion parameter constraint coefficient according to the planned acceleration and the processing time information; Determining the second motion parameter constraint coefficient according to the initial point planning speed, the end point planning speed, the processing time information, and the first motion parameter constraint coefficient; The third motion parameter constraint coefficient is determined according to the initial point planning speed or the end point planning speed, the processing time information, the first motion parameter constraint coefficient and the second motion parameter constraint coefficient.
3. The method for adjusting trajectory motion parameters according to claim 2, wherein: The determining the first motion parameter constraint coefficient according to the planned acceleration and the processing time information includes: Obtaining a ratio between the planned acceleration and the processing time information; The first motion parameter constraint coefficient is determined according to the ratio relationship.
4. The method for adjusting trajectory motion parameters according to claim 3, wherein: The determining the second motion parameter constraint coefficient according to the initial point planning speed, the end point planning speed, the processing time information, and the first motion parameter constraint coefficient includes: Obtaining a difference between the planned speed of the initial point and the planned speed of the end point; The second motion parameter constraint coefficient is determined according to the difference relationship, the processing time information and the first motion parameter constraint coefficient.
5. The method for adjusting trajectory motion parameters according to claim 4, wherein: The determining the third motion parameter constraint coefficient according to the initial point planning speed or the end point planning speed, the processing time information, the first motion parameter constraint coefficient, and the second motion parameter constraint coefficient includes: Obtaining a first product value of the first motion parameter constraint coefficient and the second motion parameter constraint coefficient, and a second product value of the second motion parameter constraint coefficient and the processing duration information; The third motion parameter constraint coefficient is determined according to the initial point planned speed or the end point planned speed, the first product value, and the second product value.
6. The method for adjusting trajectory motion parameters according to claim 2, wherein: The step of obtaining the initial planning motion parameters of the curve machining trajectory further includes: Obtaining an average planned speed of the curve processing trajectory; The determining of motion parameter constraint coefficients according to the initial planned motion parameters and the processing time information further includes: Determining the travel information of the curved processing trajectory according to the average planned speed and the processing time information; The third motion parameter constraint coefficient is determined according to the stroke information, the processing time information, the first motion parameter constraint coefficient, and the second motion parameter constraint coefficient.
7. The method for adjusting trajectory motion parameters according to claim 6, wherein: The step of obtaining the processing constraint value of the curve processing trajectory further includes: Obtaining a velocity constraint value and an acceleration constraint value of the curve machining trajectory; Determining a target motion curve of the curve machining trajectory according to the motion parameter constraint coefficient and the machining constraint value includes: Determining a target travel curve of the curved machining trajectory according to a target composite function relationship, the first motion parameter constraint coefficient, the second motion parameter constraint coefficient, and the third motion parameter constraint coefficient; The target speed curve and the target acceleration curve of the curve machining trajectory are determined based on the target stroke curve with the speed constraint value and the acceleration constraint value as constraint conditions.
8. A trajectory motion parameter adjustment device, applied to curve processing trajectory, characterized in that: include: A parameter acquisition module is used to obtain the initial planning motion parameters, processing constraint values and processing time information of the curve processing trajectory; A constraint coefficient determination module, connected to the parameter acquisition module, for determining the motion parameter constraint coefficient according to the initial planning motion parameters and the processing time information; The motion curve determination module is connected to the constraint coefficient determination module and is used to determine the target motion curve of the curve processing trajectory according to the motion parameter constraint coefficient and the processing constraint value.
9. A processing equipment, characterized in that, The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Work trajectory generation method and device and computer equipment
CN119200584A
Cutting control method and system for laser cutting machine
CN121348959A
A laser cutting machine cutting control method and system
CN121348959B
