Workpiece machining process control method and system
By introducing visual guidance technology into CNC machine tools, real-time monitoring of workpiece and environmental changes is generated, and new processing paths are generated, which solves the problem of low precision of traditional CNC machine tools and achieves high-precision workpiece processing and improved stability.
Patent Information
- Application Number
- CN202410937319.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-12
AI Technical Summary
It is difficult for traditional CNC machine tools to achieve high-precision drilling positions during processing, especially since it has a great impact on the shape and surface quality of the workpiece, and it is difficult to deal with the problems of workpiece deformation and positioning errors.
Using visual guidance technology combined with CNC machine tools, by identifying the shape and position information of the workpiece surface, real-time monitoring of the processing status and environmental changes, calculating the workpiece position deviation value, generating new processing path coordinates, and controlling the milling cutter for processing to achieve accurate Processing path adjustment.
It improves the processing accuracy of the workpiece, meets the market demand for processing errors of less than 1mm, enhances the level of intelligent automation of CNC machine tools, adapts to changes in the shape and position of the workpiece, and improves the stability and controllability of the processing process.
Smart Images

Figure CN118466379B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of numerical control machining, and in particular to a workpiece machining process control method and a workpiece machining process control system. Background Art
[0002] In the process of transformation and upgrading to intelligent manufacturing, improving the intelligent automation level of the machine plays a fundamental supporting role. When end users in the market process mold guide groove workpieces, drilling and grooving are mainly performed by manual machinery, which is slow and has high labor costs. Therefore, the end customer seeks to use CNC processing equipment to replace manual labor, and at the same time requires the drilling position accuracy to be within 1mm. Traditional CNC machine tools usually rely on pre-programmed processing paths during the processing process. This method has the problem that the accuracy is greatly affected by the shape and surface quality of the workpiece, and it is difficult to deal with workpiece deformation and positioning errors. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a workpiece machining process control method, aiming to solve the problem of low workpiece machining accuracy.
[0004] The present invention provides a workpiece processing process control method for controlling a milling cutter of a numerically controlled machine tool, the steps comprising:
[0005] Identify the shape of the workpiece surface and the position information of the workpiece to form surface image information and workpiece position pixel information;
[0006] receiving surface image information and workpiece position pixel information, and converting the surface image information and the workpiece position pixel information into shape coordinate data and real-time workpiece coordinate data in units of millimeters;
[0007] The real-time workpiece coordinate data and the standard workpiece coordinate data are calculated to obtain the workpiece position deviation value, and a new processing path coordinate is calculated based on the workpiece position deviation value and shape coordinate data, and the milling cutter is controlled to process the workpiece according to the new processing path.
[0008] In one embodiment, the steps further include:
[0009] Real-time monitoring of the processing status of the workpiece and the status changes of the processing environment;
[0010] Receive and display monitoring information on the machining status of the workpiece and the state changes of the machining environment to provide real-time feedback on the machining status.
[0011] In one embodiment, real-time monitoring of the machining state of the workpiece and real-time monitoring of changes in the machining environment state are performed simultaneously, and monitoring of the machining state of the workpiece includes sensing the operating state of each module in the CNC machine tool.
[0012] In one embodiment, monitoring the state change of the processing environment includes:
[0013] Sensing the temperature in the processing environment to form ambient temperature information;
[0014] Sensing the humidity in the processing environment to form environmental humidity information;
[0015] Sensing pollutants in the processing environment to form environmental impurity information;
[0016] Sensing the vibration frequency in the processing environment to form environmental vibration frequency information;
[0017] The temperature in the processing environment, the humidity in the processing environment, the pollutants in the processing environment and the vibration frequency in the processing environment are sensed simultaneously.
[0018] In one embodiment, the steps further include:
[0019] Receive ambient temperature information and adjust the temperature;
[0020] Receive environmental humidity information and adjust humidity;
[0021] Receive environmental impurity information and purify impurities;
[0022] Receive ambient vibration frequency information and suspend processing for maintenance.
[0023] In one embodiment, identifying the shape of the workpiece surface and the position information of the workpiece includes taking a photo of the workpiece.
[0024] In one embodiment, identifying the shape of the workpiece surface and the position information of the workpiece further includes optimizing the image of the photo, identifying the resolution of the photo and acquiring pixel points.
[0025] In one embodiment, the coordinate conversion method is:
[0026] Get the number of display screen pixels m and pixel density ρ;
[0027] Calculate the length l0 of a single pixel in millimeters, l0=m / ρ;
[0028] The pixel point at the focus of the photo on the display screen is used as the coordinate origin, and the length of each pixel point from the coordinate origin is calculated. A coordinate point is formed every millimeter to form a coordinate system.
[0029] In one embodiment, the calculation method of the position deviation value and the new processing path is:
[0030] Receive the preset workpiece standard position coordinate data, recorded as (xa, ya, za), and the standard processing path coordinate data, recorded as (xb, yb, zb);
[0031] Receive real-time workpiece coordinate data, recorded as (xc, yc, zc);
[0032] Calculate the workpiece position deviation value, Δx=xc-xa, Δy=yc-ya, Δz=zc-za;
[0033] Calculate the new processing path coordinates, (xb+Δx, yb+Δy, zb+Δz), recorded as (xd, yd, zd).
[0034] The present invention also provides a machining process control system for executing the machining process control method as described above, comprising a visual guidance module, a coordinate conversion module, a central processing module and a state sensing module, wherein the visual guidance module is used to identify the shape of the workpiece surface and the position information of the workpiece to form surface image information and workpiece position pixel information; the coordinate conversion module is used to convert the surface image information and the workpiece position pixel information into shape coordinate data and real-time workpiece coordinate data respectively; the central processing module comprises an analysis unit and a correction unit, wherein the analysis unit obtains a workpiece position deviation value by calculating the real-time workpiece coordinate data and the standard workpiece coordinate data, and the correction unit calculates and generates a new machining path coordinate according to the workpiece position deviation value and the shape coordinate data, and controls the milling cutter to process the workpiece according to the new machining path; the state sensing module comprises a module for real-time monitoring of the machining state of the workpiece and changes in the machining environment state.
[0035] The present invention also provides a CNC machine tool, including a milling cutter, a drive center and a workpiece processing process control system as described above, wherein the workpiece processing process control system is connected to the drive center to transmit new processing path coordinates to the drive center, and the drive center drives the milling cutter to process the workpiece.
[0036] The workpiece processing process control method provided by the present invention can monitor the surface shape and position of the workpiece in real time by combining the CNC machine tool with the visual guidance technology, pay attention to the processing progress and status of the workpiece at any time, and observe whether the workpiece is offset and inconsistent with the processing path, so as to make timely adjustments to the processing path. In addition, the visual guidance technology determines the coordinates and processing parameters of the processing path by converting pixels into coordinates, and can accurately determine the coordinate values of the coordinate system to be as small as possible. In the case of continuous deformation of the workpiece during the processing process, the processing path can be adjusted by observing the shape changes and the position of the workpiece in real time, so as to meet the market terminal's demand for a processing error of less than 1mm for the workpiece. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 Schematic diagram of the structure of the workpiece processing process control method in the first embodiment of the present invention.
[0039] Figure 2 Schematic diagram of the process of the workpiece machining process control system in the second embodiment of the present invention. DETAILED DESCRIPTION
[0040] The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. Based on the description of the present invention, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present invention.
[0041] In the description of the present invention, unless otherwise clearly specified and limited, the terms "set", "install", "connection" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0042] The directions or positional relationships indicated by terms such as “upper”, “lower”, “left”, “right”, “front”, “back”, “top”, “bottom”, “inside” and “outside” are based on the directions or positional relationships shown in the accompanying drawings, or are the directions or positional relationships in which the inventive product is usually placed when used. They are only for the convenience of description and simplified description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present invention.
[0043] The terms "first", "second", "third", etc. are merely used to distinguish elements of similar nature, and do not indicate or imply relative importance or a particular order.
[0044] The terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of the elements listed and may also include additional elements not expressly listed.
[0045] First embodiment
[0046] Please refer to Figure 1According to one aspect of the present invention, there is provided a milling cutter control system for a numerically controlled machine tool, the steps comprising:
[0047] Identify the shape of the workpiece surface and the position information of the workpiece to form surface image information and workpiece position pixel information;
[0048] receiving surface image information and workpiece position pixel information, and converting the surface image information and the workpiece position pixel information into shape coordinate data and real-time workpiece coordinate data in units of millimeters;
[0049] The real-time workpiece coordinate data and the standard workpiece coordinate data are calculated to obtain the workpiece position deviation value, and a new processing path coordinate is calculated based on the workpiece position deviation value and shape coordinate data, and the milling cutter is controlled to process the workpiece according to the new processing path.
[0050] Specifically, the current workpiece processing has begun to be established in the dimension of three-dimensional space. Since the workpiece may need to move or flip during the processing, the shape of the workpiece is often uncertain, making it impossible for the CNC machine tools that can only rely on fixed programming to adapt to the different forms of the workpiece, resulting in processing obstruction or low precision. Based on the shape and position changes of the workpiece, this embodiment introduces visual guidance technology on the CNC machine tool, that is, recording the real-time picture by taking pictures or real-time video recording to obtain the surface shape and position of the workpiece, and the real-time picture is used as the digital basis for the shape and position of the workpiece. In the real-time picture, it is easy to obtain pixel points, and the size of the pixel points is very small, which is very suitable as the basic calculation unit in the refined design, and then the coordinate value in millimeters is obtained by converting the pixel points. Of course, the pixel points can also be used as their own length as the coordinate value, but higher requirements are required for the milling cutter or CNC machine tool. This embodiment takes the millimeter milling cutter applicable within the accuracy error critical value or accuracy error required by the market as an example.
[0051] The coordinate conversion method in this embodiment is different from the prior art in that the coordinate system is established with pixels as the basic unit, while the prior art often uses the center position of the workpiece as the coordinate origin. When determining the position of the workpiece, it is necessary to monitor the center point of the workpiece. First, the prior art relies on the size of the workpiece itself to calculate the position of the center point of the workpiece. This method has large errors and a cumbersome calculation process. For workpieces with irregular geometric shapes, it is usually difficult to find the center point. Secondly, the position of the center point of the workpiece is difficult to mark and track, and it may be necessary to add other more equipment to mark and detect the center point of the workpiece. The auxiliary calculation process may also require the use of light, lines, etc. to make leads on the workpiece. There are too many influencing factors, which increases the possibility of errors in workpiece processing. This embodiment forms a coordinate system by pixel conversion. The pixels have a highly regular array arrangement rule, which can omit the cumbersome calculation and auxiliary calculation process, and can quickly determine a certain pixel as the origin of the coordinate system. Usually, the pixel point at the focus of the real-time picture is used as the origin of the coordinate system, and the pixel point is always in place after determination, without marking and tracking, and the method of directly obtaining without calculation makes the error extremely small, and also avoids mistakes in the calculation and auxiliary calculation process.
[0052] In this embodiment, the coordinate conversion method is:
[0053] Get the number of display screen pixels m and pixel density ρ;
[0054] Calculate the length l0 of a single pixel in millimeters, l0=m / ρ;
[0055] The pixel point at the focus of the photo on the display screen is used as the coordinate origin, and the length of each pixel point from the coordinate origin is calculated. A coordinate point is formed every millimeter to form a coordinate system.
[0056] Specifically, when converting pixels and millimeters under the condition of a certain display screen size, the pixel density of the display needs to be considered, that is, the number of pixels per inch on the screen. Generally speaking, the higher the screen pixel density, the clearer and sharper the displayed pictures or texts will be.
[0057] The next cutting point of the milling cutter is controlled by calculating the position deviation value between the real-time workpiece position and real-time workpiece shape and the preset standard workpiece position and standard workpiece shape, and all path coordinates of the preset standard path coordinates after the next cutting point are corrected with the position deviation value to form a new processing path. If the real-time workpiece position and real-time workpiece shape are detected to be consistent with the preset standard workpiece position and standard workpiece shape, the position deviation value is 0, and the milling cutter is controlled to process the workpiece according to the original preset standard path.
[0058] Furthermore, the position deviation value and the new processing path coordinate calculation method are:
[0059] Receive the preset workpiece standard position coordinate data, recorded as (xa, ya, za), and the standard processing path coordinate data, recorded as (xb, yb, zb);
[0060] Receive real-time workpiece coordinate data, recorded as (xc, yc, zc);
[0061] Calculate the workpiece position deviation value, Δx=xc-xa, Δy=yc-ya, Δz=zc-za;
[0062] Calculate the new processing path coordinates, (xb+Δx, yb+Δy, zb+Δz), recorded as (xd, yd, zd).
[0063] Specifically, (xd1, yd1, zd1) can be used as the next cutting point of the new machining path coordinates, and all coordinates of the new machining path need to take the position deviation values into account in turn.
[0064] In this embodiment, the steps of the workpiece processing process control method further include:
[0065] Real-time monitoring of the processing status of the workpiece and the status changes of the processing environment;
[0066] Receive and display monitoring information on the machining status of the workpiece and the state changes of the machining environment to provide real-time feedback of the machining status to the staff.
[0067] Specifically, from the moment the workpiece is loaded, it is necessary to pay real-time attention to changes in the workpiece status and processing environment, and feedback abnormal information about the workpiece and the environment to the staff, so that the processing path and processing parameters can be adjusted in time to make the processing process more controllable and stable.
[0068] In this embodiment, real-time monitoring of the machining state of the workpiece and real-time monitoring of changes in the machining environment state are performed simultaneously, and monitoring of the machining state of the workpiece includes sensing the operating state of each module in the CNC machine tool.
[0069] Specifically, the changes in the processing status of the workpiece and the processing environment status start real-time monitoring of the entire process from the start of the CNC machine tool, so as to know which processing link the workpiece is in and whether the processing progress is smooth. The second sensor unit monitors whether the state of the environment in each processing link is abnormal, such as the temperature, humidity, dust, noise or vibration in the working chamber, which may cause damage to the workpiece or equipment and need to be discovered and handled in time.
[0070] In this embodiment, monitoring the state change of the processing environment includes:
[0071] Sensing the temperature in the processing environment to form ambient temperature information;
[0072] Sensing the humidity in the processing environment to form environmental humidity information;
[0073] Sensing pollutants in the processing environment to form environmental impurity information;
[0074] Sensing the vibration frequency in the processing environment to form environmental vibration frequency information;
[0075] The temperature in the processing environment, the humidity in the processing environment, the pollutants in the processing environment and the vibration frequency in the processing environment are sensed simultaneously.
[0076] Specifically, the temperature and humidity in the environment will affect the shrinkage, hardness, and rigidity of the processed materials, thereby affecting the processing quality. For example, in a high temperature and high humidity environment, the processed materials tend to expand, resulting in larger sizes, while in a low temperature and low humidity environment, thermal cracks are likely to occur. Dust and pollutants in the environment will affect the surface quality of machine tools and workpieces, and may even cause equipment failure. For example, in an environment with high dust content, dust can easily clog the lubrication and cooling systems inside the machine tool, making it impossible for the machine tool to work properly. Noise and vibration in the environment can affect the accuracy and surface quality of machine tools and workpieces. For example, when the machine tool is subjected to strong vibrations, chatter marks and tool marks are likely to appear on the surface of the workpiece, thus affecting the processing effect.
[0077] Environment is an important consideration in machining, which will directly or indirectly affect the machining quality. In order to ensure the stability of machining quality, it is necessary to start from the facilities of the machining room, the selection of machining fluids, and the optimization of machining technology, and comprehensively consider and find the best solution.
[0078] In this embodiment, the steps further include:
[0079] Receive ambient temperature information and adjust the temperature;
[0080] Receive environmental humidity information and adjust humidity;
[0081] Receive environmental impurity information and purify impurities;
[0082] Receive ambient vibration frequency information and suspend processing for maintenance.
[0083] Specifically, in order to maintain a stable processing environment, the indoor temperature, humidity and air quality should be controlled. Furthermore, the indoor temperature can be controlled by installing air conditioning. When the temperature is too high, the processing parameters also need to be optimized. For example, when processing high-hardness materials, appropriate cutting speeds and feed rates should be selected to reduce the heat-affected temperature of the workpiece surface. The indoor humidity can be adjusted through a humidifier, and the air quality can be optimized through a purifier. When the vibration frequency in the environment is detected to exceed the preset range, the pause processing unit immediately sends a pause signal to check the coordination of the processing fluid or mechanical parts. The influence of the processing fluid on mechanical processing is very important. Reasonable processing fluid can increase cutting force, extend tool life and improve surface quality.
[0084] In this embodiment, identifying the shape of the workpiece surface and the position information of the workpiece includes taking a photo or recording a video of the workpiece in real time to obtain real-time images such as photos and videos; identifying the shape of the workpiece surface and the position information of the workpiece also includes optimizing the image of the real-time image, identifying the resolution of the real-time image and obtaining pixel points.
[0085] Specifically, photos are more stable than videos, and when analyzing real-time images, problems such as image jitter or image quality freeze can be ignored. Pixel points can be obtained through the Java API or the OpenCV API.
[0086] The workpiece processing process control method provided by the present invention can monitor the surface shape and position of the workpiece in real time by combining the CNC machine tool with the visual guidance technology, pay attention to the processing progress and status of the workpiece at any time, and observe whether the workpiece is offset and inconsistent with the processing path, so as to make timely adjustments to the processing path. In addition, in the visual guidance technology, by converting pixels into coordinates to determine the coordinates and processing parameters of the processing path, the coordinate value of the coordinate system can be accurately made as small as possible. In the case of continuous deformation of the workpiece during the processing process, the processing path can be adjusted by observing the shape change and the position of the workpiece in real time, so as to meet the market terminal's demand for a processing error of less than 1mm for the workpiece.
[0087] Second embodiment
[0088] Please refer to Figure 2, another aspect of the present invention provides a processing control system for executing the processing control method as described in the first embodiment, including a visual guidance module, a coordinate conversion module, a central processing module and a state sensing module, and the arrow in the figure points to the next working mechanism. The visual guidance module is used to identify the shape of the workpiece surface and the position information of the workpiece, and form surface image information and workpiece position pixel information; the coordinate conversion module is used to convert the surface image information and the workpiece position pixel information into shape coordinate data and real-time workpiece coordinate data respectively; the central processing module includes an analysis unit and a correction unit, the analysis unit calculates the workpiece position deviation value by calculating the real-time workpiece coordinate data and the standard workpiece coordinate data, the correction unit calculates and generates new processing path coordinates according to the workpiece position deviation value and the shape coordinate data, and controls the milling cutter to process the workpiece according to the new processing path; the state sensing module includes a module for real-time monitoring of the processing state of the workpiece and the changes in the processing environment state.
[0089] Furthermore, the visual guidance module includes a high-definition camera and an image processing unit. The high-definition camera is used to take pictures of the workpiece to obtain real-time images, and the image processing unit is used to optimize the image of the photo, identify the resolution of the photo and obtain pixel points.
[0090] Specifically, the resolution of ordinary cameras is usually below 300,000 pixels, while the resolution of high-definition cameras is generally above 1 million pixels. This means that high-definition cameras can capture more delicate and realistic images, and can also enlarge the images without distortion. The image quality of ordinary cameras is relatively fuzzy, and the images captured are not clear enough in terms of details, while the image quality of high-definition cameras is very clear, and can even capture small objects and details. This also means that the pixels in the real-time image are smaller, making the accuracy of coordinate conversion more accurate, thereby improving the accuracy of the workpiece processing path and minimizing the processing error.
[0091] In this embodiment, the central processing module includes an analysis unit and a correction unit. The analysis unit obtains a workpiece position deviation value by calculating real-time workpiece coordinate data and standard workpiece coordinate data. The correction unit calculates and generates new processing path coordinates based on the workpiece position deviation value and shape coordinate data, and controls the milling cutter to process the workpiece according to the new processing path.
[0092] In this embodiment, the workpiece processing process control system also includes a state sensing module, which is used to monitor the processing state of the workpiece and changes in the processing environment state in real time; the central processing module also includes a display unit, which is used to receive and display the monitoring information of the state sensing module.
[0093] In this embodiment, the state sensing module includes a first sensing unit and a second sensing unit. The first sensing unit is used to sense the operating state of each module to monitor the processing state of the workpiece, and the second sensing unit is used to sense abnormal conditions in the processing environment.
[0094] In this embodiment, the second sensing unit includes a temperature sensor for monitoring the temperature in the processing environment, a humidity sensor for monitoring the humidity in the processing environment, a photoelectric sensor for monitoring pollutants in the processing environment, and a vibration sensor for monitoring the vibration frequency in the processing environment. The temperature sensor, humidity sensor, photoelectric sensor, and vibration sensor are all connected to the display unit to feedback environmental abnormalities to the staff.
[0095] In this embodiment, the central processing module also includes a temperature adjustment unit, a humidity adjustment unit, an impurity purification unit and a processing pause unit. The temperature sensor is connected to the temperature adjustment unit for receiving ambient temperature information and adjusting the temperature. The humidity adjustment unit is connected to the humidity sensor for receiving ambient humidity information and adjusting the humidity. The impurity purification unit is connected to a photoelectric sensor for receiving ambient impurity information and purifying impurities. The processing pause unit is connected to a vibration sensor for receiving ambient vibration frequency information and suspending processing for maintenance.
[0096] Third embodiment
[0097] Other embodiments of the present invention provide a CNC machine tool, including a milling cutter, a drive center and a workpiece processing process control system as described in the second embodiment, wherein the workpiece processing process control method is connected to the drive center to transmit new processing path coordinates to the drive center, and the drive center drives the milling cutter to process the workpiece.
[0098] Specifically, since the workpiece processing process control method can adapt to various shapes, environments and other changes of the workpiece during the processing and ensure sufficiently high precision, the versatility of the CNC machine tool is improved, so that the CNC machine tool can be applied to various fields such as metal processing, woodworking, and plastic processing. In metal processing, it can be used for milling, drilling, and boring of high-precision parts. In woodworking, it can be used for processes such as complex curved surface carving and three-dimensional carving. In plastic processing, it can be used for applications such as mold manufacturing and product processing.
[0099] The machining and path adjustment process of the CNC machine tool is as follows:
[0100] (1) Whether the workpiece is being loaded or not, the status sensing module is started at the same time, and the entire process is monitored. The first sensing unit prompts the workpiece to be loaded;
[0101] (2) The high-definition camera of the visual guidance module takes a picture of the workpiece to obtain a real-time image, and the first sensor unit prompts that the workpiece path is being planned;
[0102] (3) The image processing unit optimizes the real-time image and extracts pixel points;
[0103] (4) The coordinate conversion module converts pixels into lengths and forms a coordinate system;
[0104] (5) In the central processing module, the analysis unit compares the real-time coordinates with the standard coordinates to form a position deviation value. The analysis unit forms a new processing path based on the position deviation value, and the first sensor unit prompts the formation of the new processing path;
[0105] (6) The visual guidance module continues to inspect and analyze the workpiece after processing, and classifies the workpiece into finished products, semi-finished products, and scrap. The first sensor unit prompts the completion of processing, rework, or scrap disposal.
[0106] The temperature sensor, humidity sensor, photoelectric sensor and vibration sensor of the second sensing unit monitor the above process throughout. When the temperature sensor alarms, the temperature adjustment unit controls the ambient temperature. When the humidity sensor alarms, the humidity adjustment unit dries or humidifies the environment. When the photoelectric sensor alarms, the impurity purification unit suctions and purifies dust and other debris in the environment. When the vibration sensor alarms, the processing suspension unit controls the CNC machine tool to suspend processing and notifies maintenance.
[0107] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. A workpiece processing control method for controlling a milling cutter of a CNC machine tool, characterized in that the steps include: Identify the shape of the workpiece surface and the position information of the workpiece to form surface image information and workpiece position pixel information; receiving surface image information and workpiece position pixel information, and converting the surface image information and the workpiece position pixel information into shape coordinate data and real-time workpiece coordinate data in units of millimeters; Calculate the real-time workpiece coordinate data and the standard workpiece coordinate data to obtain the workpiece position deviation value, calculate and generate new processing path coordinates based on the workpiece position deviation value and shape coordinate data, and control the milling cutter to process the workpiece according to the new processing path; The calculation method of the position deviation value and the new processing path coordinates is: Receive the preset workpiece standard position coordinate data, recorded as (x a ,y a , z a ), and the standard machining path coordinate data, recorded as (x b ,y b , z b ); Receive real-time workpiece coordinate data, recorded as (x c ,y c , z c ); Calculate the workpiece position deviation, Δx=x c -x a , Δy=y c -y a , Δz=z c -z a ; Calculate the new processing path coordinates, (x b +Δx,y b +Δy,z b +Δz), denoted as (x d ,y d , z d ); Recognizing the shape of the workpiece surface and the position information of the workpiece includes taking a picture of the workpiece to obtain a picture; The coordinate transformation method is: Get the number of display screen pixels m and pixel density ρ; Calculate the length of a single pixel in millimeters , ; The pixel point at the focus of the photo on the display screen is used as the coordinate origin, and the length of each pixel point from the coordinate origin is calculated. A coordinate point is formed every millimeter to form a coordinate system.
2. The workpiece processing process control method according to claim 1, characterized in that: The steps also include: Real-time monitoring of the processing status of the workpiece and the status changes of the processing environment; Receive and display monitoring information on the machining status of the workpiece and the state changes of the machining environment to provide real-time feedback on the machining status.
3. The workpiece processing process control method according to claim 2, characterized in that: Real-time monitoring of the machining state of the workpiece and real-time monitoring of changes in the machining environment state are performed simultaneously. Monitoring of the machining state of the workpiece includes sensing the operating state of each module in the CNC machine tool.
4. The workpiece processing process control method according to claim 3, characterized in that: Monitoring of state changes in the processing environment includes: Sensing the temperature in the processing environment to form ambient temperature information; Sensing the humidity in the processing environment to form environmental humidity information; Sensing pollutants in the processing environment to form environmental impurity information; Sensing the vibration frequency in the processing environment to form environmental vibration frequency information; The temperature in the processing environment, the humidity in the processing environment, the pollutants in the processing environment and the vibration frequency in the processing environment are sensed simultaneously.
5. The workpiece processing process control method according to claim 4, characterized in that: The steps also include: Receive ambient temperature information and adjust the temperature; Receive environmental humidity information and adjust humidity; Receive environmental impurity information and purify impurities; Receive ambient vibration frequency information and suspend processing for maintenance.
6. The workpiece processing process control method according to claim 1, characterized in that: Identifying the shape of the workpiece surface and the position information of the workpiece also includes optimizing the image of the photo, identifying the resolution of the photo and obtaining pixel points.
7. A processing control system, characterized in that: Used to execute the machining process control method according to any one of claims 1 to 6, comprising a visual guidance module, a coordinate conversion module, a central processing module and a state sensing module, wherein the visual guidance module is used to identify the shape of the workpiece surface and the position information of the workpiece, and form surface image information and workpiece position pixel information; The coordinate conversion module is used to convert surface image information and workpiece position pixel information into shape coordinate data and real-time workpiece coordinate data respectively; the central processing module includes an analysis unit and a correction unit, the analysis unit obtains the workpiece position deviation value by calculating the real-time workpiece coordinate data and the standard workpiece coordinate data, the correction unit calculates and generates new processing path coordinates according to the workpiece position deviation value and the shape coordinate data, and controls the milling cutter to process the workpiece according to the new processing path; the state sensing module includes a module for real-time monitoring of the processing state of the workpiece and changes in the processing environment state.
