Numerical control machining performance analysis method, system, device and storage medium

By calculating the quantitative indicators of motion parameters, the problem that the performance of CNC machining cannot be accurately evaluated by visually observing chromatograms in existing technologies has been solved. This enables accurate evaluation of CNC machining quality and problem localization, improving the evaluation effect and process debugging efficiency.

CN117370726BActive Publication Date: 2025-11-28SHENZHEN INOVANCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311342240.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2025-11-28
Estimated Expiration
2043-10-17

AI Technical Summary

Technical Problem

Existing technologies that assess CNC machining performance by visually observing chromatograms cannot accurately identify subtle machining quality issues, resulting in poor assessment results.

Method used

A method for analyzing CNC machining performance is provided, which calculates quantitative indicators of motion parameters, including displaying a CNC machining performance analysis interface, determining the attribute information of the observation point and the lateral point, performing a lateral point search, and calculating statistical indicators to evaluate CNC machining performance.

Benefits of technology

It enables accurate evaluation of CNC machining quality, can identify subtle quality problems, improves evaluation results, supports quantitative analysis and problem location, and improves process debugging efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117370726B_ABST
    Figure CN117370726B_ABST
Patent Text Reader

Abstract

The application discloses a numerical control machining performance analysis method, system, device and storage medium, and comprises the following steps: displaying a numerical control machining performance analysis interface, wherein the numerical control machining performance analysis interface at least comprises a point information setting area, a horizontal point search component, an index calculation component and an index output area; in response to a trigger operation on the point information setting area, determining and displaying attribute information of an observation point and a horizontal point; in response to a trigger operation on the horizontal point search component, determining and displaying a horizontal point corresponding to the observation point according to the attribute information of the observation point and the horizontal point; in response to a trigger operation on the index calculation component, determining a statistical index according to motion parameters of the observation point and the horizontal point, and displaying the statistical index in the index output area; and determining an evaluation result of numerical control machining performance based on the statistical index. Through the quantitative index of the motion parameters evaluation, the quality of the motion parameters is accurately evaluated, and the evaluation effect of the numerical control machining quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of numerical control machining, and in particular to a numerical control machining performance analysis method, system, device and storage medium. BACKGROUND

[0002] Numerical control machining is a process of using a numerical control system to control a motor, drive a feeding transmission system, and drive an execution end such as a spindle and a tool, a laser head, etc. to realize material removal. In the numerical control machining process, the machining quality may be reduced due to factors such as following error and filtering error. Therefore, it is crucial to identify the machining quality.

[0003] In the related art, the set or actual speed, acceleration and jerk are evaluated by using a chromatogram, that is, different colors are used to describe the size of the speed, acceleration or jerk at the corresponding position in the machining workpiece diagram, and the consistency of the chromatogram color is judged by visual observation, so as to evaluate the numerical control machining performance.

[0004] However, the related art can only macroscopically judge whether there is a machining quality problem by visual observation, and some subtle problems cannot be found, so the machining quality evaluation effect is poor. SUMMARY

[0005] The embodiments of the present application provide a numerical control machining performance analysis method, system, device and storage medium, which can accurately evaluate the quality of the motion parameters by calculating the quantitative indicators of the motion parameter evaluation, and improve the evaluation effect of the numerical control machining quality.

[0006] The embodiments of the present application provide a numerical control machining performance analysis method, which comprises:

[0007] The numerical control machining performance analysis method comprises:

[0008] A numerical control machining performance analysis interface is displayed, and the numerical control machining performance analysis interface at least comprises a point information setting area, a horizontal point search component, an index calculation component and an index output area;

[0009] In response to a trigger operation on the point information setting area, attribute information of a to-be-observed point and a horizontal point is determined and displayed;

[0010] In response to a trigger operation on the horizontal point search component, a horizontal point corresponding to the to-be-observed point is determined and displayed according to the attribute information of the to-be-observed point and the horizontal point;

[0011] In response to a trigger operation on the index calculation component, a statistical index is determined according to the motion parameters of the to-be-observed point and the horizontal point, and the statistical index is displayed in the index output area;

[0012] Based on the statistical index, an evaluation result of the numerical control machining performance is determined.

[0013] Optionally, the attribute information of the to-be-observed point includes a to-be-observed point serial number, the attribute information of the lateral point includes a lateral point distance, a lateral point quantity, and a lateral point angle, and the step of determining and displaying the lateral point corresponding to the to-be-observed point according to the attribute information of the to-be-observed point and the lateral point includes:

[0014] In the lateral direction of the to-be-observed point, a lateral point search is performed according to the to-be-observed point serial number, the lateral point distance, the lateral point quantity, and the lateral point angle, to determine whether the to-be-observed point has a corresponding lateral point;

[0015] If yes, the lateral point corresponding to the to-be-observed point is displayed on an interpolation point display interface;

[0016] If no, an interpolation operation is performed in the lateral direction of the to-be-observed point to obtain an interpolation lateral point, and the interpolation lateral point corresponding to the to-be-observed point is displayed on the interpolation point display interface.

[0017] Optionally, the step of performing the interpolation operation in the lateral direction of the to-be-observed point to obtain the interpolation lateral point includes:

[0018] A first interpolation point and a second interpolation point are obtained from the feeding direction of the to-be-observed point;

[0019] A known lateral point is obtained from the lateral direction of the to-be-observed point;

[0020] An interpolation operation is performed according to the position of the first interpolation point, the position of the second interpolation point, and the position of the known lateral point to obtain the interpolation lateral point, wherein the interpolation lateral point is located between the first interpolation point and the second interpolation point and is located in the same lateral direction as the known lateral point.

[0021] Optionally, the numerical control machining performance analysis method further includes:

[0022] Motion parameters of the first interpolation point and motion parameters of the second interpolation point are obtained;

[0023] An interpolation operation is performed according to the motion parameters of the first interpolation point, the motion parameters of the second interpolation point, the position of the first interpolation point, the position of the second interpolation point, and the position of the known lateral point to obtain the motion parameters of the interpolation lateral point;

[0024] The step of determining the statistical index according to the motion parameters of the to-be-observed point and the lateral point and displaying the statistical index on the index output area in response to the triggering operation on the index calculation component includes:

[0025] In response to a triggering operation for the index calculation component, a statistical index is determined according to the motion parameter of the to-be-observed point and the motion parameter of the interpolation lateral point, and the statistical index is displayed in the index output area.

[0026] Optionally, the step of determining the statistical index according to the motion parameter of the to-be-observed point and the lateral point comprises:

[0027] determining a mean value of the motion parameter according to the motion parameter of the to-be-observed point and the lateral point;

[0028] calculating a variance of the motion parameter according to the mean value of the motion parameter, and determining the variance of the motion parameter as the statistical index.

[0029] Optionally, the step of determining the evaluation result of the numerical control machining performance based on the statistical index comprises:

[0030] when the statistical index is less than a preset index, determining that the numerical control machining performance is good;

[0031] when the statistical index is greater than or equal to the preset index, determining a correlation coefficient between the motion and the geometric feature information according to the geometric feature information of the to-be-observed point and the lateral point, a maximum speed, a maximum acceleration allowed in a numerical control machining process, and the motion parameter, and when the correlation coefficient between the motion and the geometric feature information is greater than a preset coefficient, determining that the numerical control machining performance is good.

[0032] Optionally, the step of determining the correlation coefficient between the motion and the geometric feature information according to the geometric feature information of the to-be-observed point and the lateral point, the maximum speed, the maximum acceleration allowed in the numerical control machining process, and the motion parameter comprises:

[0033] determining an equivalent value of the geometric feature information according to the geometric feature information, the maximum speed, and the maximum acceleration;

[0034] determining a covariance between the geometric feature information and the motion parameter according to the equivalent value and the motion parameter;

[0035] determining a variance of the motion parameter and a variance of the equivalent value;

[0036] determining the correlation coefficient between the motion and the geometric feature information according to the variance of the motion parameter, the variance of the equivalent value, and the covariance between the geometric feature information and the motion parameter.

[0037] Optionally, the geometric feature information comprises a curvature or a torsion.

[0038] Optionally, the numerical control machining performance analysis interface further comprises a curve generation component, and the numerical control machining performance analysis method further comprises:

[0039] In response to a triggering operation on the curve generation component, a motion parameter curve is generated and displayed according to the motion parameters of the observation point and the lateral points;

[0040] Based on the motion parameter curve, an evaluation result of the numerical control machining performance is determined.

[0041] Optionally, the numerical control machining performance analysis interface further comprises a chromatogram generation component, and the numerical control machining performance analysis method further comprises:

[0042] In response to a triggering operation on the chromatogram generation component, a chromatogram is generated and displayed according to the motion parameters of the observation point and the lateral points;

[0043] Based on the chromatogram, an evaluation result of the numerical control machining performance is determined.

[0044] Optionally, the motion parameters include at least one of speed, acceleration and jerk.

[0045] Optionally, the point information setting area comprises at least an observation point selection component, an observation point attribute information display box and at least one lateral point attribute information editing box, and the step of determining and displaying the attribute information of the observation point and the lateral points in response to a triggering operation on the point information setting area comprises:

[0046] In response to a triggering operation on the observation point selection component, an interpolation point display interface is displayed;

[0047] In response to a triggering operation on the interpolation point display interface, the observation point is determined, and the attribute information of the observation point is displayed in the observation point attribute information display box;

[0048] In response to an editing operation on the lateral point attribute information editing box, the attribute information of the lateral point is displayed.

[0049] Optionally, before the step of displaying the interpolation point display interface in response to a triggering operation on the observation point selection component, the method further comprises:

[0050] In response to a triggering operation on the interpolation point file import interface, an interpolation point file is obtained, the interpolation point file comprising a plurality of interpolation points through which a numerical control machine tool moves along a feed direction;

[0051] The interpolation point file is parsed to obtain attribute information and arrangement information of the interpolation points;

[0052] According to the attribute information and arrangement information of the interpolation points, a rendering process is performed to obtain the interpolation point display interface.

[0053] In addition, to achieve the above object, the application further provides a numerical control machining performance analysis system, comprising:

[0054] A display module is configured to display a numerical control machining performance analysis interface, wherein the numerical control machining performance analysis interface comprises at least a point information setting area, a horizontal point search component, an index calculation component and an index output area.

[0055] A first response module is configured to determine and display attribute information of an observation point and a horizontal point in response to a trigger operation on the point information setting area.

[0056] A second response module is configured to determine and display a horizontal point corresponding to the observation point according to the attribute information of the observation point and the horizontal point in response to a trigger operation on the horizontal point search component.

[0057] A third response module is configured to determine a statistical index according to motion parameters of the observation point and the horizontal point and display the statistical index in the index output area in response to a trigger operation on the index calculation component.

[0058] An evaluation result determination module is configured to determine an evaluation result of numerical control machining performance based on the statistical index.

[0059] In addition, to achieve the above object, the application further provides a numerical control machining performance analysis device, comprising a memory, a processor and a numerical control machining performance analysis program stored in the memory and running on the processor, wherein the numerical control machining performance analysis program is executed by the processor to implement the steps of the numerical control machining performance analysis method.

[0060] In addition, to achieve the above object, the application further provides a storage medium having a numerical control machining performance analysis program stored thereon, wherein the numerical control machining performance analysis program is executed by a processor to implement the steps of the numerical control machining performance analysis method.

[0061] This application provides a CNC machining performance analysis method, system, device, and storage medium, which addresses the problem of poor CNC machining performance evaluation results caused by using chromatograms in related technologies. This application provides a CNC machining performance analysis application, including a CNC performance analysis interface. By operating this interface, the attribute information of the observation point and the lateral point is first determined. Then, a lateral point search is performed based on the attribute information to determine the corresponding lateral point. Next, statistical indicators are determined based on the motion parameters of the lateral point and the observation point. Finally, the CNC machining performance is evaluated based on the statistical indicators to obtain the evaluation result. This application, by calculating quantitative indicators for motion parameter evaluation, can accurately evaluate the quality of motion parameters and improve the effectiveness of CNC machining quality evaluation. Attached Figure Description

[0062] Figure 1 This is a flowchart illustrating the first embodiment of the CNC machining performance analysis method of the present invention;

[0063] Figure 2 This is a flowchart illustrating the second embodiment of the CNC machining performance analysis method of the present invention;

[0064] Figure 3 This is a detailed flowchart of step S133 in the second embodiment of the CNC machining performance analysis method of the present invention;

[0065] Figure 4 This is a flowchart illustrating the fourth embodiment of the CNC machining performance analysis method of the present invention;

[0066] Figure 5 This is a functional block diagram of the CNC machining performance analysis system of the present invention;

[0067] Figure 6 This is a schematic diagram of the hardware operating environment involved in the embodiments of the present invention;

[0068] Figure 7 This is a schematic diagram showing the position of the interpolation lateral point in this invention;

[0069] Figure 8 This is a schematic diagram of the Trace data file of the present invention;

[0070] Figure 9 This is the velocity waveform curve of the present invention;

[0071] Figure 10 This is the acceleration waveform curve of the present invention;

[0072] Figure 11 The acceleration waveform curve of this invention;

[0073] Figure 12 Speed-curve equivalent value relationship curve of the present application;

[0074] Figure 13 Numerical control machining performance analysis interface of the present application;

[0075] Figure 14 Interpolation point display interface schematic diagram of the present application;

[0076] Figure 15 Transverse point arrangement schematic diagram of the present application in the transverse direction of the to-be-observed point;

[0077] Figure 16 Face image schematic diagram mentioned in the embodiment of the present application.

[0078] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings, which are only an embodiment diagram and not the whole of the invention. DETAILED DESCRIPTION

[0079] Numerical control machining is a process of using a numerical control system to control a motor, drive a feed transmission system, and drive an execution end such as a spindle and a tool, a laser head, etc. to realize material removal. Since the servo control and the feed transmission system are inertia systems, there is a following error between the command position and the actual position, and the following error changes with the change of the command speed, acceleration and jerk. Usually, in order to prevent vibration or improve machining quality during machining, a low-pass filter is activated between the set position and the command position in the numerical control system to generate a command position after smoothing the set position, so there is a filtering error between the set position and the command position, and the filtering error changes with the change of the set speed, acceleration and jerk.

[0080] As can be seen from the above, due to the existence of the following error and the filtering error, there is a deviation between the set position and the time position of the numerical control system, and the deviation changes with the change of the set speed, acceleration and jerk. In milling surface machining, when the speed, acceleration and jerk of the movement in the transverse direction of the feed direction are inconsistent, the position deviation in the transverse direction is also inconsistent, resulting in different material removal degrees in the transverse direction, causing poor indentation on the machined surface, and when the deviation is large, the indentation is very obvious, resulting in scrap of the workpiece. For other contour machining such as laser cutting, similar problems will also occur, and the material removal degree is inconsistent at similar contours, resulting in poor consistency of machining accuracy.

[0081] In order to identify the machining quality problem in advance before processing or analyze the root cause of the quality problem after processing, there are related tools and methods to evaluate the setting (or actual) speed, acceleration and jerk by using the chromatogram, that is, different colors are used to describe the size of the speed, acceleration or jerk at the response position in the machining workpiece diagram, and the color consistency of the chromatogram is judged by visual observation. When the color is highly consistent or changes uniformly, it indicates that the speed, acceleration and jerk are good and no corresponding machining quality problem will occur. When the color consistency is poor or changes unevenly, it indicates that the speed, acceleration and jerk are not good and may cause corresponding machining quality problems.

[0082] However, the related art can only judge whether there is a machining quality problem from a macroscopic point of view by visually observing the speed, acceleration and jerk, and some subtle color differences are difficult to detect and cannot be quantitatively analyzed, resulting in poor machining quality evaluation effect.

[0083] To solve the above problems, the present application provides a numerical control machining performance analysis method, mainly including: displaying a numerical control machining performance analysis interface, the numerical control machining performance analysis interface at least includes a point information setting area, a horizontal point search component, an index calculation component and an index output area; in response to a trigger operation on the point information setting area, the attribute information of the to-be-observed point and the horizontal point is determined and displayed; in response to a trigger operation on the horizontal point search component, the horizontal point corresponding to the to-be-observed point is determined and displayed according to the attribute information of the to-be-observed point and the horizontal point; in response to a trigger operation on the index calculation component, the statistical index is determined according to the motion parameters of the to-be-observed point and the horizontal point, and the statistical index is displayed in the index output area; and based on the statistical index, the evaluation result of the numerical control machining performance is determined.

