Sealing ring mold processing method, device, equipment and storage medium
Patent Information
- Application Number
- CN202311536081.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2043-11-17
AI Technical Summary
因此顺应当前发展形势,简化密封圈模具编程加工技术极其重要,其中,常规圆形O型密封圈加工技术已经逐渐成熟,而大尺寸、形状复杂的异型密封圈模具加工编程仍然较为困难,目前行业上使用CAM建模并开发专用后处理来实现,数控系统在机自动处理技术相对较少
[0014]According to the sealing ring mold processing method provided in this disclosure, the processing code is automatically programmed from the processing trajectory graphics and processing parameters, and the processing quality is improved by using a spiral cutting tool. Since the code conversion is automated, the technical problem of difficult programming for processing irregular-shaped sealing ring molds is at least partially solved, achieving the technical effect of automatic processing of irregular-shaped sealing ring molds.
Smart Images

Figure CN117600905B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of CNC technology, and more specifically to methods, apparatus, equipment and storage media for processing sealing ring molds. Background Technology
[0002] In the machining of seal rings using vertical machining centers, general-purpose boring tools cannot process large-sized seal ring molds due to the limitation of tool holder size. Furthermore, the longer the tool holder, the greater the force on the tool tip, resulting in lower cutting volume and speed during machining. Machining irregular-shaped seal rings requires the application of spindle linkage interpolation technology, which makes post-processing difficult, programming challenging, and places high demands on process engineers.
[0003] With the continuous development of engineering machinery, precision instruments, and aerospace technology, the requirements for the precision, surface quality, processing efficiency, and customization of sealing ring molds are becoming increasingly stringent. However, the high programming threshold has also hindered the large-scale development of sealing ring molds. Therefore, it is extremely important to simplify the programming and processing technology of sealing ring molds in line with current development trends. While the processing technology for conventional circular O-rings has gradually matured, programming for large-size, complex-shaped irregular sealing ring molds remains quite difficult. Currently, the industry uses CAM modeling and develops dedicated post-processing to achieve this, with relatively little on-machine automatic processing technology using CNC systems. Summary of the Invention
[0004] In view of the above problems, this disclosure provides a programmable automated method for processing sealing ring molds.
[0005] This disclosure provides a method for machining a sealing ring mold, including: obtaining a machining trajectory graphic of the sealing ring mold; obtaining the outline of the machining trajectory graphic based on the machining trajectory graphic; obtaining machining process parameters of the sealing ring mold; generating machining code based on the outline of the machining trajectory graphic and the machining process parameters; and using a spiral cutting tool according to the machining code to realize the machining of the sealing ring mold.
[0006] According to embodiments of this disclosure, obtaining the outline of a machining trajectory graphic from the machining trajectory graphic includes: acquiring a DXF file of the machining trajectory graphic; the DXF file contains the start coordinates and end coordinates of multiple lines; selecting a line as the current line; storing the start coordinates of the current line in a start array; searching for a first line whose start point is the end point of the current line; detecting whether the end coordinates of the first line are the same as the first start coordinate in the start array; if not, then using the first line as the current line and storing the start coordinates of the current line in the start array; if yes, then storing the start coordinates of the first line in the start array, and obtaining the outline of the machining trajectory graphic according to the order of the start coordinates in the start array.
[0007] According to embodiments of this disclosure, the processing parameters of the sealing ring mold include at least one of the following: processing origin, starting point of cutting, total depth of sealing ring, radius of sealing ring, cutting depth of each layer of sealing ring, safety height, distance from the starting point of processing to the surface, finishing allowance, finishing speed, roughing speed, tool compensation type, and processing spiral direction.
[0008] According to embodiments of this disclosure, the machining code includes the machining path of the tool. Generating the machining code based on the contour of the machining trajectory graphic and machining process parameters includes: generating the x-axis machining path and y-axis machining path of the contour based on the machining trajectory graphic and machining process parameters; allocating the cutting depth of each layer of the sealing ring according to the length ratio between multiple lines of the contour to obtain the cutting depth of each line segment; obtaining the z-axis machining path of the sealing ring mold based on the cutting depth of each line segment; wherein, the machining origin is the origin of the x-axis, y-axis, and z-axis; the z-axis is perpendicular to the plane of the x-axis and y-axis; and obtaining the interpolation points of the machining code based on the x-axis machining path, y-axis machining path, and z-axis machining path.
[0009] According to embodiments of this disclosure, spiral cutting based on machining code includes: controlling the movement direction of the tool according to interpolation points; adjusting the tool face direction according to the line connecting two adjacent interpolation points; wherein the tool face direction is perpendicular to the connecting line.
[0010] According to embodiments of this disclosure, the x-axis machining path, y-axis machining path, and z-axis machining path are parametric equations of the angles of the helix on the x-axis, y-axis, and z-axis with respect to the current tool position, respectively; wherein, the helix is generated based on the starting position of the tool entry point, the depth of cut of each segment of the graph, and the contour of the machining trajectory graph.
[0011] The second aspect of this disclosure provides a sealing ring mold processing apparatus, comprising: a data acquisition module for acquiring a processing trajectory graphic of the sealing ring mold, obtaining the outline of the processing trajectory graphic based on the processing trajectory graphic, and acquiring processing process parameters of the sealing ring mold; a code generation module for generating processing code based on the outline of the processing trajectory graphic and the processing process parameters; and a mold processing module for spiral cutting according to the processing code to realize the processing of the sealing ring mold.
[0012] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to perform the above-described sealing ring mold processing method.
[0013] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the above-described sealing ring mold processing method.
[0014] According to the sealing ring mold processing method provided in this disclosure, the processing code is automatically programmed from the processing trajectory graphics and processing parameters, and the processing quality is improved by using a spiral cutting tool. Since the code conversion is automated, the technical problem of difficult programming for processing irregular-shaped sealing ring molds is at least partially solved, achieving the technical effect of automatic processing of irregular-shaped sealing ring molds. Attached Figure Description
[0015] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0016] Figure 1 A flowchart illustrating a method for processing a sealing ring mold according to an embodiment of the present disclosure is shown schematically.
[0017] Figure 2 A user operation flowchart illustrating a sealing ring mold processing method according to an embodiment of the present disclosure is shown schematically.
[0018] Figure 3 The schematic diagram illustrates the outline of the machining trajectory graphic of the irregular sealing ring mold according to an embodiment of the present disclosure;
[0019] Figure 4 A schematic diagram illustrating the machining path of a non-circular sealing ring mold according to an embodiment of the present disclosure is shown.
[0020] Figure 5 A schematic diagram illustrating the machining path of an O-ring seal mold according to an embodiment of the present disclosure is shown.
[0021] Figure 6 The illustration schematically shows the setting of machining process parameters in machining code according to an embodiment of the present disclosure;
[0022] Figure 7 The main program in the processing code according to an embodiment of the present disclosure is illustrated schematically;
[0023] Figure 8 The schematic illustration shows a processing path in processing code according to an embodiment of the present disclosure;
[0024] Figure 9 A schematic diagram of a sealing ring mold processing apparatus according to an embodiment of the present disclosure is shown.
[0025] Figure 10 A block diagram schematically illustrates an electronic device suitable for implementing a sealing ring mold method according to an embodiment of the present disclosure. Detailed Implementation
[0026] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0027] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0028] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0029] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).
[0030] First, the technical terms used in this article are explained as follows:
[0031] Machining process parameters: Machining process parameters include geometric parameters, operating parameters, speed parameters, tool compensation parameters, and helix direction, which play a key role in determining the machining method and operating steps of the sealing ring mold.
[0032] Machining Code: It should be noted that in this article, machining code and G-code are interchangeable. G-code (also known as RS-274) is the most widely used numerical control (NC) programming language, with multiple versions, primarily used in computer-aided manufacturing to control automated machine tools. G-code is sometimes also referred to as the G programming language. It refers to the instructions in the NC program, mainly used to control the various components of the machine to work together to complete specific tasks. Using G-code, functions such as rapid positioning, reverse circular interpolation, forward circular interpolation, intermediate point circular interpolation, radius programming, and jump machining can be achieved.
[0033] Figure 1A flowchart illustrating a method for processing a sealing ring mold according to an embodiment of the present disclosure is shown, such as... Figure 1 As shown, embodiments of this disclosure provide a method for processing a sealing ring mold, including: acquiring a processing trajectory graphic of the sealing ring mold; obtaining the outline of the processing trajectory graphic based on the processing trajectory graphic; acquiring processing parameters of the sealing ring mold; generating processing code based on the outline of the processing trajectory graphic and the processing parameters; and using a spiral cutting tool according to the processing code to process the sealing ring mold.
[0034] In this embodiment, such as Figure 2 As shown, this disclosure also includes drawing the machining trajectory graphic of the sealing ring mold in CAD, importing the DXF file into the CNC device, the CNC device automatically identifying the sealing ring contour using the method provided in this disclosure, the user setting the machining process parameters, the CNC device automatically calculating the contour perimeter and cutting method using the method provided in this disclosure, and executing the cutting process to achieve high surface quality machining.
[0035] In the embodiments of this disclosure, the machining code is a G-code that can be automatically generated based on the outline of the machining trajectory graphic and the machining process parameters. The outline of the machining trajectory graphic is also automatically obtained from the DXF graphic through programming, and no manual programming is required throughout the machining process of the mold. The machining path generated by the machining code is a spiral downward cut, which improves the machining quality of the sealing ring mold.
[0036] Based on the above embodiments, obtaining the outline of the machining trajectory graphic according to the machining trajectory graphic includes: obtaining a DXF file of the machining trajectory graphic; the DXF file contains the start coordinates and end coordinates of multiple lines; selecting a line as the current line; storing the start coordinates of the current line in the start array; searching for a first line with the end of the current line as its starting point; detecting whether the end coordinates of the first line are the same as the first start coordinate in the start array; if not, then using the first line as the current line and storing the start coordinates of the current line in the start array; if yes, then storing the start coordinates of the first line in the start array and obtaining the outline of the machining trajectory graphic according to the order of the start coordinates in the start array.
[0037] In some exemplary embodiments, the starting point coordinates of each line are recorded and stored in a list. These coordinates can be used to represent the extracted closed contour. The CNC device automatically calculates the interpolation points required for the G-code based on the contour. Figure 3 The schematic diagram illustrates the outline of the machining trajectory pattern of the irregular sealing ring mold according to an embodiment of the present disclosure.
[0038] Through the embodiments of this disclosure, by identifying the start and end points of the lines, the multi-segment line information stored in the DXF file is converted into the outline of a closed machining trajectory graphic that can be recognized by the CNC device; a DXF to G code conversion function for sealing ring machining of a CNC device is provided, which supports two-dimensional closed outline DXF files of arbitrary shapes and automatically generates machining code according to the sealing ring scraping process without manual programming.
[0039] Based on the above embodiments, the processing parameters of the sealing ring mold include at least one of the following: processing origin, starting point of cutting, total depth of sealing ring, radius of sealing ring, cutting depth of each layer of sealing ring, safety height, distance from the starting point of processing to the surface, finishing allowance, finishing speed, roughing speed, tool compensation type, and processing spiral direction.
[0040] Through the embodiments of this disclosure, such as Figure 6 As shown, Figure 6 The illustration schematically shows the setting of machining process parameters in the machining code according to an embodiment of the present disclosure. These parameters include the machining origin O, the tool entry point (tool entry start position) P, the total depth of the sealing ring (sealing ring radius value) D, the cutting depth per layer of the sealing ring Q, the safety height H, the starting machining distance from the surface C, the finishing allowance E, the finishing speed U, the roughing speed F, the tool compensation type (left tool compensation or right tool compensation; by specifying the tool compensation type and amount, one program can perform two processes: machining the sealing ring mold groove and the cutting line), and the machining spiral direction (clockwise or counterclockwise). By providing a universal machining code macro program with a fixed-cycle programming template, and by setting relevant machining process parameters, combined with the CNC device software reading the contour and machining path of the machining trajectory graphic, the machining of sealing ring molds with different machining process parameters and machining paths can be achieved.
[0041] Based on the above embodiments, the machining code includes the tool's machining path. Generating the machining code according to the contour of the machining trajectory graphic and the machining process parameters includes: generating the x-axis machining path and y-axis machining path of the contour according to the machining trajectory graphic and the machining process parameters; allocating the cutting depth of each layer of the sealing ring according to the length ratio between multiple lines of the contour to obtain the cutting depth of each line segment; obtaining the z-axis machining path of the sealing ring mold according to the cutting depth of each line segment; wherein, the machining origin is the origin of the x-axis, y-axis, and z-axis; the z-axis is perpendicular to the plane of the x-axis and y-axis; and obtaining the interpolation points of the machining code according to the x-axis machining path, y-axis machining path, and z-axis machining path.
[0042] In this embodiment, the cutting depth of each layer of the sealing ring is allocated according to the length ratio between multiple lines of the contour to obtain the cutting depth of each line segment. The z-axis machining path of the sealing ring mold is obtained based on the cutting depth of each line segment. The depth of cut in the z-axis direction of each line segment in the closed contour imported from the DXF file is automatically calculated. The spiral feed method is used for uniform feeding to reduce the problem of tool marks caused by uneven Z-axis cutting and optimize the machining quality. The formula for allocating the cutting depth Q of each layer of the sealing ring according to the length ratio of multiple feature lines of the DXF contour is shown in Equation (1):
[0043] Q i =Q*L i / (L1+…+L i +…+L i+n Equation (1)
[0044] Among them, L i Qi represents the length of each line segment that forms the closed contour, and Qi represents the corresponding z-axis cutting depth of Li.
[0045] Through the embodiments of this disclosure, Figure 8 The schematic diagram illustrates the machining path in the machining code according to an embodiment of the present disclosure. The CNC device pre-reads the machining path of each revolution of the spiral, calculates the depth of cut for each layer, and uniformly calculates the feed rate to ensure uniform cutting. This achieves uniform feed rate interpolation between the z-axis and the x and y axes, and the resulting result is as follows: Figure 4 , Figure 5 As shown, Figure 4 , Figure 5 The processing paths for O-ring molds and irregular-shaped ring molds are shown respectively.
[0046] Based on the above embodiments, the spiral cutting according to the machining code includes: controlling the movement direction of the tool according to the interpolation point; adjusting the tool face direction according to the line connecting two adjacent interpolation points; wherein the tool face direction is perpendicular to the connecting line.
[0047] In this embodiment, tangential following adjustment is performed according to the interpolation point. During this process, the tool tip direction is always parallel to the normal direction of the line connecting the interpolation points, ensuring that the spindle rotation cutting and the feed directions along the x-axis and y-axis are uniformly linked.
[0048] Through the embodiments of this disclosure, during the cutting process of the sealing ring mold, the spindle is in position mode following the machining, that is, the spindle angle is automatically adjusted along the tangential direction of the x-axis and y-axis feed direction, so that the tip of the sealing ring scraping forming tool is always perpendicular to the contour, thereby improving the surface quality of the transverse groove of the sealing ring mold and ensuring the dimensional accuracy and surface quality of the sealing ring mold.
[0049] Based on the above embodiments, the x-axis machining path, y-axis machining path, and z-axis machining path are parametric equations of the angles of the helix on the x-axis, y-axis, and z-axis with respect to the current tool position, respectively; wherein, the helix is generated based on the starting position of the tool entry point, the depth of cut of each segment of the graph, and the contour of the machining trajectory graph.
[0050] In some exemplary embodiments, tangential following is performed based on the characteristics of each line segment composed of the contour. For example, a spiral uniform interpolation method is used in the x and y axis planes. When the spiral is interpolated with an arbitrary contour, the system calculates the variable radius spiral interpolation (e.g., Figure 5 The formulas for the real-time coordinates of x, y, and z (as shown) are as follows:
[0051]
[0052]
[0053]
[0054] Where x, y, and z are real-time coordinates, X0, Y0, and Z0 are the x-axis coordinates of the center of the contour, the y-axis coordinates of the center of the contour, and the z-axis coordinates of the starting point, respectively; A0 is the starting angle of the spiral; r is the starting radius of the spiral; R is the ending radius of the spiral; α is the current spiral increment angle; θ is the spiral angle from the starting point to the ending point; k is a coefficient, -1 for clockwise spiral and +1 for counterclockwise spiral; and the radius refers to the distance from the current position to the center of the processing path.
[0055] The system calculates the circular arc segment of the irregular spiral interpolation (e.g.) Figure 4 The formulas for the real-time coordinates of x, y, and z (as shown) are as follows:
[0056] x=rsin(kα+A i0 )+X i0 Equation (5)
[0057] y = rcos(kα + A) i0 )+Y i0 Equation (6)
[0058]
[0059] Among them, X i0 Y i0 Z i0 Let A be the X-coordinate of the center of the circle; i0 α is the starting angle of the arc; r is the radius of the arc; α is the current increment angle; θ is the angle from the starting point to the ending point of the arc; k is a coefficient, -1 for clockwise spiral and +1 for counterclockwise spiral.
[0060] The system calculates the straight line segments of the irregular spiral interpolation (such as...). Figure 4The formulas for the real-time coordinates of x, y, and z (as shown) are as follows:
[0061] f(x, y): (yY) i1 cos(β)=(xX) i1 )sin(β) Equation (7)
[0062]
[0063] Where x, y, and z are real-time coordinates; X i1 Y i1 Z i1 The x, y, and z coordinates of the starting point; X i2 Y i2 Z i2 β is the X-coordinate of the endpoint; β is the inclination angle of the straight line segment.
[0064] The starting point, ending point, angle, and radius of the arc, as well as the tilt angle of the straight line segment, can be obtained from the contour of the machining trajectory graphic; the ending point is the point whose x and y coordinates are consistent with the starting point of the contour, and whose difference from the z-axis coordinate is the total depth of the sealing ring.
[0065] Through the embodiments of this disclosure, combined with the sealing ring scraping process, the processing path is abstracted into a spiral line of equal height on an irregular cylindrical surface, with uniform and continuous cutting in between, effectively avoiding tool marks from the cutting in and out.
[0066] Based on the above-described sealing ring mold processing method, this disclosure also provides a sealing ring mold processing apparatus. The following will be combined with... Figure 9 The device is described in detail.
[0067] Figure 9 A schematic block diagram of a sealing ring mold processing apparatus according to an embodiment of the present disclosure is shown.
[0068] like Figure 9 As shown, the sealing ring mold processing device 600 of this embodiment includes a data acquisition module 901, a code generation module 902, and a mold processing module 903.
[0069] The data acquisition module 901 is used to acquire the machining trajectory graphic of the sealing ring mold, obtain the outline of the machining trajectory graphic based on the machining trajectory graphic, and acquire the machining process parameters of the sealing ring mold.
[0070] The code generation module 902 is used to generate machining code based on the outline of the machining trajectory graphic and machining process parameters, such as... Figure 7 As shown, Figure 7 The illustration shows the main program in the machining code according to an embodiment of the present disclosure. The code generation module substitutes the outline of the machining trajectory graphic and the machining code into the main program to obtain complete code.
[0071] The mold processing module 903 is used to perform spiral cutting according to the processing code to realize the processing of the sealing ring mold.
[0072] According to embodiments of this disclosure, any plurality of modules among the data acquisition module 901, code generation module 902, and mold processing module 903 can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least a portion of the functionality of one or more of these modules can be combined with at least a portion of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the data acquisition module 901, code generation module 902, and mold processing module 903 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the data acquisition module 901, code generation module 902, and mold processing module 903 can be at least partially implemented as a computer program module, which, when run, can perform corresponding functions.
[0073] Figure 10 A block diagram schematically illustrates an electronic device suitable for implementing a sealing ring mold processing method according to an embodiment of the present disclosure.
[0074] like Figure 10 As shown, an electronic device 1000 according to an embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage portion 1008 into a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0075] RAM 1003 stores various programs and data required for the operation of electronic device 1000. Processor 1001, ROM 1002, and RAM 1003 are interconnected via bus 1004. Processor 1001 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 1002 and / or RAM 1003. It should be noted that the programs may also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0076] According to embodiments of this disclosure, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to a bus 1004. The electronic device 1000 may also include one or more of the following components connected to the I / O interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1010 as needed so that computer programs read from it can be installed into the storage section 1008 as needed.
[0077] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0078] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the methods provided in the embodiments of this disclosure.
[0079] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0080] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0081] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. A method of machining a seal ring mold, characterized by, include: Obtain the machining trajectory graphic of the sealing ring mold, and obtain the outline of the machining trajectory graphic based on the machining trajectory graphic; Obtain the processing parameters of the sealing ring mold, which include at least one of the following: processing origin, starting point of cutting, total depth of sealing ring, radius of sealing ring, cutting depth of each layer of sealing ring, safety height, distance from the starting point of processing to the surface, finishing allowance, finishing speed, roughing speed, tool compensation type, and processing spiral direction. Generate machining code based on the outline of the machining trajectory graphic and the machining process parameters; The sealing ring mold is processed by spiral cutting according to the processing code; The machining code includes the tool's machining path, and generating the machining code based on the contour of the machining trajectory graphic and the machining process parameters includes: Based on the machining trajectory graphic and the machining process parameters, generate the x-axis machining path and y-axis machining path of the contour; distribute the cutting depth of each layer of the sealing ring according to the length ratio between multiple lines of the contour to obtain the cutting depth of each line segment, and obtain the z-axis machining path of the sealing ring mold based on the cutting depth of each line segment; wherein, the machining origin is the origin of the x-axis, y-axis, and z-axis; the z-axis is perpendicular to the plane of the x-axis and y-axis; obtain the interpolation points of the machining code based on the x-axis machining path, y-axis machining path, and z-axis machining path; The step of spiral cutting according to the machining code includes: controlling the movement direction of the tool according to the interpolation point; adjusting the tool face direction according to the line connecting two adjacent interpolation points; wherein the tool face direction is perpendicular to the line connecting the points.
2. The method of claim 1, wherein, The step of obtaining the outline of the machining trajectory graphic based on the machining trajectory graphic includes: Obtain a DXF file of the machining trajectory graphic; the DXF file contains the start coordinates and end coordinates of multiple lines; Select a graph line as the current graph line; Store the starting coordinates of the current curve into the starting point array; Search for the first line that starts from the end of the current line; Detect whether the endpoint coordinates of the first line are the same as the first starting coordinate in the starting point array; if not, use the first line as the current line and store the starting coordinates of the current line in the starting point array; if yes, store the starting coordinates of the first line in the starting point array and obtain the outline of the processing trajectory graphic according to the order of the starting coordinates in the starting point array.
3. The method according to claim 1, wherein, The x-axis machining path, y-axis machining path, and z-axis machining path are parametric equations of the angles of the helixes on the x-axis, y-axis, and z-axis with respect to the current tool position, respectively; wherein, the helixes are generated based on the tool entry point position, the depth of cut of each segment of the graph, and the contour of the machining trajectory graph.
4. A sealing ring mold processing device, characterized in that, The method is configured to implement the sealing ring mold processing method according to any one of claims 1 to 3, comprising: The data acquisition module is used to acquire the processing trajectory graphic of the sealing ring mold, obtain the outline of the processing trajectory graphic based on the processing trajectory graphic, and acquire the processing process parameters of the sealing ring mold; The code generation module generates machining code based on the outline of the machining trajectory graphic and the machining process parameters; The mold processing module is used to perform spiral cutting according to the processing code to realize the processing of the sealing ring mold.
5. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 3.
6. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Grinding machining method of special-shaped workpiece
CN113319656A
Numerical control programming method, device and equipment for contours of rotary parts and medium
CN116991116A