Turning parameter determination method, electronic equipment and storage medium

By acquiring the surface data and bias surface data of the non-turning symmetric workpiece, the turning machining parameter set is determined, and the problem of determining the turning machining parameters of the non-turning symmetric surface is solved, and high-precision and efficient processing parameter acquisition is achieved.

CN120103751APending Publication Date: 2025-06-06CHANGZHOU GUGAO INTELLIGENT EQUIP TECH RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510154268.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The prior art is difficult to effectively solve the problem of determining turning processing parameters of non-rotating symmetrical surfaces, and the traditional trajectory generation strategy cannot meet the processing requirements of non-rotating symmetrical surfaces.

Method used

By obtaining the surface data of a non-turning symmetric workpiece under the workpiece coordinate system, the bias surface data is determined, and the turning machining parameter set is determined based on the cross-section point column and the bias surface data.

Benefits of technology

It realizes the simple and efficient acquisition of high-precision turning processing parameters, which is suitable for non-turning symmetrical workpieces, meets the requirements of their turning processing, and improves the accuracy of processing parameters determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120103751A_ABST
    Figure CN120103751A_ABST
Patent Text Reader

Abstract

The invention discloses a turning parameter determination method, electronic equipment and a storage medium. The method comprises the following steps: acquiring curved surface data of a non-rotational symmetric workpiece under a workpiece coordinate system; wherein the workpiece coordinate system is a coordinate system constructed by taking the bottom surface rotation center of the non-rotation symmetric workpiece as an original point; determining offset curved surface data of the non-rotational symmetry workpiece according to the curved surface data and the cutter parameters; determining the offset curved surface data and a section point column of a target section; and according to the section point column and the offset curved surface data, a turning parameter set of the non-rotational symmetry workpiece is determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of turning manufacturing of numerically controlled machine tools, and in particular to a method for determining turning processing parameters, electronic equipment and a storage medium. Background Art

[0002] In the field of turning, turning of mechanical workpieces with rotationally symmetrical surfaces is widespread. The most common ones are the processing of bearings in the mechanical field, microstructure optical mold processing in the field of precision optics, etc. The surfaces of these workpieces are used in large quantities, with a wide range and simple processes. Many software and special machine tools have been developed on the market to solve the generation of machining trajectories and the realization of machining.

[0003] With the development of customized parts structure, the demand for turning of mechanical workpieces with non-rotationally symmetrical surfaces is increasing, for example, turning of free-form molds and mechanical parts with complex shapes. For these non-rotationally symmetrical surfaces, the traditional trajectory generation strategy for rotationally symmetrical surfaces can no longer meet their processing requirements, so it is necessary to propose a method for determining turning parameters for workpieces with non-rotationally symmetrical surfaces. Summary of the invention

[0004] An object of an embodiment of the present invention is to provide a new technical solution for determining turning parameters of a non-rotationally symmetrical workpiece.

[0005] According to a first aspect of the present invention, a method for determining turning processing parameters is provided, comprising:

[0006] Acquire the surface data of the non-rotationally symmetrical workpiece in a workpiece coordinate system; wherein the workpiece coordinate system is a coordinate system constructed with the rotation center of the bottom surface of the non-rotationally symmetrical workpiece as the origin;

[0007] Determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and tool parameters;

[0008] Determining a cross-section point sequence between the offset surface data and a target cross-section;

[0009] A turning processing parameter set of the non-rotationally symmetrical workpiece is determined according to the cross-section point sequence and the offset surface data.

[0010] Optionally, the turning processing parameters include a primary rotation angle value, a secondary rotation angle value, and a lateral distance value, and determining the turning processing parameter set of the non-rotationally symmetrical workpiece according to the cross-sectional point sequence and the offset surface data includes:

[0011] For any section point in the section point sequence, determining a main rotation angle value corresponding to the section point according to the number of rotations of the main rotation axis corresponding to the section point;

[0012] Determine the secondary rotation angle value corresponding to the section point according to the primary rotation angle value corresponding to the section point, the total primary rotation angle value of the section point sequence, and the cutting direction angle corresponding to the section point sequence; wherein the cutting direction angle of the section point sequence is the angle between the starting cutting direction and the ending cutting direction of the section point sequence;

[0013] Determine the lateral distance value corresponding to the section point according to the primary rotation angle value and the secondary rotation angle value corresponding to the section point and the offset curved surface data;

[0014] The primary rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the section point are used as the turning processing parameters corresponding to the section point, so as to obtain a turning processing parameter set corresponding to the section point sequence.

[0015] Optionally, determining the secondary rotation angle value corresponding to the section point according to the primary rotation angle value corresponding to the section point, the total primary rotation angle value of the section point sequence, and the starting cutting direction and the ending cutting direction of the section point sequence includes:

[0016] Determine a main rotation angle ratio corresponding to the section point according to the main rotation angle value corresponding to the section point and the total main rotation angle value of the section point sequence;

[0017] The secondary rotation angle value corresponding to the section point is determined according to the primary rotation angle ratio corresponding to the section point and the cutting direction angle of the section point series.

[0018] Optionally, determining the lateral distance value corresponding to the section point according to the primary rotation angle value and the secondary rotation angle value corresponding to the section point and the offset surface data includes:

[0019] Determining a tool feed direction vector according to a primary rotation angle value and a secondary rotation angle value corresponding to the cross-sectional point;

[0020] Determining the actual tool center position according to the tool feed direction vector and the offset surface data;

[0021] The lateral distance value corresponding to the cross-section point is determined according to the actual tool center position and the bottom surface rotation center.

[0022] Optionally, the tool parameters include a tool corner radius, and determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and the tool parameters includes:

[0023] The curved surface data is offset according to the tool corner radius to obtain the offset curved surface data of the non-rotationally symmetrical workpiece.

[0024] Optionally, determining a section point sequence between the offset surface data and a target section includes:

[0025] Determining a half-section curve of a non-rotationally symmetrical workpiece according to the offset surface data and the target section;

[0026] The half-section curve is discretized to obtain the section point sequence.

[0027] Optionally, the turning processing parameters include a primary rotation angle value, a secondary rotation angle value, and a lateral distance value, and determining the turning processing parameter set of the non-rotationally symmetrical workpiece according to the cross-sectional point sequence and the offset surface data includes:

[0028] For each section point in the section point sequence, a main rotation axis rotation circle corresponding to the section point is divided into a plurality of interpolation angles, and a main rotation angle value corresponding to each interpolation angle in the plurality of interpolation angles is determined.

[0029] For each of the multiple interpolation angles, a secondary rotation angle value corresponding to the interpolation angle is determined according to the primary rotation angle value corresponding to the interpolation angle, the total primary rotation angle value of the cross-section point sequence, and the cutting direction angle corresponding to the cross-section point sequence; wherein the cutting direction angle of the cross-section point sequence is the angle between the starting cutting direction and the ending cutting direction of the cross-section point sequence;

[0030] Determine the lateral distance value corresponding to the interpolation angle according to the primary rotation angle value and the secondary rotation angle value corresponding to the interpolation angle and the offset surface data;

[0031] The primary rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the interpolation angle are used as turning processing parameters corresponding to the interpolation angle to obtain a turning processing parameter set corresponding to the cross-sectional point sequence.

[0032] According to a second aspect of the present disclosure, there is provided an electronic device, including:

[0033] An acquisition module, used for acquiring the surface data of a non-rotationally symmetrical workpiece in a workpiece coordinate system; wherein the workpiece coordinate system is a coordinate system constructed with the rotation center of the bottom surface of the non-rotationally symmetrical workpiece as the origin;

[0034] A determination module is used to determine the offset surface data of the non-rotationally symmetrical workpiece based on the surface data and tool parameters; determine a section point sequence between the offset surface data and a target section; and determine a turning processing parameter set of the non-rotationally symmetrical workpiece based on the section point sequence and the offset surface data.

[0035] According to a third aspect of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store executable instructions; and the processor is used to operate according to the control of the instructions to execute the method as described in the first aspect.

[0036] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored. When the executable instructions are executed by a processor, the method for determining turning processing parameters as described in the first aspect is implemented.

[0037] One beneficial effect of the present invention is that a cross-section point sequence can be obtained by performing a simple calculation based on the surface data of a non-rotationally symmetrical workpiece in a workpiece coordinate system, and then a turning processing parameter set of a non-rotationally symmetrical workpiece can be obtained based on the cross-section point sequence and the offset surface data, so that high-precision turning processing parameters can be obtained simply and efficiently, and the present invention is applicable to non-rotationally symmetrical non-rotationally symmetrical workpieces, and can meet the turning processing requirements of various types of non-rotationally symmetrical workpieces. By determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and tool parameters, and determining the cross-section point sequence of the offset surface data and the target cross section, the position of the cross-section point sequence can be calculated more accurately, and the accuracy of the turning processing parameter determination can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0039] Figure 1 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention;

[0040] Figure 2 is a schematic flow chart of a method for determining turning machining parameters according to an embodiment of the present invention;

[0041] Figure 3 is a schematic diagram of a curved surface corresponding to the curved surface data of a non-rotationally symmetric workpiece in a workpiece coordinate system according to an example of the present invention;

[0042] Figure 4 is a schematic diagram of a half-section curve of an offset surface in an xz coordinate plane of a workpiece coordinate system according to an example of the present invention;

[0043] Figure 5 is a schematic diagram of a cross-sectional point sequence corresponding to a half-section curve of an offset curved surface in an xz coordinate plane of a workpiece coordinate system according to an example of the present invention;

[0044] Figure 6 is a schematic diagram of a plurality of actual tool center position curves corresponding to a cross-sectional point sequence according to an example of the present invention;

[0045] Figure 7 is a schematic diagram of the structure of an electronic device according to an example of the present invention;

[0046] Figure 8 is a schematic structural diagram of an electronic device according to another example of the present invention. DETAILED DESCRIPTION

[0047] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0048] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0049] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0050] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0051] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0052] <Hardware Configuration>

[0053] Figure 1 is a block diagram of a hardware configuration of an electronic device 1000 according to an embodiment of the present invention.

[0054] The electronic device 1000 may be, for example, a notebook computer, a PC, etc., which is not limited here.

[0055] The electronic device 1000 is used to obtain the surface data of the non-rotationally symmetrical workpiece in the workpiece coordinate system, and determine the turning processing parameter set of the non-rotationally symmetrical workpiece according to the surface data.

[0056] The electronic device 1000 may include a processor 1100 , a memory 1200 , an interface device 1300 , a communication device 1400 , a display device 1500 , an input device 1600 , a speaker 1700 , a microphone 1800 , and the like.

[0057] The processor 1100 may be a mobile version processor. The memory 1200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 may include, for example, a USB interface, a headphone interface, etc. The communication device 1400 may, for example, be capable of wired or wireless communication. The communication device 1400 may include a short-range communication device, for example, any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 1400 may also include a remote communication device, for example, any device for WLAN, GPRS, 2G / 3G / 4G / 5G remote communication. The display device 1500 may, for example, be a liquid crystal display, a touch display, etc. The input device 1600 may include, for example, a touch screen, a keyboard, etc. The user may input / output voice information through the speaker 1700 and the microphone 1800.

[0058] In this embodiment, the memory 1200 of the electronic device 1000 is used to store instructions, and the instructions are used to control the processor 1100 to operate to at least execute the turning processing parameter determination method performed by the electronic device 1000 according to any embodiment of the present invention. The technician can design the instructions according to the scheme disclosed in the present invention. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0059] Despite Figure 1 , multiple devices of the electronic device 1000 are shown; however, the present invention may only involve some of the devices, for example, the electronic device 1000 only involves the memory 1200 and the processor 1100 .

[0060] In this embodiment, the electronic device 1000 determines a turning processing parameter set of the non-rotationally symmetric workpiece based on the surface data of the non-rotationally symmetric workpiece in the workpiece coordinate system.

[0061] <Method Example>

[0062] Figure 2 1 is a flow chart of a method for determining turning processing parameters according to an embodiment of the present invention, and the method can be implemented by the electronic device 1000.

[0063] according to Figure 2 As shown, the turning processing parameter determination method of this embodiment may include the following steps S2100 to S2500:

[0064] Step S2100, obtaining the surface data of the non-rotationally symmetric workpiece in the workpiece coordinate system.

[0065] In this embodiment, the non-rotationally symmetrical workpiece may be a workpiece that cannot be generated symmetrically through a single rotation axis. In other words, the overall shape of the non-rotationally symmetrical workpiece will not repeat after one rotation.

[0066] The non-rotationally symmetrical workpiece can be a mold with a free-form surface shape, a mechanical part with a complex shape, a headphone earmuff, or other non-rotationally symmetrical workpiece.

[0067] The workpiece coordinate system is a coordinate system constructed with the bottom rotation center of the non-rotationally symmetrical workpiece as the origin. The bottom rotation center can refer to the center point around which the bottom surface of the non-rotationally symmetrical workpiece rotates, or it can refer to the projection point of the rotation center of the non-rotationally symmetrical workpiece on the bottom surface of the non-rotationally symmetrical workpiece. The rotation center of a non-rotationally symmetrical workpiece is the center point of the fixed axis around which all points of the designed non-rotationally symmetrical workpiece rotate when it rotates.

[0068] The rotation center of the non-rotationally symmetrical workpiece may be the center of mass of the non-rotationally symmetrical workpiece, or may be any other design center of the non-rotationally symmetrical workpiece except the center of mass, which is not limited here.

[0069] For example, Figure 3 As shown, it is a schematic diagram of a workpiece coordinate system of an example of a non-rotationally symmetrical workpiece, which is a coordinate system obtained by establishing the x-axis, y-axis, and z-axis with the rotation center of the bottom surface of the non-rotationally symmetrical workpiece as the origin. Among them, the Z axis is the rotation axis of the non-rotationally symmetrical workpiece, that is, the main rotation axis C, and the X axis is the secondary rotation axis of the non-rotationally symmetrical workpiece, that is, the secondary rotation axis A.

[0070] The rotation center of the bottom surface of a non-rotationally symmetrical workpiece can be determined by mechanical measurement (i.e., using a center alignment tool (such as a dial indicator or micrometer) to measure the symmetry axis of the bottom surface of the workpiece to ensure that it is aligned with the machine tool spindle), optical measurement (i.e., using an optical alignment instrument to accurately measure the rotation center of the bottom surface of the workpiece through a laser or optical sensor), CNC alignment (i.e., on a CNC machine tool, through programming and automatic alignment functions to ensure that the rotation center of the bottom surface of the workpiece is aligned with the machine tool spindle), etc., and no limitation is made here.

[0071] The surface data of the non-rotationally symmetrical workpiece may refer to the outer surface data of the non-rotationally symmetrical workpiece.

[0072] The surface data of the non-rotationally symmetrical workpiece may include geometric information (such as coordinates of points, lines, and surfaces) and topological information (such as connection relationships between surfaces) of the non-rotationally symmetrical workpiece.

[0073] The surface data of a non-rotationally symmetrical workpiece can be a three-dimensional model file of a non-rotationally symmetrical workpiece generated from computer-aided design (CAD) software, such as STEP, IGS, STL and other formats, wherein the three-dimensional model files in STEP and IGS formats already contain detailed geometric and topological information of the non-rotationally symmetrical workpiece, and can be directly used to form a surface expression of the non-rotationally symmetrical workpiece. The three-dimensional model file in STL format approximates the surface of the three-dimensional model through a triangular mesh, and further processing is required to convert it into a surface expression form. The surface data of a non-rotationally symmetrical workpiece can also be the surface data of a non-rotationally symmetrical workpiece obtained by a three-dimensional scanner or other measuring equipment, usually in the form of a point cloud or mesh. Those skilled in the art should understand that the source of the surface data of the non-rotationally symmetrical workpiece is not limited here.

[0074] Step S2200: determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and tool parameters.

[0075] In this embodiment, due to the influence of tool parameters, the actual cutting path during the turning process will deviate from the theoretical path, so it is necessary to perform offset processing on the surface data according to the tool parameters to ensure the processing accuracy.

[0076] The tool may be an arc turning tool, a ball-end turning tool, etc., and is not limited here.

[0077] In the example where the tool is a circular turning tool, the tool parameters include the tool circular radius. The tool circular radius is the circular radius of the tool cutting edge.

[0078] In the example where the tool is a ball-end turning tool, the tool parameters include the tool ball radius. The tool ball radius is the radius of the ball of the tool cutting edge.

[0079] By offsetting the surface data, an actual machining path (i.e., offset surface data) can be generated to ensure that the cutting portion of the tool can accurately contact the surface of the non-rotationally symmetrical workpiece, thereby achieving high-precision machining.

[0080] In some embodiments, the tool parameters include a tool corner radius, wherein the tool corner radius may be a radius of a main cutting edge of the tool, for example, an R angle of a common 45-degree turning tool.

[0081] In this embodiment, the tool corner radius may be the radius of the cutting portion of the turning tool.

[0082] In the example where the tool is an arc tool, the tool corner radius is the tool arc radius.

[0083] In the example where the tool is a ball nose tool, the tool corner radius is the tool ball radius.

[0084] In these embodiments, determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and tool parameters in step S2200 includes:

[0085] The curved surface data is offset according to the tool corner radius to obtain the offset curved surface data of the non-rotationally symmetrical workpiece.

[0086] In this embodiment, the offset surface data may refer to new surface data generated by offsetting the surface data of the non-rotationally symmetrical workpiece by the tool corner radius. The offset surface data is used to calculate the actual machining path.

[0087] In one example, the offset surface corresponding to the offset surface data can be as follows: Figure 4 shown.

[0088] Step S2300, determining a section point sequence between the offset surface data and the target section.

[0089] In this embodiment, the target cross section may be a plane perpendicular to the bottom surface of the non-rotationally symmetrical workpiece. In other words, the target cross section may be a plane orthogonal to the XOY coordinate plane of the workpiece coordinate system of the non-rotationally symmetrical workpiece. For example, the target cross section may be a plane formed by the positive semi-axis of the X-axis and the positive semi-axis of the Z-axis, or may be a plane formed by the positive semi-axis of the Y-axis and the positive semi-axis of the Z-axis, which is not limited here.

[0090] The cross-sectional point array may refer to a point array on an intersection line between an offset surface of a non-rotationally symmetric workpiece and a target cross-sectional area.

[0091] In some embodiments, determining the section point sequence between the offset surface data and the target section in step S2300 includes: step S2300.1 and step S2300.2.

[0092] Step S2300.1, determining a half-section curve of the non-rotationally symmetric workpiece according to the offset surface data and the target section.

[0093] For example, the target section is a coordinate plane formed by the positive half axis of the X axis and the positive half axis of the Z axis of the workpiece coordinate system, that is, the target section is an XZ plane. The half-section curve obtained by intersecting the target plane with the offset surface data of the non-rotationally symmetrical workpiece can be as follows: Figure 4 The semicircular arc curve shown.

[0094] Step S2300.2, discretize the half-section curve to obtain the section point sequence.

[0095] In this embodiment, the cross-section point sequence can be a series of discrete points obtained by decomposing a half-cross-section curve of a non-rotationally symmetrical workpiece. The cross-section point sequence can be used to characterize the shape of the non-rotationally symmetrical workpiece on the target cross-section.

[0096] The discretization method can be equal angle, equal arc length, equal chord length, and equal number of discrete strategies, which are not limited here.

[0097] Those skilled in the art should understand that these discrete strategies are well known in the art, and the specific discrete methods are not described in detail here.

[0098] By discretizing the half-section curve, the continuous half-section curve can be converted into a series of discrete section points, which can be accurately controlled by the numerical control system (CNC), thereby achieving high-precision machining.

[0099] Step S2400: determining a turning processing parameter set of the non-rotationally symmetric workpiece according to the cross-section point sequence and the offset surface data.

[0100] In one example, the turning process of a non-rotationally symmetrical workpiece can be regarded as the non-rotationally symmetrical workpiece being stationary and the tool being in five-axis motion. In this case, the five-axis motion parameters of the tool can be determined based on the cross-sectional point sequence and the offset surface data. The five-axis motion parameters of the tool are the turning processing parameters of the non-rotationally symmetrical workpiece.

[0101] In another example, the turning process of a non-rotationally symmetrical workpiece can be regarded as a combination of the non-rotationally symmetrical workpiece rotating about the main rotation axis (i.e., C-axis) on the one hand and rotating about the secondary rotation axis (i.e., A-axis) on the other hand, and the tool making a lateral movement along the axial direction (i.e., Z-axis) of the non-rotationally symmetrical workpiece. In this case, the main rotation angle value (i.e., C-axis rotation angle value), the secondary rotation angle value (i.e., A-axis rotation angle value) and the lateral distance value (i.e., Z-axis distance value) in the turning process can be determined based on the cross-sectional point sequence and the offset surface data.

[0102] The inventor has found that when using the five-axis motion parameters of the tool to process a non-rotationally symmetrical workpiece, there are problems such as high equipment cost, complex trajectory programming, high requirements on the quality of the operator, and low processing efficiency. Therefore, this application proposes a method based on three-axis motion parameters as turning processing parameters to solve the above problems. In other words, the turning process of a non-rotationally symmetrical workpiece is regarded as a combination of the non-rotationally symmetrical workpiece rotating around the main rotation axis (i.e., C axis) on the one hand and rotating around the secondary rotation axis (i.e., A axis) on the other hand, and the tool performing a feed motion along the axial direction (i.e., z axis) of the non-rotationally symmetrical workpiece, thereby obtaining the three-axis processing parameters of the main rotation angle value, the secondary rotation angle value, and the lateral distance value.

[0103] Based on this, in some embodiments, the turning processing parameters include a primary rotation angle value, a secondary rotation angle value, and a lateral distance value.

[0104] In this embodiment, the main rotation angle value may refer to the angle value of the non-rotationally symmetrical workpiece rotating around the main rotation axis (ie, C axis) during the turning process, wherein the main rotation axis is used to generate the rotation surface of the non-rotationally symmetrical workpiece.

[0105] The secondary rotation angle value may refer to the angle value of a non-rotationally symmetrical workpiece rotating around the secondary rotation axis (ie, the A-axis) during a turning process.

[0106] The primary and secondary rotary axes are used to generate non-rotational surfaces of non-rotationally symmetrical workpieces.

[0107] The lateral distance value may refer to the distance value that the tool feeds along the axial direction (ie, the z-axis) of the non-rotationally symmetrical workpiece during the turning process.

[0108] The lateral distance value is used to control the cutting depth and feed speed of the tool on the surface of non-rotationally symmetrical workpieces. The axial motion accuracy directly affects the roughness and dimensional accuracy of the machined surface.

[0109] In these embodiments, step S2400 determines the turning processing parameter set of the non-rotationally symmetric workpiece according to the cross-section point sequence and the offset surface data, including steps S3100 to S3400.

[0110] Step S3100: for any section point in the section point sequence, determine the main rotation angle value corresponding to the section point according to the number of rotations of the main rotation axis corresponding to the section point.

[0111] In this embodiment, during turning, while the tool moves along the cross-section point sequence, the non-rotationally symmetrical workpiece also rotates around the main rotation axis C, and while the tool moves from the previous cross-section point to the next cross-section point, the non-rotationally symmetrical workpiece also rotates one circle around the main rotation axis C. Therefore, each cross-section point in the cross-section point sequence corresponds to the number of rotations of the main rotation axis.

[0112] For example, Figure 5 As shown, it is a schematic diagram of an example of a series of section points, which corresponds to different numbers of rotations of the main rotation axis from bottom to top. For example, the number of rotations of the main rotation axis corresponding to the first section point from bottom to top is 1, or the number of rotations of the main rotation axis corresponding to the first section point is 2. Here, the example of the number of rotations of the main rotation axis corresponding to the first section point is 2, which takes into account the number of rotations of the tool introduction. The number of rotations of the main rotation axis corresponding to the second section point is 14, or the number of rotations of the main rotation axis corresponding to the second section point is 15. Here, the number of rotations of the main rotation axis corresponding to the second section point is 15, which also takes into account the number of rotations of the tool introduction.

[0113] Since any section point in the section point sequence corresponds to the number of rotations of a main rotation axis, the main rotation angle value corresponding to the section point can be determined according to the number of rotations of the main rotation axis corresponding to the section point.

[0114] For example, if the number of revolutions of the main rotation axis corresponding to the first section point is 2, then the main rotation angle value corresponding to the section point is: 2*360. If the number of revolutions of the main rotation axis corresponding to the second section point is 15, then the main rotation angle value corresponding to the section point is: 15*360.

[0115] It should be noted that, generally speaking, the turning direction of non-rotationally symmetrical workpieces is from bottom to top. Based on this, the main rotation angle value corresponding to the top section point in the section point array is the total main rotation angle value. Among them, the total main rotation angle value is the total angle value of the main rotation axis rotation during the turning process.

[0116] For example, Figure 5 As shown, the main rotation angle value corresponding to the top section point in the section point column (ie, the section point closest to the Z axis) is the total main rotation angle value.

[0117] Step S3200, determining the secondary rotation angle value corresponding to the section point according to the primary rotation angle value corresponding to the section point, the total primary rotation angle value of the section point sequence, and the cutting direction angle corresponding to the section point sequence.

[0118] In this embodiment, the cutting direction angle of the cross-section point sequence is the angle between the starting cutting direction and the ending cutting direction of the cross-section point sequence, wherein the starting cutting direction of the cross-section point sequence is the normal direction of the starting point of the cross-section point sequence, and the ending cutting direction of the cross-section point sequence is the normal direction of the ending point of the cross-section point sequence.

[0119] The starting point of the cross-section point sequence is the cross-section point in the cross-section point sequence that is closest to the bottom surface of the non-rotationally symmetrical workpiece, and the ending point of the cross-section point is the cross-section point in the cross-section point sequence that is farthest from the bottom surface of the non-rotationally symmetrical workpiece.

[0120] The total principal rotation angle value of the cross-section point sequence is the principal rotation angle value corresponding to the cross-section point in the cross-section point sequence that is farthest from the bottom surface of the non-rotationally symmetric workpiece.

[0121] For example, Figure 5 As shown, the main rotation angle value corresponding to the top section point in the section point column (ie, the section point closest to the Z axis) is the total main rotation angle value.

[0122] In one example, the section points are listed as follows Figure 5As shown in the section points from bottom to top, the starting point is the lowest section point (i.e., closest to the bottom surface), and the ending point is the highest section point (i.e., farthest from the bottom surface). The cutting direction corresponding to the lowest section point can be expressed as Vs, and the cutting direction corresponding to the highest section point can be expressed as Ve. Then the cutting direction angle corresponding to the section point sequence is: θ=VectorAngle[Vs,Ve].

[0123] The total principal rotation angle value of the section point sequence is the principal rotation angle value corresponding to the section point at the top (ie, farthest from the bottom surface).

[0124] In some embodiments, step S3200 determines the secondary rotation angle value corresponding to the section point based on the primary rotation angle value corresponding to the section point, the total primary rotation angle value of the section point series, and the starting cutting direction and the ending cutting direction of the section point series, including: step S3200.1 and step S3200.2.

[0125] Step S3200.1, determining a principal rotation angle ratio corresponding to the section point according to the principal rotation angle value corresponding to the section point and the total principal rotation angle value of the section point sequence.

[0126] In this embodiment, the main rotation angle ratio t can be calculated by the following formula:

[0127]

[0128] Among them, Cvec represents the total principal rotation angle value of the section point sequence, and Cnow represents the principal rotation angle value corresponding to a certain section point.

[0129] Step S3200.2, determining the secondary rotation angle value corresponding to the section point according to the primary rotation angle ratio corresponding to the section point and the cutting direction angle of the section point series.

[0130] In this embodiment, the secondary rotation angle value A corresponding to a certain cross-section point can be calculated by the following formula:

[0131]

[0132] A=VectorAngle[Va,Vx]

[0133] Among them, t is the ratio of the main rotation angles, θ is the cutting direction angle of the cross-section point array, and Vx is the vector posture of the surface X-axis (1, 0, 0).

[0134] Step S3300: determining a lateral distance value corresponding to the section point according to the primary rotation angle value and the secondary rotation angle value corresponding to the section point and the offset surface data.

[0135] In this embodiment, the direction of a tool feed can be determined by the primary rotation angle value and the secondary rotation angle value corresponding to a section point. Then, an actual tool center position is determined based on the tool feed direction corresponding to the section point and the offset surface corresponding to the offset surface data. The lateral distance value of the tool is calculated based on the actual tool center position. Among them, the actual tool center position is the position actually reached by the tool, which is used to accurately control the tool.

[0136] The following is an explanation of the specific calculation process of the lateral distance value by calculating the corresponding lateral distance value for a section point:

[0137] In some embodiments, step S3300 determines the lateral distance value corresponding to the section point according to the primary rotation angle value and the secondary rotation angle value corresponding to the section point and the half-section curve corresponding to the section point sequence, including: step S3300.1 to step S3300.3.

[0138] Step S3300.1, determining the tool feed direction vector according to the primary rotation angle value and the secondary rotation angle value corresponding to the section point.

[0139] In this embodiment, a main rotation vector is determined based on the main rotation angle value corresponding to a section point and the bottom surface rotation center is used as the starting point. A secondary rotation vector is determined based on the secondary rotation angle value corresponding to the section point and the bottom surface rotation center is used as the starting point. The main rotation vector and the secondary rotation vector are synthesized to obtain the tool feed direction corresponding to the section point.

[0140] Step S3300.2, determining the actual tool center position according to the tool feed direction vector and the offset surface data.

[0141] In this embodiment, the intersection of the tool feed direction vector and the offset surface corresponding to the offset surface data is the actual tool center position, where the actual tool center position is the position that the tool is actually controlled to reach, and is used to precisely control the tool.

[0142] Step S3300.3, determining the lateral distance value corresponding to the section point according to the actual tool center position and the bottom surface rotation center.

[0143] In this embodiment, the distance between the actual tool center position and the bottom surface rotation center is the lateral distance value corresponding to the cross-sectional point.

[0144] Step S3400, taking the primary rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the section point as the turning processing parameters corresponding to the section point, and obtaining a turning processing parameter set corresponding to the section point sequence.

[0145] In this embodiment, by executing steps S3100 to S3400 for each section point in the section point sequence, the turning processing parameters corresponding to each section point can be obtained, and the turning processing parameter set corresponding to the section point sequence can be obtained. The processing parameter set can then be sent to a CNC machine tool for accurate turning of a non-rotationally symmetrical workpiece.

[0146] Since the angle difference of the main rotation angle values ​​between adjacent section points in the section point sequence is 360°, if the turning process is directly controlled according to the turning process parameter set corresponding to the section point sequence, the turning process parameters with main rotation angle values ​​between 0-360° cannot be determined, so there will be a problem of low turning process control accuracy.

[0147] In order to improve the control accuracy of the turning process, the inventor divides the rotation of the main rotation axis corresponding to each section point in the section point series (i.e. 360 degrees) into multiple sectors, and calculates the main rotation angle value corresponding to each of the multiple sectors. Then, according to the multiple main rotation angle values ​​corresponding to each section point in the section point series, the turning parameter set of the non-rotationally symmetrical workpiece is determined.

[0148] Based on this, in some other embodiments, the turning processing parameters include a main rotation angle value, a secondary rotation angle value and a lateral distance value. In step S2400, according to the cross-sectional point sequence and the offset surface data, the turning processing parameter set of the non-rotationally symmetrical workpiece is determined, including: steps S4100 to S4400.

[0149] Step S4100: for each section point in the section point sequence, divide the main rotation axis rotation circle corresponding to the section point into a plurality of interpolation angles, and determine the main rotation angle value corresponding to each interpolation angle in the plurality of interpolation angles.

[0150] In this embodiment, the main rotation axis rotation circle corresponding to one cross-sectional point is a 360° rotation circle.

[0151] Exemplarily, the 360° rotation circle corresponding to each section point in the section point column can be divided into 360 interpolation angles, that is, one interpolation angle is divided every 1°. Among the 360 ​​interpolation angles, the intersection of the 1st interpolation angle and the 360th interpolation angle is the section point in the section point column. Each interpolation angle corresponds to a main rotation angle value. For the first section point, the main rotation angle value corresponding to the section point is: 2*360=720°, and the main rotation angle value when the interpolation angle is 20 among the 360 ​​interpolation angles corresponding to the section point is: 2*360-(360-20)*1=380°.

[0152] Step S4200, for each interpolation angle among multiple interpolation angles, determine the secondary rotation angle value corresponding to the interpolation angle according to the primary rotation angle value corresponding to the interpolation angle, the total primary rotation angle value of the cross-section point sequence, and the cutting direction angle corresponding to the cross-section point sequence.

[0153] In this embodiment, the cutting direction angle of the cross-sectional point series is the angle between the starting cutting direction and the ending cutting direction of the cross-sectional point series.

[0154] This step is basically the same as the above step S3200 and will not be elaborated here.

[0155] In some embodiments, step S4200 determines the secondary rotation angle value corresponding to the interpolation angle based on the primary rotation angle value corresponding to the interpolation angle, the total primary rotation angle value of the cross-section point series, and the cutting direction angle corresponding to the cross-section point series, including: step S4200.1 and step S4200.2.

[0156] Step S4200.1, determining a principal rotation angle ratio corresponding to the interpolation angle according to the principal rotation angle value corresponding to the interpolation angle and the total principal rotation angle value of the cross-section point sequence.

[0157] In this embodiment, the main rotation angle ratio t can be calculated by the following formula:

[0158]

[0159] Among them, Cvec represents the total principal rotation angle value of the cross-section point sequence, and Cnow represents the principal rotation angle value corresponding to a certain interpolation angle.

[0160] Step S4200.2, determining the secondary rotation angle value corresponding to the interpolation angle according to the primary rotation angle ratio corresponding to the interpolation angle and the cutting direction angle of the cross-sectional point sequence.

[0161] In this embodiment, the secondary rotation angle value A corresponding to a certain interpolation angle can be calculated by the following formula:

[0162]

[0163] A=VectorAngle[Va,Vx]

[0164] Among them, t is the ratio of the main rotation angles, θ is the cutting direction angle of the cross-section point array, and Vx is the vector posture of the surface X-axis (1, 0, 0).

[0165] Step S4300: Determine the lateral distance value corresponding to the interpolation angle according to the primary rotation angle value and the secondary rotation angle value corresponding to the interpolation angle and the offset surface data.

[0166] In this embodiment, the tool feed direction vector corresponding to an interpolation angle is first determined by the primary rotation angle value and the secondary rotation angle value corresponding to the interpolation angle. Then, the actual tool center position corresponding to the interpolation angle is determined based on the tool feed direction vector corresponding to the interpolation angle and the offset surface corresponding to the offset surface data. Finally, the lateral distance value corresponding to the interpolation angle is determined based on the actual tool center position corresponding to the interpolation angle.

[0167] Since an actual tool center position can be determined according to one of the multiple interpolation angles corresponding to the section point, multiple actual tool center positions corresponding to the section point can be obtained. If the multiple actual tool center positions corresponding to the section point are connected, an actual tool center position curve corresponding to the section point can be obtained.

[0168] For example, Figure 6 As shown in , the actual tool center position curve corresponding to a section point is a curve rotating around the C axis. The multiple actual tool center position curves corresponding to the section point sequence are as follows Figure 6 Shown are multiple curves rotated around the C axis.

[0169] This step is basically the same as the above step S3300 and will not be elaborated on in detail.

[0170] Step S4400, taking the primary rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the interpolation angle as turning processing parameters corresponding to the interpolation angle, and obtaining a turning processing parameter set of multiple interpolation angles corresponding to the cross-sectional point sequence.

[0171] In this embodiment, the primary rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the interpolation angle are used as turning processing parameters corresponding to the interpolation angle.

[0172] Since according to the above steps S4100 to S4300, the main rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to each interpolation angle of the multiple interpolation angles corresponding to the section point can be obtained, that is, the multiple turning processing parameters corresponding to any section point in the section point sequence can be obtained. Based on this, the multiple turning processing parameters corresponding to each section point in the multiple section points included in the section point sequence can be obtained, and the multiple turning processing parameters corresponding to each section point in these multiple section points constitute a turning processing parameter set.

[0173] By performing simple calculations based on the surface data of the non-rotationally symmetrical workpiece in the workpiece coordinate system, a cross-section point sequence can be obtained, and then a turning processing parameter set of the non-rotationally symmetrical workpiece can be obtained based on the cross-section point sequence and the offset surface data, so that high-precision turning processing parameters can be obtained simply and efficiently, and it is applicable to non-rotationally symmetrical non-rotationally symmetrical workpieces, and can meet the turning processing requirements of various types of non-rotationally symmetrical workpieces. By determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and tool parameters, and determining the cross-section point sequence of the offset surface data and the target cross section, the position of the cross-section point sequence can be calculated more accurately, and the accuracy of the turning processing parameter determination can be improved. In addition, by turning the non-rotationally symmetrical workpiece through three-axis processing parameters (i.e., two rotating axes A and C, and one linear axis Z), not only the efficiency of generating the processing trajectory can be improved, but also the processing accuracy requirements can be met, and the characteristics of versatility, ease of use, high precision, and predictable calculation results for the turning trajectory planning of non-rotationally symmetrical surfaces can be achieved.

[0174] <Equipment Embodiment>

[0175] Figure 7 7 is a principle block diagram of an electronic device 700 according to an embodiment of the present invention. The electronic device 700 includes an acquisition module 710 and a determination module 720 .

[0176] An acquisition module 710 is used to acquire the surface data of the non-rotationally symmetrical workpiece in a workpiece coordinate system; wherein the workpiece coordinate system is a coordinate system constructed with the rotation center of the bottom surface of the non-rotationally symmetrical workpiece as the origin;

[0177] Determination module 720 is used to determine the offset surface data of the non-rotationally symmetrical workpiece based on the surface data and tool parameters; determine the section point sequence between the offset surface data and the target section; and determine the turning processing parameter set of the non-rotationally symmetrical workpiece based on the section point sequence and the offset surface data.

[0178] In one embodiment, the turning processing parameters include a main rotation angle value, a secondary rotation angle value and a lateral distance value. The determination module 720 is also used to determine, for any section point in the section point series, the main rotation angle value corresponding to the section point according to the number of rotations of the main rotation axis corresponding to the section point; determine the secondary rotation angle value corresponding to the section point according to the main rotation angle value corresponding to the section point, the total main rotation angle value of the section point series, and the cutting direction angle corresponding to the section point series; wherein the cutting direction angle of the section point series is the angle between the starting cutting direction and the ending cutting direction of the section point series; determine the lateral distance value corresponding to the section point according to the main rotation angle value and the secondary rotation angle value corresponding to the section point, and the offset surface data; use the main rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the section point as the turning processing parameters corresponding to the section point, and obtain a turning processing parameter set corresponding to the section point series.

[0179] In one embodiment, the determination module 720 is also used to determine the main rotation angle ratio corresponding to the section point based on the main rotation angle value corresponding to the section point and the total main rotation angle value of the section point series; and determine the secondary rotation angle value corresponding to the section point based on the main rotation angle ratio corresponding to the section point and the cutting direction angle of the section point series.

[0180] In one embodiment, the determination module 720 is also used to determine the tool feed direction vector based on the main rotation angle value and the secondary rotation angle value corresponding to the section point; determine the actual tool center position based on the tool feed direction vector and the offset surface data; determine the lateral distance value corresponding to the section point based on the actual tool center position and the bottom surface rotation center.

[0181] In one embodiment, the tool parameters include a tool corner radius, and the determination module 720 is further configured to offset the surface data according to the tool corner radius to obtain the offset surface data of the non-rotationally symmetrical workpiece.

[0182] In one embodiment, the determination module 720 is further used to determine a half-section curve of the non-rotationally symmetric workpiece according to the offset surface data and the target section; and discretize the half-section curve to obtain the section point sequence.

[0183] In one embodiment, the determination module 720 is also used to divide the main rotation axis rotation circle corresponding to each section point in the section point sequence into multiple interpolation angles, and determine the main rotation angle value corresponding to each interpolation angle in the multiple interpolation angles; for each interpolation angle in the multiple interpolation angles, determine the secondary rotation angle value corresponding to the interpolation angle according to the main rotation angle value corresponding to the interpolation angle, the total main rotation angle value of the section point sequence, and the cutting direction angle corresponding to the section point sequence; wherein the cutting direction angle of the section point sequence is the angle between the starting cutting direction and the ending cutting direction of the section point sequence; determine the lateral distance value corresponding to the interpolation angle according to the main rotation angle value and the secondary rotation angle value corresponding to the interpolation angle, and the offset surface data; use the main rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the interpolation angle as the turning processing parameters corresponding to the interpolation angle to obtain a turning processing parameter set corresponding to the section point sequence.

[0184] Figure 8 A functional block diagram of an electronic device according to another embodiment of the present application is shown.