[0084] Compared with the related art of evaluating the numerical control machining performance by using the chromatogram, the numerical control machining performance evaluation result is poor. The present application provides a numerical control machining performance analysis application program, which includes a numerical control performance analysis interface. By operating the numerical control performance analysis interface, the attribute information of the to-be-observed point and the horizontal point is determined first, and then the horizontal point search is performed according to the attribute information of the to-be-observed point and the horizontal point to determine the horizontal point corresponding to the to-be-observed point. Then, the statistical index is determined according to the motion parameters of the horizontal point and the to-be-observed point. Finally, the numerical control machining performance is evaluated according to the statistical index to obtain the evaluation result of the numerical control machining performance. The quantitative index of the motion parameter evaluation can accurately evaluate the quality of the motion parameter and improve the numerical control machining quality evaluation effect.

[0085] Furthermore, while chromatograms can assess quality issues in CNC machining, they cannot pinpoint the specific location of the problem, the magnitude of the deviation, or its cause. To address this issue, this application correlates motion parameters with corresponding geometric features such as curvature, using different waveform curves to illustrate the relationship between motion and geometric features to identify the causes of quality problems. By displaying motion parameters and their relationship with geometric features through waveform curves, the quality of motion parameters and subtle quality differences are more intuitively demonstrated, improving the effectiveness of CNC machining quality assessment.

[0086] In addition, this application also supports combining quantitative evaluation indicators with chromatograms, which has the advantage of chromatogram display. That is, the cause of quality problems can be determined first in a macroscopic qualitative manner, and the area where quality problems occur can be located. Then, the range of interpolation points where problems occur can be accurately located through quantitative indicators and waveform diagrams.

[0087] Finally, this application can directly locate quality problems caused by motion parameters in CNC machining, greatly improving the efficiency of process debugging. In particular, it can analyze interpolation data generated by the virtual machining system, avoiding the time and material costs of actual machining.

[0088] To better understand the above technical solutions, exemplary embodiments of this disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of this disclosure to those skilled in the art.

[0089] like Figure 1 As shown, in the first embodiment of this application, the CNC machining performance analysis method is applied to a CNC machining performance analysis device. The CNC machining performance analysis device can be a computer, mobile phone, or other terminal device with CNC machining performance analysis capabilities. Furthermore, the CNC machining performance analysis device is equipped with a CNC machining performance analysis application, which enables the evaluation of CNC machining performance. Specifically, the CNC machining performance analysis method of this application includes the following steps:

[0090] Step S110: Display the CNC machining performance analysis interface, which includes at least a point information setting area, a horizontal point search component, an index calculation component, and an index output area.

[0091] In this embodiment, the CNC machining performance analysis interface of this application refers to... Figure 13 .

[0092] The point information setting area is used for setting point information, and the point information includes attribute information of a to-be-observed point and attribute information of a transverse point corresponding to the to-be-observed point. The attribute information of the to-be-observed point at least includes a to-be-observed point serial number, and the attribute information of the transverse point includes a transverse point distance, a transverse point quantity, and a transverse point angle. Specifically, the transverse point distance is a distance between transverse points. The transverse point quantity is a quantity of transverse points in a transverse direction of the to-be-observed point. The transverse direction of the to-be-observed point includes two directions, one is a direction in which the to-be-observed point is transversely forward, and the other is a direction in which the to-be-observed point is transversely backward. Therefore, the transverse point quantity can be a quantity of transverse points in the direction in which the to-be-observed point is transversely forward, or a quantity of transverse points in the direction in which the to-be-observed point is transversely backward, or a sum of a quantity of transverse points in the direction in which the to-be-observed point is transversely forward and a quantity of transverse points in the direction in which the to-be-observed point is transversely backward. Referring to Figure 7 Here, the "transverse direction" is generally a direction perpendicular to the feeding direction along the machining surface, or can be a direction at a preset angle with the perpendicular direction of the feeding direction The preset angle is 0° by default, that is, the selected "transverse direction" is the direction perpendicular to the feeding direction along the machining surface.

[0093] The transverse point searching component is used for searching the transverse point of the to-be-observed point. The searching of the transverse point of the to-be-observed point is triggered by the transverse point searching component.

[0094] The index calculating component is used for calculating a quantitative index of a motion parameter of the transverse point and the to-be-observed point. The index calculation is triggered by the index calculating component, and a statistical index is obtained.

[0095] The index output area is used for displaying the statistical index. The displayed statistical index is used for determining an evaluation result of the numerical control machining performance.

[0096] In this embodiment, when the numerical control machining performance analysis software is started, a numerical control machining performance analysis interface is displayed. The numerical control machining performance analysis is realized by the numerical control machining performance analysis interface and the underlying control logic.

[0097] In step S120, attribute information of the to-be-observed point and the transverse point is determined and displayed in response to a trigger operation on the point information setting area.

[0098] In the embodiment, the attribute information of the observation point and the transverse point can be directly displayed by performing a triggering operation on the point information setting area of the numerical control machining performance analysis interface. Alternatively, the interpolation point display interface can be displayed by performing a triggering operation on the point information setting area of the numerical control machining performance analysis interface. The interpolation point display interface displays each interpolation point. The attribute information of the observation point and the transverse point can be obtained by clicking the interpolation point corresponding to the interpolation point display interface. The attribute information of the observation point and the transverse point can be obtained in the same way. The attribute information of the transverse point can also be edited in response to an editing operation on the point information setting area, and the attribute information of the transverse point can be displayed. Thus, the attribute information of the observation point and the transverse point can be obtained. For details, refer to subsequent embodiments, which will not be described here.

[0099] In step S130, in response to a triggering operation on the transverse point search component, the attribute information of the observation point and the transverse point is determined and displayed according to the attribute information of the observation point and the transverse point.

[0100] In the embodiment, after the attribute information of the observation point and the attribute information of the transverse point are determined, the transverse search of the observation point is performed to obtain the transverse point corresponding to the observation point. The transverse search of the observation point is to search the transverse point in the transverse direction of the observation point. Each point is arranged based on a preset transverse distance, and each point has a corresponding transverse angle. The transverse search of the observation point provides data for subsequent numerical control machining quality analysis. Figure 15 In the embodiment, after the attribute information of the observation point and the attribute information of the transverse point are determined, the transverse search of the observation point is performed to obtain the transverse point corresponding to the observation point. The transverse search of the observation point is to search the transverse point in the transverse direction of the observation point. Each point is arranged based on a preset transverse distance, and each point has a corresponding transverse angle. The transverse search of the observation point provides data for subsequent numerical control machining quality analysis. Figure 15 The middle circle point in the embodiment is the observation point, and the other circle points are the transverse points of the observation point.

[0101] For details, refer to subsequent embodiments, which will not be described here.

[0102] In step S140, in response to a triggering operation on the index calculation component, the statistical index is determined according to the motion parameters of the observation point and the transverse point, and the statistical index is displayed in the index output area.

[0103] In the embodiment, after the transverse point is determined, the statistical index is calculated. The statistical index includes but is not limited to speed variance, acceleration variance, jerk variance, fluctuation size, maximum or minimum speed, maximum or minimum acceleration, maximum or minimum jerk variance, etc. When the statistical index is inconsistent with the preset statistical index, the position deviation of the transverse is also inconsistent, which leads to different material removal degrees of the transverse, and causes the processing surface to have poor indentation. When the deviation is large, the indentation is very obvious, which leads to the workpiece being scrapped. Therefore, the application measures the consistency of the motion parameters of the transverse point and the motion parameters of the observation point through the statistical index.

[0104] The specific implementation process is described in the subsequent embodiments, which will not be repeated here.

[0105] In step S150, the evaluation result of the numerical control machining performance is determined based on the statistical index.

[0106] In the embodiment, the evaluation result of the numerical control machining performance includes but is not limited to good machining quality and poor machining quality, and can also include the range of the interpolation point where the problem occurs and the cause of the problem of the interpolation point. Specifically, when the statistical index meets the condition, it indicates that the transverse consistency of the motion parameters is good, and the machining quality is good. When the statistical index does not meet the condition, it indicates that the transverse consistency of the motion parameters is poor, and the machining quality can be poor. At this time, the cause of the quality problem can be further identified by combining the relationship between the motion parameters and the geometric feature information. Thus, the specific positioning of the quality problem is realized, and the evaluation effect of the numerical control machining quality is improved.

[0107] According to the above technical solution, the embodiment provides a numerical control machining performance analysis application program. The numerical control machining performance analysis application program includes a numerical control performance analysis interface. Through the operation of the numerical control performance analysis interface, the attribute information of the observation point and the transverse point is determined first, and then the transverse point search is performed according to the attribute information of the observation point and the transverse point to determine the transverse point corresponding to the observation point. Then, the statistical index is determined according to the motion parameters of the transverse point and the observation point. Finally, the numerical control machining performance is evaluated according to the statistical index, and the evaluation result of the numerical control machining performance is obtained. The application can accurately evaluate the quality of the motion parameters by calculating the quantitative index of the motion parameters, improve the evaluation effect of the numerical control machining quality, and make the evaluation effect of the numerical control machining quality more accurate.

[0108] Optionally, the point attribute setting area further comprises a to-be-observed point attribute selection component, in response to a triggering operation on the point information setting area, determining and displaying attribute information of the to-be-observed point comprises: in response to a triggering operation on the to-be-observed point attribute selection component, displaying at least one point attribute selection item associated with the to-be-observed point attribute selection component; in response to a triggering operation on the point attribute selection item, determining and displaying attribute information of the to-be-observed point, wherein the attribute information of the to-be-observed point comprises a set point, a command point and a feedback point. In this way, different point attribute settings can be supported to meet different point attribute use requirements.

[0109] Further, with reference to Figure 2 , based on the first embodiment, in the second embodiment of the present application, the attribute information of the to-be-observed point comprises a to-be-observed point serial number, and the attribute information of the lateral point comprises a lateral point distance, a lateral point quantity and a lateral point angle. Specifically, step S130 comprises the following steps:

[0110] Step S131, in the lateral direction of the to-be-observed point, according to the to-be-observed point serial number, the lateral point distance, the lateral point quantity and the lateral point angle, a lateral point search is performed to determine whether the to-be-observed point has a corresponding lateral point.

[0111] In this embodiment, in response to a triggering operation on the lateral point search component, the position of the to-be-observed point is determined according to the to-be-observed point serial number. Then, in the lateral direction of the to-be-observed point, according to the position of the to-be-observed point, the lateral point distance, the lateral point quantity and the lateral point angle, a lateral point search is performed to determine whether the to-be-observed point has a corresponding lateral point. Different to-be-observed point serial numbers correspond to different to-be-observed point positions. The to-be-observed point and the lateral point of the to-be-observed point can be pre-stored in an interpolation point file. When a lateral point cannot be found in the lateral direction, it means that the lateral point is not stored in the interpolation point file. When a lateral point can be found in the lateral direction, it means that the lateral point is stored in the interpolation point file.

[0112] For example, in response to a triggering operation on the interpolation point display interface, the to-be-observed point serial number is determined; in response to an editing operation on the lateral point attribute information editing box, the lateral point distance, the lateral point quantity and the lateral point angle are determined; and in the lateral direction of the to-be-observed point position corresponding to the to-be-observed point serial number, a lateral point search is performed based on the lateral point distance, the lateral point quantity and the lateral point angle. When performing the lateral point search, the search can be performed simultaneously in the forward direction and the backward direction of the to-be-observed point, thereby improving the efficiency of the lateral point search. Taking a certain to-be-observed point as an example, the to-be-observed point For example, a set distance of lateral points in the forward and backward directions of the current point feeding direction or a set number of lateral points are scanned.

[0113] If yes, step S132 is performed to display the corresponding lateral point of the to-be-observed point in the lateral direction of the to-be-observed point in the interpolation point display interface.

[0114] If no, step S133 is performed to perform interpolation operation in the lateral direction of the to-be-observed point to obtain an interpolation lateral point, and display the corresponding interpolation lateral point of the to-be-observed point in the interpolation point display interface.

[0115] In this embodiment, during the search for the lateral point, since the interpolation points are spaced, it is possible that no interpolation point can be found in the lateral direction. In this case, the interpolation method is used to obtain the interpolation lateral point.

[0116] According to the technical solution described above, the attribute information of the to-be-observed point and the attribute information of the lateral point are used to search for the lateral point. When it is found that no lateral point exists during the search, interpolation operation is performed to obtain a complete set of lateral points, thereby providing data for subsequent numerical control machining quality analysis.

[0117] Optionally, referring to Figure 3 , step S133 includes the following steps:

[0118] Step S1331 obtains a first interpolation point and a second interpolation point from the feed direction of the to-be-observed point.

[0119] In this embodiment, during the search for the lateral point, since the interpolation points are spaced, it is possible that no interpolation point can be found in the lateral direction. In this case, the interpolation method is used to obtain the interpolation lateral point. When no interpolation point can be found in the lateral direction, the two interpolation points before and after the lateral position in the feed direction are selected. One of the two interpolation points before and after the lateral position is regarded as the first interpolation point, and the other is regarded as the second interpolation point. The position of the first interpolation point and the position of the second interpolation point are known, for example, the positions of the first interpolation point and the second interpolation point can be obtained by searching. The lateral position is actually the position of the interpolation lateral point, i.e., the lateral point to be obtained.

[0120] Step S1332 obtains a known lateral point from the lateral direction of the to-be-observed point.

[0121] In this embodiment, the position of the known lateral point can be obtained by searching or by interpolation operation. The position of the known lateral point can be the position of the previous lateral point, i.e., the position of the lateral point closest to the lateral position is regarded as the position of the known lateral point.

[0122] Step S1333, performing interpolation operation according to the position of the first interpolation point, the position of the second interpolation point and the position of the known lateral point, to obtain the interpolation lateral point, wherein the interpolation lateral point is located between the first interpolation point and the second interpolation point and is located in the same lateral direction as the known lateral point.

[0123] In the embodiment, taking Figure 7 for example, it is assumed that the position of the first interpolation point is , the position of the second interpolation point is , and the position of the known lateral point is , then the final interpolation lateral point P is obtained as follows:

[0124] .

[0125] wherein, θ is an angle between a line connecting the first interpolation point and the second interpolation point and a line connecting the first interpolation point and the known lateral point. , that is, an angle between a line connecting the first interpolation point and the second interpolation point and a line connecting the first interpolation point and the known lateral point. is a preset angle. As can be seen from Figure 7 , the interpolation lateral point is located between the position of the first interpolation point and the position of the second interpolation point and is located in the same lateral direction as the known lateral point.

[0126] According to the above technical solution, when a lateral point of a to-be-observed point cannot be searched, an interpolation operation is performed to obtain the lateral point, so that a complete set of lateral points is obtained, thereby providing data for subsequent numerical control machining quality analysis.

[0127] Optionally, before step S140 or after step S1333, the following steps are further included:

[0128] Step S210, acquiring a motion parameter of the first interpolation point and a motion parameter of the second interpolation point.

[0129] In the embodiment, the interpolation lateral point does not belong to a Trace data file, and therefore the interpolation lateral point does not include a motion parameter, which needs to be calculated according to the motion parameters of the front and rear interpolation points. The motion parameters of the two front and rear interpolation points closest to the interpolation lateral point in the feed direction are selected. In the application, one of the front and rear interpolation points is regarded as the first interpolation point, and the other is regarded as the second interpolation point. The motion parameter of the first interpolation point and the motion parameter of the second interpolation point are known.

[0130] Step S220, performing interpolation operation according to the motion parameter of the first interpolation point, the motion parameter of the second interpolation point, the position of the first interpolation point, the position of the second interpolation point and the position of the known lateral point, to obtain a motion parameter of the interpolation lateral point.

[0131] In the embodiment, it is assumed that the position of the first interpolation point is , the second interpolation point position is , the known lateral point position is , the motion parameter of the first interpolation point is , the motion parameter of the second interpolation point is , wherein the motion parameter includes velocity, acceleration and jerk. Then,

[0132] The velocity of the interpolation lateral point is calculated as:

[0133] .

[0134] The acceleration of the interpolation lateral point is calculated as:

[0135] .

[0136] The jerk of the interpolation lateral point is calculated as:

[0137] .

[0138] , wherein is the included angle between the line connecting the first interpolation point and the second interpolation point and the line connecting the first interpolation point and the known lateral point. is a preset angle. As can be seen from Figure 7 , the interpolation lateral point is located between the first interpolation point position and the second interpolation point position, and is located in the same lateral direction as the known lateral point.

[0139] After determining the motion parameter of the interpolation lateral point and the position of the interpolation lateral point, in response to a triggering operation of the index calculation component, a statistical index is determined according to the motion parameter of the to-be-observed point and the motion parameter of the interpolation lateral point, and the statistical index is displayed in the index output area; based on the statistical index, an evaluation result of the numerical control machining performance is determined.

[0140] According to the technical solution described above, the motion parameter of the interpolation lateral point is interpolated to obtain the motion parameter of the complete lateral point set, which provides data for subsequent numerical control machining quality analysis. The quality problems caused by the motion parameter in numerical control machining can be directly located, which greatly improves the process debugging efficiency, especially when the interpolation data generated based on the virtual machining system is analyzed, the time cost and material cost caused by actual machining are avoided.

[0141] Further, based on the first embodiment or the second embodiment, in the third embodiment of the present application, step S140 includes the following steps:

[0142] Step S141, determining the mean value of the motion parameter according to the motion parameter of the to-be-observed point and the lateral point.

[0143] In the embodiment, the mean value of the motion parameter includes the mean value of the velocity, the mean value of the acceleration and the mean value of the jerk. The statistical index is calculated on each lateral point set as a measure of the consistency of the motion parameter (velocity, acceleration and jerk). The method of measuring the consistency of the motion parameter and the visual presentation are illustrated by taking the lateral point set generated by a certain interpolation point as an example. Among them:

[0144] The mean value of the velocity is calculated as follows: ;

[0145] The mean value of the acceleration is calculated as follows: ;

[0146] The mean value of the jerk is calculated as follows: .

[0147] Step S142, calculating the variance of the motion parameter according to the mean value of the motion parameter, and determining the variance of the motion parameter as the statistical index.

[0148] In the embodiment, the variance of the velocity is calculated according to the mean value of the velocity, the variance of the acceleration is calculated according to the mean value of the acceleration and the variance of the jerk is calculated according to the mean value of the jerk. The variance of the velocity, the variance of the acceleration and the variance of the jerk are determined as the statistical index. Among them,

[0149] The variance of the velocity is calculated as follows: ;

[0150] The variance of the acceleration is calculated as follows: ;

[0151] The variance of the jerk is calculated as follows: .

[0152] In the embodiment, when the statistical index is inconsistent with the preset statistical index, the position deviation of the lateral is also inconsistent, resulting in different material removal degree of the lateral, causing the appearance of the processing surface to have undesirable indentation. When the deviation is large, the indentation is very obvious, resulting in the workpiece being scrapped. Therefore, the present application measures the consistency of the motion parameter of the lateral point and the motion parameter of the to-be-observed point by the statistical index. The quality of the motion parameter is accurately evaluated by calculating the quantitative index of the motion parameter, and then the quality of the processing quality is determined.

[0153] Further, with reference to Figure 4 , based on any of the first embodiment to the third embodiment, in the fourth embodiment of the present application, step S150 includes the following steps:

[0154] Step S151, determining that the numerical control processing performance is good when the statistical index is less than the preset index.

[0155] In the embodiment, the transverse consistency of the motion parameters can be evaluated by the variance of the motion parameters, and when the variance of the motion parameters is greater than or equal to the preset index, it is considered that the transverse consistency of the motion parameters is good, and in this case, other indexes do not need to be evaluated, wherein the preset index is a preset index, and the preset index is input by a user through a man-machine interface. The preset index can be a preset speed variance, a preset acceleration variance or a preset jerk variance. The preset index can be one of a speed variance, an acceleration variance and a jerk variance, and when the preset index is the speed variance, The preset speed variance is a preset speed variance; when the preset index is the acceleration variance, The preset acceleration variance is a preset acceleration variance; when the preset index is the jerk variance, The preset jerk variance is a preset jerk variance.

[0156] In step S152, when the statistical index is greater than or equal to the preset index, a correlation coefficient between the motion and the geometric feature information is determined according to the geometric feature information of the to-be-observed point and the transverse point, the maximum speed, the maximum acceleration allowed in the numerical control machining process and the motion parameters, and when the correlation coefficient between the motion and the geometric feature information is greater than a preset coefficient, it is determined that the numerical control machining performance is good.

[0157] In the embodiment, when the statistical index is greater than or equal to the preset index, it indicates that the transverse consistency of the motion parameters is not good. When the transverse consistency of the motion parameters is not good, the correlation coefficient between the motion and the geometric feature information is further evaluated.

[0158] The geometric feature information of the to-be-observed point and the transverse point includes curvature or torsion. In numerical control machining, especially in surface machining, the geometric feature information is generally a key factor for limiting the feed speed. For example, the area with low curvature and torsion has high feed speed, and the area with high curvature and torsion has low feed speed. Therefore, the correlation coefficient between the motion and the geometric feature information can be a correlation coefficient between the speed and the geometric feature information, and specifically, can be a correlation coefficient between the speed and the curvature, or a correlation coefficient between the speed and the torsion.

[0159] The geometric feature information is calculated along the feed direction of each transverse point, that is, the front and rear adjacent interpolation points are selected to participate in the calculation. For curvature, three-point arc method, curvature formula method, curvature definition method, local fitting method and the like can be used for calculation; for torsion, torsion formula method, local fitting method and the like can be used for calculation.

[0160] The maximum speed and the maximum acceleration allowed in the numerical control machining process can be determined by a user through a man-machine interface.

[0161] ​​​​In the embodiment, when the correlation coefficient of the speed and the curvature is greater than a preset coefficient, or the correlation coefficient of the speed and the torsion is greater than a preset coefficient, it is considered that the correlation between the motion parameters and the geometric features is good. The preset coefficient can be set according to actual conditions, input by a user through a man-machine interface, and the application can be set to 1. That is, when the correlation coefficient of the speed and the curvature, or the correlation coefficient of the speed and the torsion is closer to 1, it is considered that the correlation between the motion parameters and the geometric features is good.

[0162] In other embodiments, the correlation coefficient between the motion and the geometric feature information can also be a correlation coefficient between acceleration and geometric feature information, or a correlation coefficient between jerk and geometric feature information. The geometric feature information includes curvature or torsion.

[0163] According to the technical scheme, the speed, acceleration and jerk of each position point are scanned to generate relevant mathematical statistical indexes to judge the consistency. Meanwhile, the speed, acceleration and jerk are associated with the geometric features such as curvature of the corresponding position, and the quality problem reason can be identified through the relationship between the motion and the geometric features.

[0164] Optionally, step S152 includes the following steps:

[0165] Step S1521, determining an equivalent value of the geometric feature information according to the geometric feature information, the maximum speed and the maximum acceleration;

[0166] Step S1522, determining a covariance between the geometric feature information and the motion parameters according to the equivalent value and the motion parameters;

[0167] Step S1523, determining a variance of the motion parameters and a variance of the equivalent value;

[0168] Step S1524, determining a correlation coefficient between the motion and the geometric feature information according to the variance of the motion parameters, the variance of the equivalent value, and the covariance between the geometric feature information and the motion parameters.

[0169] In the embodiment, the geometric feature information includes curvature or torsion. Assuming that the maximum speed allowed in numerical control machining is Vmax, and the maximum acceleration is Amax. Taking the speed as the motion parameter, the curvature is further calculated as a curvature equivalent value:

[0170] .

[0171] The torsion is further calculated as a torsion equivalent value:

[0172] .

[0173] Calculation speed Equivalent value of curvature The correlation coefficient between them is:

[0174] .

[0175] in, for and covariance, for variance for The variance.

[0176] Similarly, calculation speed Equivalent value to torsion The correlation coefficient between them is:

[0177] .

[0178] in, for and covariance, for variance for The variance.

[0179] Based on the above technical solution, this embodiment discloses a specific calculation method for the correlation coefficient between motion and geometric feature information, which associates motion with geometric features such as curvature or torsion at the corresponding position, and can identify the cause of quality problems through the relationship between motion and geometric features.

[0180] Furthermore, based on any of the above embodiments, in the fifth embodiment of this application, the CNC machining performance analysis interface further includes a curve generation component, and the CNC machining performance analysis method of this application further includes the following steps:

[0181] Step S310: In response to a trigger operation on the curve generation component, generate and display a motion parameter curve based on the motion parameters of the observation point and the lateral point.

[0182] Step S320: Based on the motion parameter curve, analyze and determine the evaluation results of CNC machining performance.

[0183] In the embodiment, in addition to judging the quality of the motion parameters by the quantitative statistical index, the motion parameters can be visually displayed in the form of waveform curve. The speed curve, acceleration curve and jerk curve on the lateral consistent point set are displayed by the waveform curve, wherein the abscissa is the lateral point subscript value and the ordinate is the motion parameter value, so that the consistency of the motion parameters can be clearly qualitatively judged. The curve of the speed of the lateral consistent point and the geometric feature equivalent value is displayed by the waveform curve, wherein the abscissa is the geometric feature equivalent value and the ordinate is the speed value, so that the correlation between the motion parameters and the geometric feature equivalent value can be clearly qualitatively judged. Moreover, the interpolation point or the interpolation point with large fluctuation can be clearly found on the waveform curve, so that the quality problem reason can be accurately positioned. The generated motion parameter curve is as shown in FIG. 8. Figures 9-11

[0184] According to the technical scheme, compared with the existing chromatogram method, the motion parameters and the relationship with the geometric feature are displayed by the waveform curve, so that the motion parameter quality and the subtle quality difference are more intuitively displayed.

[0185] Further, based on any of the above embodiments, in the sixth embodiment of the present application, the numerical control machining performance analysis interface further includes a chromatogram generation component, and the numerical control machining performance analysis method of the present application further includes the following steps:

[0186] In step S410, in response to the triggering operation of the chromatogram generation component, the chromatogram is generated and displayed according to the motion parameters of the observation point and the lateral point.

[0187] In step S420, the evaluation result of the numerical control machining performance is analyzed and determined based on the chromatogram.

[0188] In the embodiment, in addition to using the numerical value and the waveform chart to display the motion parameter consistency quantitative index, the quantitative index can also be embodied by the color of the chromatogram, so that the intuitive visual effect can be achieved. The chromatogram is used to evaluate the set (or actual) speed, acceleration and jerk, that is, different colors are used to describe the size of the speed, acceleration or jerk at the corresponding position in the machining workpiece diagram. By judging the color consistency of the chromatogram, when the color is highly consistent or changes uniformly, it indicates that the speed, acceleration and jerk are good and no corresponding machining quality problem will be caused. When the color consistency is poor or changes unevenly, it indicates that the speed, acceleration and jerk are not good and the corresponding machining quality problem can be caused.

[0189] ​In other embodiments, the quantitative comprehensive evaluation index is also combined with the chromatogram, which has the advantages of the chromatogram display, i.e., the quality problem reason can be qualitatively judged macroscopically to locate the area where the quality problem occurs, and then the quantitative comprehensive evaluation index and the waveform graph are used to accurately locate the interpolation point range where the problem occurs, thereby improving the accuracy of the numerical control machining performance evaluation.

[0190] Further, based on the first embodiment, in the seventh embodiment of the present application, the step S120 comprises the following steps:

[0191] In step S121, in response to a trigger operation of the to-be-observed point selection component, an interpolation point display interface is displayed.

[0192] In step S122, in response to a trigger operation of the interpolation point display interface, a to-be-observed point is determined, and attribute information of the to-be-observed point is displayed in the to-be-observed point attribute information display box.

[0193] In step S123, in response to an editing operation of the transverse point attribute information editing box, attribute information of the transverse point is displayed.

[0194] In the embodiment, the point information setting area at least comprises a to-be-observed point selection component, a to-be-observed point attribute information display box, and at least one transverse point attribute information editing box.

[0195] In the embodiment, referring to Figure 13 , a trigger operation is performed on the to-be-observed point selection component of the numerical control machining performance analysis interface to jump to display the interpolation point display interface. The interpolation point display interface displays each interpolation point. By clicking the interpolation point corresponding to the interpolation point display interface, the clicked interpolation point is the to-be-observed point. Attribute information associated with the to-be-observed point is obtained, and the attribute information of the to-be-observed point is displayed in the to-be-observed point attribute information display box. In the same way as the attribute information of the to-be-observed point is obtained, the attribute information of the transverse point can also be obtained in the same way. In response to an editing operation of the transverse point attribute information editing box, the attribute information of the transverse point can be edited, and then the attribute information of the transverse point is determined and displayed.

[0196] The above technical solution of the embodiment improves the efficiency of obtaining the attribute information of the to-be-observed point and the transverse point, and the corresponding to-be-observed point can be selected through human-computer interaction, and the to-be-observed point is analyzed, so that the interaction process is more flexible.

[0197] Optionally, before step S121, the following step is further included:

[0198] Step S510, in response to the trigger operation of the interpolation point file import interface, an interpolation point file is obtained, the interpolation point file including each interpolation point passed by the numerical control machine tool during interpolation motion along the feed direction.

[0199] In the embodiment, the numerical control machining performance analysis application further includes an interpolation point file import interface. By performing a trigger operation on the interpolation point file import interface, a corresponding interpolation point file is obtained, and the numerical control machining quality of the current numerical control system can be verified based on the interpolation point file.

[0200] Specifically, a numerical control machining Trace data file (i.e., an interpolation point file) is obtained, and the Trace file saves motion parameters at each interpolation point or actual position. Taking the set motion parameters at the interpolation point as an example, the actual motion parameters at the actual position are the same. The set motion parameters of the interpolation point saved in the Trace file are as follows: wherein (X, Y, Z) represents the position of the interpolation point, (V, A, J) represents the motion parameters at the interpolation point, and V, A, and J represent the velocity, acceleration, and jerk, respectively, and subscript i represents the interpolation point serial number.

[0201] Generally, the numerical control system generates an interpolation point according to a time interval, for example, 1 ms. Therefore, the Trace file of a complete workpiece may include millions or tens of millions of interpolation points, and the interpolation point serial number represented by subscript i ranges from 1 to the number of all interpolation points. When the Trace file does not include the motion parameters, i.e., (V, A, J), the motion parameters can also be calculated by difference. The forward difference, backward difference, or weighted average of the forward difference and backward difference can be used for calculation.

[0202] Step S520, the interpolation point file is parsed to obtain attribute information and arrangement information of the interpolation points.

[0203] Step S530, the interpolation point display interface is obtained by rendering based on the attribute information and arrangement information of the interpolation points.

[0204] In the embodiment, the interpolation point file includes each interpolation point passed by the numerical control machine tool during interpolation motion along the feed direction, and the attribute information of the interpolation points and the arrangement information of each interpolation point can be obtained through the interpolation point file. The interpolation point display interface finally obtained by rendering is shown in FIG. 8. Figure 14

[0205] The method of the application is described by taking the numerical control machining Trace file of a face workpiece as an example. The finally generated face image is shown in FIG. 9. Figure 16 .

[0206] ​Figure 8 The Trace file format is shown, in which SSetPos[0-2] respectively represent the set positions of X, Y, and Z axes, CommandedMachinePosCorr[0-2] respectively represent the commanded positions of X, Y, and Z axes, SActMachinePos[0-2] respectively represent the actual positions of X, Y, and Z axes, and each row of data represents an interpolation point with a sampling time of 2 ms. Without loss of generality, the method for evaluating the quality of the set motion parameters and the positioning quality reasons are illustrated by taking the set position as an example.

[0207] Step 1: Read the Trace data and calculate the set motion parameters. Interpolation point data is read row by row from the Trace file, and the set position data point set is , and the number of interpolation points in the file is N = 660265, so the range of subscript i is [1, N]. The motion parameters are calculated by using forward difference. Since the interpolation points are equally sampled with a period Ts = 2 ms, the set velocity is calculated as

[0208] .

[0209] , wherein .

[0210] The acceleration and jerk are calculated as

[0211] .

[0212] .

[0213] Step 2: Calculate the transverse consistency index of each interpolation point, that is, the statistical index. The transverse direction is selected to be perpendicular to the feed direction, that is, .

[0214] Step 2.1, select the point to be observed, take the point with point number i = 316672 as an example, interpolate the 5 horizontal points forward and backward to form the horizontal point set: {(2.7284, 3.6192, -1.8596), (2.6856, 3.6610, -1.8391), (2.6418, 3.7021, -1.8188), (2.6031, 3.7482, -1.7998), (2.5473, 3.7773, -1.7787), (2.5051, 3.8196, -1.7604), (2.4597, 3.8592, -1.7423), (2.4114, 3.8958, -1.7237), (2.3646, 3.9339, -1.7067), (2.3187, 3.9727, -1.6899), (2.2682, 4.0070, -1.6732)} in mm;

[0215] Step 2.2, calculate the motion parameters of the interpolated horizontal points. Use the difference method to calculate, set the velocity information sequence as: {1999.8094, 1999.8208, 1999.8203, 1999.7837, 1999.7931, 1999.8117, 1999.8356, 1999.7654, 1999.7600, 1999.8405, 1999.8144} in mm / min; Set the acceleration information sequence as: {0.0946, 0.0944, 0.0834, 0.1028, 0.0945, 0.0936, 0.0892, 0.1069, 0.1006, 0.0920, 0.0985} in mm / s2; Set the jerk information sequence as: {3.7643, 3.5650, 5.1239, 1.3970, 4.8143, 1.6948, 2.6306, 3.1187, 5.4251, 2.9880, 2.8822} in mm / s3.

[0216] Step 3, calculate the geometric feature information at each horizontal point. Not generally, take the curvature information as an example, the curvature information sequence calculated by the set position is: {0.0844, 0.0826, 0.0839, 0.0888, 0.0914, 0.0867, 0.0825, 0.0907, 0.0947, 0.0853, 0.0864} in mm-1.

[0217] Step 4, calculate the statistical indicators on the transverse point set as the motion parameters (velocity, acceleration and jerk) consistency of the measurement indicators, and can be visualized by waveform curve and other ways to show.

[0218] Step 4.1, statistical indicators of motion parameters calculation. Calculate the mean of velocity, acceleration and jerk: , , ;

[0219] Calculate the variance of velocity, acceleration and jerk: , , .

[0220] Step 4.2, motion and geometric feature information correlation coefficient calculation. Assuming the maximum speed allowed in NC machining is Vmax=2000mm / min, the maximum centripetal acceleration is Amax=1000mm / s2, the curvature is further calculated as the equivalent numerical sequence is: {2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000}, unit: mm / min.

[0221] Calculate the correlation coefficient between the velocity and the curvature equivalent value : .

[0222] Step 4.3, motion parameter consistency evaluation. In NC machining, especially in surface machining, geometric features are generally the key factors that limit the feed rate, such as low curvature and torsion area with high feed rate, high curvature and torsion area with low feed rate. The transverse consistency of motion parameters can be evaluated by the variance of motion parameters, when , it is considered that the transverse consistency of motion parameters is good, at this time, there is no need to evaluate other indicators, where is the preset index, input by the user through the man-machine interface, here the square of 0.1% of the average value of motion parameters is used as the preset index, then the velocity variance threshold is , the acceleration variance threshold is , and the jerk variance threshold is . From the values calculated in step 4.2, , , , therefore the consistency of velocity is good, while the consistency of acceleration and jerk is poor. At this time, further judge the correlation coefficient, from the calculation results of step 4.2, , therefore the correlation between velocity and curvature is very good. In summary, the motion parameter quality of this transverse point set is good.

[0223] In the fourth step 4.4, in addition to judging the quality of the motion parameters by the quantitative statistical indicators, the motion parameters can be visually displayed in the form of waveform curves. The speed curve, the acceleration curve and the jerk curve on the lateral consistent point set are displayed by the waveform curves, wherein the abscissa is the index value of the lateral point and the ordinate is the value of the motion parameter, so that the consistency of the motion parameters can be clearly qualitatively judged, such as Figures 9-11 The curve of the lateral speed and the equivalent value of the geometric feature is displayed by the waveform curves, wherein the abscissa is the equivalent value of the geometric feature and the ordinate is the speed value, so that the correlation between the motion parameters and the equivalent value of the geometric feature can be clearly qualitatively judged, such as Figure 12 Moreover, the interpolation points or the interpolation points with large fluctuations can be clearly found on the waveform curves, so that the quality problem can be accurately located.

[0224] The embodiments of the numerical control machining performance analysis method are provided, and it should be noted that although the logical sequence is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown.

[0225] As shown in Figure 5 The numerical control machining performance analysis system provided by the present application comprises:

[0226] The display module 10 is configured to display a numerical control machining performance analysis interface, wherein the numerical control machining performance analysis interface comprises at least a point information setting area, a lateral point search component, an index calculation component and an index output area.

[0227] The first response module 20 is configured to determine and display attribute information of an observation point and a lateral point in response to a triggering operation on the point information setting area.

[0228] The second response module 30 is configured to determine and display a lateral point corresponding to the observation point according to the attribute information of the observation point and the lateral point in response to a triggering operation on the lateral point search component.

[0229] The third response module is configured to determine a statistical indicator according to the motion parameters of the observation point and the lateral point and display the statistical indicator in the index output area in response to a triggering operation on the index calculation component.

[0230] The evaluation result determination module is configured to determine an evaluation result of the numerical control machining performance based on the statistical indicator.

[0231] The specific implementation of the numerical control machining performance analysis system is basically the same as that of the above-mentioned embodiments of the numerical control machining performance analysis method, and will not be described here.

[0232] AsFigure 6 As shown in the figure, Figure 6 A structural diagram of a hardware operating environment of a numerical control machining performance analysis device according to an embodiment of the present application is shown. The numerical control machining performance analysis device can include a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 can include a display screen and an input unit such as a keyboard. The optional user interface 1003 can also include a standard wired interface and a wireless interface. The network interface 1004 can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory or a stable memory such as a disk memory. The memory 1005 can also be an independent storage device from the aforementioned processor 1001.

[0233] Those skilled in the art can understand that, Figure 6 The structure of the numerical control machining performance analysis device shown in the figure does not constitute a limitation on the numerical control machining performance analysis device, and can include more or fewer components than shown, or combine certain components, or different component arrangements.

[0234] As Figure 6 shown, the memory 1005 as a storage medium can include an operating system, a network communication module, a user interface module, and a numerical control machining performance analysis program. The operating system is a program that manages and controls the hardware and application resources of the numerical control machining performance analysis device, and the numerical control machining performance analysis program and other application programs or programs run.

[0235] In Figure 6 the numerical control machining performance analysis device shown in the figure, the user interface 1003 is mainly used to connect a terminal and communicate data with the terminal; the network interface 1004 is mainly used for a background server and communicates data with the background server; and the processor 1001 can be used to call the numerical control machining performance analysis program stored in the memory 1005.

[0236] In this embodiment, the numerical control machining performance analysis device includes a memory 1005, a processor 1001, and a numerical control machining performance analysis program stored in the memory and executable on the processor, wherein:

[0237] When the processor 1001 calls the numerical control machining performance analysis program stored in the memory 1005, the following operations are performed:

[0238] Display a numerical control machining performance analysis interface, the numerical control machining performance analysis interface including at least a point information setting area, a horizontal point search component, an index calculation component, and an index output area;

[0239] in response to a trigger operation for setting a region of the point information, attribute information of the observation point and the lateral point is determined and displayed;

[0240] in response to a trigger operation for the lateral point search component, according to the attribute information of the observation point and the lateral point, the lateral point corresponding to the observation point is determined and displayed;

[0241] in response to a trigger operation for the index calculation component, according to the motion parameters of the observation point and the lateral point, a statistical index is determined, and the statistical index is displayed on the index output region;

[0242] based on the statistical index, an evaluation result of the numerical control machining performance is determined.

[0243] Based on the same inventive concept, the embodiments of the present application also provide a computer readable storage medium, which stores a numerical control machining performance analysis program, the numerical control machining performance analysis program is executed by a processor to realize each step of the numerical control machining performance analysis method, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0244] Since the storage medium provided by the embodiments of the present application is the storage medium used for implementing the method of the embodiments of the present application, the specific structure and modification of the storage medium can be understood by those skilled in the art based on the method introduced in the embodiments of the present application, and therefore will not be described here. Any storage medium used by the method of the embodiments of the present application belongs to the scope of the present application.

[0245] It should be noted that in this paper, the term "include", "contain" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or system. Without more limitations, the element defined by the sentence "includes a…" does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0246] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0247] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of application programs and necessary general hardware platforms, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application essentially or in other words, the part that contributes to the prior art can be embodied in the form of an application program product, which is stored in a storage medium (such as ROM / RAM, magnetic disc, optical disc) as described above, and includes a number of operations to enable an end device (which can be a mobile phone, computer, server, television, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0248] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent flow transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied to other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for analyzing the performance of CNC machining, characterized in that, The CNC machining performance analysis method includes: The CNC machining performance analysis interface includes at least a point information setting area, a horizontal point search component, an index calculation component, and an index output area. In response to a trigger operation that sets an area for the point information, the attribute information of the point to be observed and the horizontal point is determined and displayed. The attribute information of the point to be observed includes the point number, and the attribute information of the horizontal point includes the horizontal point distance, the number of horizontal points, and the horizontal point angle. In response to a trigger operation on the lateral point search component, a lateral point search is performed in the lateral direction of the point to be observed, based on the point to be observed number, the lateral point distance, the number of lateral points, and the lateral point angle, to obtain the lateral point corresponding to the point to be observed. The lateral point is a point obtained by searching in the lateral direction of the point to be observed, and the lateral direction is a direction that forms a preset angle with the direction perpendicular to the feed direction. In response to a trigger operation on the indicator calculation component, a statistical indicator is determined based on the motion parameters of the observation point and the lateral point, and the statistical indicator is displayed in the indicator output area. Based on the aforementioned statistical indicators, the evaluation results of CNC machining performance are determined.

