Workpiece detection method, storage medium, control console, control machine tool and processing system
By placing probes and comparing the workpiece drawings of the workpiece to be detected in the digital control machine tool, the problem of difficulty in detecting workpiece data on the machine tool is solved, and efficient detection of workpieces on the machine is achieved, and processing efficiency is improved.
Patent Information
- Application Number
- CN202411865951.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-12-18
AI Technical Summary
During the processing of digital control machine tools, it is difficult to detect workpiece data on the machine, resulting in the failure to pass the inspection after the workpiece is removed from the machine and needs to be put on the machine again, reducing the processing efficiency.
By obtaining the workpiece diagram of the workpiece to be detected, the probe is adjusted, the standard point data of the point to be detected is obtained, and uploading it to the digital control machine tool for actual point and data feedback. Finally, the actual point data is compared with the standard point data to obtain the workpiece detection results.
It realizes data detection on the machine before the workpiece is removed, avoiding the situation where the inspection fails after the machine is removed, and requires a secondary operation to be launched, and improves processing efficiency.
Smart Images

Figure CN119319488B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of numerical control machining, and in particular to a workpiece detection method, a storage medium, a control console, a control machine tool and a machining system. Background Art
[0002] A numerically controlled machine tool is an automated machine tool equipped with a program control system that can logically process programs specified by control codes or other symbolic instructions, allowing the machine tool to perform various processing operations on metal or other materials, such as turning, milling, drilling, grinding, boring, etc., to process the blank into a workpiece with specific shape, size and precision requirements, thereby realizing automated production and manufacturing of workpieces.
[0003] However, during the processing or for the workpiece after processing, it is generally difficult to detect the workpiece data on the machine. When the workpiece is detected as unqualified after leaving the machine, the workpiece needs to be put on the machine again, resulting in low processing efficiency. Summary of the invention
[0004] The main purpose of this application is to provide a workpiece detection method, storage medium, console, control machine tool and processing system, aiming to solve the technical problem that when a workpiece is detected as unqualified after leaving the machine, the workpiece needs to be put on the machine again, resulting in low processing efficiency.
[0005] To achieve the above objectives, the present application proposes a workpiece detection method, the method comprising:
[0006] Obtaining a workpiece drawing of the workpiece to be inspected, and performing probe point marking on the workpiece drawing to obtain standard point data corresponding to the point to be inspected;
[0007] The standard point data is uploaded to a digital control machine tool; and / or the digital control machine tool receives the uploaded standard point data, performs actual point marking on the workpiece to be inspected based on the standard point data, and feeds back the actual point marking data obtained;
[0008] The actual dot data fed back by the numerical control machine tool is received, and the actual dot data is compared with the standard point data to obtain a workpiece detection result corresponding to the workpiece to be detected.
[0009] In one embodiment, the step of performing probe marking on the workpiece image to obtain standard point data corresponding to the point to be detected includes:
[0010] Determining the workpiece type of the workpiece to be inspected;
[0011] Acquire a dot-marking template corresponding to the workpiece drawing file according to the workpiece type;
[0012] Performing probe dotting on the workpiece drawing based on the dotting template to obtain position data of the points to be detected in the workpiece drawing;
[0013] The position data is used as standard point data of the point to be detected.
[0014] In one embodiment, the step of performing probe dotting on the workpiece image based on the dotting template to obtain position data of the points to be detected in the workpiece image includes:
[0015] Get the supplementary point data entered by the user;
[0016] Extracting key point data preset in the dot template;
[0017] Based on the supplementary point data and the key point data, the workpiece drawing is probed to obtain position data of the points to be detected in the workpiece drawing.
[0018] In one embodiment, the step of comparing the actual dot data with the standard dot data to obtain a workpiece detection result corresponding to the workpiece to be detected includes:
[0019] Compare the actual dot data with the standard dot data to obtain the error result of the to-be-detected dot;
[0020] Generating a workpiece data form corresponding to the workpiece to be inspected according to the actual dot data and the error result;
[0021] The workpiece data form is used as the workpiece detection result corresponding to the workpiece to be detected.
[0022] In one embodiment, the step of comparing the actual dot data with the standard dot data to obtain the error result of the to-be-detected dot includes:
[0023] Analyze the spatial coordinate values corresponding to each actual point in the actual dot data;
[0024] Compare the spatial coordinate value with the standard point data to obtain the error value between the actual point and the point to be detected on each coordinate axis;
[0025] Standardizing the error values of the coordinate axes to obtain error coefficients;
[0026] Correspondingly, the step of generating a workpiece data form corresponding to the workpiece to be inspected according to the actual dot data and the error result includes:
[0027] A workpiece data sheet corresponding to the workpiece to be detected is generated according to the spatial coordinate value and the error coefficient.
[0028] In one embodiment, after the step of using the workpiece data form as the workpiece detection result corresponding to the workpiece to be detected, the method further includes:
[0029] Determining whether the error result reaches the machine tool tolerance of the numerically controlled machine tool;
[0030] If the error result reaches the machine tool tolerance, the points to be inspected in the workpiece to be inspected that correspond to the machine tool tolerance are regarded as unqualified points;
[0031] Sending the point data of the unqualified points to the digital control machine tool;
[0032] And / or, the numerically controlled machine tool receives uploaded point data of unqualified points, and reprocesses the workpiece to be inspected based on the point data of the unqualified points.
[0033] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the workpiece detection method described above are implemented.
[0034] In addition, to achieve the above objectives, the present application also proposes a console, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the workpiece detection method described above.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a digitally controlled machine tool, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the workpiece detection method described above.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a numerical control machining system, which includes the control console as described above and the numerical control machine tool as described above.
[0037] One or more technical solutions proposed in the present application have at least the following technical effects: The method described in the present application includes: first, obtaining a workpiece drawing of the workpiece to be inspected, and performing probe dotting on the workpiece drawing to obtain standard point data corresponding to the points to be inspected; then uploading the standard point data to a numerical control machine tool, and / or the numerical control machine tool receives the uploaded standard point data, performs actual dotting on the workpiece to be inspected based on the standard point data, and feeds back the actual dotting data obtained; finally, receiving the actual dotting data fed back by the numerical control machine tool, and comparing the actual dotting data with the standard point data to obtain a workpiece inspection result corresponding to the workpiece to be inspected.
[0038] Since the present application pre-dots the workpiece drawing of the workpiece to be inspected with a probe, and transmits the standard point data corresponding to the point to be inspected to the digital control machine tool, the digital control machine tool actually dots the workpiece to be inspected and feeds back the actual dot data, and finally compares the actual dot data with the standard point data to obtain the workpiece inspection result. In this way, the data inspection of the workpiece to be inspected can be completed on the machine before the workpiece to be inspected is removed from the machine, avoiding the situation where the workpiece to be inspected needs to be put on the machine again after being inspected as unqualified after being removed from the machine, thereby improving the processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the console in the embodiment of the present application;
[0042] Figure 2 A schematic diagram of a process flow provided for the first embodiment of the workpiece detection method of the present application;
[0043] Figure 3 A schematic diagram of the probe spotting scenario provided for this application;
[0044] Figure 4 A schematic diagram of a flow chart provided for the second embodiment of the workpiece detection method of the present application;
[0045] Figure 5 A schematic diagram of a scene of a workpiece detection result of a workpiece to be detected provided in this application;
[0046] Figure 6 A schematic diagram of a workpiece data form provided for this application;
[0047] Figure 7 This is the overall flow chart of the workpiece detection provided by this application.
[0048] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0051] It should be noted that, refer to Figure 1 , Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the console in the embodiment of the present application.
[0052] like Figure 1 As shown, the console may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0053] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the console, and the console may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0054] like Figure 1As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a workpiece detection program.
[0055] exist Figure 1 In the console shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the console of the present application can be set in the console, and the console calls the workpiece detection program stored in the memory 1005 through the processor 1001, and executes the workpiece detection method provided in the embodiment of the present application.
[0056] Based on the above console, the present application embodiment provides a workpiece detection method, referring to Figure 2 , Figure 2 A schematic diagram of the process flow provided for the first embodiment of the workpiece detection method of the present application.
[0057] In this embodiment, the execution steps of the workpiece detection method of this embodiment are described from the perspective of the above-mentioned console. The console is connected to a digital control machine tool. The workpiece detection method includes steps S10 to S30:
[0058] Step S10: obtaining a workpiece drawing of the workpiece to be inspected, and performing probe point marking on the workpiece drawing to obtain standard point data corresponding to the point to be inspected.
[0059] It should be noted that the execution subject of this embodiment can be a computing service device with probe point marking, data uploading and data comparison, such as a personal computer, server, etc., or an electronic device that can execute the workpiece detection method of this application (such as a numerical control computer, console, etc.), and this embodiment does not limit this. The console is taken as an example to illustrate this embodiment and the following related embodiments.
[0060] It should be noted that a digital control machine tool, the full name of which is a computer numerical control machine tool (CNC) machine tool, can perform various processing operations on metal or other materials in the machine tool to obtain a workpiece with a specific shape. However, it is difficult for a CNC machine tool to detect workpiece data on the machine during or after processing, so it is difficult to ensure the pass rate of the workpiece after it leaves the machine. Therefore, the workpiece detection method of this embodiment can be used to realize the function of detecting the workpiece on the machine.
[0061] It is understandable that the workpiece to be inspected may be a component in the above-mentioned CNC machine tool, which needs to be inspected for data during or after the processing to ensure the qualification rate of the workpiece.
[0062] Exemplarily, aspects of the workpiece to be inspected that can be inspected may include: whether the size of the workpiece is compliant, whether the workpiece has defects or flaws, whether the accuracy of the workpiece meets the standards, etc. This embodiment and the following embodiments are described using the example of inspecting whether the size of the workpiece is compliant, and this embodiment does not impose any limitation on this.
[0063] It should be noted that the workpiece drawing can be a workpiece model constructed based on the design, shape, size, technical requirements and other information of the workpiece to be inspected. The ratio between the workpiece drawing and the workpiece to be inspected is generally one to one to ensure the accuracy of the workpiece inspection in this implementation.
[0064] Exemplarily, the workpiece drawing may include: various views, dimension markings, tolerance requirements and other detailed information of the workpiece to be inspected, which is not limited in this embodiment.
[0065] It should be understood that the points to be detected can be the points that need to be detected when the workpiece to be detected is detected, according to the size, shape, specifications and other characteristics of the workpiece to be detected. These points to be detected can be pre-set according to the specifications of the workpiece to be detected, or can be manually marked in real time, and this embodiment does not limit this. The standard point data can be the standard data for the workpiece size detection of the workpiece to be detected after the points to be detected are marked on the workpiece drawing.
[0066] Specifically, after obtaining the workpiece drawing of the workpiece to be inspected, the console can identify the workpiece specifications of the workpiece drawing, obtain the data of the pre-set points to be inspected according to the workpiece specifications, and automatically mark the points to be inspected on the workpiece drawing; it can also issue a prompt to remind the staff operating the console to manually mark the points to be inspected in real time. After marking the points to be inspected on the workpiece drawing, the position information of the points to be inspected can be read from the workpiece drawing to obtain the standard point data.
[0067] For ease of understanding, refer to Figure 3 , Figure 3 Schematic diagram of the probe dot scene provided for this application. As shown in the figure, points A, B, and C are the points to be tested in the workpiece drawing, and the staff of the console can use the virtual probe in the console to dot the workpiece drawing. The standard point data obtained can then be used to compare with the actual detected point data to determine whether there is a deviation in the point to be tested and whether it meets the standard requirements, and then evaluate the quality of the entire workpiece in these aspects.
[0068] In a feasible implementation, step S10 of this embodiment may include the steps of: determining the workpiece type of the workpiece to be inspected; obtaining a dot-marking template corresponding to the workpiece drawing according to the workpiece type; performing probe dot-marking on the workpiece drawing based on the dot-marking template to obtain position data of the points to be inspected in the workpiece drawing; and using the position data as standard point data of the points to be inspected.
[0069] It should be noted that the workpiece type may be the type or category to which the workpiece to be detected belongs.
[0070] Exemplarily, workpiece types can be classified according to their uses, shapes, materials, specifications, etc., or they can be classified according to the processing flow of numerically controlled machine tools. This embodiment and the following embodiments are described using the shape of the workpiece as an example, and this embodiment does not impose any restrictions on this.
[0071] It is understandable that the dot-marking template can be a set of templates designed according to the shape of the workpiece to determine the position of the inspection points in order to perform an inspection operation on whether the size of the workpiece to be inspected is qualified.
[0072] The dotting template can specify the specific locations of the workpiece where the dotting operation is performed. These points are usually representative and critical locations. It should be noted that the dotting template is matched with the specific workpiece drawing to ensure the accuracy and effectiveness of the workpiece inspection process.
[0073] It should be understood that the position data is the position of each point to be detected in the workpiece drawing after the workpiece drawing is dotted. Since the workpiece drawing already includes detailed information such as the dimension marking of the workpiece to be detected, the position data of each point to be detected can be quickly determined based on the dimension marking, and the position data is used as the standard point data to perform workpiece detection on the points to be detected.
[0074] In this embodiment, through the above-mentioned dot-marking template, the control console can automatically determine the positions where dots need to be marked according to the type of the workpiece to be inspected, so as to realize automatic probe dot-marking and improve the efficiency of workpiece inspection.
[0075] In another feasible implementation manner, the step of performing probe dotting on the workpiece drawing based on the dotting template to obtain position data of the points to be detected in the workpiece drawing described in this embodiment includes: obtaining supplementary point data input by a user; extracting key point data pre-set in the dotting template; and performing probe dotting on the workpiece drawing based on the supplementary point data and the key point data to obtain position data of the points to be detected in the workpiece drawing.
[0076] It is understandable that the key point data may be data included in the dot marking template that is representative and key points marked on the workpiece to be inspected.
[0077] It should be noted that the supplementary point data can be the data input by the staff (ie, the user) to make further point supplements for the workpiece to be inspected, taking into account that the workpiece may have a complex shape and stress may occur during the processing, resulting in defects in non-representative positions of the workpiece to be inspected.
[0078] In this embodiment, after obtaining the dot-marking template, the console can determine whether the workpiece to be inspected is a complex workpiece according to the workpiece type; if the workpiece to be inspected is a complex workpiece, an alarm is issued to prompt the staff operating the console to supplement the dot-marking position of the workpiece drawing. After the staff inputs the supplementary point data into the console, the console performs probe dot-marking on the workpiece drawing according to the key point data pre-set in the dot-marking template and the supplementary point data, so as to further improve the integrity of the dot-marking.
[0079] Step S20: uploading the standard point data to a numerically controlled machine tool; and / or, the numerically controlled machine tool receives the uploaded standard point data, performs actual dotting on the workpiece to be inspected based on the standard point data, and feeds back the actual dotting data obtained.
[0080] Specifically, after the console obtains the above-mentioned standard point data through dotting, the standard point data can be uploaded to the digital control machine tool connected to the console. At this time, after receiving the standard point data, the digital control machine tool actually marks the workpiece to be inspected in the machine during the processing or after the processing is completed according to the standard point data. After the dotting is completed, the data control machine tool collects the actual dotting data of the actual dotting points on the workpiece to be inspected, and then transmits the actual dotting data back to the console.
[0081] Step S30: receiving actual dot data fed back by the numerical control machine tool, and comparing the actual dot data with the standard point data to obtain a workpiece detection result corresponding to the workpiece to be detected.
[0082] It should be noted that the workpiece inspection result is the conclusion on whether the size of the workpiece to be inspected is qualified after various comparisons are made between the actual dot data of the workpiece to be inspected and the standard dot data.
[0083] Exemplarily, the workpiece inspection result may be based on whether the workpiece to be inspected is qualified, or may be based on whether each point to be inspected in the workpiece to be inspected is qualified, which is not limited in this embodiment.
[0084] In the technical solution provided in this embodiment, after obtaining the workpiece drawing of the workpiece to be detected, the console can identify the workpiece specifications of the workpiece drawing, obtain the data of the pre-set points to be detected according to the workpiece specifications, and automatically mark the points to be detected on the workpiece drawing; it can also issue a prompt to remind the staff operating the console to manually mark the points to be detected in real time. After marking the points to be detected on the workpiece drawing, the position information of the points to be detected can be read from the workpiece drawing to obtain the standard point data. After the console obtains the above-mentioned standard point data by dotting, the standard point data can be uploaded to the digital control machine tool connected to the console. At this time, after receiving the standard point data, the data control machine tool actually marks the workpiece to be detected in the machine during the processing process or after the processing is completed according to the standard point data. After completing the dotting, the data control machine tool collects the actual dotting data of the actual dotting points on the workpiece to be detected, and then transmits the actual dotting data back to the console. After receiving the actual dotting data, the console can compare the actual dotting data of the workpiece to be inspected with the standard point data, and then obtain the workpiece inspection result of whether the size of the workpiece to be inspected is qualified or whether each point to be inspected in the workpiece to be inspected is qualified. Since the present embodiment pre-dots the workpiece drawing of the workpiece to be inspected with a probe, and transmits the standard point data corresponding to the point to be inspected to the digital control machine tool, the digital control machine tool performs actual dotting on the workpiece to be inspected and feeds back the actual dotting data, and finally compares the actual dotting data with the standard point data to obtain the workpiece inspection result. In this way, the data detection of the workpiece to be inspected can be completed on the machine before the workpiece to be inspected is unloaded, avoiding the situation where the workpiece to be inspected needs to be put on the machine again after being detected as unqualified after being unloaded, thereby improving the processing efficiency.
[0085] Based on the first embodiment of the present application, the second embodiment of the present application is proposed to explain the workpiece detection method from the perspective of the console. The same or similar contents as the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. Figure 4 , Figure 4 A schematic diagram of the flow chart of the second embodiment of the workpiece detection method of the present application.
[0086] In this example, step S30 also includes steps S31 to S33:
[0087] Step S31: Compare the actual dot data with the standard dot data to obtain the error result of the to-be-detected dot.
[0088] It should be noted that the error result may be the degree to which the point to be detected deviates from the standard point data.
[0089] Specifically, the control console can compare the actual marking data with the pre-set standard point data one by one to obtain the error results of each point to be detected deviating from the standard point data.
[0090] Step S32: generating a workpiece data form corresponding to the workpiece to be inspected according to the actual dot data and the error result.
[0091] Step S33: using the workpiece data form as the workpiece detection result corresponding to the workpiece to be detected.
[0092] It should be noted that the workpiece data form may be a table that records and presents various test results related to the workpiece to be tested after the workpiece to be tested is tested for size qualification.
[0093] Exemplarily, the workpiece data form may include the serial number and position of each point to be detected, the error of each position direction, etc., which is not limited in this embodiment.
[0094] In this embodiment, by comparing the workpiece data form obtained by comparing the degree of deviation of the points to be inspected from the standard, the gap between the actual situation of the workpiece to be inspected and the standard can be clearly identified, so as to facilitate the subsequent reprocessing of the workpiece to be inspected.
[0095] In a feasible implementation manner, step S31 of this example includes the steps of: parsing the spatial coordinate values corresponding to each actual point in the actual dot data; comparing the spatial coordinate values with the standard point data to obtain the error values between the actual point and the point to be detected on each coordinate axis; normalizing the error values of each coordinate axis to obtain an error coefficient;
[0096] Correspondingly, the step S32 includes: generating a workpiece data table corresponding to the workpiece to be inspected according to the spatial coordinate value and the error coefficient.
[0097] It should be noted that the spatial coordinate value can be a numerical value used to describe the specific position of the actual point on the workpiece to be detected. The spatial coordinate value can generally use the boundaries of the top view of the workpiece to be detected as the x-axis and y-axis, and the workpiece to be detected as the z-axis to describe the position; or any actual point can be selected as a reference point, and described by the relative position of the reference point and other points, which is not limited in this embodiment. It should be noted that the reference system established by the spatial coordinate value and the position data of the standard point data should be unified to ensure the accuracy of the data.
[0098] It is understandable that the error value can be the difference obtained by comparing the values of the x-axis, y-axis and z-axis of the spatial coordinate value with the values of the x-axis, y-axis and z-axis of the position data of the standard point data.
[0099] Since the x-axis, y-axis and z-axis all represent errors, in order to unify the errors between the actual points and the points to be detected, the error values of each coordinate axis can be unified (for example, the error values of the x-axis, y-axis and z-axis can be vectorized, and the error coefficient can be represented by the final vector value; or two of the coordinate axes can be selected as reference planes, and the error coefficient can be represented by the error value of another coordinate axis relative to the reference plane), thereby obtaining a unified error coefficient representing the points to be detected.
[0100] For ease of understanding, the following is an example. Figure 5 Take this as an example to illustrate: Figure 5 A schematic diagram of a scene of a workpiece detection result of a workpiece to be detected provided in this application. Figure 5 As shown in the figure, actual points are marked on the workpiece to be inspected, and the actual point sequence number 01 to the actual point sequence number 18 are exemplified. According to the spatial coordinate values and error coefficients obtained by the actual point sequence number 01 to the actual point sequence number 18, the workpiece data form generated is as follows Figure 6 As shown, Figure 6 Schematic diagram of the workpiece data form provided for this application.
[0101] like Figure 5 and Figure 6As shown, the actual point number 01, the coordinate value of the x-axis is -45.000, the coordinate value of the y-axis is 2.354, the coordinate value of the z-axis is -19.543, and its error coefficient is 0.001; the actual point number 02, the coordinate value of the x-axis is -0.988, the coordinate value of the y-axis is -22.500, and the coordinate value of the z-axis is -17.825, and its error coefficient is -0.011; the actual point number 03, the coordinate value of the x-axis is 45.000, the coordinate value of the y-axis is 1.966, and the coordinate value of the z-axis is -19.319, and its error coefficient is -0.006; the actual point number 04, the coordinate value of the x-axis is 1.111, the coordinate value of the y-axis is 22.500, and the coordinate value of the z-axis is -19.903, and its error coefficient is The error coefficient is 0.004; the actual point number 05, the coordinate value of the x-axis is 10.901, the coordinate value of the y-axis is 11.921, and the coordinate value of the z-axis is -5.342, and its error coefficient is 0.003; the actual point number 06, the coordinate value of the x-axis is 7.604, the coordinate value of the y-axis is 11.897, and the coordinate value of the z-axis is -4.659, and its error coefficient is 0.002; the actual point number 07, the coordinate value of the x-axis is 31.528, the coordinate value of the y-axis is 11.890, and the coordinate value of the z-axis is -4.443, and its error coefficient is 0.003; the actual point number 08, the coordinate value of the x-axis is 28.068, the coordinate value of the y-axis is 11.915, and the coordinate value of the z-axis is -5.165 , its error coefficient is 0.003; the actual point number 09, the coordinate value of the x-axis is 9.682, the coordinate value of the y-axis is -5.816, and the coordinate value of the z-axis is -3.897, and its error coefficient is 0.002; the actual point number 010, the coordinate value of the x-axis is 29.943, the coordinate value of the y-axis is -5.848, and the coordinate value of the z-axis is -3.543, and its error coefficient is 0.003; the actual point number 11, the coordinate value of the x-axis is 9.611, the coordinate value of the y-axis is -11.153, and the coordinate value of the z-axis is -3.533, and its error coefficient is -0.001; the actual point number 12, the coordinate value of the x-axis is 30.076, the coordinate value of the y-axis is -11.117, and the coordinate value of the z-axis is - 3.318, its error coefficient is -0.001; the actual point number 13, the coordinate value of the x-axis is 8.494, the coordinate value of the y-axis is 7.880, and the coordinate value of the z-axis is -3.899, and its error coefficient is 0.000; the actual point number 14, the coordinate value of the x-axis is 31.311, the coordinate value of the y-axis is 7.876, and the coordinate value of the z-axis is -4.037, and its error coefficient is 0.001; the actual point number 15, the coordinate value of the x-axis is 34.362, the coordinate value of the y-axis is 9.863, and the coordinate value of the z-axis is -3.746, and its error coefficient is 0.001; the actual point number 16, the coordinate value of the x-axis is 4.557, the coordinate value of the y-axis is 9.923, and the coordinate value of the z-axis is -3.641, its error coefficient is 0.001; the actual point number 17, the coordinate value of the x-axis is 7.104, the coordinate value of the y-axis is -8.941, and the coordinate value of the z-axis is -3.346, and its error coefficient is -0.001; the actual point number 18, the coordinate value of the x-axis is 32.386, the coordinate value of the y-axis is -8.951, and the coordinate value of the z-axis is -4.367, and its error coefficient is 0.00. .
[0102] Among them, the error coefficient of 0.000 means that there is no error between the actual point and the point to be detected, and the positive and negative error coefficients indicate that there is an error between the actual point and the point to be detected; the positive error coefficient also indicates that in the cutting process, the size of the actual point is out of tolerance, that is, the actual processing size is larger than the ideal size, and there may be overcutting; the negative error coefficient also indicates insufficient size, that is, the actual processing size is smaller than the ideal size, and there may be undercutting.
[0103] In this embodiment, the specific position and distance relationship of the actual point in the space of the workpiece to be detected are represented by the specific numerical values of the spatial coordinate values, so that the actual point can be accurately located and distinguished.
[0104] Furthermore, after step S33, this embodiment also includes: determining whether the error result reaches the machine tool tolerance of the numerical control machine tool; if the error result reaches the machine tool tolerance, treating the points to be inspected in the workpiece to be inspected that correspond to the machine tool tolerance as unqualified points; sending the point data of the unqualified points to the numerical control machine tool; and / or, the numerical control machine tool receives the uploaded point data of the unqualified points, and reprocesses the workpiece to be inspected based on the point data of the unqualified points.
[0105] It should be noted that machine tool tolerance can be the range of variation or difference in size, shape, position, etc. allowed by a numerically controlled machine tool during the process of manufacturing a workpiece.
[0106] Since it is difficult to achieve absolute precision in the manufacturing of the various parts of the CNC machine tool itself, there are certain manufacturing deviations, which will affect the accuracy of the machine tool processing workpiece. Therefore, the machine tool tolerance stipulates the reasonable limit to which the CNC machine tool can deviate from the ideal state in these aspects, so as to ensure that the machine tool can meet the processing requirements to a certain extent, and at the same time facilitate the production and quality control of the machine tool.
[0107] Based on this, for the above error coefficient, points beyond the machine tool tolerance range can be defined as unqualified points, and points within the machine tool tolerance range can be defined as qualified points (for example, taking the error coefficient 0.003 as the machine tool tolerance range, Figure 5In the example, the actual point numbers 02, 03 and 04 are unqualified points). In order to ensure the accuracy of the workpiece to be inspected, the unqualified points can be directly re-processed on the CNC machine tool without having to be taken off the machine and then put back on the machine.
[0108] Specifically, in order to help understand the implementation process of the workpiece detection method obtained by combining this embodiment with the above-mentioned embodiment 1, refer to Figure 7 , Figure 7 The overall flow chart of workpiece detection provided for this application. The first step is to determine the position of the workpiece by marking dots on the workpiece drawing with a probe, and then upload the standard point data corresponding to the point to be detected to the digital control machine tool. The second step is to use the machine tool probe of the digital control machine tool to detect and mark the workpiece to be detected. The third step is that the digital control machine tool returns the actual dot data to the control console, and the control console compares the actual dot data with the standard point data to generate the workpiece detection result. The fourth step is that the control console sends the point data of the unqualified points in the workpiece detection result to the digital control machine tool, so that the digital control machine tool reprocesses the workpiece to be detected based on the point data of the unqualified points.
[0109] In this embodiment, by comparing the tolerances of the machine tools, it can be further ensured that the workpiece to be inspected processed by the digital control machine tool meets the performance of the machine tool.
[0110] In the technical solution provided in this embodiment, by comparing the workpiece data form obtained by comparing the degree of deviation of the points to be detected from the standard, the gap between the actual situation of the workpiece to be detected and the standard can be clearly identified, so as to facilitate the subsequent reprocessing of the workpiece to be detected. Furthermore, the specific orientation and distance relationship of the actual point in the space of the workpiece to be detected are represented by the specific numerical values of the spatial coordinate values, so that the actual point can be accurately located and distinguished. Furthermore, by comparing the machine tool tolerances, it can be further ensured that the workpiece to be detected processed by the digital control machine tool meets the machine tool performance.
[0111] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the workpiece detection method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0112] Based on the above embodiments, the present application further proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the workpiece detection method described above are implemented.
[0113] It should be noted that the above-mentioned console is also connected to a numerical control machine tool during the execution of the above-mentioned workpiece detection method, and the numerical control machine tool includes: a processor, such as a central processing unit (CPU), a communication bus, a user interface, a network interface, and a memory. Among them, the communication bus is used to realize the connection and communication between these components. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory may also be a storage device independent of the aforementioned processor.
[0114] Those skilled in the art will appreciate that the structure does not constitute a limitation on the numerically controlled machine tool, and may include more or fewer components, or a combination of certain components, or different arrangements of components.
[0115] The memory as a storage medium may include an operating system, a network communication module, a user interface module, and a workpiece detection program.
[0116] In a digitally controlled machine tool, the network interface is mainly used for data communication with a network server; the user interface is mainly used for data interaction with a user; the processor and memory in the digitally controlled machine tool of the present application can be set in the digitally controlled machine tool, and the digitally controlled machine tool calls the workpiece detection program stored in the memory through the processor, and executes the workpiece detection method provided in the following embodiments of the present application.
[0117] Based on the above-mentioned digital control machine tool, the embodiment of the present application describes the workpiece detection method of the present application from the perspective of the above-mentioned digital control machine tool. In this embodiment, the digital control machine tool is connected to the above-mentioned control console, and the steps of the digital control machine tool performing workpiece detection include:
[0118] First, the standard point data uploaded by the console is received, and the standard point data is obtained by the console performing probe point marking on the workpiece image file of the workpiece to be inspected.
[0119] It should be noted that a digital control machine tool, the full name of which is a computer numerical control machine tool (CNC) machine tool, can perform various processing operations on metal or other materials in the machine tool to obtain a workpiece with a specific shape. However, it is difficult for a CNC machine tool to detect workpiece data on the machine during or after processing, so it is difficult to ensure the pass rate of the workpiece after it leaves the machine. Therefore, the workpiece detection method of this embodiment can be used to realize the function of detecting the workpiece on the machine.
[0120] It is understandable that the workpiece to be inspected may be a component in the above-mentioned CNC machine tool, which needs to be inspected for data during or after the processing to ensure the qualification rate of the workpiece.
[0121] Exemplarily, aspects of the workpiece to be inspected that can be inspected may include: whether the size of the workpiece is compliant, whether the workpiece has defects or flaws, whether the accuracy of the workpiece meets the standards, etc. This embodiment and the following embodiments are described using the example of inspecting whether the size of the workpiece is compliant, and this embodiment does not impose any limitation on this.
[0122] It should be noted that the workpiece drawing can be a workpiece model constructed based on the design, shape, size, technical requirements and other information of the workpiece to be inspected. The ratio between the workpiece drawing and the workpiece to be inspected is generally one to one to ensure the accuracy of the workpiece inspection in this implementation.
[0123] Exemplarily, the workpiece drawing may include: various views, dimension markings, tolerance requirements and other detailed information of the workpiece to be inspected, which is not limited in this embodiment.
[0124] Specifically, after obtaining the workpiece drawing of the workpiece to be inspected, the above-mentioned console can identify the workpiece specifications of the workpiece drawing, obtain the data of the pre-set points to be inspected according to the workpiece specifications, and automatically mark the points to be inspected on the workpiece drawing; it can also issue a prompt to remind the staff operating the console to manually mark the points to be inspected in real time. After marking the points to be inspected on the workpiece drawing, the position information of the points to be inspected can be read from the workpiece drawing to obtain the standard point data. After the console obtains the above-mentioned standard point data by marking, the standard point data can be uploaded to the digital control machine tool connected to the console. At this time, the data-controlled machine tool can receive the standard point data for subsequent actual marking.
[0125] Then, actual dotting is performed on the workpiece to be inspected based on the standard dot data, and the obtained actual dot data is fed back to the above-mentioned console, so that the above-mentioned console compares the actual dot data with the standard dot data to obtain the workpiece inspection result corresponding to the workpiece to be inspected.
[0126] It should be noted that the workpiece inspection result is the conclusion on whether the size of the workpiece to be inspected is qualified after various comparisons are made between the actual dot data of the workpiece to be inspected and the standard dot data.
[0127] Exemplarily, the workpiece inspection result may be based on whether the workpiece to be inspected is qualified, or may be based on whether each point to be inspected in the workpiece to be inspected is qualified, which is not limited in this embodiment.
[0128] Specifically, after the data-controlled machine tool receives the standard point data, it actually marks the workpiece to be inspected in the machine during or after the processing according to the standard point data. After completing the marking, the data-controlled machine tool collects the actual marking data of the actual marking points on the workpiece to be inspected, and then transmits the actual marking data back to the control console. At this time, after receiving the actual marking data, the control console can compare the actual marking data of the workpiece to be inspected with the standard point data, and obtain the workpiece inspection result of whether the size of the workpiece to be inspected is qualified or whether each point to be inspected in the workpiece to be inspected is qualified.
[0129] In this embodiment, after obtaining the workpiece drawing of the workpiece to be detected, the above-mentioned console can identify the workpiece specifications of the workpiece drawing, obtain the data of the pre-set points to be detected according to the workpiece specifications, and automatically mark the points to be detected on the workpiece drawing; it can also issue a prompt to remind the staff operating the console to manually mark the points to be detected in real time. After marking the points to be detected on the workpiece drawing, the position information of the points to be detected can be read from the workpiece drawing to obtain the standard point data. After the console obtains the above-mentioned standard point data by dotting, the standard point data can be uploaded to the digital control machine tool connected to the console. After receiving the standard point data, the data control machine tool actually marks the workpiece to be detected in the machine during the processing process or after the processing is completed according to the standard point data. After completing the dotting, the data control machine tool collects the actual dotting data of the actual dotting points on the workpiece to be detected, and then transmits the actual dotting data back to the console. At this time, after receiving the actual dotting data, the console can compare the actual dotting data of the workpiece to be inspected with the standard point data, and then obtain the workpiece inspection result of whether the size of the workpiece to be inspected is qualified or whether each point to be inspected in the workpiece to be inspected is qualified. Since the present embodiment uses a digital control machine tool to perform actual dotting on the workpiece to be inspected and feedback the actual dotting data, the actual dotting data and the standard point data can be compared through the console to obtain the workpiece inspection result. In this way, the data detection of the workpiece to be inspected can be completed on the machine before the workpiece to be inspected is unloaded, avoiding the situation where the workpiece to be inspected needs to be put on the machine again after being detected as unqualified after being unloaded, which not only improves the qualified rate of the workpiece to be inspected, but also improves the processing efficiency.
[0130] Based on the first embodiment of the workpiece detection method described in the present application from the perspective of a digitally controlled machine tool, the second embodiment of the workpiece detection method described in the present application from the perspective of a digitally controlled machine tool is proposed. The same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later.
[0131] In this example, after the above-mentioned console generates the workpiece inspection results: the digital control machine tool also receives the point data of unqualified points uploaded by the console, and the point data of unqualified points are obtained by the console comparing the error results of the points to be inspected with the machine tool tolerance; the digital control machine tool reprocesses the workpiece to be inspected based on the point data of the unqualified points.
[0132] It should be noted that the error result may be the degree to which the point to be detected deviates from the standard point data.
[0133] Specifically, the control console can compare the actual marking data with the pre-set standard point data one by one to obtain the error results of each point to be detected deviating from the standard point data.
[0134] It is understandable that the machine tool tolerance can be the range of variation or difference in size, shape, position, etc. allowed by the numerical control machine tool during the process of manufacturing the workpiece.
[0135] Since it is difficult to achieve absolute precision in the manufacturing of the various parts of the CNC machine tool itself, there are certain manufacturing deviations, which will affect the accuracy of the machine tool processing workpiece. Therefore, the machine tool tolerance stipulates the reasonable limit to which the CNC machine tool can deviate from the ideal state in these aspects, so as to ensure that the machine tool can meet the processing requirements to a certain extent, and at the same time facilitate the production and quality control of the machine tool.
[0136] Based on this, the console can define the above error results as unqualified points that exceed the machine tool tolerance range, and qualified points within the machine tool tolerance range (for example, taking the error coefficient 0.003 as the machine tool tolerance range, Figure 5 In the test, the actual point numbers 02, 03 and 04 are unqualified points). To ensure the accuracy of the workpiece to be inspected, the console can send the point data of the unqualified points to the digital control machine tool. At this time, the digital control machine tool can directly reprocess the unqualified points in the machine tool based on the point data of the unqualified points, without having to go off the machine and then go back on the machine again.
[0137] In this embodiment, the control console determines the position of the workpiece by marking dots on the workpiece drawing through a probe, and then uploads the standard point data corresponding to the point to be detected to the digital control machine tool. After the digital control machine tool receives the standard point data, it detects and marks the workpiece to be detected through the machine tool probe, and then transmits the actual dot data back to the control console. At this time, the control console compares the actual dot data with the standard point data, generates the workpiece detection result, and sends the point data of the unqualified points in the workpiece detection result to the digital control machine tool. After the digital control machine tool receives the point data of the unqualified point, it reprocesses the workpiece to be detected based on the point data of the unqualified point. Therefore, by comparing the machine tool tolerances, the digital control machine tool can further ensure that the processed workpiece to be detected meets the machine tool performance, ensures the pass rate of the workpiece to be detected, and thus improves the processing efficiency.
[0138] In addition, an embodiment of the present application further proposes a numerical control machining system, which includes the control console as described above and the numerical control machine tool as described above.
[0139] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0140] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0142] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A workpiece detection method, characterized in that: The method comprises: Obtaining a workpiece drawing of the workpiece to be inspected, and performing probe point marking on the workpiece drawing to obtain standard point data corresponding to the point to be inspected; The standard point data is uploaded to a digital control machine tool; and / or the digital control machine tool receives the uploaded standard point data, performs actual point marking on the workpiece to be inspected based on the standard point data, and feeds back the actual point marking data obtained; Receiving actual dot data fed back by the numerical control machine tool, and comparing the actual dot data with the standard point data to obtain a workpiece inspection result corresponding to the workpiece to be inspected; The step of performing probe dotting on the workpiece drawing to obtain standard point data corresponding to the point to be detected includes: determining the workpiece type of the workpiece to be detected; obtaining a dotting template corresponding to the workpiece drawing according to the workpiece type; performing probe dotting on the workpiece drawing based on the dotting template to obtain position data of the point to be detected in the workpiece drawing; and using the position data as the standard point data of the point to be detected; Among them, the step of comparing the actual dot data with the standard point data to obtain the workpiece detection result corresponding to the workpiece to be detected includes: parsing the spatial coordinate value corresponding to each actual point in the actual dot data; comparing the spatial coordinate value with the standard point data to obtain the error value between the actual point and the point to be detected on each coordinate axis; standardizing the error value of each coordinate axis to obtain the error coefficient; generating a workpiece data form corresponding to the workpiece to be detected based on the spatial coordinate value and the error coefficient; and using the workpiece data form as the workpiece detection result corresponding to the workpiece to be detected.
2. The method according to claim 1, characterized in that The step of performing probe dotting on the workpiece drawing based on the dotting template to obtain position data of the points to be detected in the workpiece drawing includes: Get the supplementary point data entered by the user; Extracting key point data preset in the dot template; Based on the supplementary point data and the key point data, the workpiece drawing is probed to obtain position data of the points to be detected in the workpiece drawing.
3. The method according to claim 1, characterized in that After the step of using the workpiece data form as the workpiece detection result corresponding to the workpiece to be detected, the method further includes: Compare the actual dot data with the standard dot data to obtain the error result of the to-be-detected dot; Determining whether the error result reaches the machine tool tolerance of the numerically controlled machine tool; If the error result reaches the machine tool tolerance, the points to be inspected in the workpiece to be inspected that correspond to the machine tool tolerance are regarded as unqualified points; Sending the point data of the unqualified points to the digital control machine tool; And / or, the numerically controlled machine tool receives uploaded point data of unqualified points, and reprocesses the workpiece to be inspected based on the point data of the unqualified points.
4. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the workpiece detection method according to any one of claims 1 to 3 are implemented.
5. A control console, characterized in that: The console comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the workpiece detection method according to any one of claims 1 to 3.
6. A digitally controlled machine tool, characterized in that: The numerically controlled machine tool comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the workpiece detection method according to any one of claims 1 to 3.
7. A numerical control machining system, characterized in that: The numerical control machining system comprises the control console as claimed in claim 5 and the numerical control machine tool as claimed in claim 6.
Citation Information
Patent Citations
Workpiece in-machine measurement method, device and equipment and storage medium
CN115139153A
Drawing-free circuit board detection method and device
CN115932553A