Prospective interpolation method and interpolation device for three-axis machining track of laser cutting machine
By adopting the forward-looking interpolation method of the three-axis machining trajectory in the laser cutting machine, using the forward-looking window and the seven-segment speed curve segmentation path, the problem of tool motion fluctuation during high-speed processing is solved, and the workpiece quality and processing efficiency are improved.
Patent Information
- Application Number
- CN202410820164.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-11
AI Technical Summary
During the high-speed processing of laser cutting machines, the tool movement at the transfer point frequently fluctuates, resulting in reduced workpiece quality and reduced processing efficiency.
The forward-looking interpolation method of the three-axis machining trajectory is adopted, and the forward-looking window is introduced for real-time interpolation of the path. The seven-segment "S" shaped speed curve is used for tangential speed planning of the trajectory motion, and the path is divided into multiple speed planning units. And through the improved bidirectional scanning process, the starting point/end point speed and interpolation period of each unit are determined to realize arc length calculation and motion position control.
It effectively reduces the motion fluctuation of the tool at the transfer point, improves workpiece quality and processing efficiency, and achieves more stable axis motion through real-time control.
Smart Images

Figure CN118760060A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a three-axis machining trajectory optimization method and an optimization device in the field of laser cutting machines, and in particular to a forward-looking interpolation method and a forward-looking interpolation device for a three-axis machining trajectory of a laser cutting machine. Background Art
[0002] In traditional laser cutting machine processing, three-axis processing is generally completed by the linkage of three translation axes X, Y, and Z. For example, the control instructions of each axis of the laser cutting machine are sent to the servo controller of the CNC system to realize the movement of each axis. NC processing usually uses a large number of G01 program segments to discretize free-form surfaces or curves. However, the continuity of G01 line segments is only C 0 , which may lead to discontinuity of axis acceleration, causing frequent fluctuations in tool motion at the transfer point during high-speed machining, reducing workpiece quality and machining efficiency. Summary of the invention
[0003] In order to solve the technical problem that tool movement at a transfer point frequently fluctuates during high-speed machining, thereby reducing workpiece quality and machining efficiency, the present invention provides a forward interpolation method and a forward interpolation device for a three-axis machining trajectory of a laser cutting machine.
[0004] The present invention is implemented by the following technical scheme: a forward interpolation method for the three-axis machining trajectory of a laser cutting machine, which is used for real-time interpolation of the G01 path of the laser cutting machine, so as to send the control instructions of the three translation axes X, Y, and Z of the laser cutting machine to the servo controller of the CNC system of the laser cutting machine to realize the movement of each axis; the forward interpolation method comprises the following steps:
[0005] Introduce a look-ahead window during NC decoding. When the last section of the tool path in the window's forward direction completes the interpolation process, the look-ahead window moves forward, and then the look-ahead processing of the path in the window is completed in this new window.
[0006] Before speed planning, the three-axis linear tool path in the look-ahead window is locally smoothed. Secondly, the curvature extreme point C on the i-th corner B-spline is used. i (0.5) is used as the dividing point to divide the smoothed tool path into several speed planning units, and the path arc length s in each speed planning unit is approximately calculated. i u Then, the starting / ending speed V of each speed planning unit is determined by an improved bidirectional scanning process that does not require solving equations. s / V e , according to the data (V s ,V e ,s i u) In each speed planning unit, a seven-segment "S"-shaped speed curve is adopted to plan the tangential speed of its trajectory motion, and the total duration T of the interpolation cycle in each stage is obtained. i and the feed rate v i and the corresponding arc length value s at the end. i ;
[0007] Calculate the arc length increment Δs in each interpolation cycle. According to the position of Δs, linear interpolation or spline interpolation is used to calculate the current interpolation point, and thus the motion positions of each axis are obtained. The control instructions are sent to the corresponding servo controllers.
[0008] As a further improvement of the above solution, the length s of the i-th speed planning unit i u is calculated by the following formula:
[0009]
[0010] L i c is the arc length of the i-th corner spline curve C i (u), and L i L is the length of the i-th straight line part in the fairing tool path, where i = 1, 2... n.
[0011] Furthermore, the value of L i L is the length of the line segment when i = 1 according to the value of i the line segment when 1 < i < n or the line segment when i = n .
[0012] As a further improvement of the above solution, before planning the speed curve within the speed planning unit, it is first necessary to determine the allowable speed, that is, the value of V i : V is determined by sequentially performing backward and forward scans within the look-ahead window i , and there is no need to solve any equations; secondly, the commanded feed rate, camber error, and acceleration / jerk limit constraints are introduced during the determination of the feed rate at key points.
[0013] Preferably, if there are N speed planning units in the look-ahead window, and the number of speed planning units that need to complete real-time interpolation in the look-ahead window is n, n < N, then after each real-time interpolation is completed, the look-ahead window moves forward by n speed planning units;
[0014] Improve the backward scan process. Start from the N-th speed planning unit in the look-ahead window and perform backward acceleration from the end point to the start point within each speed planning unit until the start point of the second speed planning unit is reached;
[0015] Finally, the final feed rate after acceleration is completed in each speed planning unit is determined, that is, V e .
[0016] Preferably, the maximum permissible speed V at the Nth key point in the window is N+1 =0, that is, the initial speed is set to zero during the improved reverse scanning process; during the scanning process, a seven-segment "S"-shaped speed curve is used in a single speed planning unit to plan the acceleration process.
[0017] Preferably, the seven-segment "S" shaped speed curve planning accelerates the determination of V e The method is:
[0018] Input: Initial feed rate V s , acceleration path length S a , interpolation period T s , Tangential acceleration / jump absolute value A t / J t ;
[0019] Output: Final feed rate V after acceleration e ;
[0020] Where, (1) set the initial value: a = 0, v e =V s , V e =V s , a temp =0, T 1 =0,T 2 =0, l acc =0;
[0021] (2) Let T 1 =T 1 +1, a temp =T 1 ·J t ·T s ,; if a temp t :a=a temp , v e =V s +T 1 ·a·T s , l Acc =T 1 ·T s (V s +v e ), jump to (5);
[0022] (3) Let T 1 =T 1 -1, T 2 =T 2 +1, if a≠A t And T 2 =1:T 2 =T 2 +1, v e =v e +(a+A t )·T s ; Otherwise: v e =v e +A t ·T s ;
[0023] (4) Let a=A t , l Acc =1 / 2(T s (2T 1 +T 2 )(V s +v e ));
[0024] (5) Determine S a With l acc If S a > acc :V e =v e , jump to (2); otherwise: return the value of Ve;
[0025] Among them, a, a temp , l acc is an intermediate variable.
[0026] Preferably, the method for improving reverse scanning comprises the following steps: wherein V'i is the maximum allowable velocity of the i-th key point obtained after the improved reverse scanning;
[0027] Step 1: Set the initial value i=N, V' ( i +1) =0;
[0028] Step 2: First, perform a reverse discrete S-shaped acceleration process in the i-th speed planning unit, and find the path arc length s of the speed planning unit in the cache i u , let S a =s i u , V s =V' (i+1) , the maximum permissible speed V'i of the i-th key point is determined by the following formula:
[0029]
[0030] Step 3: Let i = i-1, if i = 1: jump to step 4; otherwise: jump to step 2;
[0031] Step 4: Cache V'i, where i=2, 3, ..., N+1.
[0032] Preferably, the method for improving forward scanning comprises the following steps:
[0033] Step 1: Set the initial value i=1;
[0034] Step 2: First, perform a forward discrete S-shaped acceleration process in the i-th speed planning unit, and find the path arc length s of the speed planning unit in the cache. i u , let S a =s i u , V s =V i , the end point feed rate of the i-th speed planning unit, that is, V ( i +1) , determined by the following formula:
[0035] V i+1 =min{V e , V′ i+1} (3)
[0036] Step 3: Let i=i+1, if i>n: jump to step 4; otherwise: jump to step 2;
[0037] Step 4: Install Vi 进 Row cache, where i = 2, 3, ..., N + 1;
[0038] Finally, (V i ,V i+1 ,s i u ) is stored in the cache as the input data for subsequent speed planning of the i-th speed planning unit.
[0039] The present invention also provides a forward interpolation device for a three-axis machining trajectory of a laser cutting machine, which applies any of the above-mentioned forward interpolation methods for a three-axis machining trajectory of a laser cutting machine, and the forward interpolation device comprises:
[0040] NC decoding module, which is used to introduce a look-ahead window during NC decoding. When the last section of the tool path in the window's forward direction completes the interpolation process, the look-ahead window moves forward, and then the look-ahead processing of the path in the window is completed in this new window;
[0041] The real-time preview module is used to perform local smoothing on the three-axis linear tool path in the preview window before speed planning. Secondly, the curvature extreme point C on the i-th corner B-spline is used. i(0.5) is used as the dividing point to divide the smoothed tool path into several speed planning units, and the path arc length s in each speed planning unit is approximately calculated. i u Then, the starting / ending speed V of each speed planning unit is determined by an improved bidirectional scanning process that does not require solving equations. s / V e , according to the data (V s ,V e ,s i u ), a seven-segment “S”-shaped speed curve is used in each speed planning unit to plan the tangential speed of its trajectory motion, and the total interpolation cycle time T in each stage is obtained. i , feed rate v i The arc length s corresponding to the end i ;
[0042] The interpolation point calculation module is used to calculate the arc length increment △s in each interpolation cycle. According to the location of △s, linear interpolation or spline interpolation is used to calculate the current interpolation point, thereby obtaining the motion position of each axis and sending its control instruction to the corresponding servo controller.
[0043] Compared with the existing interpolation technology, the interpolation points of the present invention are kinematically transformed to obtain position commands of each axis, and are sent to the servo controller to achieve real-time motion control. The speed of the interpolation points is reduced after entering the corner. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a module schematic diagram of the forward interpolation device of the three-axis machining trajectory of the laser cutting machine of the present invention.
[0045] Figure 2 for Figure 1 Schematic diagram of the seven-segment "S"-shaped speed curve used in the forward-looking interpolation method.
[0046] Figure 3 Schematic diagram of the acceleration process for planning a discrete S-shaped acceleration curve used in a single velocity planning unit during the scanning process. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention 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 invention and are not used to limit the present invention.
[0048] See also Figure 1, which is a schematic diagram of a module of a forward-looking interpolation device for a three-axis machining trajectory of a laser cutting machine according to the present invention. The forward-looking interpolation device adopts a forward-looking interpolation method for a three-axis machining trajectory of a corresponding laser cutting machine, namely, C 2 Smooth interpolation method. The forward interpolation device is used for real-time interpolation of the G01 path of the laser cutting machine, so as to send the control instructions of the three translation axes X, Y, and Z of the laser cutting machine to the servo controller of the CNC system of the laser cutting machine to realize the movement of each axis. The forward interpolation device includes an NC decoding module, a real-time forward module, and an interpolation point calculation module, that is, the forward interpolation method includes three major steps.
[0049] Step 1: The NC decoding module is used to introduce a look-ahead window during NC decoding. When the last section of the tool path in the forward direction of the window completes the interpolation process, the look-ahead window moves forward, and then the look-ahead processing of the path in the window is completed in this new window.
[0050] Step 2: The real-time preview module is used to perform local smoothing on the three-axis linear tool path in the preview window before speed planning. Secondly, the curvature extreme point C on the i-th corner B-spline is used. i (0.5) is used as the dividing point to divide the smoothed tool path into several speed planning units, and the path arc length s in each speed planning unit is approximately calculated. i u Then, the starting / ending speed V of each speed planning unit is determined by an improved bidirectional scanning process that does not require solving equations. s / V e , according to the data (V s ,V e ,s i u ), in each speed planning unit, the following Figure 2 The seven-segment "S"-shaped speed curve shown in the figure plans the tangential speed of its trajectory motion and obtains the total interpolation cycle time T in each stage. i , feed rate v i The arc length s corresponding to the end i ;
[0051] The interpolation point calculation module is used to calculate the arc length increment △s in each interpolation cycle. According to the location of △s, linear interpolation or spline interpolation is used to calculate the current interpolation point, thereby obtaining the motion position of each axis and sending its control command to the corresponding servo controller.
[0052] When dividing the speed planning unit, the path can be smoothed by using the smoothing method. The smoothing method can adopt the existing one, and of course, try to use the one with the arc length C 2Continuous fairing method. Generally, the fairing path is a straight-curve mixed path. The curvature of the straight path part is always zero. For the curved path part at the corner, the curvature k(u) is calculated by the following formula:
[0053]
[0054] where C’(u) and C”(u) are the first derivative and the second derivative of the curved path C(u), respectively.
[0055] Local fairing is performed on two G01 straight line segments with different corner angles to construct different corner B-spline curves. Among them, the length of each G01 straight line segment is 100 mm, and the fairing tolerance ε * max is set to 0.1 mm. Therefore, the key point in the speed planning process is the point C i (u) on each corner curve C i (0.5), at which point there is a curvature extremum k i (0.5). In addition, substituting u = 0.5 into the above formula (4), the analytical calculation expression corresponding to k i (0.5) is obtained:
[0056]
[0057] where the corner angle of the original linear path is θ. The length between two adjacent points on each corner curve C i (u) is l.
[0058] The fairing path is divided into multiple speed planning units by the point C i (0.5) on the i-th corner B-spline curve. For the fairing tool path obtained from n G01 straight line segments, n speed planning units can be obtained after division. Each speed planning unit contains a straight line segment and no more than two B-spline curve sub-segments. The length s i u of the i-th speed planning unit is calculated by the following formula:
[0059]
[0060] L i c is the arc length of the i-th corner spline curve C i (u), and L i L is the length of the i-th straight part in the fairing tool path, where i = 1, 2... n. The value of L i L is the line segment when i = 1 according to the value of i when 1 < i < n, the line segment When \(i = n\), the length of the line segment is obtained.
[0061] Finally, the values of \(s\) i u and \(k\) i max are stored in the buffer for subsequent module calculations.
[0062] Since the feed rates at the start / end points of the \(i\)-th FSU (i.e., the speed planning unit) are the maximum allowable speeds \(V\) i and \(V\) i+1 at the \(i\)-th key point and the \((i + 1)\)-th key point respectively. Therefore, before planning the speed curve within the speed planning unit, it is necessary to first determine the allowable speed, that is, the value of \(V\) i : \(V\) is determined by performing reverse and forward scans in the look-ahead window in sequence, without the need to solve any equations; secondly, during the determination of the key point feed rate, instruction feed rate, chord height error, and acceleration / jerk limit constraints are introduced. i
[0063] \(V\) is determined by performing reverse and forward scans in the look-ahead window in sequence, without the need to solve any equations. The size of the look-ahead window can be adjusted according to the computing power of the CNC system used. Additionally, during the determination of the key point feed rate, constraints such as instruction feed rate, chord height error, and acceleration / jerk limit (including tangential / normal directions) are introduced. i
[0064] 1) Improved reverse scan
[0065] If there are \(N\) speed planning units in the look-ahead window, and the number of speed planning units that need to complete real-time interpolation in the look-ahead window is \(n\), where \(n < N\), then after each real-time interpolation is completed, the look-ahead window moves forward by \(n\) speed planning units. The improved reverse scan process starts from the \(N\)-th speed planning unit in the look-ahead window and performs reverse acceleration from the end point to the start point within each speed planning unit until it reaches the start point of the second speed planning unit. To ensure that the tool stops moving at the end of the look-ahead window, the maximum allowable speed \(V\) N+1 at the \(N\)-th key point in the window is set to 0, that is, the initial speed is set to zero during the improved reverse scan process. Additionally, to limit the tangential acceleration / jerk of the tool motion trajectory, a discrete S-shaped acceleration curve as shown in Figure 3 is used to plan the acceleration process within a single speed planning unit during the scan. Finally, the final feed rate \(V\) e after acceleration within each speed planning unit is determined.
[0066] The method for determining \(V\) e using a seven-segment "S"-shaped speed curve for acceleration planning is as follows:
[0067] Input: Initial feed rate V s , acceleration path length S a , interpolation period T s , Tangential acceleration / jump absolute value A t / J t ;
[0068] Output: Final feed rate V after acceleration e ;
[0069] Where, (1) set the initial value: a = 0, v e =V s , V e =V s , a temp =0, T 1 =0,T 2 =0, l acc =0;
[0070] (2) Let T 1 =T 1 +1, a temp =T 1 ·J t ·T s ,; if a temp t :a=a temp , v e =V s +T 1 ·a·T s , l Acc =T 1 ·T s (V s +v e ), jump to (5);
[0071] (3) Let T 1 =T 1 -1, T 2 =T 2 +1, if a≠A t And T 2 =1:T 2 =T 2 +1, v e =v e +(a+A t )·T s ; Otherwise: v e =v e +A t ·T s ;
[0072] (4) Let a=A t , lAcc =1 / 2(T s (2T 1 +T 2 )(V s +v e ));
[0073] (5) Determine S a With l acc If S a > acc :V e =v e , jump to (2); otherwise: return to V e The value of
[0074] Among them, a, a temp , l acc is an intermediate variable.
[0075] After completing the acceleration process, the command feed rate V of the machining trajectory must also be considered. max , bow height error limit δ and normal acceleration / jump limit A n / J n The specific process of improving reverse scanning is as follows, where V' i is the maximum allowable speed of the i-th key point obtained after improved reverse scanning.
[0076] Step 1: Set the initial value i=N, V' (i+1) =0;
[0077] Step 2: First, perform a reverse discrete S-shaped acceleration process in the i-th speed planning unit, and find the path arc length s of the speed planning unit in the cache i u , let S a =s i u , V s =V' (i+1) , the maximum permissible speed V'i of the i-th key point is determined by formula (7):
[0078]
[0079] Step 3: Let i = i-1, if i = 1: jump to step 4; otherwise: jump to step 2;
[0080] Step 4: Cache V'i, where i=2, 3, ..., N+1.
[0081] 2) Improve forward scanning
[0082] Since the maximum permissible speed V at the first critical point in the look-ahead window1 is known (if the starting point of the first speed planning unit in the look-ahead window is at the path starting point, then V 1 = 0; if the starting point of the first speed planning unit in the look-ahead window is not located at the path starting point, then V 1 = (equal to the terminal speed after the nth FSU in the last look-ahead window completes interpolation). Starting from the first speed planning unit for real-time interpolation in the look-ahead window, the designed improved forward scanning process is used to perform forward acceleration from the starting point to the end point of each speed planning unit until the end point of the nth speed planning unit. Considering the constraints such as the command feed rate, bow height error limit and normal acceleration / jump limit, only the tangential acceleration / jump limit needs to be considered during the forward scanning. After the improved forward scanning, the maximum allowable speed V of the i-th key point can be finally determined. i , the specific process is as follows:
[0083] Step 1: Set the initial value i=1;
[0084] Step 2: First, perform a forward discrete S-shaped acceleration process in the i-th speed planning unit, and find the path arc length s of the speed planning unit in the cache. i u , let S a =s i u , V s =V i , the end point feed rate of the i-th speed planning unit, that is, V ( i +1) , determined by formula (8):
[0085] v i+1 =min{V e , V′ i+1} (8)
[0086] Step 3: Let i=i+1, if i>n: jump to step 4; otherwise: jump to step 2;
[0087] Step 4: Connect V i Cache, where i=2,3,...,N+1;
[0088] Finally, (V i ,V i+1 ,s i u ) is stored in the cache as the input data for subsequent speed planning of the i-th speed planning unit.
[0089] According to the velocity profile obtained after velocity planning, the tool motion displacement increment of the i-th FSU in the k-th interpolation cycle is calculated, so as to calculate the interpolation point and complete the forward interpolation.
[0090] Compared with the existing interpolation technology, the interpolation points of the present invention are kinematically transformed to obtain position commands of each axis, and are sent to the servo controller to achieve real-time motion control. The speed of the interpolation points is reduced after entering the corner.
[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A forward interpolation method for three-axis machining trajectory of a laser cutting machine, which is used for real-time interpolation of the G01 path of the laser cutting machine, so as to send the control instructions of the three translation axes X, Y, and Z of the laser cutting machine to the servo controller of the CNC system of the laser cutting machine to realize the movement of each axis; characterized in that: The forward interpolation method includes the following steps: Introduce a forward look-ahead window during NC decoding. When the interpolation process of the last tool path in the window forward direction is completed, the forward look-ahead window moves forward, and then in this new window, the forward look-ahead processing of the path within the window is completed; Before speed planning, the three-axis linear tool path in the look-ahead window is locally smoothed. Secondly, the curvature extreme point C on the i-th corner B-spline is used. i (0.5) is used as the dividing point to divide the smoothed tool path into several speed planning units, and the path arc length s in each speed planning unit is approximately calculated. i u Then, the starting / ending speed V of each speed planning unit is determined by an improved bidirectional scanning process that does not require solving equations. s / V e , according to the data (V s ,V e ,s i u ), a seven-segment "S"-shaped speed curve is used in each speed planning unit to plan the tangential speed of its trajectory motion, and the total interpolation cycle time T in each stage is obtained i , feed rate v i The arc length s corresponding to the end i ; Calculate the arc length increment △s in each interpolation cycle. According to the position of △s, use linear interpolation or spline interpolation to calculate the current interpolation point, thereby obtaining the motion positions of each axis, and sending its control instructions to the corresponding servo controller.
2. The forward interpolation method for three-axis machining trajectory of a laser cutting machine according to claim 1, characterized in that: The length s of the i-th speed planning unit i u Calculated by the following formula (1): L i c is the i-th corner spline curve C i (u) arc length, L i L It is the length of the i-th straight line portion in the smoothed tool path, where i = 1, 2...n.
3. The forward interpolation method for three-axis machining trajectory of a laser cutting machine as claimed in claim 2, characterized in that: L i L The value is the length of the line segment when i = 1 according to the value of i when 1 < i < n or when i = n of the line segment.
4. The forward interpolation method for three-axis machining trajectory of a laser cutting machine as claimed in claim 1, characterized in that: Before planning the speed curve in the speed planning unit, you must first determine the allowable speed, i.e., V i The value of V is determined by performing reverse and forward scans in the look-ahead window. i , and no equations need to be solved; secondly, the command feed rate, bow height error and acceleration / jump limit constraints are introduced in the process of determining the key point feed rate.
5. The forward interpolation method for three-axis machining trajectory of a laser cutting machine as claimed in claim 4, characterized in that: If there are N speed planning units in the forward look-ahead window, and the number of speed planning units that need to complete real-time interpolation in the forward look-ahead window is n, n < N, then after each real-time interpolation is completed, the forward look-ahead window moves forward by n speed planning units; Improve the reverse scanning process. Start from the Nth speed planning unit in the forward look-ahead window and perform reverse acceleration from the end point to the start point within each speed planning unit until the start point of the second speed planning unit is reached; Finally, the final feed rate after acceleration is completed in each speed planning unit is determined, that is, V e .
6. The forward interpolation method for three-axis machining trajectory of a laser cutting machine as claimed in claim 5, characterized in that: The maximum permissible speed V at the Nth key point in the window N+1 =0, that is, the initial speed is set to zero during the improved reverse scanning process; during the scanning process, a seven-segment "S"-shaped speed curve is used in a single speed planning unit to plan the acceleration process.
7. The forward interpolation method for three-axis machining trajectory of a laser cutting machine as claimed in claim 6, characterized in that: Seven-segment "S"-shaped speed curve planning accelerates the determination of V e The method is: Input: Initial feed rate V s , acceleration path length S a , interpolation period T s , Tangential acceleration / jump absolute value A t / J t ; Output: Final feed rate V after acceleration e ; Where, (1) set the initial value: a = 0, v e =V s , V e =V s , a temp =0, T1=0, T2=0, l acc =0; (2) Let T1 = T1 + 1, a temp = T1 · J t · T s ; If a temp <A t : a = a temp , v e = V s + T1 · a · T s , l Acc = T1 · T s (V s + v e ), go to (5); (3) Let T1 = T1-1, T2 = T2+1, if a≠A t And T2=1:T2=T2+1,v e =v e +(a+A t )·T s ; Otherwise: v e =v e +A t ·T s ; (4) Let a = A t , l Acc = 1 / 2(T s (2T1 + T2)(V s + v e )); (5) Determine S a With l acc If S a > acc :V e =v e , jump to (2); otherwise: return to V e The value of Among them, a, a temp , l acc is an intermediate variable.
8. The forward interpolation method for three-axis machining trajectory of a laser cutting machine as claimed in claim 6, characterized in that: The method for improving reverse scanning comprises the following steps: wherein V' i is the maximum allowable speed of the ith key point obtained after improved reverse scanning; Step 1: Set the initial value i=N, V' (i+1) =0; Step 2: First, perform a reverse discrete S-shaped acceleration process in the i-th speed planning unit, and find the path arc length s of the speed planning unit in the cache i u , let S a =s i u , V s =V' (i+1) , The maximum permissible speed V' of the i-th key point i Determined by the following formula (2): Step 3: Let i = i - 1. If i = 1, jump to Step 4; otherwise, jump to Step 2; Step 4: V' i Cache is performed, where i=2, 3, ..., N+1.
9. The forward interpolation method for three-axis machining trajectory of a laser cutting machine as claimed in claim 8, characterized in that: The method for improving forward scanning includes the following steps: Step 1: Set the initial value i = 1; Step 2: First, perform a forward discrete S-shaped acceleration process in the i-th speed planning unit, and find the path arc length s of the speed planning unit in the cache. i u , let S a =s i u , V s =V i , the end point feed rate of the i-th speed planning unit, that is, V (i+1) , determined by formula (3): V i+1 =min{V e ,V′ i+1 } (3) Step 3: Let i = i + 1. If i > n, jump to Step 4; otherwise, jump to Step 2; Step 4: Connect V i Cache, where i=2,3,...,N+1; Finally, (V i ,V i+1 ,s i u ) is stored in the cache as the input data for subsequent speed planning of the i-th speed planning unit.
10. A forward interpolation device for a three-axis machining trajectory of a laser cutting machine, which uses the forward interpolation method for a three-axis machining trajectory of a laser cutting machine as claimed in any one of claims 1 to 9, characterized in that: The forward interpolation device includes: An NC decoding module, which is used to introduce a forward look-ahead window during NC decoding. When the interpolation process of the last tool path in the window forward direction is completed, the forward look-ahead window moves forward, and then in this new window, the forward look-ahead processing of the path within the window is completed; The real-time preview module is used to perform local smoothing on the three-axis linear tool path in the preview window before speed planning. Secondly, the curvature extreme point C on the i-th corner B-spline is used. i (0.5) is used as the dividing point to divide the smoothed tool path into several speed planning units, and the path arc length s in each speed planning unit is approximately calculated. i u Then, the starting / ending speed V of each speed planning unit is determined by an improved bidirectional scanning process that does not require solving equations. s / V e , according to the data (V s ,V e ,s i u ), a seven-segment "S"-shaped speed curve is used in each speed planning unit to plan the tangential speed of its trajectory motion, and the total interpolation cycle time T in each stage is obtained i , feed rate v i The arc length s corresponding to the end i ; An interpolation point calculation module, which is used to calculate the arc length increment △s in each interpolation cycle. According to the position of △s, use linear interpolation or spline interpolation to calculate the current interpolation point, thereby obtaining the motion positions of each axis, and sending its control instructions to the corresponding servo controller.
Citation Information
Cited By
Interpolation method of computer numerical control system based on data driving
CN120010394A
Speed look-ahead method and device for motion control system and medium
CN122151717A
A speed look-ahead method, apparatus, and medium for motion control systems
CN122151717B