2. The CNC machining performance analysis method as described in claim 1, characterized in that, In the horizontal direction of the point to be observed, a horizontal point search is performed based on the point to be observed number, the horizontal point distance, the number of horizontal points, and the horizontal point angle to obtain the horizontal points corresponding to the point to be observed, including: In the horizontal direction of the point to be observed, a horizontal point search is performed based on the point to be observed number, the horizontal point distance, the number of horizontal points, and the horizontal point angle to determine whether there is a corresponding horizontal point for the point to be observed. If it exists, display the horizontal point corresponding to the point to be observed on the interpolation point display interface; If it does not exist, an interpolation operation is performed in the horizontal direction of the point to be observed to obtain an interpolated horizontal point, and the interpolated horizontal point corresponding to the point to be observed is displayed in the interpolation point display interface.

3. The CNC machining performance analysis method as described in claim 2, characterized in that, The step of performing interpolation in the lateral direction of the observation point to obtain the interpolated lateral point includes: Obtain the first interpolation point and the second interpolation point from the feed direction of the point to be observed; Obtain known lateral points from the lateral direction of the point to be observed; Interpolation is performed based on the positions of the first interpolation point, the second interpolation point, and the known horizontal point to obtain the interpolated horizontal point, wherein the interpolated horizontal point is located between the first interpolation point and the second interpolation point, and is located in the same horizontal direction as the known horizontal point.

4. The CNC machining performance analysis method as described in claim 3, characterized in that, The CNC machining performance analysis method further includes: Obtain the motion parameters of the first interpolation point and the motion parameters of the second interpolation point; Based on the motion parameters of the first interpolation point, the motion parameters of the second interpolation point, the position of the first interpolation point, the position of the second interpolation point, and the position of the known lateral point, interpolation calculation is performed to obtain the motion parameters of the interpolated lateral point; The step of determining a statistical indicator based on the motion parameters of the observation point and the lateral point, and displaying the statistical indicator in the indicator output area in response to a trigger operation on the indicator calculation component, includes: In response to a trigger operation on the indicator calculation component, a statistical indicator is determined based on the motion parameters of the observation point and the motion parameters of the interpolation lateral point, and the statistical indicator is displayed in the indicator output area.

5. The CNC machining performance analysis method as described in claim 1, characterized in that, The step of determining the statistical index based on the motion parameters of the observation point and the lateral point includes: Determine the mean value of the motion parameters based on the motion parameters of the observed point and the lateral point; The variance of the motion parameters is calculated based on the mean of the motion parameters, and the variance of the motion parameters is determined as the statistical index.

6. The CNC machining performance analysis method as described in claim 1, characterized in that, The steps for determining the evaluation results of CNC machining performance based on the statistical indicators include: When the statistical index is less than the preset index, the CNC machining performance is determined to be good. When the statistical index is greater than or equal to the preset index, the correlation coefficient between motion and geometric feature information is determined based on the geometric feature information of the observation point and the lateral point, the maximum speed and maximum acceleration allowed in the CNC machining process, and the motion parameters. When the correlation coefficient between motion and geometric feature information is greater than the preset coefficient, the CNC machining performance is determined to be good.

7. The CNC machining performance analysis method as described in claim 6, characterized in that, The step of determining the correlation coefficient between motion and geometric feature information based on the geometric feature information of the observation point and the transverse point, the maximum speed and maximum acceleration allowed in the CNC machining process, and the motion parameters includes: Based on the geometric feature information, the maximum velocity, and the maximum acceleration, determine the equivalent value of the geometric feature information; Based on the equivalent numerical values ​​and the motion parameters, determine the covariance between the geometric feature information and the motion parameters; Determine the variance of the motion parameters and the variance of the equivalent values; The correlation coefficient between the motion and geometric feature information is determined based on the variance of the motion parameters, the variance of the equivalent values, and the covariance between the geometric feature information and the motion parameters.

8. The CNC machining performance analysis method as described in claim 6, characterized in that, The geometric feature information includes curvature or torsion.

9. The CNC machining performance analysis method as described in claim 1, characterized in that, The CNC machining performance analysis interface also includes a curve generation component, and the CNC machining performance analysis method further includes: In response to a trigger operation on the curve generation component, a motion parameter curve is generated and displayed based on the motion parameters of the observation point and the lateral point. Based on the motion parameter curves, the evaluation results of CNC machining performance are analyzed and determined.

10. The CNC machining performance analysis method as described in claim 1, characterized in that, The CNC machining performance analysis interface also includes a chromatogram generation component, and the CNC machining performance analysis method further includes: In response to a trigger operation on the chromatogram generation component, a chromatogram is generated and displayed based on the motion parameters of the observation point and the transverse point; Based on the chromatogram, the evaluation results of CNC machining performance were determined through analysis.

11. The CNC machining performance analysis method according to any one of claims 1-10, characterized in that, The motion parameters include at least one of velocity, acceleration, and jerk.

12. The CNC machining performance analysis method as described in claim 1, characterized in that, The point information setting area includes at least a point selection component, a point attribute information display box, and at least one horizontal point attribute information editing box. The step of determining and displaying the attribute information of the point to be observed and the horizontal points in response to a trigger operation on the point information setting area includes: In response to a trigger operation that selects a component for the observed point, the interpolation point display interface is displayed; In response to a trigger operation on the interpolation point display interface, the point to be observed is determined, and the attribute information of the point to be observed is displayed in the attribute information display box of the point to be observed. When an editing operation is performed on the horizontal point attribute information edit box, the attribute information of the horizontal point is displayed.

13. The CNC machining performance analysis method as described in claim 12, characterized in that, Before the step of displaying the interpolation point display interface in response to a trigger operation on the component selected for the observation point, the method further includes: In response to a trigger operation on the interpolation point file import interface, the interpolation point file is obtained, which includes each interpolation point traversed by the CNC machine tool when performing interpolation motion along the feed direction; The interpolation point file is parsed to obtain the attribute information and arrangement information of the interpolation points; The interpolation points are rendered based on their attribute and arrangement information to obtain the interpolation point display interface.

14. A CNC machining performance analysis system, characterized in that, The CNC machining performance analysis system includes: The display module is used to display the CNC machining performance analysis interface, which includes at least a point information setting area, a horizontal point search component, an index calculation component, and an index output area. The first response module is used to respond to the trigger operation for the point information setting area, determine and display the attribute information of the point to be observed and the horizontal point, the attribute information of the point to be observed includes the point number, and the attribute information of the horizontal point includes the horizontal point distance, the number of horizontal points and the horizontal point angle. The second response module is used to respond to the trigger operation of the horizontal point search component, and to perform a horizontal point search in the horizontal direction of the point to be observed according to the index of the point to be observed, the horizontal point distance, the number of horizontal points and the horizontal point angle to obtain the horizontal point corresponding to the point to be observed. The horizontal point is the point obtained by searching in the horizontal direction of the point to be observed, and the horizontal direction is the direction that forms a preset angle with the direction perpendicular to the feed direction. The third response module is used to determine statistical indicators based on the motion parameters of the observation point and the horizontal point in response to a trigger operation on the indicator calculation component, and to display the statistical indicators in the indicator output area. The evaluation result determination module is used to determine the evaluation result of CNC machining performance based on the statistical indicators.

15. A CNC machining performance analysis device, characterized in that, The CNC machining performance analysis device includes: a memory, a processor, and a CNC machining performance analysis program stored in the memory and running on the processor. When the CNC machining performance analysis program is executed by the processor, it implements the steps of the CNC machining performance analysis method as described in any one of claims 1-13.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a CNC machining performance analysis program, which, when executed by a processor, implements the steps of the CNC machining performance analysis method according to any one of claims 1-13.

Citation Information

Patent Citations

  • On-line estimating method for workpiece processing quality of numerical control machine based on position information

    CN102368156A

  • Process method for evaluating trajectory quality of numerical control machining three-axis tool

    CN104678891A