[0185] In this embodiment, if Figure 8 As shown, the electronic device 800 includes a memory 810 and a processor 820, wherein the memory 810 is used to store executable instructions; the processor 820 is used to operate according to the control of the instructions to execute the method described in any of the above method embodiments.

[0186] In some embodiments, the electronic device 800 may be Figure 1 An electronic device 1000 is shown.

[0187] According to an embodiment of the present disclosure, a computer-readable storage medium is further provided, on which computer-executable instructions are stored. When the executable instructions are executed by a processor, the method for determining turning processing parameters as described in any of the above method embodiments is implemented.

[0188] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0189] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0190] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0191] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0192] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0193] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0194] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0195] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0196] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A method for determining turning processing parameters, characterized in that: The method comprises: Acquire the surface data of the non-rotationally symmetrical workpiece in a workpiece coordinate system; wherein the workpiece coordinate system is a coordinate system constructed with the rotation center of the bottom surface of the non-rotationally symmetrical workpiece as the origin; Determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and tool parameters; Determining a cross-section point sequence between the offset surface data and a target cross-section; A turning processing parameter set of the non-rotationally symmetrical workpiece is determined according to the cross-section point sequence and the offset surface data.

2. The method according to claim 1, characterized in that The turning processing parameters include a primary rotation angle value, a secondary rotation angle value, and a lateral distance value. The turning processing parameter set of the non-rotationally symmetrical workpiece is determined based on the cross-sectional point sequence and the offset surface data, including: For any section point in the section point sequence, determining a main rotation angle value corresponding to the section point according to the number of rotations of the main rotation axis corresponding to the section point; Determine the secondary rotation angle value corresponding to the section point according to the primary rotation angle value corresponding to the section point, the total primary rotation angle value of the section point sequence, and the cutting direction angle corresponding to the section point sequence; wherein the cutting direction angle of the section point sequence is the angle between the starting cutting direction and the ending cutting direction of the section point sequence; Determine the lateral distance value corresponding to the section point according to the primary rotation angle value and the secondary rotation angle value corresponding to the section point and the offset curved surface data; The primary rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the section point are used as the turning processing parameters corresponding to the section point, so as to obtain a turning processing parameter set corresponding to the section point sequence.

3. The method according to claim 2, characterized in that Determining the secondary rotation angle value corresponding to the section point according to the primary rotation angle value corresponding to the section point, the total primary rotation angle value of the section point sequence, and the starting cutting direction and the ending cutting direction of the section point sequence includes: Determine a main rotation angle ratio corresponding to the section point according to the main rotation angle value corresponding to the section point and the total main rotation angle value of the section point sequence; The secondary rotation angle value corresponding to the section point is determined according to the primary rotation angle ratio corresponding to the section point and the cutting direction angle of the section point series.

4. The method according to claim 2, characterized in that: Determining the lateral distance value corresponding to the section point according to the primary rotation angle value and the secondary rotation angle value corresponding to the section point and the offset curved surface data includes: Determine the tool feed direction vector according to the primary rotation angle value and the secondary rotation angle value corresponding to the cross-sectional point; Determining the actual tool center position according to the tool feed direction vector and the offset surface data; The lateral distance value corresponding to the cross-section point is determined according to the actual tool center position and the bottom surface rotation center.

5. The method according to claim 1, characterized in that The tool parameters include a tool corner radius, and determining the offset surface data of the non-rotationally symmetrical workpiece according to the surface data and the tool parameters includes: The curved surface data is offset according to the tool corner radius to obtain the offset curved surface data of the non-rotationally symmetrical workpiece.

6. The method according to claim 1, characterized in that The determining of a section point sequence between the offset surface data and the target section includes: Determining a half-section curve of a non-rotationally symmetrical workpiece according to the offset surface data and the target section; The half-section curve is discretized to obtain the section point sequence.

7. The method according to claim 1, characterized in that The turning processing parameters include a primary rotation angle value, a secondary rotation angle value, and a lateral distance value. The turning processing parameter set of the non-rotationally symmetrical workpiece is determined based on the cross-sectional point sequence and the offset surface data, including: For each section point in the section point sequence, dividing the main rotation axis rotation circle corresponding to the section point into a plurality of interpolation angles, and determining a main rotation angle value corresponding to each interpolation angle in the plurality of interpolation angles; For each of the plurality of interpolation angles, a secondary rotation angle value corresponding to the interpolation angle is determined according to a primary rotation angle value corresponding to the interpolation angle, a total primary rotation angle value of the cross-section point sequence, and a cutting direction angle corresponding to the cross-section point sequence; wherein the cutting direction angle of the cross-section point sequence is an angle between a starting cutting direction and an ending cutting direction of the cross-section point sequence; Determine the lateral distance value corresponding to the interpolation angle according to the primary rotation angle value and the secondary rotation angle value corresponding to the interpolation angle and the offset curved surface data; The primary rotation angle value, the secondary rotation angle value and the lateral distance value corresponding to the interpolation angle are used as turning processing parameters corresponding to the interpolation angle to obtain a turning processing parameter set corresponding to the cross-sectional point sequence.

8. An electronic device, characterized in that: include: An acquisition module, used for acquiring the surface data of a non-rotationally symmetrical workpiece in a workpiece coordinate system; wherein the workpiece coordinate system is a coordinate system constructed with the rotation center of the bottom surface of the non-rotationally symmetrical workpiece as the origin; A determination module is used to determine the offset surface data of the non-rotationally symmetrical workpiece based on the surface data and tool parameters; determine a section point sequence between the offset surface data and a target section; and determine a turning processing parameter set of the non-rotationally symmetrical workpiece based on the section point sequence and the offset surface data.

9. An electronic device, comprising a memory and a processor, wherein the memory is used to store executable instructions; and the processor is used to operate according to the control of the instructions to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer-executable instructions stored thereon, characterized in that: When the executable instructions are executed by the processor, the method for determining turning processing parameters according to any one of claims 1 to 7 is implemented.