Trajectory planning system for integrated computer numerical control (CNC) machine, trajectory planning device, trajectory planning method, and computer program thereof
10289100 ยท 2019-05-14
Assignee
Inventors
Cpc classification
G05B2219/43146
PHYSICS
G05B19/416
PHYSICS
G05B2219/43009
PHYSICS
International classification
Abstract
The trajectory planning system for integrating a computer numerical control (CNC) machine, trajectory planning device, trajectory planning method, and computer program thereof are provided. The aforementioned trajectory planning device includes a determining module. The determining module configures the related processing speed or processing acceleration based on type of the processing segment so as to provide a processing setting. Furthermore, the aforementioned trajectory planning device determines the processing segment whether the linear or circular segment and plans the tangent or normal acceleration of related processing segment so as to optimize the processing setting and finish the high order processing trajectory planning.
Claims
1. A trajectory planning device for configuring a processing setting comprising computing hardware of an integrated computer numerical control machine executing a processing trajectory to configure a processing setting further comprising: dividing a processing path to a plurality of processing segments; configuring a processing velocity parameter of a related processing segment according to a segment type of the processing segment so as to provide a processing setting; determining whether the segment type is a linear segment or a curved segment so as to configure a related tangent acceleration or a normal acceleration; determining whether the segment type is the curved segment; and configuring the normal acceleration of the processing segment, wherein the normal acceleration is configured by the tangent acceleration and a curvature radius of the curved segment further comprising recalculating the processing velocity parameter of the present processing segment according to the processing velocity parameter of the previous processing segment and the processing velocity parameter of the present processing segment, wherein the recalculating of the processing velocity parameter (.sub.i) of the present processing segment is expressed as:
2. The device as claimed in claim 1, wherein the normal acceleration (acceleration.sub.normal) is expressed as:
3. The device as claimed in claim 1, wherein an allowed acceleration (a.sub.t) of the tangent acceleration is expressed as:
4. The device as claimed in claim 3, wherein an allowed acceleration value (a.sub.n) is expressed as:
5. A trajectory planning configuring system for an integrated computer numerical control machine, comprising: a computer numerical control machine; and a trajectory planning device as claimed in claim 1, wherein the trajectory planning device connects with the computer numerical control machine, and the trajectory planning device according to the processing setting configures the computer numerical control machine executing the processing operation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) For a better understanding of the aforementioned embodiments of the invention, as well as, additional embodiments thereof, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
(6) The following description of embodiments of the present invention is illustrative, and not intended to limit the scope, of the present invention.
(7)
(8) The aforementioned processing segment 21 comprises processing location information, velocity information or acceleration information, etc. In the present embodiment, the processing segment may be a linear segment or a curved segment. The processing setting comprises previous segment processing setting 231 and present segment processing setting 232.
(9) Furthermore, when the trajectory planning device 1 acquired processing position, velocity, and acceleration of present processing segment, the internal first determining module 11 determines the present setting value whether exceeding the controlling machine allowed condition 22. The aforementioned allowed condition 22 comprises allowed velocity parameter, allowed acceleration parameter, etc. The trajectory planning device 1 outputs the processing setting to the CNC machine 3 by the output port 13 when the present setting doesn't exceed the allowed condition 22. While the present setting exceeds the allowed condition 22, the second determining module 12 optimizes and assigns new processing velocity/acceleration to the CNC machine 3 according to the processing position, processing velocity, and processing acceleration of the present and previous processing segments.
(10) Compared with the prior art, using the NURBS to synthesize the processing trajectory from processing path, device 1 of present application divides and planes the processing path into a plurality of processing segments 21, including linear segment (CNC code: G01), and curved segment (CNC code: G02/G03), then the trajectory planning device 1 optimizes and adjusts whole processing segments. For example, while the trajectory planning device 1 determines the processing segment 21 is linear segment, then configures the tangent acceleration of the processing velocity of processing segment 21; while the trajectory planning device 1 determines the processing segment 21 is curved segment, and then configures the tangent acceleration and normal acceleration. In another one embodiment, aforementioned normal acceleration (acceleration.sub.normal) may be expressed by the Equation (1).
(11)
(12) Wherein, v is tangent velocity of the curved segment, is curvature radius of the curved segment, and e.sub.t is a unit vector at a tangent direction of the curved segment.
(13) The complex processing path usually comprises large number of linear segments and curved segments. Therefore, the trajectory planning device 1 further configures the processing velocity parameter (.sub.i) of present processing segment according to the velocity parameter of previous processing segment and velocity parameter of present processing segment.
(14) In another embodiment, the setting of processing velocity parameter (.sub.i) may be expressed as Equation (2):
(15)
(16) Wherein, i is index value of processing segments 21, .sub.i-1 is the processing velocity parameter of the previous processing segment, a.sub.max is an allowed maximum acceleration, d.sub.max is a allowed maximum deceleration, p.sub.i.sup.remain is a segment length of the present processing segment 21.
(17) The present application may select blending algorithm, look-ahead algorithm, or look-backward algorithm to optimize the processing setting of the whole processing path. The optimizing operation is shown in
(18) The optimizing operation procedure is expressed as following steps: S101: calculating velocity parameters of i processing segments 21. S102: analyzing velocity parameter of processing segment 21 (e.g. tangent velocity V.sub.t, normal velocity V.sub.n, tangent acceleration a.sub.t, or normal acceleration a.sub.n) whether complying the allowed condition? (Yes, executing S106; No, executing S103) S103: recalculating the i-th processing segment 21 to the first processing segment, and determining i=0? (Yes, executing S106; No, executing S104) S104: i=i1. S105: calculating the velocity parameter (velocity/acceleration) of the i-th processing segment 21. S106: assigning the processing segment which velocity/acceleration comply the allowed condition. END.
(19) In another embodiment, aforementioned tangent acceleration (a.sub.t) may be expressed in Equation (3):
(20)
(21) The aforementioned normal acceleration (a.sub.n) is expressed in Equation (4), as follows:
(22)
(23) The present application further provides a second embodiment providing a trajectory planning method for configuring the processing trajectory. The aforementioned method includes the step of configuring the processing velocity or the processing acceleration of a related processing segment according to segment type of the processing segment, and then providing a processing trajectory.
(24) Aforementioned method further determines the processing segment whether a linear segment or curved segment so as to configure the tangent acceleration or normal acceleration of related processing segment.
(25) The forementioned method further determines if the processing segment is curved, and then configures the normal acceleration of the processing segment. The normal acceleration is configured by the tangent acceleration of the curved segment and curvature radius.
(26) The aforementioned method further configures the processing velocity parameter of present processing segment according to the velocity parameter of previous processing segment and present processing segment.
(27) The aforementioned method further analyzes the processing velocity to determine whether to comply an allowed condition so as to configure the tangent acceleration or normal acceleration of the processing velocity.
(28) The present application further provides a third embodiment providing a computer program product for configuring the processing trajectory wherein the computer device loads and executes the computer program product so then the computer device is able to accomplish steps of the second embodiment.
(29) The present invention further provides a forth embodiment providing a trajectory planning configuring system which integrates computer numerical control (CNC) machine. The system comprises aforementioned trajectory planning device 1, and a CNC machine. The CNC machine may adopt the Gantry Hybrid CNC which has multiple processing axes (x, y, v), however the type of CNC machine is not limited as aforementioned type. The trajectory planning device 1 connects with the CNC machine, and configures the CNC to execute the processing operation according to the processing setting.
(30)
(31)
(32) The above disclosure is related to the detailed technical contents and inventive features thereof. People skilled in this field may proceed with a variety of modifications and replacements based on the disclosures and suggestions of the invention as described without departing from the characteristics thereof. Nevertheless, although such modifications and replacements are not fully disclosed in the above descriptions, they have substantially been covered in the appended claims.