Detection method and system, terminal equipment and computer readable storage medium
By obtaining multiple point data of the processed product and generating program files, and using an automated system to control CNC equipment for detection, the problems of low detection efficiency and high error rate caused by manual copying of data in the prior art are solved, and efficient and accurate product quality inspection.
Patent Information
- Application Number
- CN202411093103.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-12-17
AI Technical Summary
During the processing of CNC equipment, the existing technology relies on manual copying of data, resulting in low detection efficiency and high error rate, and is unable to adapt to the industry trend of intelligent manufacturing.
By obtaining multiple point data of the processed product, generating program files, and using automated systems to control processing equipment for inspection, the deviation value is monitored in real time to achieve quality detection and avoid manual intervention.
It realizes an automated process from data collection to quality inspection, improves detection efficiency, reduces human errors, and ensures that product quality meets standards.
Smart Images

Figure CN119148619A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of product detection, and in particular, relates to a detection method, apparatus, terminal device and computer-readable storage medium. Background Art
[0002] CNC (Computer Numerical Control, CNC) technology, also known as computer numerical control technology, is a technology that uses computers to achieve digital program control. CNC equipment is equipment that uses CNC technology to achieve automated processing. With the development of computer technology, the application of CNC equipment is becoming more and more extensive.
[0003] At present, in the process of CNC equipment processing, it is necessary to use CNC machine tools to carry out quality inspection on products. Usually, the inspection file is copied to the hard disk of the CNC machine tool through a USB flash drive. The CNC machine tool reads the hard disk content and executes the inspection program to obtain the inspection result. Finally, the inspection result is copied to the analysis system through the USB flash drive for analysis to generate an inspection report. The manual data copying process is complicated and requires manual monitoring and processing, resulting in low inspection efficiency and increased error rate. It is not suitable for the current industry trend of intelligent manufacturing. Summary of the invention
[0004] The embodiments of the present application provide a detection method, a system terminal device, and a computer-readable storage medium, which can automatically complete the detection of processed products without relying on manual labor, and the detection process is simple, thereby improving the detection efficiency of products.
[0005] In a first aspect, an embodiment of the present application provides a detection method, comprising:
[0006] Acquire multiple point data of the processed product, where the point data is the coordinate information of the detection position of the processed product;
[0007] Generate program files based on multiple point data;
[0008] Control the processing equipment according to the program file to test the processed products and obtain the theoretical and actual deviation values corresponding to each point data;
[0009] The quality of the processed products is tested based on the theoretical and actual deviation values corresponding to the data of multiple points to obtain the test results.
[0010] In an embodiment of the present application, the NX system obtains multiple point data of the processed product, and the MES system generates a program file based on the multiple point data and the type of processing equipment, and converts the measurement data (point data) into instructions executable by the processing equipment. The processing equipment is controlled for detection according to the program file. This step converts digital instructions into physical actions to realize the detection of processed products. During the detection process, the processing process is monitored in real time, and the deviation value of each point is obtained. Finally, quality inspection is performed based on the deviation value to ensure whether the product meets the quality standards. The above process realizes the refined management of the production process through digitalization and automation. Every step from data collection to quality inspection relies on accurate data and automated systems to complete the inspection of processed products, and the inspection process is simple, which improves the inspection efficiency of products.
[0011] In a possible implementation manner of the first aspect, acquiring multiple point data of a processed product includes:
[0012] Obtain a processing model of the processed product;
[0013] Generate multiple point data of the processed product based on the processing model.
[0014] In the embodiment of the present application, the generation of point data is based on an accurate processing model, which helps to ensure accuracy and consistency during the processing.
[0015] In a possible implementation of the first aspect, generating a plurality of point data of a processed product according to a processing model includes:
[0016] Acquire multiple detection positions of the processing model;
[0017] Acquire coordinate data of each of the plurality of detection positions according to the plurality of detection positions;
[0018] Generate each set of point data of the processed product based on each set of coordinate data.
[0019] In the embodiment of the present application, the generation and recording of point data facilitates quality control, and the size and shape inspection can be easily performed during or after the inspection.
[0020] In a possible implementation of the first aspect, generating a program file according to a plurality of point data includes:
[0021] Generate inspection paths for processed products based on multiple point data;
[0022] Obtain control language recognizable by processing equipment;
[0023] Generate a program file based on the detection path according to the control language.
[0024] In the embodiments of the present application, through precise CNC programming, high precision requirements can be ensured during the detection process, human errors can be reduced, and the detection accuracy of the product can be improved through real-time monitoring and automated quality control methods.
[0025] In a possible implementation of the first aspect, quality inspection of the processed product is performed according to theoretical and actual deviation values corresponding to each of the plurality of point data to obtain an inspection result, including:
[0026] Compare the theoretical and actual deviation values corresponding to each set of point data with the preset error;
[0027] If the theoretical and actual deviation values corresponding to each set of point data are not greater than the preset error, the processed product is judged to be qualified;
[0028] If there is at least one set of point data corresponding to a theoretical and actual deviation value greater than a preset error, the processed product is judged to be unqualified.
[0029] In the embodiments of the present application, by strictly comparing the theoretical and actual deviation values, it can be ensured that the processed products meet the precise quality requirements and meet the high-precision production standards.
[0030] In a possible implementation manner of the first aspect, the method further includes:
[0031] Generate a test report for the processed products based on the test results of the quality test on the processed products;
[0032] Assign permissions to access users based on the test report so that the authorized users can view the test report.
[0033] In the embodiment of the present application, by allocating permissions, the test report can be protected from being accessed by unauthorized users, ensuring the security of quality and sensitive information.
[0034] In a second aspect, an embodiment of the present application provides a detection system, including: a service device and a control device;
[0035] A service device, used for acquiring multiple point data of the processed product and sending the multiple point data to the control device;
[0036] The control device is used to generate a program file according to the multiple point data after receiving the multiple point data sent by the service device;
[0037] The control device is also used to send the program file to the processing equipment and send an operation instruction to the processing equipment, so that the processing equipment executes the program file according to the operation instruction to perform a detection operation on the processed product;
[0038] The control device is also used to receive the theoretical and actual deviation values corresponding to each point data generated after the processing equipment executes the program file;
[0039] The control device is also used to perform quality inspection on the processed product according to the theoretical and actual deviation values corresponding to each point data after receiving the theoretical and actual deviation values corresponding to each point data sent by the processing equipment to obtain the inspection result.
[0040] In a possible implementation manner of the second aspect, the service device is further used to obtain a processing model of the processed product, and generate a plurality of point data of the processed product according to the processing model.
[0041] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a detection method as described in any one of the first aspects above is implemented.
[0042] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the detection method as described in any one of the first aspects above.
[0043] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes any detection method of the first aspect above.
[0044] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0046] Figure 1 It is a schematic diagram of the process of the detection method provided in the embodiment of the present application;
[0047] Figure 2 It is a schematic diagram of the process of obtaining point data provided by an embodiment of the present application;
[0048] Figure 3 is a schematic diagram of a detection system provided in an embodiment of the present application;
[0049] Figure 4is a schematic block diagram of a detection method provided in an embodiment of the present application;
[0050] Figure 5 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0052] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more groups of other features, wholes, steps, operations, elements, components and / or collections thereof.
[0053] It should also be understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more groups of the associated listed items, and includes these combinations.
[0054] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0055] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0056] References to "one embodiment" or "some embodiments" etc. described in the specification of the present application mean that one or more groups of embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in the specification do not necessarily refer to the same embodiment, but mean "one or more groups but not all embodiments", unless otherwise specifically emphasized in other ways.
[0057] CNC (Computer Numerical Control, CNC) technology, also known as computer numerical control technology, is a technology that uses computers to achieve digital program control. CNC equipment is equipment that uses CNC technology to achieve automated processing. With the development of computer technology, the application of CNC equipment is becoming more and more extensive.
[0058] At present, in the process of CNC equipment processing, it is necessary to use CNC machine tools to carry out quality inspection on products. Usually, the inspection file is copied to the hard disk of the CNC machine tool through a USB flash drive. The CNC machine tool reads the hard disk content and executes the inspection program to obtain the inspection result. Finally, the inspection result is copied to the analysis system through the USB flash drive for analysis to generate an inspection report. The manual data copying process is complicated and requires manual monitoring and processing, resulting in low inspection efficiency and increased error rate, which is not suitable for the current industry trend of intelligent manufacturing.
[0059] In order to solve the problems existing in the above-mentioned prior art, the embodiments of the present application provide an automated product detection system and detection method. In the present application, a plurality of point data of a product is generated by a point data generation system, and the point generation system sends the plurality of point data to an execution system. The execution system processes the point data to generate a program file executable by a CNC machine tool, and sends it to the control CNC machine tool to execute the program file. The execution system performs product detection and analysis based on the theoretical and actual deviation results generated after the execution of the CNC machine tool and generates a detection report. The above process realizes the refined management of the production process in a digital and automated manner. Every step from data collection to quality inspection depends on accurate data and an automated system. The above-mentioned automated detection method does not rely on manual participation, automatically completes the detection of processed products, and the detection process is simple, thereby improving the detection efficiency of products.
[0060] See also Figure 1 , is a flow chart of the detection method provided in the embodiment of the present application. As an example but not limitation, the method may include the following steps:
[0061] S101, obtaining a plurality of point data of a processed product, where the point data is coordinate information of a detection position of the processed product.
[0062] In the embodiment of the present application, obtaining multiple point data of the processed product refers to using various technical means to obtain the coordinate information (x, y, z, i, j, k) of a specific detection position on the processed product. These coordinate information are usually position data in three-dimensional space, which is crucial for manufacturing processes such as CNC machining. In modern manufacturing processes, in order to accurately control machine tools to process and detect parts, it is necessary to know the precise position of each processing target. This includes not only the coordinates of the detection starting point and / or end point, but also the position information (point data) of each point on the detection path.
[0063] Methods for obtaining point data may include:
[0064] Measurement: Use various measuring equipment, such as coordinate measuring machine (CMM), on-machine measurement, laser scanner, etc. to directly measure points on the part;
[0065] Modeling: Extract point data from CAD models. CAD software can generate mathematical models of parts, from which point information for testing can be extracted, or point data can be generated directly through the digital product development system (Next Generation, NX);
[0066] Calculation: Through complex mathematical algorithms and simulations, the point data of the machine tool movement is calculated. This is usually done in CAM software.
[0067] In one embodiment, see Figure 2 , is a schematic diagram of the process of obtaining point data provided by an embodiment of the present application, such as Figure 2 As shown, one implementation of step S101 includes:
[0068] S201, obtaining a processing model of a processed product;
[0069] In the embodiments of the present application, the processing model is a key concept, also referred to as a detection model or a 3D model, which generally refers to a digital model used to guide machine tool processing. This model contains all necessary information such as the geometric information of the part, the processing and / or detection path, the cutting parameters, etc., so that the machine tool can perform processing and detection according to predetermined requirements. In actual operation, obtaining the processing model of the processed product is accomplished by using professional CAM software. These software are usually compatible with specific machine tools and controllers, can generate accurate CNC programs, and realize efficient machine tool automation processing.
[0070] S202, generating a plurality of point data of the processed product according to the processing model.
[0071] In an embodiment of the present application, generating multiple point data of the processed product based on the processing model refers to converting the feature type and processing parameters defined in the CAM software into specific position coordinate information, which represents the position of each point that needs to be reached during the machine tool detection process.
[0072] In one embodiment, step S202 includes:
[0073] Acquire multiple detection positions of the processing model; acquire coordinate data of each of the multiple detection positions according to the multiple detection positions; and generate each set of point data of the processed product according to each set of coordinate data.
[0074] In the embodiment of the present application, when using the processing model point data, it is necessary to set the detection position to be detected in advance, and obtain multiple point data of the processed product according to the detection position, so as to detect the processed product using the multiple point data.
[0075] Exemplarily, CAM software can be used to obtain multiple point data of processed products. Specifically, it can be: obtain the detection position of the processing model: in the CAM software, it is first necessary to define the detection position of the processing model. These positions are usually key points on the processing path, such as the starting point, end point, inflection point, etc. of the cutting path. Multiple detection positions can be selected arbitrarily; obtain the coordinate data of the detection position: according to the defined detection position, the CAM software will calculate the precise coordinates of each position in the processing coordinate system. The acquisition of coordinate data is usually completed through the calculation function of the CAM software, which will combine the geometric information in the processing model with the parameters of the detection position to calculate the coordinates of each position; generate point data: organize the acquired coordinate data into a point data list. These data lists usually contain information such as the coordinates (x, y, z, i, j, k) of each detection position, tool number, processing parameters, etc., and the generation of point data can be realized through the data output function in the CAM software. The software will output the calculated coordinate data in a certain format to facilitate subsequent detection operations.
[0076] In the above method, the point data can provide accurate coordinate information, which can improve the detection accuracy of the detection method.
[0077] S102, generating a program file according to a plurality of point data.
[0078] In the embodiment of the present application, the program file is usually a text file in the field of CNC machining, which contains G codes and M codes for controlling CNC machine tools. These code instructions tell the machine tool how to move and what operations to perform. For example, G codes are used to control the movement and processing mode of the machine tool, while M codes are used to control the auxiliary functions of the machine tool, such as starting the coolant, shutting down the machine tool, etc.
[0079] In one embodiment, step S102 includes:
[0080] In an embodiment of the present application, a detection path for a processed product is generated based on a plurality of point data; a control language recognizable by a processing device is acquired; and a program file is generated from the detection path based on the control language.
[0081] In the embodiment of the present application, the point data generally includes the position information of each point on the product that needs to be detected. By processing the position information of these points, a detection path can be generated, that is, the path that the probe needs to move during the detection process. This includes determining the order of processing, cutting path, cutting depth, etc. In some cases, path optimization may also be required to improve detection efficiency and quality. The above detection path is used to control the processing equipment to detect the product.
[0082] Different processing equipment (such as CNC machine tools, wire cutting machines, milling machines, grinders, etc.) may use different control languages. The control language is a set of instructions used to tell the equipment how to perform specific operations. For example, CNC machine tools usually use G codes and M codes, which correspond to different motion control and function control commands. In this step, the instruction set needs to be prepared according to the control language of the processing equipment. Once the control language and detection path are determined, the next step is to convert the detection path into an instruction set that the execution equipment can understand, that is, to generate a program file. This process usually involves the use of CAM software, which can convert high-level processing and / or detection descriptions into low-level control instructions. The generated program file is usually a text file that contains all the instructions required by the equipment. This file can be directly read and executed by the processing equipment (CNC machine tool).
[0083] In another embodiment of the present application, the system generates a detection path for the processed product based on multiple point data, feature types, theoretical values, and starting positions; obtains a control language recognizable by the processing equipment; and generates a program file for the detection path based on the control language.
[0084] Specifically, the multiple point data can be P1, P2, P3, and P4, and the corresponding coordinate information is P1 (x1, y1, z1, i1, j1, k1), P2 (x2, y2, z2, i2, j2, k2), P3 (x3, y3, z3, i 3, j3, k3), and P4 (x4, y4, z4, i4, j4, k4). The feature type is circle, the theoretical value is 6 mm in diameter, and the starting position is P0 (x0, y0, z0, i 0, j0, k0). The system automatically generates a detection path for the processed product based on this information, and generates a program file for the detection path according to the control language recognizable by the processing equipment. The processing equipment executes the path program file, the probe jumps to the starting position P0, and performs the detection task according to the program, and generates a detection report for the processed product.
[0085] In the above method, the feature type can be circle, cylinder, hole, slot, etc., and the corresponding point data is also different. The point data can be adjusted according to actual needs. The theoretical value is the design reference value, and the starting position is the initial position of the processing equipment to detect this feature type, which can be adjusted according to actual needs.
[0086] In the above method, the detection requirements starting from the point data are converted into an instruction set that the execution device can understand, and finally a program file is generated. This file guides the execution device on how to complete the detection task accurately and efficiently. The automation of this process greatly improves the detection efficiency of the product.
[0087] S103, controlling the processing equipment to inspect the processed products according to the program file, and obtaining the theoretical and actual deviation values corresponding to each point data.
[0088] In the embodiment of the present application, in CNC machining or similar precision manufacturing processes, the program file usually contains a series of instructions that tell the processing equipment (such as CNC machine tools) how to move and what operations to perform to process and / or detect the processed products. In the actual processing and / or detection process, due to various factors (such as machine tool accuracy, tool wear, material properties, etc.), the actual detection position may deviate from the expected detection position. These deviation values are crucial to ensure product quality and accuracy.
[0089] Specifically, the processing equipment operates according to the instructions in the program file, including the probe to a specific point for detection. During the detection process, various measurement systems (such as photoelectric sensors, laser rangefinders, three-coordinate measuring machines, etc.) are usually used to monitor the detection position in real time. These systems will collect actual data of the current detection position.
[0090] The actual data collected needs to be compared with the theoretical position preset in the program file. This usually involves the following steps: compare the actual measured position data with the theoretical position data (point data), and calculate the deviation value of each point data, that is, the difference between the actual position and the theoretical position (theoretical and actual deviation values). The deviation value of each point data will be recorded and analyzed. This helps to identify potential problems in the processing process, such as machine tool errors, tool wear, etc., and allows the operator to make adjustments.
[0091] In one embodiment, the deviation values corresponding to each point data can be directly read into the graph by UG through the TXT file, and the deviation values corresponding to each point data can be directly displayed on the graph. For example, the deviation data of point A can be directly read into the graph by UG through the TXT file, and the deviation data of point A can be directly displayed on the corresponding point. The deviation value above the range is a color (such as red), the deviation value within the range is a color (such as green), and the deviation value below the range is a color (such as gray).
[0092] In the above method, obtaining the theoretical and actual deviation values of the point data can provide data support for product documentation and traceability. When quality problems occur, it is possible to quickly locate the link where the problem occurred and take corresponding corrective measures.
[0093] S104, performing quality inspection on the processed product according to the theoretical and actual deviation values corresponding to the plurality of point data to obtain the inspection result.
[0094] In the embodiment of the present application, step S104 may be implemented as follows:
[0095] The theoretical and actual deviation values corresponding to each set of point data are compared with the preset error; if the theoretical and actual deviation values corresponding to each set of point data are not greater than the preset error, the processed product is judged to be qualified; if there is at least one set of point data whose theoretical and actual deviation values are greater than the preset error, the processed product is judged to be unqualified.
[0096] In the embodiment of the present application, the quality of the product is evaluated according to the deviation value and the pre-set quality standard. The smaller the deviation value, the higher the quality of the product. If the deviation value is within an acceptable range (preset error, generally ± 0.01 or ± 0.02), the product can be considered qualified. If the deviation value exceeds the quality standard, it is necessary to identify the problems that may cause the deviation. This may include machine tool accuracy problems, tool wear, material inhomogeneity, etc.
[0097] In the above method, by strictly comparing the theoretical and actual deviation values, it can be ensured that the processed products meet the precise quality requirements and meet the high-precision production standards.
[0098] In one embodiment, the method further comprises:
[0099] A test report of the processed product is generated based on the test results of the quality test on the processed product; and permissions are allocated to access users based on the test report so that the users who have obtained permissions can view the test report.
[0100] In the embodiment of the present application, after the processing of the product is completed, a series of quality inspections will be carried out, including dimensional measurement, performance testing, etc. The inspection results will be recorded and organized into a report format, usually including product information, inspection methods, results, deviation analysis, etc. The report may be in paper form or in an electronic document, such as PDF or a report in a specific quality management software.
[0101] It should be noted that test reports may contain sensitive information, such as product defects, problems in the production process, etc. This information needs to be properly protected. Not all employees need to access all quality test reports, so permissions need to be assigned based on responsibilities and needs.
[0102] Depending on the content and importance of the test report, the system administrator or quality management personnel will define different access levels and permissions. Permission allocation may be based on factors such as the user's role, department, and position. For example, production line workers may only be able to view reports related to their work, while quality management personnel may have broader access rights. When users try to access test reports, the system will verify their permissions. If users do not have sufficient permissions, they will not be able to view the report or can only view part of the content. Users who have obtained permissions can access the test report through the interface of the quality management system, the electronic document management system, or other authorized channels. Users can analyze and process the report as needed, such as taking corrective measures and improving processes.
[0103] In the above method, permissions are assigned to access users based on the test report to ensure that only users with appropriate permissions can review and process the test report, thereby protecting the sensitivity of quality information and promoting timely resolution and continuous improvement of quality issues.
[0104] In one embodiment, see Figure 3 , is a schematic diagram of the detection system provided in the embodiment of the present application, see Figure 3 ,The detection system includes a service device and a control device;
[0105] A service device, used for acquiring multiple point data of the processed product and sending the multiple point data to the control device;
[0106] The control device is used to generate a program file according to the multiple point data after receiving the multiple point data sent by the service device;
[0107] The control device is also used to control the processing equipment to detect the processed products according to the program file, and obtain the theoretical and actual deviation values corresponding to each point data;
[0108] The control device is also used to receive the theoretical and actual deviation values corresponding to each point data generated after the processing equipment executes the program file;
[0109] The control device is also used to perform quality inspection on the processed product according to the theoretical and actual deviation values corresponding to each point data after receiving the theoretical and actual deviation values corresponding to each point data sent by the processing equipment to obtain the inspection result.
[0110] In the embodiment of the present application, the service device may be a digital product development system (Next Generation, NX), which is a comprehensive software platform that integrates computer-aided design (CAD), computer-aided engineering (CAE), computer-aided manufacturing (CAM) and other tools. The NX system is used to generate a 3D model (also called a processing model or a detection model) of a processed product, and arbitrarily select point data of multiple detection positions according to the 3D model (also called a processing model or a detection model).
[0111] The control device can be a manufacturing execution system (MES). The MES system is connected to the NX system and the processing equipment respectively. The MES system is a production management and control system at the workshop level, which is responsible for monitoring, controlling and optimizing the entire manufacturing process from raw materials to finished products. The MES system ensures the efficiency, transparency and traceability of the production process through functions such as real-time data acquisition, production scheduling, quality control, and equipment management. The MES system is used to obtain multiple point data sent by the NX system, and generate program files based on multiple point data and send the program files to the machine tool (processing equipment) to drive the machine tool to execute the program files. After the machine tool executes the program files, the test results (theoretical and actual deviation values) are generated. Since the machine tool communicates with the MES system, the MES system collects the test results and analyzes them, generates a test report, and assigns permissions to the test report so that personnel with designated permissions can review the test report on the MES system.
[0112] See also Figure 4 , is a schematic block diagram of the detection method provided in the embodiment of the present application, such as Figure 4 As shown, the detection steps are as follows:
[0113] ①NX system generates point data;
[0114] In this application, the NX system generates a 3D model of the processed product (processing model or inspection model), and obtains point data of multiple inspection positions of the processed product based on the 3D model of the processed product (processing model or inspection model), and the point data is the coordinate information of the inspection position of the processed product.
[0115] ②NX system sends point data to MES system;
[0116] In the present application, the NX system is connected to the MES system, and the NX system sends multiple point data to the MES system, so that the MES system further processes the point data.
[0117] ③MES system generates program files;
[0118] In the present application, the MES system generates a code file for instructing the CNC machine tool (processing equipment) to execute a processing program based on the point data and the type of the CNC machine tool (processing equipment).
[0119] ④The MES system sends the program file to the processing equipment;
[0120] In this application, the MES system sends the program file to the processing equipment through a network or a dedicated communication interface.
[0121] ⑤MES system drives processing equipment;
[0122] In this application, after MES sends the program file to the processing equipment, it controls the processing equipment to start and execute the program file.
[0123] ⑥ The processing equipment executes the program file to generate theoretical and actual deviation values;
[0124] In this application, after the processing equipment executes the program file, the theoretical and actual deviation results are generated according to the detection situation.
[0125] ⑦ The processing equipment sends the theoretical and actual deviation values to the MES system;
[0126] In this application, the processing equipment can perform detection tasks according to the program file, generate theoretical and actual deviation values through real-time monitoring and data processing, and send the detection results to the MES system to ensure that the product processing quality meets the predetermined standards.
[0127] ⑧MES system generates inspection report.
[0128] In the present application, the MES system generates a test report of the processed product based on the test results of the quality test of the processed product, and assigns permissions to access users based on the test report so that the authorized users can view the test report.
[0129] The above detection steps are used to perform quality inspection on the products, and the refined management of the production process is realized through digitalization and automation. Each step from data collection to quality inspection relies on accurate data and automated systems, avoiding the manual copying of the inspection file to the hard disk of the CNC machine tool through a USB flash drive, the CNC machine tool reading the hard disk content and executing the inspection program to obtain the inspection results, and finally copying the inspection results to the analysis system through the USB flash drive for analysis to generate an inspection report. The above method can automatically complete the inspection of processed products, and the inspection process is simple, which improves the inspection efficiency of products.
[0130] In addition, the detection system can be debugged according to different CNC machine tools (the system has internal editors for various CNC machine tools on the market, with automatic programming, automatic execution, and automatic monitoring functions), without the need for human intervention and with strong versatility.
[0131] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0132] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0133] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0134] Figure 5 Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Figure 5 As shown, the terminal device 5 of this embodiment includes: at least one processor 50 ( Figure 5 Only one is shown in the figure) a processor, a memory 51, and a computer program 52 stored in the memory 51 and executable on at least one processor 50, and when the processor 50 executes the computer program 52, the steps in any of the above-mentioned detection method embodiments are implemented.
[0135] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 5 It is only an example of the terminal device 5 and does not constitute a limitation on the terminal device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0136] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0137] In some embodiments, the memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or memory of the terminal device 5. In other embodiments, the memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 5. Further, the memory 51 may also include both an internal storage unit of the terminal device 5 and an external storage device. The memory 51 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of a computer program. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0138] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0139] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0140] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0141] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0142] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0143] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple groups of units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0144] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple groups of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0145] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A detection method, characterized in that: The method comprises: Acquire multiple point data of the processed product, wherein the point data is coordinate information of the detection position of the processed product; Generate a program file according to the plurality of point data; Control the processing equipment to detect the processed product according to the program file, and obtain the theoretical and actual deviation values corresponding to each point data; The quality of the processed product is tested according to the theoretical and actual deviation values corresponding to the multiple point data to obtain the test results.
2. The detection method according to claim 1, characterized in that Acquire multiple point data of the processed product, including: Acquiring a processing model of the processed product; A plurality of point data of the processed product are generated according to the processing model.
3. The detection method according to claim 2, characterized in that Generating a plurality of point data of the processed product according to the processing model includes: Acquiring a plurality of detection positions of the processing model; Acquire coordinate data of each of the plurality of detection positions according to the plurality of detection positions; Each set of point data of the processed product is generated according to each set of coordinate data.
4. The detection method according to claim 1, characterized in that Generate a program file according to the plurality of point data, including: Generating a detection path for the processed product according to the plurality of point data; Acquiring a control language recognizable by the processing equipment; The program file is generated by converting the detection path into the program file according to the control language.
5. The detection method according to claim 1, characterized in that Performing quality inspection on the processed product according to the theoretical and actual deviation values corresponding to each of the plurality of point data to obtain inspection results, including: Compare the theoretical and actual deviation values corresponding to each set of point data with the preset error; If the theoretical and actual deviation values corresponding to each set of the point data are not greater than the preset error, the processed product is determined to be qualified; If there is at least one set of point data corresponding to a theoretical and actual deviation value greater than a preset error, the processed product is determined to be unqualified.
6. The detection method according to claim 1, characterized in that The method further comprises: Generating a test report of the processed product according to the test results of the quality test of the processed product; The permission is allocated to the access user according to the detection report, so that the user who obtains the permission can view the detection report.
7. A detection system, characterized in that: include: Service units and control units; The service device is used to obtain multiple point data of the processed product and send the multiple point data to the control device; The control device is used to generate a program file according to the plurality of point data after receiving the plurality of point data sent by the service device; The control device is also used to control the processing equipment to detect the processed products according to the program file, and obtain the theoretical and actual deviation values corresponding to each point data; The control device is also used to receive the theoretical and actual deviation values corresponding to each point data generated by the processing equipment after executing the program file; The control device is also used to perform quality inspection on the processed product according to the theoretical and actual deviation values corresponding to each point data sent by the processing equipment after receiving the theoretical and actual deviation values corresponding to each point data to obtain the inspection result.
8. The detection system according to claim 7, characterized in that: The service device is also used to obtain a processing model of the processed product and generate a plurality of point data of the processed product according to the processing model.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Workpiece detection method, device, equipment and medium
CN119794484A
Workpiece inspection methods, devices, equipment and media
CN119794484B
