Quality analysis method, device, system and equipment for machine tool machining workpiece and medium
By driving the machine tool measuring instrument to couple with the workpiece on a CNC machine tool and driving the workpiece to rotate for quality measurement, the problem of workpieces in the prior art needs to be taken out and measured is solved, which improves detection efficiency and repair efficiency, saves costs and reduces risks.
Patent Information
- Application Number
- CN202411864646.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-15
AI Technical Summary
In the quality evaluation of machine tool processing workpieces, the workpiece needs to be taken out of the machine tool for measurement, resulting in low detection efficiency, unfavorable to the reprocessing process, affecting flow-through production, and having time and economic costs, as well as moving risks.
After the workpiece processing of the CNC machine tool is completed, the machine tool measuring instrument is driven to couple with the workpiece by generating a first control command, and the head frame of the CNC machine tool is driven to drive the workpiece to rotate through the second control command. The quality of the workpiece is determined based on the mass parameters measured by the machine tool measuring instrument during the rotation of the workpiece.
The quality of the workpiece is determined without taking out, which improves the inspection efficiency; when the workpiece is not of quality, it can be reprocessed in a CNC machine tool, which improves repair efficiency, saves time and economic costs, and reduces the risk of moving.
Smart Images

Figure CN119828589A_ABST
Abstract
Description
[0001] The quality of the workpiece is determined based on the quality parameter of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece.
[0002] In one embodiment, determining the quality of the workpiece based on the quality parameter of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece includes:
[0003] storing the tolerance band of the quality parameter in the machine tool measuring instrument, wherein when the machine tool measuring instrument determines that the quality parameter exceeds the tolerance band, an alarm message is sent to the CNC machine tool;
[0004] When the alarm message is received, it is determined that the quality of the workpiece is unqualified, and when the alarm message is not received, it is determined that the quality of the workpiece is qualified.
[0005] In one embodiment, determining the quality of the workpiece based on the quality parameter of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece includes:
[0006] receiving a report message including the quality parameter from the machine tool measuring instrument;
[0007] parsing the quality parameter from the report message;
[0008] When the quality parameter exceeds the tolerance band pre-stored in the CNC machine tool, it is determined that the quality of the workpiece is unqualified, and when the quality parameter does not exceed the tolerance band, it is determined that the quality of the workpiece is qualified.
[0009] In one embodiment, it includes:
[0010] When it is determined that the quality of the workpiece is unqualified, a third control instruction is generated, wherein the third control instruction is used to control the CNC machine tool to perform a reprocessing process on the workpiece, wherein the reprocessing process is suitable for adjusting the quality parameter to not exceed the tolerance band;
[0011] The third control instruction is executed.
[0012] In one embodiment, the workpiece is a motor rotor; the CNC machine tool completes the processing of the workpiece including: the CNC machine tool completes the grinding process of the motor rotor;
[0013] The generating of the first control instruction includes: generating a first control instruction for driving the first measuring instrument of the machine tool measuring instrument to couple with the first outer surface point on the rotating shaft of the motor rotor and the second measuring instrument of the machine tool measuring instrument to couple with the second outer surface point on the rotating shaft of the motor rotor, wherein the distance between the first outer surface point and the second outer surface point is the diameter of the rotating shaft.
[0014] In one embodiment, the quality parameter includes at least one of the following:
[0015] Cylindricity; single point runout; total runout.
[0016] A quality analysis device for a machine tool workpiece, comprising:
[0017] A first generating module, used for generating a first control instruction, wherein the first control instruction is used for driving a machine tool measuring instrument to couple with the workpiece in the CNC machine tool after the CNC machine tool completes a machining process of the workpiece;
[0018] A sending module, used for sending the first control instruction to the machine tool measuring instrument, so that the machine tool measuring instrument executes the first control instruction;
[0019] A second generating module, used for generating a second control instruction for driving a headstock of the CNC machine tool to drive the workpiece to rotate;
[0020] An execution module, configured to execute the second control instruction;
[0021] The determination module is used to determine the quality of the workpiece based on the quality parameters of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece.
[0022] In one embodiment, the determination module is used to store the tolerance band of the quality parameter in the machine tool measuring instrument, wherein when the machine tool measuring instrument determines that the quality parameter exceeds the tolerance band, an alarm message is sent to the CNC machine tool; when the alarm message is received, it is determined that the quality of the workpiece is unqualified, and when the alarm message is not received, it is determined that the quality of the workpiece is qualified.
[0023] In one embodiment, the determination module is used to receive a report message containing the quality parameters from the machine tool measuring instrument; parse the quality parameters from the report message; when the quality parameters exceed the tolerance band pre-stored in the CNC machine tool, determine that the quality of the workpiece is unqualified; when the quality parameters do not exceed the tolerance band, determine that the quality of the workpiece is qualified.
[0024] A quality analysis system for machine tool workpieces comprises a numerically controlled machine tool and a machine tool measuring instrument, wherein:
[0025] The CNC machine tool is used to generate a first control instruction, wherein the first control instruction is used to drive a machine tool measuring instrument to couple with the workpiece in the CNC machine tool after the CNC machine tool completes a machining process of the workpiece; and send the first control instruction to the machine tool measuring instrument;
[0026] The machine tool measuring instrument is used to execute the first control instruction;
[0027] The CNC machine tool is further used to generate a second control instruction for driving a headstock of the CNC machine tool to drive the workpiece to rotate;
[0028] The machine tool measuring instrument is also used to measure the quality parameters of the workpiece during the rotation of the workpiece;
[0029] The CNC machine tool is also used to determine the quality of the workpiece based on the quality parameter.
[0030] In one embodiment, the machine tool measuring instrument is used to store the tolerance band of the quality parameter, wherein when it is determined that the quality parameter exceeds the tolerance band, an alarm message is generated and the alarm message is sent to the CNC machine tool;
[0031] The numerically controlled machine tool is used to determine that the quality of the workpiece is unqualified when the alarm message is received, and to determine that the quality of the workpiece is qualified when the alarm message is not received.
[0032] In one embodiment, the machine tool measuring instrument is used to generate a reporting message including the quality parameters and send the reporting message to the CNC machine tool; the CNC machine tool is used to parse the quality parameters from the reporting message, and when the quality parameters exceed the tolerance band pre-stored in the CNC machine tool, determine that the quality of the workpiece is unqualified; when the quality parameters do not exceed the tolerance band, determine that the quality of the workpiece is qualified.
[0033] An electronic device, comprising:
[0034] processor;
[0035] A memory, configured to store executable instructions of the processor;
[0036] The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the quality analysis method for machine tool processing workpieces as described in any one of the above items.
[0037] A computer-readable storage medium stores computer instructions, which, when executed by a processor, implement the quality analysis method for a workpiece processed by a machine tool as described in any one of the above.
[0038] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the method for analyzing the quality of a workpiece processed by a machine tool as described in any one of the above items is implemented.
[0039] It can be seen from the above technical scheme that in the embodiment of the present invention, a first control instruction is generated, and the first control instruction is used to drive the machine tool measuring instrument to couple with the workpiece in the CNC machine tool after the CNC machine tool completes the processing technology of the workpiece; the machine tool measuring instrument executes the first control instruction; a second control instruction is generated for driving the headstock of the CNC machine tool to drive the workpiece to rotate; the second control instruction is executed; and the quality of the workpiece is determined based on the quality parameters of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece. It can be seen that after the CNC machine tool completes the processing technology of the workpiece, there is no need to remove the workpiece from the machine tool. Based on the first control instruction, the machine tool measuring instrument is driven to couple with the workpiece in the CNC machine tool, and the headstock of the CNC machine tool is driven to drive the workpiece to rotate, and then the quality of the workpiece is determined based on the quality parameters measured by the machine tool measuring instrument during the rotation of the workpiece, thereby improving the detection efficiency. Moreover, when the quality of the workpiece is unqualified, the workpiece can be directly reprocessed in the CNC machine tool in a targeted manner, so that the quality parameters do not exceed the tolerance band, thereby improving the repair efficiency and saving time and economic costs. In addition, there is no need to move the workpiece, which reduces various risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that the above and other features and advantages of the present invention will be more apparent to those skilled in the art. In the accompanying drawings:
[0041] Figure 1 is an exemplary flow chart of a method for analyzing the quality of a workpiece processed by a machine tool according to an embodiment of the present invention.
[0042] Figure 2 It is a schematic diagram of coupling between a motor rotor and a machine tool measuring instrument in a CNC machine tool according to an embodiment of the present invention.
[0043] Figure 3 is an exemplary schematic diagram of a quality analysis process of a workpiece processed by a machine tool according to an embodiment of the present invention.
[0044] Figure 4 4 is an exemplary structural diagram of a quality analysis system for machining a workpiece using a machine tool according to an embodiment of the present invention.
[0045] Figure 5 4 is an exemplary structural diagram of a quality analysis device for machining a workpiece using a machine tool according to an embodiment of the present invention.
[0046] Figure 6 is an exemplary structural diagram of an electronic device according to an embodiment of the present invention.
[0047] The reference numerals are as follows:
[0048]
[0049] DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail with reference to the following embodiments. Nouns and pronouns related to people in this patent application are not limited to specific genders.
[0051] For the sake of brevity and intuitiveness in description, the scheme of the present invention is explained below by describing several representative implementations. A large number of details in the implementations are only used to help understand the scheme of the present invention. However, it is obvious that the technical scheme of the present invention may not be limited to these details when implemented. In order to avoid unnecessarily obscuring the scheme of the present invention, some implementations are not described in detail, but only a framework is given. Hereinafter, "including" means "including but not limited to", and "according to..." means "at least according to..., but not limited to only according to...". Due to the language habits of Chinese, when the number of a component is not specifically specified below, it means that the component can be one or more, or can be understood as at least one.
[0052] In the current quality assessment process of workpieces processed by machine tools, it is necessary to remove the workpiece from the machine tool after the machine tool completes the workpiece processing, and use peripheral equipment (such as a micrometer outside diameter micrometer, a three-coordinate measuring machine or a deflection meter, etc.) to measure the quality parameters of the workpiece (such as cylindricity or runout), and then evaluate the processing quality of the workpiece based on these quality parameters.
[0053] The applicant found that: taking the workpiece out of the machine tool before measuring has the disadvantages of low detection efficiency, which is not conducive to the subsequent reprocessing process, affects the assembly line production, and has time and economic costs. Moreover, taking out the workpiece may have unpredictable risks (for example, the workpiece may collide with the surrounding environment).
[0054] In an embodiment of the present invention, after the CNC machine tool completes the processing of the workpiece, there is no need to remove the workpiece from the machine tool. Instead, the machine tool measuring instrument is driven to couple with the workpiece in the CNC machine tool based on a control instruction, and the headstock of the CNC machine tool is driven to rotate the workpiece. The quality parameters measured by the machine tool measuring instrument during the rotation of the workpiece are used to determine the quality of the workpiece, thereby avoiding the many defects of removing the workpiece from the machine tool and then performing measurement.
[0055] Figure 1 is an exemplary flow chart of a method for analyzing the quality of a workpiece processed by a machine tool according to an embodiment of the present invention. Figure 1The method shown can be executed by a controller of a CNC machine tool. For example, it can be executed by a programmable logic controller (PLC) of a CNC machine tool. The PLC of a CNC machine tool can control the movement of the machine tool. During the operation of the CNC machine tool, the PLC can control the movement of the tool magazine, the tool changing mechanism, the coolant, etc. according to the control logic set by the program based on the internal flags of the digital control function (NC) and the status of each control switch, detection element, and operating component of the machine tool.
[0056] like Figure 1 As shown, the method includes:
[0057] Step 101: Generate a first control instruction, where the first control instruction is used to drive a machine tool measuring instrument to couple with a workpiece in the CNC machine tool after the CNC machine tool completes a machining process of the workpiece.
[0058] For example, a controller (e.g., a PLC) of a CNC machine tool generates a first control instruction. The first control instruction is used to drive a machine tool measuring instrument to couple with a workpiece in the CNC machine tool after the CNC machine tool completes a machining process of the workpiece. For example, the first control instruction is used to drive the machine tool measuring instrument to move near the workpiece in the CNC machine tool, and at least one measuring element of the machine tool measuring instrument is coupled with the workpiece, so that the machine tool measuring instrument can measure various preset quality parameters of the workpiece (e.g., cylindricity and runout, etc.).
[0059] Step 102: Send the first control instruction to the machine tool measuring instrument, so that the machine tool measuring instrument executes the first control instruction.
[0060] A machine tool measuring instrument is a device that can measure the motion errors of each axis of a CNC machine tool, including machine tool measuring instruments such as grinders, milling machines, and lathes. It can detect various properties of CNC machine tools and workpieces to be measured in real time, help adjust and calibrate machine tools, and improve processing accuracy and efficiency. The machine tool measuring instrument has a communication connection (for example, a serial port connection) with the CNC machine tool. The machine tool measuring instrument receives a first control instruction from the CNC machine tool via the communication connection and executes the first control instruction. For example, the machine tool measuring instrument executes the first control instruction to move to the vicinity of the workpiece in the CNC machine tool, and at least one measuring element of the machine tool measuring instrument extends toward the workpiece and couples with the workpiece, thereby facilitating the measurement of various preset quality parameters of the workpiece.
[0061] Step 103: Generate a second control instruction for driving the headstock of the CNC machine tool to drive the workpiece to rotate.
[0062] Here, the controller (eg, PLC) of the CNC machine tool further generates a second control instruction for driving the headstock of the CNC machine tool to drive the workpiece to rotate.
[0063] Step 104: Execute the second control instruction.
[0064] Here, the controller of the CNC machine tool executes the second control instruction to drive the headstock of the machine tool, and the headstock is driven to drive the workpiece to rotate.
[0065] Step 105: Determine the quality of the workpiece based on the quality parameters of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece.
[0066] In the process of the CNC machine tool driving the headstock to drive the workpiece to rotate, the machine tool measuring instrument measures the quality parameters of the workpiece. In one embodiment, the quality parameters of the workpiece include at least one of the following: cylindricity; single point runout; total runout. Among them:
[0067] (1) Cylindricity is the difference between the maximum and minimum dimensions of any vertical section of a cylindrical workpiece. Cylindricity error is the variation of the actual cylindrical surface element from its ideal cylindrical surface. According to the principle of shape error assessment, when comparing the actual cylindrical surface with the ideal cylindrical surface, the minimum inclusion area should be determined based on the actual cylindrical surface. When two coaxial cylindrical surfaces with the same shape as the cylindricity tolerance zone tightly contain the actual cylindrical surface element and their radius difference is the minimum value, it is the minimum inclusion area.
[0068] (2) Total runout is the difference between the maximum and minimum readings obtained by a probe in a given direction when the cylindrical workpiece rotates about the reference axis without axial movement and the probe moves synchronously in the horizontal direction (for example, in the axial direction of the workpiece).
[0069] (3) Single point runout refers to the deviation of a point on a cross section of a cylindrical workpiece from the reference axis. Single point runout is a type of runout tolerance, which is mainly used to measure the runout error of a cylinder at a specific position. Specifically, single point runout is determined by selecting a point on a cross section of the cylinder and then measuring the change in distance from the point to the reference axis.
[0070] The above exemplary descriptions are typical examples of quality parameters. Those skilled in the art may appreciate that such descriptions are merely exemplary and are not intended to limit the protection scope of the embodiments of the present invention.
[0071] In one embodiment, step 105 includes: storing the tolerance band of the quality parameter in the machine tool measuring instrument, wherein when the machine tool measuring instrument determines that the quality parameter exceeds the tolerance band, sending an alarm message to the CNC machine tool; when the alarm message is received, determining that the quality of the workpiece is unqualified, and when no alarm message is received, determining that the quality of the workpiece is qualified.
[0072] It can be seen that by storing the tolerance band of the quality parameter in the machine tool measuring instrument, the machine tool measuring instrument can determine whether the quality parameter exceeds the tolerance band, wherein when it exceeds the tolerance band, an alarm message is sent to the CNC machine tool. When the controller of the CNC machine tool receives the alarm message, it can determine that the quality of the workpiece is unqualified. When no alarm message is received, the controller of the CNC machine tool determines that the quality of the workpiece is qualified. Therefore, arranging the tolerance band storage and comparison process in the machine tool measuring instrument can reduce the control pressure of the CNC machine tool.
[0073] In one embodiment, step 105 includes: the controller of the CNC machine tool receives a report message containing quality parameters from the machine tool measuring instrument; parses the quality parameters from the report message; when the quality parameters exceed the tolerance band pre-stored in the CNC machine tool, the controller of the CNC machine tool determines that the quality of the workpiece is unqualified, and when the quality parameters do not exceed the tolerance band, the controller of the CNC machine tool determines that the quality of the workpiece is qualified.
[0074] It can be seen that the tolerance band of the quality parameter is stored in the storage medium accessible to the CNC machine tool, and the machine tool measuring instrument reports the reporting message containing the quality parameter to the CNC machine tool, so that the controller of the CNC machine tool can determine whether the quality parameter exceeds the tolerance band. When it exceeds the tolerance band, it can be determined that the quality of the workpiece is unqualified, and when it does not exceed the tolerance band, it is determined that the quality of the workpiece is qualified. Therefore, arranging the tolerance band storage and comparison process in the CNC machine tool can reduce the control pressure of the machine tool measuring instrument.
[0075] In one embodiment, Figure 1 The method shown also includes: when it is determined that the quality of the workpiece is unqualified, generating a third control instruction, the third control instruction is used to control the CNC machine tool to perform a reprocessing process on the workpiece, the reprocessing process is suitable for adjusting the quality parameters to not exceed the tolerance band; executing the third control instruction.
[0076] It can be seen that when it is determined that the quality of the workpiece in the CNC machine tool is unqualified, a targeted reprocessing process can be directly performed on the workpiece in the CNC machine tool (for example, controlling the turning tool to process the area with unqualified cylindricity), so that the quality parameters that originally exceeded the tolerance band fall within the tolerance band, thereby improving the repair efficiency and saving time and economic costs.
[0077] In one embodiment, the workpiece is a motor rotor; the CNC machine tool completes the processing of the workpiece, including: the CNC machine tool completes the grinding process of the motor rotor; generating a first control instruction includes: generating a first control instruction for driving a first probe of a machine tool measuring instrument to couple with a first outer surface point on the rotating shaft of the motor rotor and a second probe of the machine tool measuring instrument to couple with a second outer surface point on the rotating shaft of the motor rotor, wherein the distance between the first outer surface point and the second outer surface point is the diameter of the rotating shaft.
[0078] The following takes the workpiece as a motor rotor as an example to describe the implementation of the present invention. For example: The processing process of machining a rotor by a machine tool mainly includes:
[0079] (1) Material selection: The material selection of the rotor directly affects its performance and service life. Common materials include carbon steel, alloy steel, stainless steel, etc. These materials need to have high strength, hardness and wear resistance.
[0080] (2) Forging: Forging is a process in which metal materials are heated to a certain temperature and then plastically deformed to obtain the desired shape and size. Appropriate forging equipment and process parameters need to be selected during the forging process to ensure that high-quality rotor blanks are obtained.
[0081] (3) Rough machining: The forged rotor blank needs to be rough machined, including turning, milling, drilling and other processes. During the rough machining process, the machining dimensions and surface quality need to be strictly controlled to ensure the accuracy and quality of the rotor.
[0082] (4) Heat treatment: Heat treatment is an important process to improve the performance of rotor materials and improve the organizational structure. Common heat treatment processes include annealing, normalizing, quenching, etc. Heat treatment can improve the hardness, strength and wear resistance of the rotor, eliminate internal stress and improve the organizational structure, thereby increasing the service life and performance stability of the rotor.
[0083] (5) Finishing: Finishing is a key step in the rotor manufacturing process, including grinding, polishing, lathe and other processes. During the finishing process, the processing size and surface quality need to be strictly controlled to ensure the accuracy and surface finish of the rotor, while ensuring the rotor's matching clearance and running stability.
[0084] Here, after the CNC machine tool completes the grinding process of the motor rotor, a first control instruction for driving the first probe of the machine tool measuring instrument to couple with the first outer surface point on the rotating shaft of the motor rotor and the second probe of the machine tool measuring instrument to couple with the second outer surface point on the rotating shaft of the motor rotor can be generated, wherein the distance between the first outer surface point and the second outer surface point is the diameter of the rotating shaft. Moreover, the first control instruction is sent to the machine tool measuring instrument so that the first control instruction is executed by the machine tool measuring instrument. The controller of the CNC machine tool generates a second control instruction for driving the headstock of the CNC machine tool to drive the motor rotor, and executes the second control instruction. Then, based on the cylindricity or runout measured by the machine tool measuring instrument during the process of the motor rotor, the quality of the motor rotor is determined.
[0085] Figure 2 Schematic diagram of the coupling between the motor rotor and the machine tool measuring instrument in the CNC machine tool according to the embodiment of the present invention. Figure 2In the embodiment, the rotor includes a rotor body (usually a cast aluminum part) 10a and a shaft 10b, wherein one end of the shaft 10b is coupled to the headstock 12 of the machine tool via a chuck 11, and the other end of the shaft 10b is coupled to the ejector pin 13. The first probe 15 and the second probe 16 of the machine tool measuring instrument 14 are respectively coupled to two points on the outer surface of the shaft 10b. The headstock 12 of the CNC machine tool drives the workpiece to rotate. During the rotation of the workpiece, when the first probe 15 and the second probe 16 remain stationary, the machine tool measuring instrument 14 can measure the single-point roundness and single-point run-out of the workpiece. When the first probe 15 and the second probe 16 move in the horizontal direction, the machine tool measuring instrument 14 can measure the cylindricity and total run-out of the workpiece. The tolerance band of cylindricity and the tolerance band of total run-out can be saved in the machine tool measuring instrument 14, wherein when the cylindricity or total run-out exceeds the corresponding tolerance band, an alarm message is sent to the CNC machine tool. Alternatively, the machine tool measuring instrument 14 sends a report message including cylindricity and total runout to the controller (e.g., PLC) of the CNC machine tool. When the cylindricity or total runout exceeds the tolerance band of cylindricity or total runout pre-stored in the CNC machine tool, the controller of the CNC machine tool determines that the quality of the workpiece is unqualified.
[0086] The above describes the implementation mode of the present invention by taking the workpiece as a motor rotor as an example. Those skilled in the art can appreciate that such description is only exemplary and is not used to limit the protection scope of the implementation mode of the present invention.
[0087] Figure 3 is an exemplary schematic diagram of a quality analysis process of a workpiece processed by a machine tool according to an embodiment of the present invention. Figure 3 The process includes a tolerance zone extraction process 20, a measured value extraction process 30 and an analysis process 40.
[0088] The tolerance zone extraction process 20 includes: in a first extraction process 21, extracting parameters related to the workpiece model (such as the center distance of the workpiece, the axial length of the workpiece, etc.); in a first analysis process 22, determining the tolerance zone of the quality parameters (including the maximum limit size and the minimum limit size) corresponding to the parameters related to the workpiece model. In a first sending process 23, sending the tolerance zone.
[0089] The measured value extraction process 30 includes: in a second extraction process 31, obtaining an execution program of the measuring instrument for measuring quality parameters; in a second analysis process 32, obtaining the measured value of the quality parameter based on the execution program; in a second sending process 33, sending the measured value of the quality parameter.
[0090] The analysis process includes: the machine tool PLC 41 executes the processing process 42 of the workpiece; after the processing process 42 is completed, a measurement command 43 is sent to start the measurement process, at which time the machine tool measuring instrument is coupled to the workpiece to start the measured value extraction process 30 and the head frame drives the workpiece to rotate; in the first data receiving process 44, the measured value of the quality parameter is received from the second sending process 33; in the second data receiving process 45, the tolerance band of the quality parameter is received from the first sending process 23; in the third analysis process 46, whether the measured value is in the tolerance band is analyzed; in the message processing process 47, whether the quality is qualified is determined based on the judgment result of whether the measured value is in the tolerance band, and the judgment result of whether the quality is qualified is sent to the machine tool PLC 41.
[0091] Figure 4 is an exemplary structural diagram of a quality analysis system for machine tool workpieces according to an embodiment of the present invention. Figure 4 As shown, the quality analysis system 400 includes a CNC machine tool 401 and a machine tool measuring instrument 402, wherein: the CNC machine tool 401 is used to generate a first control instruction, and the first control instruction is used to drive the machine tool measuring instrument 402 to couple with the workpiece in the CNC machine tool 401 after the CNC machine tool 401 completes the processing of the workpiece; the first control instruction is sent to the machine tool measuring instrument 402; the machine tool measuring instrument 402 is used to execute the first control instruction; the CNC machine tool 401 is also used to generate a second control instruction for driving the headstock of the CNC machine tool 401 to drive the workpiece to rotate; the machine tool measuring instrument 402 is also used to measure the quality parameters of the workpiece during the rotation of the workpiece; the CNC machine tool 401 is also used to determine the quality of the workpiece based on the quality parameters.
[0092] In one embodiment, the machine tool measuring instrument 402 is used to store the tolerance band of the quality parameter, wherein when it is determined that the quality parameter exceeds the tolerance band, an alarm message is generated and sent to the CNC machine tool 401; the CNC machine tool 401 is used to determine that the quality of the workpiece is unqualified when the alarm message is received, and determine that the quality of the workpiece is qualified when no alarm message is received.
[0093] In one embodiment, the machine tool measuring instrument 402 is used to generate a report message including quality parameters and send the report message to the CNC machine tool 401; the CNC machine tool 401 is used to parse the quality parameters from the report message, and when the quality parameters exceed the tolerance band pre-stored in the CNC machine tool 401, it is determined that the quality of the workpiece is unqualified; when the quality parameters do not exceed the tolerance band, it is determined that the quality of the workpiece is qualified.
[0094] The embodiment of the present invention further provides a quality analysis device for a workpiece processed by a machine tool. Figure 5 is an exemplary structural diagram of a quality analysis device for machine tool workpieces according to an embodiment of the present invention. Figure 5As shown, the quality analysis device 500 for machine tool processing workpieces includes: a first generating module 501, used to generate a first control instruction, the first control instruction is used to drive the machine tool measuring instrument to couple with the workpiece in the CNC machine tool after the CNC machine tool completes the processing technology of the workpiece; a sending module 502, used to send the first control instruction to the machine tool measuring instrument, so that the machine tool measuring instrument executes the first control instruction; a second generating module 503, used to generate a second control instruction for driving the headstock of the CNC machine tool to drive the workpiece to rotate; an execution module 504, used to execute the second control instruction; a determination module 505, used to determine the quality of the workpiece based on the quality parameters of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece.
[0095] In one embodiment, the determination module 505 is used to store the tolerance band of the quality parameter in the machine tool measuring instrument, wherein when the machine tool measuring instrument determines that the quality parameter exceeds the tolerance band, an alarm message is sent to the CNC machine tool; when the alarm message is received, it is determined that the quality of the workpiece is unqualified, and when no alarm message is received, it is determined that the quality of the workpiece is qualified.
[0096] In one embodiment, the determination module 505 is used to receive a report message containing quality parameters from a machine tool measuring instrument; parse the quality parameters from the report message; when the quality parameters exceed the tolerance band pre-stored in the CNC machine tool, determine that the quality of the workpiece is unqualified; when the quality parameters do not exceed the tolerance band, determine that the quality of the workpiece is qualified.
[0097] In one embodiment, the determination module 505 is used to generate a third control instruction when it is determined that the quality of the workpiece is unqualified. The third control instruction is used to control the CNC machine tool to perform a reprocessing process on the workpiece. The reprocessing process is suitable for adjusting the quality parameters to not exceed the tolerance band; execute the third control instruction.
[0098] In one embodiment, the workpiece is a motor rotor; the processing technology of the workpiece completed by the CNC machine tool includes: the grinding process of the motor rotor completed by the CNC machine tool; the first generation module 501 is used to generate a first control instruction for driving the first probe of the machine tool measuring instrument to couple with the first outer surface point on the shaft of the motor rotor and the second probe of the machine tool measuring instrument to couple with the second outer surface point on the shaft of the motor rotor, wherein the distance between the first outer surface point and the second outer surface point is the diameter of the shaft.
[0099] In one embodiment, the quality parameter comprises at least one of: cylindricity; single point run-out; total run-out.
[0100] In summary, in an embodiment of the present invention, a first control instruction is generated, and the first control instruction is used to drive the machine tool measuring instrument to couple with the workpiece in the CNC machine tool after the CNC machine tool completes the processing technology of the workpiece; the first control instruction is sent to the machine tool measuring instrument, so that the machine tool measuring instrument executes the first control instruction; a second control instruction is generated for driving the headstock of the CNC machine tool to drive the workpiece to rotate; the second control instruction is executed; and the quality of the workpiece is determined based on the quality parameters of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece. The quality of the workpiece can be determined without removing the workpiece from the machine tool, which improves the detection efficiency. When the quality of the workpiece is unqualified, the workpiece can be reprocessed in a targeted manner in the CNC machine tool, which improves the repair efficiency. It saves time and economic costs, and overcomes the risk of moving the workpiece.
[0101] The embodiment of the present invention further provides an electronic device having a processor-memory architecture. Figure 6 is an exemplary structural diagram of an electronic device according to an embodiment of the present invention. Figure 6 As shown, the electronic device 600 includes a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the computer program is executed by the processor 601, any of the above methods for analyzing the quality of a machine tool workpiece is implemented. Among them, the memory 602 can be specifically implemented as a variety of storage media such as an electrically erasable programmable read-only memory (EEPROM), a flash memory (Flash memory), and a programmable program read-only memory (PROM). The processor 601 can be implemented as including one or more central processing units or one or more field programmable gate arrays, wherein the field programmable gate array integrates one or more central processing unit cores. Specifically, the central processing unit or the central processing unit core can be implemented as a CPU, an MCU, or a DSP, and the like.
[0102] It should be noted that not all steps and modules in the above processes and structure diagrams are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The division of each module is only for the convenience of describing the functional division adopted. In actual implementation, a module can be implemented by multiple modules, and the functions of multiple modules can also be implemented by the same module. These modules can be located in the same device or in different devices.
[0103] The hardware modules in each embodiment can be implemented mechanically or electronically. For example, a hardware module may include a specially designed permanent circuit or logic device (such as a dedicated processor, such as an FPGA or ASIC) for performing a specific operation. The hardware module may also include a programmable logic device or circuit (such as a general-purpose processor or other programmable processor) temporarily configured by software to perform a specific operation. As for whether to implement the hardware module mechanically, or using a dedicated permanent circuit, or using a temporarily configured circuit (such as configured by software), it can be decided based on cost and time considerations.
[0104] The present invention also provides a machine-readable storage medium, storing instructions for making a machine perform the method as described in the present application. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code for realizing the function of any of the embodiments described in the above embodiments is stored, and the computer (such as CPU, MCU or MPU) of the system or device is read out and executes the program code stored in the storage medium. In addition, the operating system etc. operated on the computer can also be completed part or all of the actual operation by the instruction based on the program code. The program code read out from the storage medium can also be written to the memory provided in the expansion board inserted into the computer or to the memory provided in the expansion unit connected to the computer, and then the control unit etc. installed on the expansion board or the expansion unit are made to perform part and all of the actual operation based on the instruction of the program code, so as to realize the function of any of the embodiments described in the above embodiments. The storage medium implementation for providing the program code includes a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card and a ROM. Alternatively, the program code may be downloaded from a server computer or the cloud via a communications network.
[0105] The above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for analyzing the quality of a workpiece processed by a machine tool, characterized in that: include: generating (101) a first control instruction, the first control instruction being used to drive a machine tool measuring instrument to couple with the workpiece in the CNC machine tool after the CNC machine tool completes a machining process of the workpiece; sending (102) the first control instruction to the machine tool measuring instrument so that the machine tool measuring instrument executes the first control instruction; generating (103) a second control instruction for driving a headstock of the numerically controlled machine tool to drive the workpiece to rotate; Executing (104) the second control instruction; The quality of the workpiece is determined (105) based on the quality parameters of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece.
2. The method according to claim 1, characterized in that Determining (105) the quality of the workpiece based on the quality parameter of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece includes: storing the tolerance band of the quality parameter in the machine tool measuring instrument, wherein when the machine tool measuring instrument determines that the quality parameter exceeds the tolerance band, an alarm message is sent to the CNC machine tool; When the alarm message is received, it is determined that the quality of the workpiece is unqualified, and when the alarm message is not received, it is determined that the quality of the workpiece is qualified.
3. The method according to claim 1, characterized in that Determining (105) the quality of the workpiece based on the quality parameter of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece includes: receiving a report message including the quality parameter from the machine tool measuring instrument; parsing the quality parameter from the report message; When the quality parameter exceeds the tolerance band pre-stored in the CNC machine tool, it is determined that the quality of the workpiece is unqualified, and when the quality parameter does not exceed the tolerance band, it is determined that the quality of the workpiece is qualified.
4. The method according to claim 2 or 3, characterized in that include: When it is determined that the quality of the workpiece is unqualified, a third control instruction is generated, wherein the third control instruction is used to control the CNC machine tool to perform a reprocessing process on the workpiece, wherein the reprocessing process is suitable for adjusting the quality parameter to not exceed the tolerance band; The third control instruction is executed.
5. The method according to any one of claims 1 to 3, characterized in that: The workpiece is a motor rotor; The processing technology of the workpiece completed by the CNC machine tool includes: the grinding technology of the motor rotor completed by the CNC machine tool; The generating (101) first control instruction comprises: generating a first control instruction for driving the first measuring instrument of the machine tool measuring instrument to couple with the first outer surface point on the rotating shaft of the motor rotor and the second measuring instrument of the machine tool measuring instrument to couple with the second outer surface point on the rotating shaft of the motor rotor, wherein the distance between the first outer surface point and the second outer surface point is the diameter of the rotating shaft.
6. The method according to any one of claims 1 to 3, characterized in that The quality parameters include at least one of the following: Cylindricity; single point runout; total runout.
7. A quality analysis device for machine tool workpieces, characterized in that: include: A first generating module (501) is used to generate a first control instruction, wherein the first control instruction is used to drive a machine tool measuring instrument to couple with the workpiece in the CNC machine tool after the CNC machine tool completes the processing of the workpiece; A sending module (502), used for sending the first control instruction to the machine tool measuring instrument, so that the machine tool measuring instrument executes the first control instruction; A second generating module (503) is used to generate a second control instruction for driving a headstock of the numerically controlled machine tool to drive the workpiece to rotate; An execution module (504), configured to execute the second control instruction; A determination module (505) is used to determine the quality of the workpiece based on the quality parameters of the workpiece measured by the machine tool measuring instrument during the rotation of the workpiece.
8. The device according to claim 7, characterized in that The determination module (505) is used to store the tolerance band of the quality parameter in the machine tool measuring instrument, wherein when the machine tool measuring instrument determines that the quality parameter exceeds the tolerance band, an alarm message is sent to the CNC machine tool; when the alarm message is received, it is determined that the quality of the workpiece is unqualified, and when the alarm message is not received, it is determined that the quality of the workpiece is qualified.
9. The device according to claim 7, characterized in that The determination module (505) is used to receive a report message containing the quality parameter from the machine tool measuring instrument; parse the quality parameter from the report message; when the quality parameter exceeds the tolerance band pre-stored in the CNC machine tool, determine that the quality of the workpiece is unqualified; when the quality parameter does not exceed the tolerance band, determine that the quality of the workpiece is qualified.
10. A quality analysis system for machine tool workpieces, characterized in that: It comprises a numerically controlled machine tool (401) and a machine tool measuring instrument (402), wherein: The numerically controlled machine tool (401) is used to generate a first control instruction, wherein the first control instruction is used to drive a machine tool measuring instrument (402) to couple with the workpiece in the numerically controlled machine tool (401) after the numerically controlled machine tool (401) completes a machining process of the workpiece; and send the first control instruction to the machine tool measuring instrument (402); The machine tool measuring instrument (402) is used to execute the first control instruction; The numerically controlled machine tool (401) is further used to generate a second control instruction for driving a headstock of the numerically controlled machine tool (401) to drive the workpiece to rotate; The machine tool measuring instrument (402) is also used to measure the quality parameters of the workpiece during the rotation of the workpiece; The numerically controlled machine tool (401) is also used to determine the quality of the workpiece based on the quality parameter.
11. The system according to claim 10, characterized in that The machine tool measuring instrument (402) is used to store the tolerance band of the quality parameter, wherein when it is determined that the quality parameter exceeds the tolerance band, an alarm message is generated and the alarm message is sent to the numerically controlled machine tool (401); The numerically controlled machine tool (401) is used to determine that the quality of the workpiece is unqualified when the alarm message is received, and to determine that the quality of the workpiece is qualified when the alarm message is not received.
12. The system according to claim 10, characterized in that The machine tool measuring instrument (402) is used to generate a report message containing the quality parameter and send the report message to the numerically controlled machine tool (401); The CNC machine tool (401) is used to parse the quality parameter from the reported message, and when the quality parameter exceeds the tolerance band pre-stored in the CNC machine tool (401), determine that the quality of the workpiece is unqualified; when the quality parameter does not exceed the tolerance band, determine that the quality of the workpiece is qualified.
13. An electronic device, characterized in that: include: Processor (601); A memory (602), configured to store executable instructions of the processor (601); The processor (601) is used to read the executable instructions from the memory (602) and execute the executable instructions to implement the quality analysis method for machine tool processing workpieces according to any one of claims 1 to 6.
14. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the quality analysis method for a workpiece processed by a machine tool according to any one of claims 1 to 6 is implemented.
15. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the quality analysis method for a workpiece processed by a machine tool according to any one of claims 1 to 6.