Search

CN-121981965-A - Over-cut anomaly detection method and device based on area intersection analysis

CN121981965ACN 121981965 ACN121981965 ACN 121981965ACN-121981965-A

Abstract

The invention discloses an over-cut anomaly detection method and device based on area intersection analysis, and relates to the field of design processing or other related fields, wherein the method comprises the steps of obtaining design data of a part, and analyzing the design data to obtain geometric information; the method comprises the steps of extracting contour lines from geometric information, constructing a contour area based on the contour lines, extracting track data from the geometric information, constructing a track area based on the track data, identifying an intersection of the contour area and the track area by adopting a separation theorem, determining that the part is over-cut abnormal under the condition that the intersection exists between the contour area and the track area, and obtaining the over-cut area based on the intersection. The method solves the technical problem of lower detection precision in the related art in a mode of detecting the over-cut abnormality based on discrete point distance calculation.

Inventors

  • SUN XIAOLEI
  • LI LONG

Assignees

  • 北京数码大方科技股份有限公司

Dates

Publication Date
20260505
Application Date
20251230

Claims (10)

  1. 1. The method for detecting the over-cut abnormality based on the area intersection analysis is characterized by comprising the following steps of: acquiring design data of a part, and analyzing the design data to obtain geometric information; extracting contour lines from the geometric information, and constructing a contour area based on the contour lines; extracting track data from the geometric information, and constructing a track area based on the track data; And identifying the intersection of the profile area and the track area by adopting a separation theorem, and determining that the part has an over-cut abnormality under the condition that the intersection exists between the profile area and the track area, and obtaining the over-cut area based on the intersection.
  2. 2. The method of claim 1, wherein the step of extracting contour lines from the geometric information and constructing a contour area based on the contour lines comprises: Identifying and extracting area contour elements forming a closed area from the geometric elements in the geometric information to obtain the contour line; selecting an associated contour line with an associated relation based on the associated relation between the contour lines; And constructing a closed area based on the associated contour line to obtain the contour area.
  3. 3. The method of claim 1, wherein the steps of extracting trajectory data from the geometric information and constructing a trajectory domain based on the trajectory data comprise: extracting a tool path from the geometric information; Configuring different path marks for different types of tool paths; obtaining the track data based on the tool path and the path mark; and constructing a closed area based on the tool path marked by the same path in the track data to obtain the track area.
  4. 4. The method of claim 1, wherein the step of identifying the intersection of the profile area and the trajectory area using a separation theorem comprises: performing approximate processing on the outline area to construct an outline polygon; Performing approximate processing on the track area to construct a track polygon; Selecting a separation axis for the outline polygon and the track polygon; Calculating the projection ranges of the outline polygon and the track polygon on the separation axis to obtain an outline projection range and a track projection range; And identifying whether the contour projection range and the track projection range have overlapping parts, and determining that the intersection exists between the contour area and the track area when the contour projection range and the track projection range have overlapping parts.
  5. 5. The method of claim 1, wherein the step of parsing the design data comprises: performing format conversion on the design data based on a preset data format; Extracting geometric elements from the converted design data; and extracting processing parameters, material information and processing precision from the converted design data.
  6. 6. The method of claim 1, further comprising, after extracting trajectory data from the geometric information: Acquiring position data of a feed point and a withdrawal point of a cutter; And optimizing the track data based on the position data of the feed point and the withdrawal point.
  7. 7. The method of claim 1, wherein the step of determining that the part has an over-cut anomaly if there is an intersection of the profile area and the track area comprises: Acquiring an intersection range of the contour area and the track area under the condition that the intersection exists between the contour area and the track area; comparing the intersection range with a preset range threshold value to obtain a comparison result; And under the condition that the comparison result indicates that the intersection range is larger than a preset range threshold value, determining that the part is in over-cut abnormality.
  8. 8. An over-cut anomaly detection device based on area intersection analysis, comprising: the acquisition unit is used for acquiring design data of the part and analyzing the design data to obtain geometric information; An extraction unit, configured to extract a contour line from the geometric information, and construct a contour area based on the contour line; a construction unit for extracting track data from the geometric information and constructing a track area based on the track data; the identification unit is used for identifying the intersection of the profile area and the track area by adopting a separation theorem, and determining that the part has an over-cut abnormality under the condition that the intersection exists between the profile area and the track area, and obtaining the over-cut area based on the intersection.
  9. 9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer-readable storage medium is located to perform the method for detecting an over-cut abnormality based on the area intersection analysis according to any one of claims 1 to 7.
  10. 10. An electronic device comprising one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of face intersection analysis-based over-cut anomaly detection of any one of claims 1 to 7.

Description

Over-cut anomaly detection method and device based on area intersection analysis Technical Field The invention relates to the field of design processing, in particular to an over-cut abnormality detection method and device based on area intersection analysis. Background In modern manufacturing, numerical control turning is widely used for its high precision, high efficiency and automation characteristics. Along with the advancement of transformation and intellectualization of industrial technology, the requirements on the machining precision and efficiency of parts are increasingly improved, the effect of numerical control turning software is also more remarkable, and the numerical control turning software can generate complex part machining tracks and meet the requirements of precision manufacturing. However, ensuring software-generated trajectories without errors, and particularly avoiding over-cut problems, has become a critical challenge in the industry. In the related art, the over-cut detection mainly depends on discrete point distance analysis, and a series of discrete points are selected on a processing track to calculate the distance between the points and a theoretical processing contour of a workpiece so as to judge whether an over-cut phenomenon exists. However, this method has a limitation in that the detection accuracy is limited, and since analysis is performed based on discrete points, the detection result may be erroneous due to the sampling density and position of the sampling points. In particular for complex contours consisting of circular arcs, spline curves, the sampling points may not completely cover the possible overstocked areas, resulting in missed detection. In view of the above problems, no effective solution has been proposed at present. Disclosure of Invention The embodiment of the invention provides an over-cut abnormality detection method and device based on area intersection analysis, which at least solve the technical problem of lower detection precision in the related art in a mode of detecting the over-cut abnormality based on discrete point distance calculation. According to one aspect of the embodiment of the invention, the method for detecting the over-cut abnormality based on the intersection analysis of the surface areas comprises the steps of obtaining design data of a part, analyzing the design data to obtain geometric information, extracting contour lines from the geometric information, constructing a contour surface area based on the contour lines, extracting track data from the geometric information, constructing a track surface area based on the track data, identifying the intersection of the contour surface area and the track surface area by adopting a separation theorem, and determining that the over-cut abnormality exists in the part under the condition that the intersection exists between the contour surface area and the track surface area, and obtaining the over-cut surface area based on the intersection. Further, the steps of extracting the contour lines from the geometric information and constructing the contour area based on the contour lines comprise the steps of identifying and extracting area contour elements forming the closed area from the geometric elements in the geometric information to obtain the contour lines, selecting association contour lines with association relations based on the association relations between the contour lines, and constructing the closed area based on the association contour lines to obtain the contour area. Further, the steps of extracting track data from the geometric information and constructing a track area based on the track data comprise the steps of extracting tool paths from the geometric information, configuring different path marks for different types of tool paths, obtaining the track data based on the tool paths and the path marks, and constructing a closed area based on the tool paths of the same path mark in the track data to obtain the track area. Further, the step of identifying the intersection of the contour area and the track area by adopting a separation theorem comprises the steps of performing approximate processing on the contour area and constructing a contour polygon; the method comprises the steps of carrying out approximate processing on a track area to construct a track polygon, selecting a separation axis for the profile polygon and the track polygon, calculating projection ranges of the profile polygon and the track polygon on the separation axis to obtain a profile projection range and a track projection range, identifying whether an overlapping part exists between the profile projection range and the track projection range, and determining that an intersection exists between the profile area and the track area under the condition that the overlapping part exists between the profile projection range and the track projection range. Further, the step of analyzing the design data comprises th