CN116500966A - Motion path planning method, device, processing equipment and storage medium - Google Patents
Motion path planning method, device, processing equipment and storage medium Download PDFInfo
- Publication number
- CN116500966A CN116500966A CN202310469702.3A CN202310469702A CN116500966A CN 116500966 A CN116500966 A CN 116500966A CN 202310469702 A CN202310469702 A CN 202310469702A CN 116500966 A CN116500966 A CN 116500966A
- Authority
- CN
- China
- Prior art keywords
- line segment
- boundary line
- envelope
- end point
- residual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/19—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35349—Display part, programmed locus and tool path, traject, dynamic locus
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Abstract
Description
技术领域technical field
本申请属于路径规划技术领域,尤其涉及一种运动路径规划方法、装置、加工设备及存储介质。The present application belongs to the technical field of path planning, and in particular relates to a motion path planning method, device, processing equipment and storage medium.
背景技术Background technique
在加工制造领域,加工装置(比如激光头组件)需要在一张板材的不同位置进行加工(比如激光切割或者激光打标),以加工出多个零件。在加工各个零件之前,加工装置需要根据各零件所处的位置按照设定的运动路径行走,以对板材进行余料切割或者走边框。目前针对加工装置设定的运动路径比较复杂,导致降低加工装置的效率。In the field of processing and manufacturing, a processing device (such as a laser head assembly) needs to process (such as laser cutting or laser marking) at different positions on a plate to process multiple parts. Before processing each part, the processing device needs to walk according to the set motion path according to the position of each part, so as to cut the remaining material or run the frame on the plate. Currently, the motion path set for the processing device is relatively complicated, which reduces the efficiency of the processing device.
发明内容Contents of the invention
本申请的实施例提供一种运动路径规划方法、装置、加工设备及存储介质,能提高加工装置的效率。The embodiments of the present application provide a motion path planning method, device, processing equipment and storage medium, which can improve the efficiency of the processing device.
第一方面,本申请的实施例提供一种运动路径规划方法,包括:In the first aspect, the embodiments of the present application provide a motion path planning method, including:
获取各零件图形的边界线段,其中,各所述零件图形位于不同的位置;Obtaining the boundary line segment of each part figure, wherein each part figure is located in a different position;
用倾斜直线段将一个所述零件图形的边界线段的端点与另一个所述零件图形的边界线段的端点连接,所述倾斜直线段与高度方向的最小夹角大于0°且小于90°;Connecting the end point of the boundary line segment of one said part figure with the end point of the boundary line segment of another said part figure with an inclined straight line segment, the minimum angle between said inclined straight line segment and the height direction is greater than 0° and less than 90°;
将所述倾斜直线段与至少一部分所述边界线段连接形成能包围所有所述零件图形的封闭包络线,以作为加工装置的运动路径。Connecting the inclined straight line segment and at least a part of the boundary line segment to form a closed envelope that can surround all the part graphics, as a movement path of the processing device.
第二方面,本申请的实施例提供一种运动路径规划装置,包括:In a second aspect, an embodiment of the present application provides a motion path planning device, including:
边界线段获取模块,用于:获取各零件图形的边界线段,其中,各所述零件图形位于不同的位置;The boundary line segment acquisition module is used to: acquire the boundary line segment of each part figure, wherein each part figure is located in a different position;
连线模块,用于:用倾斜直线段将一个所述零件图形的边界线段的端点与另一个所述零件图形的边界线段的端点连接,所述倾斜直线段与高度方向的最小夹角大于0°且小于90°;A connection module, configured to: use an inclined straight line segment to connect the end point of the boundary line segment of one said part figure with the end point of another said part figure's boundary line segment, and the minimum included angle between said inclined straight line segment and the height direction is greater than 0 ° and less than 90°;
封闭模块,用于:将所述倾斜直线段与至少一部分所述边界线段连接形成能包围所有所述零件图形的封闭包络线,以作为加工装置的运动路径。The closing module is used for: connecting the inclined straight line segment with at least a part of the boundary line segment to form a closed envelope that can surround all the part graphics, as a movement path of the processing device.
第三方面,本申请的实施例提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面中任一项所述的运动路径规划方法。In the third aspect, the embodiments of the present application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, Realize the motion path planning method described in any one of the above-mentioned first aspects.
第四方面,本申请的实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面中任一项所述的运动路径规划方法。In a fourth aspect, the embodiments of the present application provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any one of the above-mentioned first aspects. motion path planning method.
第五方面,本申请的实施例提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的运动路径规划方法。In a fifth aspect, the embodiments of the present application provide a computer program product, which, when the computer program product is run on a terminal device, causes the terminal device to execute the motion path planning method described in any one of the above first aspects.
本申请的实施例存在的有益效果是:The beneficial effect that the embodiment of the present application exists is:
通过倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接,将前述倾斜直线段与至少一部分边界线段连接形成能包围所有零件图形的封闭包络线,以作为加工装置的运动路径;由于两点之间线段最短,用倾斜直线段将一个零件图形的端点与另一个零件图形的端点连接,相比于用折线段或曲线段连接,能使得运动路径更短,从而使得加工装置能以更短的时间走完路径,能提高加工装置的效率。Connect the end point of the boundary line segment of one part figure with the end point of the boundary line segment of another part figure by inclined straight line segment, and connect the aforementioned inclined straight line segment with at least a part of the boundary line segment to form a closed envelope that can surround all part figures, as The movement path of the processing device; since the line segment between two points is the shortest, connecting the end point of one part figure with the end point of another part figure with an inclined straight line segment can make the movement path shorter than connecting with a broken line segment or a curved line segment , so that the processing device can complete the path in a shorter time, and the efficiency of the processing device can be improved.
附图说明Description of drawings
为了更清楚地说明本申请的实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings that need to be used in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only the application. For some embodiments of the present invention, those of ordinary skill in the art can also obtain other drawings based on these drawings on the premise of not paying creative efforts.
图1是本申请一实施例提供的运动路径规划方法的流程示意图;FIG. 1 is a schematic flowchart of a motion path planning method provided by an embodiment of the present application;
图2是本申请一实施例提供的零件图形的示意图;Fig. 2 is a schematic diagram of part graphics provided by an embodiment of the present application;
图3是本申请一实施例提供的运动路径规划方法的原理图;FIG. 3 is a schematic diagram of a motion path planning method provided by an embodiment of the present application;
图4是本申请一实施例提供的封闭包络线的示意图;Fig. 4 is a schematic diagram of a closed envelope provided by an embodiment of the present application;
图5是本申请另一实施例提供的运动路径规划方法的原理图;FIG. 5 is a schematic diagram of a motion path planning method provided by another embodiment of the present application;
图6是本申请一实施例提供的运动路径规划方法的步骤A2的流程示意图;FIG. 6 is a schematic flowchart of step A2 of the motion path planning method provided by an embodiment of the present application;
图7是本申请一实施例提供的零件图形的上边界线段和下边界线段的示意图;Fig. 7 is a schematic diagram of an upper boundary line segment and a lower boundary line segment of a part graphic provided by an embodiment of the present application;
图8是本申请一实施例提供的倾斜直线的位置示意图;Fig. 8 is a schematic diagram of the position of an inclined straight line provided by an embodiment of the present application;
图9是本申请另一实施例提供的运动路径规划方法的步骤A2的流程示意图;FIG. 9 is a schematic flowchart of step A2 of the motion path planning method provided by another embodiment of the present application;
图10是本申请一实施例提供的零件图形的最小包络矩形的示意图;Fig. 10 is a schematic diagram of the minimum enclosing rectangle of a part graphic provided by an embodiment of the present application;
图11是本申请一实施例提供的运动路径规划方法的步骤A2的原理图;Fig. 11 is a schematic diagram of step A2 of the motion path planning method provided by an embodiment of the present application;
图12是本申请另一实施例提供的运动路径规划方法的步骤A2的原理图;Fig. 12 is a schematic diagram of step A2 of the motion path planning method provided by another embodiment of the present application;
图13是本申请又一实施例提供的运动路径规划方法的步骤A2的流程示意图;Fig. 13 is a schematic flowchart of step A2 of the motion path planning method provided by another embodiment of the present application;
图14是本申请又一实施例提供的运动路径规划方法的步骤A2的原理图;Fig. 14 is a schematic diagram of step A2 of the motion path planning method provided by another embodiment of the present application;
图15是本申请又一实施例提供的运动路径规划方法的步骤A2的流程示意图;Fig. 15 is a schematic flowchart of step A2 of the motion path planning method provided by another embodiment of the present application;
图16是本申请又一实施例提供的运动路径规划方法的步骤A2的原理图;Fig. 16 is a schematic diagram of step A2 of the motion path planning method provided by another embodiment of the present application;
图17是本申请又一实施例提供的运动路径规划方法的步骤A2的流程示意图;Fig. 17 is a schematic flowchart of step A2 of the motion path planning method provided by another embodiment of the present application;
图18是本申请又一实施例提供的运动路径规划方法的步骤A2的原理图;Fig. 18 is a schematic diagram of Step A2 of the motion path planning method provided by another embodiment of the present application;
图19是本申请一实施例提供的运动路径规划装置的结构示意图;Fig. 19 is a schematic structural diagram of a motion path planning device provided by an embodiment of the present application;
图20是本申请一实施例提供的运动路径规划装置的连线模块的结构示意图;Fig. 20 is a schematic structural diagram of a connection module of a motion path planning device provided by an embodiment of the present application;
图21是本申请另一实施例提供的运动路径规划装置的连线模块的结构示意图;Fig. 21 is a schematic structural diagram of a connection module of a motion path planning device provided by another embodiment of the present application;
图22是本申请又一实施例提供的运动路径规划装置的连线模块的结构示意图;Fig. 22 is a schematic structural diagram of a connection module of a motion path planning device provided in another embodiment of the present application;
图23是本申请又一实施例提供的运动路径规划装置的连线模块的结构示意图;Fig. 23 is a schematic structural diagram of a connection module of a motion path planning device provided in another embodiment of the present application;
图24是本申请又一实施例提供的运动路径规划装置的连线模块的结构示意图;Fig. 24 is a schematic structural diagram of a connection module of a motion path planning device provided in another embodiment of the present application;
图25是本申请一实施例提供的加工设备的结构示意图。Fig. 25 is a schematic structural diagram of processing equipment provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请所要解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图1至图25及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical problems, technical solutions and beneficial effects to be solved in this application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings 1 to 25 and the embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请的实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and techniques are presented for a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and/or collections thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed, depending on the context, as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification and the appended claims of the present application, the terms "first", "second", "third" and so on are only used to distinguish descriptions, and should not be understood as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.
本申请的实施例提供一种运动路径规划方法,可以用于加工设备(比如激光加工设备),具体可以是用于规划加工设备的加工装置(比如激光头组件)的运动路径。前述运动路径可以是加工装置对材料(比如板材)进行余料切割或者走边框的所走的路径。Embodiments of the present application provide a motion path planning method, which can be used in processing equipment (such as laser processing equipment), and specifically can be used to plan the motion path of a processing device (such as a laser head assembly) of the processing equipment. The aforementioned moving path may be a path taken by the processing device to cut the material (such as a board) or walk the frame.
图1是本申请一实施例提供的运动路径规划方法的流程示意图。参考图1,本申请的实施例提供的运动路径规划方法包括步骤A1至步骤A3。FIG. 1 is a schematic flowchart of a motion path planning method provided by an embodiment of the present application. Referring to FIG. 1 , the motion path planning method provided by the embodiment of the present application includes steps A1 to A3.
步骤A1、获取各零件图形的边界线段。Step A1, obtaining the boundary line segment of each part graphic.
图2是本申请一实施例提供的零件图形的示意图。参考图2,零件图形1可以是虚拟的,比如位于计算机系统的用于表示零件的图形。Fig. 2 is a schematic diagram of part graphics provided by an embodiment of the present application. Referring to FIG. 2 , the part graphic 1 may be virtual, such as a graphic representing a part located in a computer system.
各零件图形1位于不同的位置。示例的,参考图2,各零件图形1位于同一个二维平面,但各零件图形1在前述二维平面所处的位置各不相同,各零件图形1间隔分布。Each part figure 1 is located in a different position. For example, referring to FIG. 2 , each part figure 1 is located on the same two-dimensional plane, but the position of each part figure 1 on the aforementioned two-dimensional plane is different, and each part figure 1 is distributed at intervals.
零件图形1是用于表示零件的图形,可以是包络零件的矩形。多个零件则对应多个矩形。Part graphic 1 is a graphic used to represent a part, which may be a rectangle enveloping a part. Multiple parts correspond to multiple rectangles.
当然,根据实际情况,零件图形1还可以是三角形或边数大于四的多边形,比如五边形、六边形、七边形或八边形。Certainly, according to the actual situation, the part figure 1 may also be a triangle or a polygon with sides greater than four, such as a pentagon, a hexagon, a heptagon or an octagon.
以零件图形1是矩形为例对本申请的实施例进行说明。The embodiment of the present application will be described by taking the part figure 1 as a rectangle as an example.
矩形由多条线段连接而成,这些线段是矩形的边界线段。A rectangle is formed by connecting line segments, which are the boundary segments of the rectangle.
获取各零件图形的边界线段是获取边界线段的几何特征数据。前述几何特征数据包括边界线段的端点位置以及线段的方向。前述几何特征数据可以从存储器获取,也可以通过与外部计算机进行通信来获取。Obtaining the boundary line segment of each part graph is to obtain the geometric feature data of the boundary line segment. The aforementioned geometric feature data includes the position of the endpoint of the boundary line segment and the direction of the line segment. The aforementioned geometric feature data can be obtained from a memory, or can be obtained through communication with an external computer.
获取各零件图形1的边界线段可以是获取各零件图形的上边界线段和下边界线段,具体可以将上边界线段和下边界线段添加到集合中。Obtaining the boundary line segment of each part figure 1 may be obtaining the upper boundary line segment and the lower boundary line segment of each part figure, specifically, the upper boundary line segment and the lower boundary line segment may be added to the set.
步骤A2、用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接,前述倾斜直线段与高度方向的最小夹角大于0°且小于90°。Step A2. Connect the end point of the boundary line segment of one part figure with the end point of the boundary line segment of another part figure with an inclined straight line segment, the minimum angle between the aforementioned inclined line segment and the height direction is greater than 0° and less than 90°.
每一边界线段都具有两个端点;这些端点也是边界线段所属的零件图形的端点。Each boundary segment has two endpoints; these endpoints are also the endpoints of the part drawing to which the boundary segment belongs.
图3是本申请一实施例提供的运动路径规划方法的原理图。参考图3,用倾斜直线段2将一个零件图形1的边界线段的端点与另一个零件图形1的边界线段的端点连接,实现用一条直线段将一个零件图形与另一个零件图形连接;其中,前述倾斜直线段2后续作为加工装置的运动路径的一部分。Fig. 3 is a schematic diagram of a motion path planning method provided by an embodiment of the present application. With reference to Fig. 3, connect the end point of the boundary line segment of a part figure 1 with the end point of the boundary line segment of another part figure 1 with the inclined straight line segment 2, realize that a part figure is connected with another part figure with a straight line segment; Wherein, The aforementioned oblique straight section 2 follows as part of the movement path of the processing device.
倾斜直线段2与高度方向G存在两个互补的夹角。其中,参考图3,倾斜直线段2与高度方向G的最小夹角α大于0°且小于90°,表示倾斜直线段2不垂直于高度方向G,也不平行于高度方向G。There are two complementary angles between the inclined straight line segment 2 and the height direction G. Wherein, referring to FIG. 3 , the minimum angle α between the inclined straight line segment 2 and the height direction G is greater than 0° and less than 90°, which means that the inclined straight line segment 2 is neither perpendicular to the height direction G nor parallel to the height direction G.
应当理解,高度方向G只是相对零件图形1所处的位置而言的,具体可以是竖直方向;随着零件图形1的方位发生变化,高度方向G还可以是水平方向。It should be understood that the height direction G is only relative to the position of the part figure 1 , specifically, it can be a vertical direction; as the orientation of the part figure 1 changes, the height direction G can also be a horizontal direction.
由于各零件图形分布于不同的位置,一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点可以通过折线段或者曲线连接,这样会使得这两个端点之间的路径较长;本申请的实施例是用倾斜直线段连接前述两个端点,能缩短两个端点之间的路径。Since the part graphics are distributed in different positions, the end point of the boundary segment of one part graphic and the end point of the boundary line segment of another part graphic can be connected by a polyline segment or a curve, which will make the path between the two end points longer; In the embodiment of the present application, the aforementioned two end points are connected by an inclined straight line segment, which can shorten the path between the two end points.
步骤A3、将倾斜直线段与至少一部分边界线段连接形成能包围所有零件图形的封闭包络线,以作为加工装置的运动路径。Step A3, connecting the inclined straight line segment with at least a part of the boundary line segment to form a closed envelope that can surround all part graphics, as a movement path of the processing device.
边界线段是零件图形1的边界,为了实现包围所有的零件图形1,将前面确定的倾斜直线段2与边界线段连接。The boundary line segment is the boundary of the part figure 1, in order to realize enclosing all the part figure 1, connect the oblique straight line segment 2 determined earlier with the boundary line segment.
图4是本申请一实施例提供的封闭包络线的示意图。参考图4,根据实际情况,将倾斜直线段2与边界线段连接,有可能未能包围所有的零件图形(比如得到的几何图形是开环的),为了实现包围所有的零件图形1,可以用垂直线段或者水平线段连接两个零件图形,前述垂直线段8或者水平线段9可以是零件图形1的竖直边界线段或水平边界线段,从而得到能包围所有零件图形的封闭包络线3,以作为加工装置的运动路径。Fig. 4 is a schematic diagram of a closed envelope provided by an embodiment of the present application. Referring to Fig. 4, according to the actual situation, connecting the inclined straight line segment 2 with the boundary line segment may fail to enclose all part figures (for example, the obtained geometric figures are open loops), in order to realize enclosing all part figures 1, you can use A vertical line segment or a horizontal line segment connects two part graphics, and the aforementioned vertical line segment 8 or horizontal line segment 9 can be the vertical boundary line segment or the horizontal boundary line segment of the part figure 1, thereby obtaining a closed envelope 3 that can surround all part graphics, as The movement path of the processing device.
在得到封闭包络线3之后,加工装置沿封闭包络线3运动,以对材料(比如板材)进行余料切割或者走边框。After the closed envelope 3 is obtained, the processing device moves along the closed envelope 3 to carry out residual cutting or border cutting on the material (such as a plate).
根据上述内容可知,通过倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接,将前述倾斜直线段与至少一部分边界线段连接形成能包围所有零件图形的封闭包络线,以作为加工装置的运动路径;由于两点之间线段最短,用倾斜直线段将一个零件图形的端点与另一个零件图形的端点连接,相比于用折线段或曲线段连接,能使得运动路径更短,从而使得加工装置能以更短的时间走完路径,能提高加工装置的效率。According to the above content, it can be known that the end point of the boundary line segment of one part figure is connected with the end point of the boundary line segment of another part figure by the inclined straight line segment, and the aforementioned inclined straight line segment is connected with at least a part of the boundary line segment to form a closed package that can surround all part figures As the movement path of the processing device; since the line segment between two points is the shortest, using an inclined straight line segment to connect the end point of one part graphic with the end point of another part graphic can be compared to connecting with a broken line segment or a curved line segment. The movement path is made shorter, so that the processing device can complete the path in a shorter time, and the efficiency of the processing device can be improved.
参考图4,本申请的实施例提供的运动路径规划方法得到的封闭包络线包含倾斜直线段,前述倾斜直线段使得封闭包络线具有坡形,因此,前述封闭包络线为坡形包络线,相比于由垂直线段和水平线段连接而成的阶梯包络线,坡形包络线的路径更短。Referring to FIG. 4 , the closed envelope obtained by the motion path planning method provided by the embodiment of the present application includes an inclined straight line segment, and the aforementioned inclined straight line makes the closed envelope have a slope shape. Therefore, the aforementioned closed envelope is a slope envelope A sloped envelope has a shorter path than a stepped envelope formed by joining vertical and horizontal segments.
上述实施例的步骤A2(用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接),可以具体包括:Step A2 of the foregoing embodiment (connecting the end point of the boundary line segment of one part figure with the end point of the boundary line segment of another part figure with an inclined straight line segment) may specifically include:
参考图3,用倾斜直线段2将一个零件图形1的边界线段的端点,与另一个在高度方向G相邻的零件图形1的边界线段的端点连接,使得在封闭包络线3中倾斜直线段2的端点处的最小拐角大于90°。Referring to Fig. 3, the end point of the boundary line segment of a part figure 1 is connected with the end point of the boundary line segment of another part figure 1 adjacent in the height direction G with an inclined straight line segment 2, so that the inclined line is in the closed envelope 3 The smallest corner at the endpoint of segment 2 is greater than 90°.
具体而言,每个零件图形1具有多个端点,通过倾斜直线段2将在高度方向G相邻的两个零件图形1的端点连接,能保障端点处的最小拐角大于90°。Specifically, each part figure 1 has multiple endpoints, and by connecting the endpoints of two adjacent part figures 1 in the height direction G through the inclined straight line segment 2, the minimum corner at the endpoints can be guaranteed to be larger than 90°.
由垂直线段和水平线段连接而成的阶梯包络线,连接处的拐角为90°。在本申请的实施例得到的封闭包络线中,倾斜直线段的端点处的最小拐角大于90°,也即大于阶梯包络线的连接处的拐角,拐角越大,则加工装置的移动速度就可以越大,能进一步提高加工装置的加工效率。A stepped envelope formed by connecting vertical and horizontal segments, with a 90° corner at the junction. In the closed envelope obtained in the embodiment of the present application, the minimum corner at the endpoint of the inclined straight line is greater than 90°, that is, it is greater than the corner at the junction of the stepped envelope. The larger the corner, the faster the moving speed of the processing device will be. It can be larger, and the processing efficiency of the processing device can be further improved.
上述实施例的步骤A2(用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接),具体还可以包括:Step A2 of the above-mentioned embodiment (connecting the end point of the boundary line segment of a part figure with the end point of the boundary line segment of another part figure with an inclined straight line segment) can also specifically include:
使得倾斜直线段2的距离最短。Make the distance of the inclined straight line segment 2 the shortest.
图5是本申请另一实施例提供的运动路径规划方法的原理图。参考图5,具体的,将两个零件图形1的边界线段的端点中距离最短的两个端点用倾斜直线段2连接,即可使得前述倾斜直线段2的距离最短,这样能使得封闭包络线的面积尽量小,从而能节省材料。Fig. 5 is a schematic diagram of a motion path planning method provided by another embodiment of the present application. Referring to Fig. 5, specifically, connecting the two end points with the shortest distance among the endpoints of the boundary line segments of the two part graphics 1 with an inclined straight line segment 2 can make the distance of the aforementioned inclined straight line segment 2 the shortest, which can make the closed envelope The area of the line is kept as small as possible, thereby saving material.
在其他一些实施例中,可以将两个零件图形1的边界线段的端点中距离最长的两个端点用倾斜直线段2连接,由于两点之间直线最短,这样能使得加工装置的运动路径最短,能进一步提高加工装置的加工效率。In some other embodiments, the two end points with the longest distance among the end points of the boundary line segments of the two part graphics 1 can be connected with an inclined straight line segment 2. Since the straight line between the two points is the shortest, the movement path of the processing device can be made The shortest length can further improve the processing efficiency of the processing device.
图6是本申请一实施例提供的运动路径规划方法的步骤A2的流程示意图。参考6,上述实施例的步骤A2(用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接),具体可以包括步骤A21和步骤A22。Fig. 6 is a schematic flowchart of step A2 of the motion path planning method provided by an embodiment of the present application. Referring to 6, the step A2 of the above-mentioned embodiment (connecting the end point of the boundary line segment of one part figure with the end point of the boundary line segment of another part figure with an inclined straight line segment) may specifically include step A21 and step A22.
步骤A21、确定在高度方向的位置最高的边界线段。Step A21. Determine the highest boundary line segment in the height direction.
图7是本申请一实施例提供的零件图形的上边界线段和下边界线段的示意图。参考图7,零件图形1的数量为多个,因此,边界线段的数量为多条。Fig. 7 is a schematic diagram of an upper boundary line segment and a lower boundary line segment of a part graphic provided by an embodiment of the present application. Referring to FIG. 7, there are multiple part graphics 1, and therefore, there are multiple boundary line segments.
参考图7,在高度方向G可以确定位置最高的边界线段11,将该边界线段作为基准。Referring to FIG. 7 , the highest boundary line segment 11 can be determined in the height direction G, and this boundary line segment can be used as a reference.
示例的,在获取到上边界线段和下边界线段之后,可以将上边界线段和下边界线段放置于上下边界集合{B}中,并按照大小排序,比如按照高度方向G(也可以称为Y轴)从大到小排序,这样能便于确定在高度方向G的位置最高的边界线段11。For example, after the upper boundary line segment and the lower boundary line segment are obtained, the upper boundary line segment and the lower boundary line segment can be placed in the upper and lower boundary set {B}, and sorted by size, for example, according to the height direction G (also called Y axis) from large to small, which can facilitate the determination of the highest boundary line segment 11 in the height direction G.
图8是本申请一实施例提供的倾斜直线的位置示意图。Fig. 8 is a schematic diagram of the position of an inclined straight line provided by an embodiment of the present application.
步骤A22、用倾斜直线段2将一个零件图形1的边界线段的端点,与另一个在高度方向G相邻的零件图形1的边界线段的端点连接,使得在封闭包络线3中倾斜直线段2的端点处的最小拐角大于90°,参考图8,且使得倾斜直线段2的两个端点位于位置最高的边界线段11的第一侧端点的同一侧。Step A22, use the inclined straight line segment 2 to connect the end point of the boundary line segment of a part figure 1 with the end point of the boundary line segment of another part figure 1 adjacent in the height direction G, so that the inclined straight line segment is in the closed envelope 3 The minimum corner angle at the end point of 2 is greater than 90°, refer to FIG. 8 , and make the two end points of the inclined straight line segment 2 be located on the same side of the first side end point of the highest boundary line segment 11 .
倾斜直线段2的端点处的最小拐角大于90°,拐角越大,则加工装置的移动速度就可以越大,能进一步提高加工装置的加工效率。The minimum corner at the end point of the inclined straight line segment 2 is larger than 90°, and the larger the corner is, the greater the moving speed of the processing device can be, which can further improve the processing efficiency of the processing device.
图9是本申请另一实施例提供的运动路径规划方法的步骤A2的流程示意图。参考图9,上述实施例的步骤A2(用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接),具体可以包括步骤A21’至步骤A23’。Fig. 9 is a schematic flowchart of step A2 of the motion path planning method provided by another embodiment of the present application. With reference to Fig. 9, the step A2 of above-mentioned embodiment (connecting the end point of the boundary line segment of a part figure with the end point of the boundary line segment of another part figure with inclined straight line segment), specifically can comprise step A21 ' to step A23 '.
步骤A21’、获取在高度方向G的位置最高的第一包络边界线段41,前述第一包络边界线段41为所有零件图形1的最小包络矩形4的边。Step A21', obtain the first enveloping boundary line segment 41 with the highest position in the height direction G, the aforementioned first enveloping boundary line segment 41 is the side of the smallest enclosing rectangle 4 of all part graphics 1 .
图10是本申请一实施例提供的零件图形的最小包络矩形的示意图。参考图10,具体而言,位于同一个平面的所有零件图形1可以用一个矩形包络。当矩形的四边与零件图形的边重合时,所得的矩形为最小包络矩形4。Fig. 10 is a schematic diagram of a minimum enclosing rectangle of a part graphic provided by an embodiment of the present application. Referring to FIG. 10 , specifically, all part graphics 1 located on the same plane can be enveloped by a rectangle. When the four sides of the rectangle coincide with the sides of the part graphics, the resulting rectangle is the minimum enveloping rectangle 4.
将最小包络矩形4在高度方向G的位置最高的边作为第一包络边界线段41。The side with the highest position in the height direction G of the minimum envelope rectangle 4 is taken as the first envelope boundary line segment 41 .
步骤A22’、用在高度方向G的位置最高的边界线段11的第一侧端点111,截断第一包络边界线段41并保留位于第一侧的剩余第一包络边界线段,得到第一侧剩余第一包络线段41’。Step A22', using the first side end point 111 of the highest boundary line segment 11 in the height direction G, truncating the first envelope boundary line segment 41 and retaining the remaining first envelope boundary line segment on the first side to obtain the first side A first envelope segment 41' remains.
具体而言,在获取到各零件图形1的边界线段之后,确定各零件图形1在高度方向G的边界线段,然后从这些边界线段中确定位置最高的边界线段11。如前所述,具体可以从上下边界集合{B}中确定位置最高的边界线段11。Specifically, after the boundary line segment of each part figure 1 is obtained, the boundary line segment of each part figure 1 in the height direction G is determined, and then the highest position boundary line segment 11 is determined from these boundary line segments. As mentioned above, specifically, the boundary line segment 11 with the highest position can be determined from the upper and lower boundary set {B}.
位置最高的边界线段11具有两个端点,为第一侧端点111和第二侧端点112。The boundary line segment 11 at the highest position has two end points, which are a first side end point 111 and a second side end point 112 .
图11是本申请一实施例提供的运动路径规划方法的步骤A2的原理图。参考图11,用第一侧端点111截断第一包络边界线段41并保留位于第一侧的剩余第一包络边界线段,得到第一侧剩余第一包络线段41’。Fig. 11 is a schematic diagram of step A2 of the motion path planning method provided by an embodiment of the present application. Referring to FIG. 11 , the first envelope boundary line segment 41 is truncated by the first side endpoint 111 and the remaining first envelope boundary line segment on the first side is reserved to obtain the remaining first envelope line segment 41' on the first side.
步骤A23’、沿高度方向G向下平移第一侧剩余第一包络线段41’至下一边界线段12,若第一侧剩余第一包络线段41’与下一边界线段12的至少一部分重合,则从下一边界线段12的第一侧端点截断第一侧剩余第一包络线段41’并保留位于第一侧的第一侧剩余第一包络线段41’,用倾斜直线段2B将下一边界线段12的一个端点与上一边界线段11的第一侧端点连接,对位于第一侧的第一侧剩余第一包络线段41’重复前述操作,直至剩余的第一侧剩余第一包络线段41’的长度为零。Step A23': Translate the remaining first envelope segment 41' on the first side down to the next boundary segment 12 along the height direction G, if the remaining first envelope segment 41' and at least a part of the next boundary segment 12 on the first side Coincidentally, then from the first side end point of the next boundary line segment 12, the remaining first envelope line segment 41' on the first side is cut off and the remaining first envelope line segment 41' on the first side is retained, and the inclined straight line segment 2B is used An end point of the next boundary line segment 12 is connected with the first side end point of the previous boundary line segment 11, and the remaining first envelope line segment 41' on the first side is repeated until the remaining first side remains The length of the first envelope segment 41' is zero.
若第一侧剩余第一包络线段41’与下一边界线段12没有重合的部分,则跳过当前的下一边界线段12,继续向下平移,直至平移至有重合部分的下一边界线段。If there is no overlapping part between the first envelope line segment 41' and the next boundary line segment 12 on the first side, then skip the current next boundary line segment 12 and continue to translate downwards until the next boundary line segment with overlapping parts .
前述倾斜直线2B后续可以作为封闭包络线3的左上边界,因此,可以将前述倾斜直线2B添加到左上界集合{K1}的最前。应当理解,左上界集合{K1}中含有一条或者多条倾斜直线2B。The aforementioned sloping straight line 2B can subsequently be used as the upper left boundary of the closed envelope 3 , therefore, the aforementioned sloping straight line 2B can be added to the front of the left upper bound set {K1}. It should be understood that the upper left bound set {K1} contains one or more inclined straight lines 2B.
参考图11,上述步骤A23’中的用倾斜直线段将下一边界线段的一个端点与上一边界线段的第一侧端点连接,具体可以包括:用倾斜直线段2B将下一边界线段13的指定侧端点与上一边界线段11的第一侧端点111连接,前述指定侧端点位于上一边界线段11的第一侧端点111的第一侧。With reference to Fig. 11, connecting an end point of the next boundary line segment with the first side end point of the previous boundary line segment with an inclined straight line segment in the above-mentioned step A23' may specifically include: connecting the next boundary line segment 13 with an inclined straight line segment 2B. The specified side endpoint is connected to the first side endpoint 111 of the previous boundary line segment 11 , and the aforementioned specified side endpoint is located on the first side of the first side endpoint 111 of the previous boundary line segment 11 .
图12是本申请另一实施例提供的运动路径规划方法的步骤A2的原理图。参考图12,下一边界线段12的端点为两个,如果下一边界线段12的两个端点均位于第一侧端点111的第一侧,则将最靠近第一侧端点111的端点作为前述指定侧端点;针对这种情况,可以将倾斜直线段2B和下一边界线段12作为封闭包络线3的左上边界并添加到左上界集合{K1}的最前;这样能使得前述倾斜直线段2的距离最短,从而能使得封闭包络线的面积尽量小,能实现节省材料。Fig. 12 is a schematic diagram of step A2 of the motion path planning method provided by another embodiment of the present application. With reference to Fig. 12, there are two endpoints of the next boundary line segment 12, if the two endpoints of the next boundary line segment 12 are all located on the first side of the first side endpoint 111, then the endpoint closest to the first side endpoint 111 is used as the aforementioned Specify the side endpoint; in this case, the inclined straight line segment 2B and the next boundary line segment 12 can be used as the upper left boundary of the closed envelope 3 and added to the front of the left upper bound set {K1}; this can make the aforementioned inclined straight line segment 2 The distance is the shortest, so that the area of the closed envelope can be made as small as possible, and material can be saved.
上述步骤A3(将倾斜直线段与至少一部分边界线段连接形成能包围所有零件图形的封闭包络线),具体可以包括:若第一侧剩余第一包络线段41’与下一边界线段12的所有部分重合,则将倾斜直线段2与下一边界线段12连接,以形成能包围所有零件图形的封闭包络线3。The above step A3 (connecting the inclined straight line segment with at least a part of the boundary line segment to form a closed envelope that can surround all part graphics) may specifically include: if the remaining first envelope line segment 41' and the next boundary line segment 12 on the first side When all parts are coincident, the inclined straight line segment 2 is connected with the next boundary line segment 12 to form a closed envelope 3 that can surround all part graphics.
示例的,参考图11,下一边界线段12的两个端点的X轴坐标值为X1和X2,其中,X1为第一侧的端点的X轴坐标值,X2为第二侧的端点的X轴坐标值;第一侧端点111的X轴坐标值为X3。Exemplarily, referring to FIG. 11 , the X-axis coordinate values of the two endpoints of the next boundary line segment 12 are X1 and X2, wherein X1 is the X-axis coordinate value of the endpoint of the first side, and X2 is the X-axis coordinate value of the endpoint of the second side. axis coordinate value; the X-axis coordinate value of the first side endpoint 111 is X3.
参考图12,如果X1<X2<X3,也即下一边界线段12的两个端点都位于第一侧端点111的第一侧(即左侧),将第一侧剩余第一包络线段41’向下移至下一边界线段12,并将第一侧剩余第一包络线段41’的右边从X1处截断,保留左侧的第一侧剩余第一包络线段41’,用倾斜直线段2B将下一边界线段12的X2所在的端点与上一边界线段11的第一侧端点111连接,将倾斜直线段2B和下一边界线段12添加到左上界集合{K1}的最前,以便倾斜直线段2与下一边界线段12连接形成能包围所有零件图形的封闭包络线3。With reference to Fig. 12, if X1<X2<X3, that is, the two endpoints of the next boundary line segment 12 are all located on the first side (i.e. the left side) of the first side endpoint 111, the remaining first envelope line segment 41 on the first side 'Move down to the next boundary line segment 12, and truncate the right side of the remaining first envelope line segment 41' on the first side from X1, retain the remaining first envelope line segment 41' on the left side, and use an inclined straight line Section 2B connects the end point where X2 of the next boundary line segment 12 is with the first side endpoint 111 of the previous boundary line segment 11, and adds the inclined straight line segment 2B and the next boundary line segment 12 to the front of the left upper bound set {K1}, so that The inclined straight line segment 2 is connected with the next boundary line segment 12 to form a closed envelope 3 that can surround all part graphics.
参考图11,如果X2>X3>X1,将第一侧剩余第一包络线段41’向下移至下一边界线段13,并将第一侧剩余第一包络线段41’的右边从X1处截断,保留左侧的第一侧剩余第一包络线段41’,用倾斜直线段2B将下一边界线段12的X1所在的端点与上一边界线段11的第一侧端点111连接,将倾斜直线段2B添加到左上界集合{K1}的最前。对位于第一侧的第一侧剩余第一包络线段41’重复前述操作,直至剩余的第一侧剩余第一包络线段41’的长度为零,从而得到完整的左上界集合{K1}。Referring to Fig. 11, if X2>X3>X1, move the remaining first envelope segment 41' on the first side down to the next boundary segment 13, and move the right side of the remaining first envelope segment 41' from X1 truncated at the left side, retaining the remaining first envelope line segment 41' on the first side on the left side, connecting the end point where X1 of the next boundary line segment 12 is located with the first side end point 111 of the previous boundary line segment 11 with the inclined straight line segment 2B, and The oblique line segment 2B is added to the front of the upper left bound set {K1}. Repeat the aforementioned operations on the remaining first envelope segment 41' on the first side until the length of the remaining first envelope segment 41' on the first side is zero, thereby obtaining a complete left upper bound set {K1} .
图13是本申请又一实施例提供的运动路径规划方法的步骤A2的流程示意图。参考图13,上述实施例的步骤A2(用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接),还可以包括步骤A24’和步骤A25’。Fig. 13 is a schematic flow chart of step A2 of the motion path planning method provided by another embodiment of the present application. With reference to Fig. 13, the step A2 of above-mentioned embodiment (connecting the end point of the boundary line segment of a part figure with the end point of the boundary line segment of another part figure with inclined straight line segment), can also comprise step A24 ' and step A25 '.
步骤A24’、用在高度方向G的位置最高的边界线段11的第二侧端点112,截断第一包络边界线段41并保留位于第二侧的剩余第一包络边界线段,得到第二侧剩余第一包络线段41”。Step A24', use the second side endpoint 112 of the highest boundary line segment 11 in the height direction G to truncate the first envelope boundary line segment 41 and retain the remaining first envelope boundary line segment on the second side to obtain the second side A first envelope segment 41" remains.
图14是本申请又一实施例提供的运动路径规划方法的步骤A2的原理图。参考图14,如前所述,位置最高的边界线段11具有第二侧端点112。Fig. 14 is a schematic diagram of step A2 of the motion path planning method provided by another embodiment of the present application. Referring to FIG. 14 , as mentioned above, the highest boundary line segment 11 has a second side endpoint 112 .
参考图14,用第二侧端点112截断第一包络边界线段41并保留位于第二侧的剩余第一包络边界线段41,得到第二侧剩余第一包络线段41”。Referring to FIG. 14 , the first envelope boundary line segment 41 is truncated by the second side endpoint 112 and the remaining first envelope boundary line segment 41 located on the second side is retained to obtain the remaining first envelope line segment 41 ″ on the second side.
步骤A25’、沿高度方向G向下平移第二侧剩余包络线段41”至下一边界线段13,若第二侧剩余第一包络线段41”与下一边界线段13的至少一部分重合,则从下一边界线段13的第二侧端点截断第二侧剩余第一包络线段41”并保留位于第二侧的第二侧剩余第一包络线段41”,用倾斜直线段2C将下一边界线段13的一个端点与上一边界线段11的第二侧端点连接,对位于第二侧的第二侧剩余第一包络线段41”重复前述操作,直至剩余的第二侧剩余第一包络线段41”的长度为零。Step A25': Translating the remaining envelope segment 41" on the second side down to the next boundary line segment 13 along the height direction G, if at least a part of the remaining first envelope segment 41" on the second side coincides with the next boundary line segment 13, Then from the second side end point of the next boundary line segment 13, truncate the remaining first envelope line segment 41 " on the second side and retain the remaining first envelope line segment 41 " on the second side, and use the inclined straight line segment 2C to move the next An end point of a boundary line segment 13 is connected with the second side end point of the last boundary line segment 11, and the remaining first envelope line segment 41 " on the second side on the second side repeats the aforementioned operations until the remaining second side remains the first envelope line segment. The length of the envelope segment 41" is zero.
若第二侧剩余第一包络线段41”与下一边界线段13没有重合的部分,则跳过当前的下一边界线段13,继续向下平移,直至平移至有重合部分的下一边界线段。If there is no overlapping part between the first envelope line segment 41" and the next boundary line segment 13 on the second side, then skip the current next boundary line segment 13 and continue to translate downwards until the next boundary line segment with overlapping parts .
前述倾斜直线2C后续可以作为封闭包络线3的右上边界,因此,可以将前述倾斜直线2C添加到右上界集合{K3}的最前。应当理解,右上界集合{K3}中含有一条或者多条倾斜直线2C。The aforementioned sloping straight line 2C can subsequently serve as the upper right boundary of the closed envelope 3 , therefore, the aforementioned sloping straight line 2C can be added to the front of the upper right boundary set {K3}. It should be understood that the upper right bound set {K3} contains one or more inclined straight lines 2C.
图15是本申请又一实施例提供的运动路径规划方法的步骤A2的流程示意图。参考图15,上述实施例的步骤A2(用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接),还可以包括步骤A21”至步骤A23”。Fig. 15 is a schematic flow chart of step A2 of the motion path planning method provided by another embodiment of the present application. With reference to Fig. 15, the step A2 of above-mentioned embodiment (connecting the end point of the boundary line segment of a part figure with the end point of the boundary line segment of another part figure with inclined straight line segment), can also comprise step A21 " to step A23 ".
步骤A21”、获取在高度方向G的位置最低的第二包络边界线段42,前述第二包络边界线段42为最小包络矩形4的边。Step A21 ″, obtaining the second envelope boundary line segment 42 with the lowest position in the height direction G, the second envelope boundary line segment 42 being the side of the minimum envelope rectangle 4 .
如前所述,位于同一个平面的所有零件图形1可以由一个最小包络矩形包络4。As mentioned above, all part graphics 1 located on the same plane can be enveloped by a minimum enclosing rectangle 4 .
将最小包络矩形4在高度方向G的位置最低的边作为第二包络边界线段42。The lowest side of the minimum envelope rectangle 4 in the height direction G is used as the second envelope boundary line segment 42 .
步骤A22”、用在高度方向G的位置最低的边界线段42的第一侧端点,截断第二包络边界线段42并保留位于第一侧的剩余第二包络边界线段,得到第一侧剩余第二包络线段42’。Step A22", using the first side endpoint of the lowest boundary line segment 42 in the height direction G, truncating the second envelope boundary line segment 42 and retaining the remaining second envelope boundary line segment on the first side to obtain the first side remaining The second envelope segment 42'.
图16是本申请又一实施例提供的运动路径规划方法的步骤A2的原理图。参考图16,如前所述,在确定各零件图形1在高度方向G的边界之后,从这些边界线段中确定位置最低的边界线段14。具体可以从上下边界集合{B}中确定位置最低的边界线段14。Fig. 16 is a schematic diagram of step A2 of the motion path planning method provided by another embodiment of the present application. Referring to FIG. 16 , as described above, after determining the boundaries of each part figure 1 in the height direction G, the lowest boundary line segment 14 is determined from these boundary line segments. Specifically, the boundary line segment 14 with the lowest position can be determined from the upper and lower boundary set {B}.
参考图16,位置最低的边界线段14也具有两个端点,为第一侧端点141和第二侧端点142。Referring to FIG. 16 , the boundary segment 14 at the lowest position also has two endpoints, which are a first side endpoint 141 and a second side endpoint 142 .
参考图16,用第一侧端点141截断第二包络边界线段42并保留位于第一侧的剩余第二包络边界线段,得到第一侧剩余第二包络线段42’。Referring to FIG. 16 , the second envelope boundary line segment 42 is truncated by the first side endpoint 141 and the remaining second envelope boundary line segment located on the first side is retained to obtain the remaining second envelope line segment 42' on the first side.
步骤A23”、沿高度方向G向上平移第一侧剩余第二包络线段42’至下一边界线段15,若第一侧剩余第二包络线段42’与下一边界线段15的至少一部分重合,则从下一边界线段15的第一侧端点151截断第一侧剩余第二包络线段42’并保留位于第一侧的第一侧剩余第二包络线段42’,用倾斜直线段2D将下一边界线段15的一个端点与上一边界线段14的第一侧端点连接,对位于第一侧的第一侧剩余第二包络线段42’重复前述操作,直至剩余的第一侧剩余第二包络线段的长度为零。Step A23", translate the remaining second envelope segment 42' on the first side up to the next boundary line segment 15 along the height direction G, if at least a part of the remaining second envelope segment 42' on the first side coincides with the next boundary line segment 15 , then from the first side end point 151 of the next boundary line segment 15 truncate the remaining second envelope line segment 42' on the first side and retain the remaining second envelope line segment 42' on the first side, using the inclined straight line segment 2D An end point of the next boundary line segment 15 is connected with the first side end point of the previous boundary line segment 14, and the remaining second envelope line segment 42' on the first side is repeated until the remaining first side remains The length of the second envelope segment is zero.
若第一侧剩余第二包络线段42’与下一边界线段15没有重合的部分,则跳过当前的下一边界线段15,继续向上平移,直至平移至有重合部分的下一边界线段。If there is no overlapping part between the second envelope line segment 42' and the next boundary line segment 15 on the first side, then skip the current next boundary line segment 15 and continue to translate upwards until the next boundary line segment with an overlapping part is translated.
前述倾斜直线2D后续可以作为封闭包络线3的左下边界,因此,可以将前述倾斜直线2D添加到左下界集合{K4}的最前。应当理解,左下界集合{K4}中含有一条或者多条倾斜直线2D。The aforementioned inclined straight line 2D can subsequently serve as the lower left boundary of the closed envelope 3 , therefore, the aforementioned inclined straight line 2D can be added to the front of the left lower bound set {K4}. It should be understood that the left lower bound set {K4} contains one or more inclined straight lines 2D.
图17是本申请又一实施例提供的运动路径规划方法的步骤A2的流程示意图。参考图17,上述实施例的步骤A2(用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接),还可以包括步骤A24”和步骤A25”。Fig. 17 is a schematic flow chart of step A2 of the motion path planning method provided by another embodiment of the present application. With reference to Fig. 17, the step A2 of above-mentioned embodiment (connecting the end point of the boundary line segment of a part figure with the end point of the boundary line segment of another part figure with inclined straight line segment), can also comprise step A24 " and step A25 ".
步骤A24”、用在高度方向G的位置最低的边界线段14的第二侧端点142,截断第二包络边界线段42并保留位于第二侧的剩余第二包络边界线段,得到第二侧剩余第二包络线段42”。Step A24", use the second side end point 142 of the lowest boundary line segment 14 in the height direction G to truncate the second envelope boundary line segment 42 and retain the remaining second envelope boundary line segment on the second side to obtain the second side A second envelope segment 42" remains.
图18是本申请又一实施例提供的运动路径规划方法的步骤A2的原理图。参考图18,如前所述,位置最低的边界线段14具有第二侧端点142。Fig. 18 is a schematic diagram of Step A2 of the motion path planning method provided by another embodiment of the present application. Referring to FIG. 18 , the lowest boundary line segment 14 has a second side endpoint 142 as previously described.
用第二侧端点142截断第二包络边界线段42并保留位于第二侧的剩余第二包络边界线段,得到第二侧剩余第二包络线段42”。The second envelope boundary segment 42 is truncated by the second side endpoint 142 and the remaining second envelope boundary line segment located on the second side is retained to obtain the remaining second envelope boundary line segment 42 ″ on the second side.
步骤A25”、沿高度方向G向上平移第二侧剩余第二包络线段42”至下一边界线段16,若第二侧剩余第二包络线段42”与下一边界线段16的至少一部分重合,则从下一边界线段16的第二侧端点162截断第二侧剩余第二包络线段42”并保留位于第二侧的第二侧剩余第二包络线段,用倾斜直线段2E将下一边界线段16的一个端点与上一边界线段14的第二侧端点连接,对位于第二侧的第二侧剩余第二包络线段42”重复前述操作,直至剩余的第二侧剩余第二包络线段42”的长度为零。Step A25", translate the remaining second envelope line segment 42" on the second side up to the next boundary line segment 16 along the height direction G, if the remaining second envelope line segment 42" on the second side coincides with at least a part of the next boundary line segment 16 , then from the second side endpoint 162 of the next boundary line segment 16, the remaining second envelope line segment 42 " on the second side is cut off and the second side remaining second envelope line segment located on the second side is reserved, and the lower line segment is moved by the inclined straight line segment 2E An end point of a boundary line segment 16 is connected with the second side end point of the last boundary line segment 14, and the remaining second envelope line segment 42 " on the second side on the second side repeats the aforementioned operations until the remaining second side of the remaining second side. The envelope segment 42" has a length of zero.
若第二侧剩余第二包络线段42”与下一边界线段16没有重合的部分,则跳过当前的下一边界线段16,继续向上平移,直至平移至有重合部分的下一边界线段。If the remaining second envelope line segment 42 ″ on the second side does not overlap with the next boundary line segment 16, skip the current next boundary line segment 16 and continue to translate upwards until it reaches the next boundary line segment with an overlapping portion.
前述倾斜直线2E后续可以作为封闭包络线3的右下边界,因此,可以将前述倾斜直线2E添加到右下界集合{K6}的最前。应当理解,右下界集合{K6}中含有一条或者多条倾斜直线2E。The aforementioned inclined straight line 2E can subsequently be used as the lower right boundary of the closed envelope 3 , therefore, the aforementioned inclined straight line 2E can be added to the front of the lower right bound set {K6}. It should be understood that the lower right bound set {K6} contains one or more inclined straight lines 2E.
通过上述步骤可以得到左上界集合{K1}、中上界K2、右上界集合{K3}、左下界集合{K4}、中下界K5、以及右下界集合{K6}。其中,中上界K2可以是位置最高的边界线段11,中下界K5可以是位置最低的边界线段14。Through the above steps, the upper left bound set {K1}, the upper middle bound K2, the upper right bound set {K3}, the lower left bound set {K4}, the lower middle bound K5, and the lower right bound set {K6} can be obtained. Wherein, the upper middle boundary K2 may be the highest boundary line segment 11 , and the middle lower boundary K5 may be the lowest boundary line segment 14 .
依次连接{K1}、K2和{K3},然后将{K4}、K5和{K6}的方向反向,并且顺序也反向,然后依次连接{K4}、K5和{K6},并将图形封闭,就能得到一个具有方向的封闭图形区域(也即封闭包络线3),以便作为加工装置的运动路径。Connect {K1}, K2 and {K3} in sequence, then reverse the direction of {K4}, K5 and {K6}, and reverse the order, then connect {K4}, K5 and {K6} in sequence, and turn the graph Closed, a closed figure area with direction (that is, the closed envelope 3) can be obtained, so as to serve as the movement path of the processing device.
应当理解,在一些实施例中,只能得到左上界集合{K1}、中上界K2、右上界集合{K3}、左下界集合{K4}、中下界K5、以及右下界集合{K6}中的一者或者多者,比如只能得到左上界集合{K1}和中上界K2,具体与各零件图形在前述二维平面所处的位置有关。It should be understood that in some embodiments, only the upper left bound set {K1}, the upper middle bound K2, the upper right bound set {K3}, the lower left bound set {K4}, the lower middle bound K5, and the lower right bound set {K6} can be obtained. One or more of them, for example, only the upper left bound set {K1} and upper middle bound K2 can be obtained, which is specifically related to the position of each part figure on the aforementioned two-dimensional plane.
在一些实施例中,每一零件图形与其余零件图形中的至多两个相连,这样能尽量避免倾斜直线段与零件图形的边界线段的连接处出现小于90°的拐角,以保障加工装置的移动速度。In some embodiments, each part figure is connected with at most two of the remaining part figures, so that corners less than 90° can be avoided at the junction of the inclined straight line segment and the boundary line segment of the part figure as much as possible, so as to ensure the safety of the processing device. Moving speed.
本申请的实施例提供的运动路径规划方法能提高加工速度,以及能提高加工效率。The motion path planning method provided by the embodiments of the present application can improve the processing speed and the processing efficiency.
对应于上文实施例所述方法,图19示出本申请的实施例提供的运动路径规划装置的结构框图,为了便于说明,仅示出与本申请实施例相关的部分。Corresponding to the method described in the above embodiments, FIG. 19 shows a structural block diagram of a motion path planning device provided by the embodiments of the present application. For the convenience of description, only the parts related to the embodiments of the present application are shown.
参考图19,本申请的实施例提供的运动路径规划装置包括边界线段获取模块1A、连线模块2A和封闭模块3A。Referring to FIG. 19 , the motion path planning device provided by the embodiment of the present application includes a boundary segment acquisition module 1A, a connection module 2A and a closure module 3A.
边界线段获取模块1A,用于:获取各零件图形的边界线段,其中,各零件图形位于不同的位置。The boundary segment acquiring module 1A is configured to: acquire the boundary segment of each part figure, wherein each part figure is located in a different position.
连线模块2A,用于:用倾斜直线段将一个零件图形的边界线段的端点与另一个零件图形的边界线段的端点连接,前述倾斜直线段与高度方向的最小夹角大于0°且小于90°。The connection module 2A is used for: connecting the end point of the boundary line segment of one part figure with the end point of the boundary line segment of another part figure with an inclined straight line segment, the minimum included angle between the aforementioned inclined straight line segment and the height direction is greater than 0° and less than 90° °.
封闭模块3A,用于:将倾斜直线段与至少一部分边界线段连接形成能包围所有零件图形的封闭包络线,以作为加工装置的运动路径。The closing module 3A is used for: connecting the inclined straight line segment with at least a part of the boundary line segment to form a closed envelope that can surround all part graphics, as a movement path of the processing device.
图20是本申请一实施例提供的运动路径规划装置的连线模块的结构示意图。参考图20,上述连线模块2A可以包括第一包络边界获取单元21A、第一截断单元22A和第一连线单元23A。Fig. 20 is a schematic structural diagram of a connection module of a motion path planning device provided by an embodiment of the present application. Referring to FIG. 20 , the connection module 2A may include a first envelope boundary acquisition unit 21A, a first truncation unit 22A, and a first connection unit 23A.
第一包络边界获取单元21A,用于:获取在高度方向的位置最高的第一包络边界线段,前述第一包络边界线段为所有零件图形的最小包络矩形的边。The first envelope boundary acquisition unit 21A is configured to: acquire the highest first envelope boundary line segment in the height direction, the first envelope boundary line segment being the side of the minimum envelope rectangle of all part graphics.
第一截断单元22A,用于:用在高度方向的位置最高的边界线段的第一侧端点,截断第一包络边界线段并保留位于第一侧的剩余第一包络边界线段,得到第一侧剩余第一包络线段。The first truncation unit 22A is configured to: use the first side endpoint of the highest boundary line segment in the height direction to truncate the first envelope boundary line segment and retain the remaining first envelope boundary line segment on the first side to obtain the first The first envelope segment remains on the side.
第一连线单元23A,用于:沿高度方向向下平移第一侧剩余第一包络线段至下一边界线段,若第一侧剩余第一包络线段与下一边界线段的至少一部分重合,则从下一边界线段的第一侧端点截断第一侧剩余第一包络线段并保留位于第一侧的所述第一侧剩余第一包络线段,用倾斜直线段将下一边界线段的一个端点与上一边界线段的第一侧端点连接,对位于第一侧的所述第一侧剩余第一包络线段重复前述操作,直至剩余的第一侧剩余第一包络线段的长度为零。The first connecting unit 23A is configured to: translate the remaining first envelope segment on the first side downward to the next boundary line segment along the height direction, if at least a part of the remaining first envelope segment on the first side coincides with the next boundary line segment , then cut off the remaining first envelope segment of the first side from the endpoint of the first side of the next boundary line segment and retain the remaining first envelope segment of the first side located on the first side, and divide the next boundary line segment with an inclined straight line segment One end point of is connected with the end point of the first side of the previous boundary line segment, and the above-mentioned operation is repeated for the remaining first envelope line segment of the first side located on the first side until the length of the remaining first envelope line segment of the first side remains to zero.
图21是本申请另一实施例提供的运动路径规划装置的连线模块的结构示意图。参考图21,上述连线模块2A还可以包括第二截断单元24A和第二连线单元25A。Fig. 21 is a schematic structural diagram of a connection module of a motion path planning device provided by another embodiment of the present application. Referring to FIG. 21 , the above connection module 2A may further include a second truncation unit 24A and a second connection unit 25A.
第二截断单元24A,用于:用在高度方向的位置最高的边界线段的第二侧端点,截断第一包络边界线段并保留位于第二侧的剩余第一包络边界线段,得到第二侧剩余第一包络线段。The second truncation unit 24A is configured to: use the second side end point of the highest boundary line segment in the height direction to truncate the first envelope boundary line segment and retain the remaining first envelope boundary line segment on the second side to obtain the second The first envelope segment remains on the side.
第二连线单元25A,用于:沿高度方向向下平移第二侧剩余包络线段至下一边界线段,若第二侧剩余第一包络线段与下一边界线段的至少一部分重合,则从下一边界线段的第二侧端点截断第二侧剩余第一包络线段并保留位于第二侧的第二侧剩余第一包络线段,用倾斜直线段将下一边界线段的一个端点与上一边界线段的第二侧端点连接,对位于第二侧的第二侧剩余第一包络线段重复前述操作,直至剩余的第二侧剩余第一包络线段的长度为零。The second connection unit 25A is configured to: translate the remaining envelope segment on the second side downward to the next boundary line segment along the height direction, if at least a part of the remaining first envelope segment on the second side coincides with the next boundary line segment, then Cut off the remaining first envelope segment of the second side from the second side end point of the next boundary line segment and retain the remaining first envelope line segment of the second side located on the second side, connect one end point of the next boundary line segment with The second-side endpoints of the previous boundary line segment are connected, and the above operation is repeated for the remaining first envelope line segments on the second side until the length of the remaining first envelope line segments on the second side is zero.
图22是本申请又一实施例提供的运动路径规划装置的连线模块的结构示意图。参考图22,上述连线模块2A还可以包括第二包络边界获取单元21A’、第三截断单元22A’和第三连线单元23A’。Fig. 22 is a schematic structural diagram of a connection module of a motion path planning device provided by another embodiment of the present application. Referring to Fig. 22, the connection module 2A may further include a second envelope boundary acquisition unit 21A', a third truncation unit 22A' and a third connection unit 23A'.
第二包络边界获取单元21A’,用于:获取在高度方向的位置最低的第二包络边界线段,前述第二包络边界线段为最小包络矩形的边。The second envelope boundary acquisition unit 21A' is configured to: acquire the second envelope boundary line segment with the lowest position in the height direction, the aforementioned second envelope boundary line segment being the side of the minimum envelope rectangle.
第三截断单元22A’,用于:用在高度方向的位置最低的边界线段的第一侧端点,截断第二包络边界线段并保留位于第一侧的剩余第二包络边界线段,得到第一侧剩余第二包络线段。The third truncation unit 22A' is configured to: use the first side endpoint of the lowest boundary line segment in the height direction to truncate the second envelope boundary line segment and retain the remaining second envelope boundary line segment on the first side to obtain the second envelope boundary line segment A second envelope segment remains on one side.
第三连线单元23A’,用于:沿高度方向向上平移第一侧剩余第二包络线段至下一边界线段,若第一侧剩余第二包络线段与下一边界线段的至少一部分重合,则从下一边界线段的第一侧端点截断第一侧剩余第二包络线段并保留位于第一侧的第一侧剩余第二包络线段,用倾斜直线段将下一边界线段的一个端点与上一边界线段的第一侧端点连接,对位于第一侧的第一侧剩余第二包络线段重复前述操作,直至剩余的第一侧剩余第二包络线段的长度为零。The third connecting unit 23A' is configured to: translate the remaining second envelope segment on the first side upwards to the next boundary line segment along the height direction, if at least a part of the remaining second envelope segment on the first side coincides with the next boundary line segment , then truncate the remaining second envelope segment on the first side from the endpoint of the first side of the next boundary line segment and retain the remaining second envelope line segment on the first side on the first side, and use an inclined straight line segment to replace one of the next boundary line segments The endpoint is connected to the endpoint of the first side of the previous boundary line segment, and the above operation is repeated for the remaining second envelope line segments on the first side until the length of the remaining second envelope line segments on the first side is zero.
图23是本申请又一实施例提供的运动路径规划装置的连线模块的结构示意图。参考图23,上述连线模块2A还可以包括第四截断单元24A’和第四连线单元25A’。Fig. 23 is a schematic structural diagram of a connection module of a motion path planning device provided by another embodiment of the present application. Referring to Fig. 23, the above-mentioned wiring module 2A may further include a fourth truncation unit 24A' and a fourth wiring unit 25A'.
第四截断单元24A’,用于:用在高度方向的位置最低的边界线段的第二侧端点,截断第二包络边界线段并保留位于第二侧的剩余第二包络边界线段,得到第二侧剩余第二包络线段。The fourth truncation unit 24A' is configured to: use the second side endpoint of the lowest boundary line segment in the height direction to truncate the second envelope boundary line segment and retain the remaining second envelope boundary line segment on the second side to obtain the second envelope boundary line segment The second envelope segment remains on both sides.
第四连线单元25A’,用于:沿高度方向向上平移第二侧剩余第二包络线段至下一边界线段,若第二侧剩余第二包络线段与下一边界线段的至少一部分重合,则从下一边界线段的第二侧端点截断第二侧剩余第二包络线段并保留位于第二侧的第二侧剩余第二包络线段,用倾斜直线段将下一边界线段的一个端点与上一边界线段的第二侧端点连接,对位于第二侧的第二侧剩余第二包络线段重复前述操作,直至剩余的第二侧剩余第二包络线段的长度为零。The fourth connecting unit 25A' is configured to: translate the remaining second envelope line segment on the second side upwards to the next boundary line segment along the height direction, if at least a part of the remaining second envelope line segment on the second side coincides with the next boundary line segment , then truncate the remaining second envelope segment on the second side from the second side endpoint of the next boundary line segment and retain the second side remaining second envelope line segment located on the second side. The endpoint is connected to the second-side endpoint of the previous boundary segment, and the above operation is repeated for the remaining second envelope segment on the second side until the length of the remaining second-side remaining second envelope segment is zero.
图24是本申请又一实施例提供的运动路径规划装置的连线模块的结构示意图。参考图24,上述连线模块2A可以包括边界确定单元21A”和第五连线单元22A”。Fig. 24 is a schematic structural diagram of a connection module of a motion path planning device provided by another embodiment of the present application. Referring to FIG. 24 , the above-mentioned wiring module 2A may include a boundary determining unit 21A" and a fifth wiring unit 22A".
边界确定单元21A”,用于:确定在高度方向的位置最高的边界线段。The boundary determination unit 21A" is configured to: determine the highest boundary line segment in the height direction.
第五连线单元22A”,用于:用倾斜直线段将一个零件图形的边界线段的端点,与另一个在高度方向相邻的零件图形的边界线段的端点连接,使得在封闭包络线中倾斜直线段的端点处的最小拐角大于90°,且使得倾斜直线段的两个端点位于位置最高的边界线段的第一侧端点的同一侧。The fifth connection unit 22A", is used to: connect the end point of the boundary line segment of one part figure with the end point of the boundary line segment of another part figure adjacent in the height direction with an inclined straight line segment, so that in the closed envelope The minimum corner at the endpoints of the inclined straight segment is greater than 90°, and the two endpoints of the inclined straight segment are located on the same side of the first side endpoint of the highest boundary line segment.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment of the present application, and its specific functions and technical effects can be found in the method embodiment section. I won't repeat them here.
图25为本申请一实施例提供的加工设备的结构示意图。如图25所示,该实施例的加工设备25包括:至少一个处理器250(图25中仅示出一个)、存储器251以及存储在存储器251中并可在至少一个处理器250上运行的计算机程序252;处理器250执行计算机程序252时实现上述任意各个方法实施例中的步骤。Fig. 25 is a schematic structural diagram of processing equipment provided by an embodiment of the present application. As shown in Figure 25 , the processing equipment 25 of this embodiment includes: at least one processor 250 (only one is shown in Figure 25 ), a memory 251 and a computer stored in the memory 251 and capable of running on the at least one processor 250 Program 252; when the processor 250 executes the computer program 252, the steps in any of the foregoing method embodiments are implemented.
加工设备25可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。该加工设备可包括,但不仅限于,处理器250和存储器251。本领域技术人员可以理解,图25仅仅是加工设备的举例,并不构成对加工设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备、总线等。The processing device 25 may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The processing device may include, but is not limited to, a processor 250 and a memory 251 . Those skilled in the art can understand that Fig. 25 is only an example of processing equipment, and does not constitute a limitation to processing equipment, and may include more or less components than those shown in the illustration, or combine some components, or different components, such as It may also include input and output devices, network access devices, buses, etc.
处理器250可以是中央处理单元(Central Processing Unit,CPU),该处理器250还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 250 can be a central processing unit (Central Processing Unit, CPU), and the processor 250 can also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
存储器251在一些实施例中可以是加工设备25的内部存储单元,例如加工设备的硬盘或内存。存储器251在另一些实施例中也可以是加工设备的外部存储设备,例如加工设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器251还可以既包括加工设备的内部存储单元也包括外部存储设备。存储器251用于存储操作系统、应用程序、引导装载程序(Boot Loader)、数据以及其他程序等,例如计算机程序的程序代码等。存储器251还可以用于暂时地存储已经输出或者将要输出的数据。The storage 251 may be an internal storage unit of the processing device 25 in some embodiments, such as a hard disk or memory of the processing device. Memory 251 can also be the external storage device of processing equipment in other embodiments, such as the plug-in type hard disk equipped on processing equipment, smart memory card (Smart Media Card, SMC), secure digital (SecureDigital, SD) card, flash memory Card (Flash Card), etc. Further, the storage 251 may also include both an internal storage unit of the processing device and an external storage device. The memory 251 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of computer programs. The memory 251 can also be used to temporarily store data that has been output or will be output.
示例性的,计算机程序252可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器251中,并由处理器250执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序252在加工设备25中的执行过程。Exemplarily, the computer program 252 can be divided into one or more modules/units, and one or more modules/units are stored in the memory 251 and executed by the processor 250 to complete the present application. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 252 in the processing equipment 25 .
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above system, reference may be made to the corresponding processes in the aforementioned method embodiments, and details will not be repeated here.
前述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于计算机可读存储介质中;该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,计算机程序包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质包括:能够将计算机程序代码携带到装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the aforementioned integrated units are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the method of the above-mentioned embodiments in the present application can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium; the computer program is processed When executed by the controller, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. Computer-readable media include: any entity or device capable of carrying computer program code to a device/terminal device, recording media, computer memory, read-only memory (ROM, Read-Only Memory), random-access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media. Such as U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
本申请的实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。Embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be implemented.
本申请的实施例提供一种计算机程序产品,当计算机程序产品在加工设备上运行时,使得加工设备可实现上述各个方法实施例中的步骤。An embodiment of the present application provides a computer program product, which enables the processing device to implement the steps in the foregoing method embodiments when the computer program product is run on the processing device.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/device and method can be implemented in other ways. For example, the device/device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or Components may be combined or integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
前述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The foregoing units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still implement the foregoing embodiments Modifications to the technical solutions described in the examples, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application, and should be included in the Within the protection scope of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310469702.3A CN116500966A (en) | 2023-04-24 | 2023-04-24 | Motion path planning method, device, processing equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310469702.3A CN116500966A (en) | 2023-04-24 | 2023-04-24 | Motion path planning method, device, processing equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116500966A true CN116500966A (en) | 2023-07-28 |
Family
ID=87329831
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310469702.3A Pending CN116500966A (en) | 2023-04-24 | 2023-04-24 | Motion path planning method, device, processing equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116500966A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10171862A (en) * | 1996-10-11 | 1998-06-26 | Toyo Commun Equip Co Ltd | Method for searching route |
| US20090187876A1 (en) * | 2008-01-19 | 2009-07-23 | Synopsis, Inc. | Steiner tree based approach for polygon fracturing |
| CN103136387A (en) * | 2011-11-25 | 2013-06-05 | 鸿富锦精密工业(深圳)有限公司 | Inspection processing system and method of border line graphs |
| CN103258345A (en) * | 2013-04-18 | 2013-08-21 | 中国林业科学研究院资源信息研究所 | Method for extracting parameters of tree branches based on ground laser radar three-dimensional scanning |
| CN107635750A (en) * | 2015-07-31 | 2018-01-26 | 惠普发展公司,有限责任合伙企业 | Part for 3D printing structure envelope, which is arranged, to be determined |
| CN114239958A (en) * | 2021-12-15 | 2022-03-25 | 广东工业大学 | Laser cutting method and system for special-shaped part based on machine vision |
| CN115049133A (en) * | 2022-06-21 | 2022-09-13 | 大族激光科技产业集团股份有限公司 | Clout positioning method, terminal device and computer readable storage medium |
-
2023
- 2023-04-24 CN CN202310469702.3A patent/CN116500966A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10171862A (en) * | 1996-10-11 | 1998-06-26 | Toyo Commun Equip Co Ltd | Method for searching route |
| US20090187876A1 (en) * | 2008-01-19 | 2009-07-23 | Synopsis, Inc. | Steiner tree based approach for polygon fracturing |
| CN103136387A (en) * | 2011-11-25 | 2013-06-05 | 鸿富锦精密工业(深圳)有限公司 | Inspection processing system and method of border line graphs |
| CN103258345A (en) * | 2013-04-18 | 2013-08-21 | 中国林业科学研究院资源信息研究所 | Method for extracting parameters of tree branches based on ground laser radar three-dimensional scanning |
| CN107635750A (en) * | 2015-07-31 | 2018-01-26 | 惠普发展公司,有限责任合伙企业 | Part for 3D printing structure envelope, which is arranged, to be determined |
| CN114239958A (en) * | 2021-12-15 | 2022-03-25 | 广东工业大学 | Laser cutting method and system for special-shaped part based on machine vision |
| CN115049133A (en) * | 2022-06-21 | 2022-09-13 | 大族激光科技产业集团股份有限公司 | Clout positioning method, terminal device and computer readable storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 张少星: "拓扑优化结构刚度性能精确制造中的精度设计", 中国优秀硕士学位论文全文数据库 工程科技II辑, 15 February 2020 (2020-02-15), pages 16 - 21 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11113836B2 (en) | Object detection method, device, apparatus and computer-readable storage medium | |
| CN114491399A (en) | Data processing method, apparatus, terminal device and computer-readable storage medium | |
| EP3910590A2 (en) | Method and apparatus of processing image, electronic device, and storage medium | |
| CN112016510A (en) | Signal lamp identification method and device based on deep learning, equipment and storage medium | |
| CN105513008A (en) | Image processing method and device | |
| CN115049133A (en) | Clout positioning method, terminal device and computer readable storage medium | |
| CN110598196A (en) | A method, device and storage medium for extracting tabular data without outer frame | |
| CN117274246A (en) | Bonding pad identification method, computer equipment and storage medium | |
| CN116500966A (en) | Motion path planning method, device, processing equipment and storage medium | |
| CN115661435A (en) | Rice flour cake processing positioning method, related equipment and storage medium | |
| CN113112488B (en) | Road center line extraction method and device, storage medium and terminal equipment | |
| TWM623309U (en) | English font image recognition system | |
| CN113343797A (en) | Information extraction method and device, terminal equipment and computer readable storage medium | |
| CN112906708B (en) | Picture processing method and device, electronic equipment and computer storage medium | |
| CN115512194A (en) | Image target detection method, device and terminal equipment | |
| CN117830691A (en) | Smoke detection method, device, equipment and medium based on context feature interaction | |
| CN117011358A (en) | Legend identification method and device and electronic equipment | |
| CN115879186A (en) | Method, device and equipment for determining placement position of part number and storage medium | |
| CN115062388A (en) | A method, apparatus, and computer-readable storage medium for determining component orientation | |
| CN116500965A (en) | Residue line generation method, device, processing equipment and storage medium | |
| CN115565175A (en) | Text recognition method, electronic device and storage medium | |
| CN111368822B (en) | Method, device, equipment and storage medium for cutting express delivery form area in image | |
| CN117245266B (en) | Welding spot correction method and device, computer equipment and storage medium | |
| CN113026457A (en) | Road construction segment determining method and determining device | |
| CN114912062A (en) | Target area intersection judgment method, detection device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |