An intelligent grinding process control method and control system
Through intelligent grinding and machining control method, CYCLE124, G code and D instructions are used, combined with grinding wheel trimmer and tool measuring device, the grinding cycle code is simplified, the complex problem of grinding cycle programming in the existing technology is solved, the programming efficiency and machining accuracy are improved, and the processing needs of different workpieces are adapted.
Patent Information
- Application Number
- CN202211607372.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-12-14
AI Technical Summary
The grinding cycle programming of the existing CNC grinding processing system is complex, cumbersome and difficult to understand, and has a single function, which affects the programming efficiency and operating effect, and cannot flexibly respond to the processing needs of different workpieces.
The intelligent grinding and processing control method is adopted, and instructions such as CYCLE124, G code and D command are used, combined with the grinding wheel trimmer and tool measuring device, to achieve intelligent control of the grinding wheel position, speed, feed quantity and other parameters, simplify the program code, and improve programming efficiency and processing accuracy.
The grinding cycle code is simplified, the programming difficulty of programmers is reduced, the processing efficiency and accuracy is improved, the processing needs of different workpieces is adapted, the repeated clamping time is reduced, and the processing accuracy is ensured.
Smart Images

Figure CN115847292B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of numerical control machining, and particularly to an intelligent grinding machining control method and control system. Background Art
[0002] Grinding machining is a machining method that uses a grinding wheel or other grinding tools to remove excess material from the surface of a workpiece. Almost all surfaces can be machined by grinding, such as inner and outer cylindrical surfaces, inner and outer conical surfaces, various planes, as well as threads, gears, splines, molded surfaces, etc. In the field of numerical control machining, numerically controlled machine tools are generally used to control grinding machining to achieve automation of grinding machining.
[0003] Patent No. "CN202210064988.2" discloses "Grinder System, Grinder Control Method, Numerical Control Equipment and Storage Medium". The driving unit of the grinder in this patent can drive the grinding unit to grind a workpiece to be machined fixed to the grinder body. The adjustment unit can generate an adjustment instruction when triggered during the process of the grinding unit grinding the workpiece to be machined, so that the driving unit drives the grinding unit to change the grinding position on the workpiece to be machined based on the adjustment instruction, realizing automation of grinding machining. And the programming of the grinding machining function of its numerically controlled machine tool / equipment requires the support of a computer program.
[0004] However, the grinding cycle programming of the current numerically controlled system software applied to grinding machining is complex to use, the cycle code is cumbersome and difficult to understand, which is not conducive to programming by programmers and inconvenient for machine tool operators to operate, affecting the use effect and operation efficiency. In addition, its grinding cycle programming is relatively single, not flexible in change, has a relatively single use function, and has a limited application range. Summary of the Invention
[0005] The present invention discloses an intelligent grinding machining control method and control system, which can simplify the program code while improving the grinding machining accuracy of a numerically controlled machine tool, thereby improving the production quality of the workpiece to be machined and enhancing the use convenience and machining efficiency.
[0006] In the first aspect of an embodiment of the present invention, an intelligent grinding machining control method is disclosed. The method includes the following steps:
[0007] S31. According to the machining requirements of the current workpiece, use the CYCLE124 instruction to control the current grinding wheel to point to a specified feed cutting angle and set the current grinding wheel at a specified position of the current workpiece, and control the machining turntable to rotate in a specified rotation mode;
[0008] S32. Use the G-code instruction to control the current grinding wheel to perform machining at a specified rotational speed;
[0009] S33. When both the machining turntable and the grinding wheel start to rotate, use the D command to activate the tool compensation of the grinding wheel.
[0010] S34. Use the G-code command to control the current grinding wheel to perform machining according to the specified feed method.
[0011] S35. After the current grinding wheel moves to the target position, use the G-code command to control the current grinding wheel to move to the starting point and use the D command to stop the tool compensation of the grinding wheel.
[0012] As another alternative embodiment, in the first aspect of the embodiments of the present invention, the step S31 includes:
[0013] S311. According to the machining requirements of the current workpiece, determine the A-axis angle of the current grinding wheel, determine the specified position of the current grinding wheel on the current workpiece, determine the rotational speed and rotation direction of the machining turntable.
[0014] S312. Use the CYCLE124 command to control the current grinding wheel according to the A-axis angle and set the specified position of the current grinding wheel on the current workpiece, and control the machining turntable to be set according to the rotational speed and rotation direction; wherein, the specified position of the current grinding wheel on the current workpiece includes: the outer circle position and the inner hole position of the current grinding wheel on the current workpiece.
[0015] As another alternative embodiment, in the first aspect of the embodiments of the present invention, the step S32 includes: S321. Use the G-code command to control the current grinding wheel to rotate at a speed of N revolutions per minute.
[0016] The step S34 includes: S341. Use the G-code command to control the current grinding wheel to move along the Z-axis direction with a feed per revolution of M. As another alternative embodiment,
[0017] In the first aspect of the embodiments of the present invention, before the step S31, the following steps are further included:
[0018] S21. Use the CYCLE1271 command to control the grinding wheel dresser to dress the current grinding wheel so that the roundness and surface accuracy of the current grinding wheel meet the standards.
[0019] S22. Bind the grinding wheel data information after dressing the grinding wheel with the current grinding wheel and store it in the tool table; wherein, the grinding wheel data information includes the tool length data, diameter data and radius data of the grinding wheel.
[0020] As another alternative embodiment, in the first aspect of the embodiments of the present invention, the step S21 includes:
[0021] S211. Determine the position to be dressed, the dressing size, and the dressing allowance of the current grinding wheel according to the current dressing requirements of the grinding wheel; wherein, the size of the grinding wheel is known and stored in the tool offset table.
[0022] S212. Use the CYCLE1271 instruction to control the grinding wheel dresser to be set according to the position to be dressed of the current grinding wheel, and control the grinding wheel to be set according to the dressing size and the dressing allowance; wherein, the dressing size includes the thickness of the grinding wheel and the radius / length of the grinding wheel.
[0023] S213. According to the settings of the CYCLE1271 instruction, control the grinding wheel dresser to move to the set dressing coordinate position, i.e., the position where the grinding wheel needs to be dressed; control the grinding wheel to automatically feed a distance equal to the dressing size with the set dressing allowance.
[0024] As another optional implementation manner, in the first aspect of the embodiments of the present invention, before the step S21, the following steps are further included:
[0025] S11. Use the CYCLE1025 instruction to control the tool measuring device to measure the current grinding wheel to obtain the current grinding wheel data information.
[0026] S12. Generate the corresponding tool compensation of the grinding wheel according to the tool length data, diameter data, and radius data of the current grinding wheel and store it in the tool table; wherein, the tool compensation of the grinding wheel includes length compensation or radius compensation.
[0027] The second aspect of the embodiments of the present invention discloses a control system, and the control system includes:
[0028] A first control unit, configured to control the current grinding wheel to point to a specified feed cutting angle and set the current grinding wheel at a specified position of the current workpiece according to the processing requirements of the current workpiece by using the CYCLE124 instruction, and control the processing turntable to rotate in a specified rotation mode.
[0029] A second control unit, using the G-code instruction, controls the current grinding wheel to perform processing at a specified rotational speed.
[0030] A starting unit, configured to start the tool compensation of the grinding wheel by using the D instruction when both the processing turntable and the grinding wheel start to rotate.
[0031] A third control unit, using the G-code instruction, controls the current grinding wheel to perform processing in a specified feed mode.
[0032] A control and stop unit, configured to, after the current grinding wheel moves to a target position, use G-code instructions to control the current grinding wheel to move to a tool starting point and stop the tool compensation of the grinding wheel using a D instruction.
[0033] As another alternative embodiment, in the first aspect of the embodiments of the present invention, the first control unit includes:
[0034] A first determination subunit, configured to determine the A-axis angle of the current grinding wheel, determine the specified position of the current grinding wheel on the current workpiece, determine the rotational speed and rotation direction of the machining turntable according to the machining requirements of the current workpiece;
[0035] A first control subunit, configured to use the CYCLE124 instruction to control the current grinding wheel according to the A-axis angle and set the specified position of the current grinding wheel on the current workpiece, and control the machining turntable to be set according to the rotational speed and rotation direction.
[0036] As another alternative embodiment, in the first aspect of the embodiments of the present invention, the control system further includes:
[0037] A fourth control unit, configured to, before the first control unit, use the CYCLE1271 instruction to control a grinding wheel dresser to dress the current grinding wheel to meet the roundness and surface accuracy requirements of the current grinding wheel;
[0038] A fifth control unit, configured to, before the fourth control unit, use the CYCLE1025 instruction to control a tool measuring device to measure the current grinding wheel to obtain the current grinding wheel data information.
[0039] As another alternative embodiment, in the first aspect of the embodiments of the present invention, the fourth control unit includes:
[0040] A second determination subunit, configured to determine the position to be dressed of the current grinding wheel, the grinding wheel dressing size, and the grinding wheel dressing allowance according to the dressing requirements of the current grinding wheel;
[0041] A second control subunit, configured to use the CYCLE1271 instruction to control the grinding wheel dresser to be set according to the position to be dressed of the current grinding wheel, and control the grinding wheel to be set according to the dressing size and the dressing allowance; wherein, the dressing size includes the grinding wheel thickness and the grinding wheel radius / grinding wheel length; wherein, the grinding wheel size is known and stored in a tool offset table;
[0042] A third control subunit, configured to control, according to the settings of the CYCLE1271 instruction, a grinding wheel dresser to move to a set coordinate position for dressing the grinding wheel, i.e., the position where the grinding wheel needs to be dressed; and control the grinding wheel to automatically feed a distance of a dressing dimension with a set dressing allowance.
[0043] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0044] 1. In Embodiment 1 of the present invention, the grinding cycle code of this case is simple and easy to understand. Only by modifying certain values of the grinding cycle code according to the processing standards of the workpiece, it is possible to control the grinding wheel to perform grinding processing on the positions of different workpieces and set different processing methods, such as rotational speed, feed rate, etc. This can reduce the programming difficulty for programmers, make control modification simpler, improve the modification efficiency, and reduce the impact on subsequent production processes. Moreover, in this case, intelligent control can be used to perform grinding processing on the positions of different workpieces without the need to re-clamp the workpiece after changing its position, reducing the repeated clamping time and enabling continuous processing of the workpiece. Also, during processing, displacement will not occur due to repeated clamping, which can improve production efficiency while ensuring processing accuracy.
[0045] 2. In Embodiment 2 of the present invention, the grinding wheel dressing cycle code of this case is simple and easy to understand. By modifying the grinding wheel dressing cycle code according to the current dressing requirements of the grinding wheel, it is possible to control the grinding wheel dresser to dress different grinding wheels and set different dressing methods, which can reduce the programming difficulty for programmers, make control modification simpler, be more flexible in change, improve the modification efficiency, and reduce the impact on subsequent production processes. Moreover, in this case, intelligent control can be used to dress the grinding wheel, enabling the control system to have the function of dressing the grinding wheel, which is beneficial to improving the roundness and surface accuracy of the grinding wheel and is conducive to improving the subsequent grinding processing accuracy of the workpiece, and can be applied to the production of workpieces with high precision requirements.
[0046] 3. In Embodiment 3 of the present invention, the grinding wheel measurement cycle code of this case is simple, which is convenient for programmers to understand, beneficial to the modification and processing by programmers, improves the program modification efficiency, and can speed up the subsequent production and processing process. Moreover, through this grinding wheel measurement cycle instruction, the control system has the function of measuring the grinding wheel, which is convenient for generating corresponding tool compensation and is beneficial to improving the processing accuracy.
[0047] 4. In Embodiment 4 of the present invention, the settings of the first control unit, the second control unit, and the third control unit of the control system facilitate the use of different instructions to control the feed cutting angle of the grinding wheel, set the position of the grinding wheel on the workpiece, control the rotation speed and direction of the machining turntable, control the rotation speed of the grinding wheel, and control the feed mode (feed rate) of the grinding wheel. Each program is programmed modularly and has a clear division of labor. Different controls can be achieved through the invocation of each program module, which is convenient for practical application. Moreover, the grinding cycle code is simple and easy to understand. Only by modifying some values of the grinding cycle code according to the processing standards of the workpiece, the grinding wheel can be intelligently controlled to perform grinding operations from multiple direction angles to achieve grinding of different positions of the workpiece, so that the workpiece does not need to be repeatedly clamped during the processing, reducing the repeated clamping time and enabling continuous processing of the workpiece. In addition, the workpiece will not be displaced due to repeated clamping during processing, which can improve production efficiency while ensuring processing accuracy. In addition, due to the simple and easy-to-understand grinding cycle code, its control modification is simple, which can improve the modification efficiency of programmers, so as to reduce the waiting time for the control system to prepare during the production process, which is beneficial to improving production efficiency. The setting of the starting unit facilitates the activation of the tool compensation of the grinding wheel, and its setting is convenient. The setting of the control and stop unit facilitates the control of the grinding wheel to move to the starting point and stop the tool compensation of the grinding wheel.
[0048] 5. In Embodiment 5 of the present invention, the setting of the fourth control unit facilitates the control of the grinding wheel dresser to dress the current grinding wheel, so as to improve the roundness and surface accuracy of the grinding wheel, which is beneficial to improving the subsequent machining accuracy of workpiece grinding and can be applied to the production of workpieces with high precision requirements. In addition, the grinding wheel dressing cycle code is simple and easy to understand. By modifying the grinding wheel dressing cycle code according to the wear condition of the current grinding wheel, the grinding wheel dresser can be controlled to dress different positions of the grinding wheel and set different dressing methods, which can reduce the programming and processing difficulty of programmers, make the control modification simpler, more flexible in change, and does not delay the subsequent production process. The setting of the fifth control unit facilitates the control of the tool measuring device to measure the data of the current grinding wheel, obtain the grinding wheel data and store it in the tool table, so that the tool table information can be directly called without re-measurement during the next use, reducing the waiting time for the control system to measure, which is beneficial to improving production efficiency. In addition, the code of the grinding wheel measurement cycle instruction is simple, which is convenient for programmers to understand, beneficial to the modification and processing of programmers, and improves the program modification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a schematic flowchart of Embodiment 1 of an intelligent grinding control method disclosed by the present invention;
[0050] Figure 2 is a schematic flowchart of Embodiment 2 of an intelligent grinding control method disclosed by the present invention;
[0051] Figure 3 It is a schematic flowchart of the third embodiment of an intelligent grinding process control method disclosed by the present invention;
[0052] Figure 4 It is a schematic flowchart of another intelligent grinding process control method disclosed by the present invention;
[0053] Figure 5 It is a schematic structural diagram of the fourth embodiment of a control system disclosed by the present invention;
[0054] Figure 6 It is a schematic structural diagram of the fifth embodiment of a control system disclosed by the present invention;
[0055] Figure 7 It is a schematic structural diagram of another control system disclosed by the present invention;
[0056] Figure 8 It is a schematic structural diagram of the sixth embodiment of a control system disclosed by the present invention; Detailed implementation manners
[0057] The features of the present invention and other related features are further described in detail through the following embodiments for the understanding of those skilled in the same industry:
[0058] Embodiment 1
[0059] As Figure 1 shown, the intelligent grinding process control method includes the following steps:
[0060] S31. According to the processing requirements of the current workpiece, the control system uses the CYCLE124 instruction to control the current grinding wheel to point to a specified feed cutting angle and set the current grinding wheel at a specified position of the current workpiece, and controls the processing turntable to rotate in a specified rotation mode.
[0061] As an alternative embodiment, in the embodiments of the present invention, the CYCLE124 instruction may be CYCLE124(B, C, D, E) that already includes length compensation and compensation direction, where B is the specified position of the current grinding wheel on the current workpiece, C is the A-axis angle of the current grinding wheel, D is the rotational speed of the machining turntable, and E is the rotational direction of the machining turntable. If the instruction is CYCLE124(1, 0, 50, 4), then the control system can set the grinding wheel at the outer circle position of the workpiece, the A-axis angle of the current grinding wheel is 0 degrees, the rotational speed of the current machining turntable is 50 rpm, and the rotational direction of the current machining turntable is reverse. Combining the outer circle position of the grinding wheel on the workpiece and the A-axis angle of 0 degrees, the grinding position of the current grinding wheel on the workpiece is the outer circle; if the instruction is CYCLE124(-1, 0, 50, 3), then the control system can set the grinding wheel at the inner hole position of the workpiece, the A-axis angle of the current grinding wheel is 0 degrees, the rotational speed of the current machining turntable is 50 rpm, and the rotational direction of the current machining turntable is forward. Combining the inner hole position of the grinding wheel on the workpiece and the A-axis angle of 0 degrees, the grinding position of the current grinding wheel on the workpiece is the inner hole; if the instruction is CYCLE124(1, -90, 50, 4), then the control system can set the grinding wheel at the outer circle position of the workpiece, the A-axis angle of the current grinding wheel is -90 degrees, the rotational speed of the current machining turntable is 50 rpm, and the rotational direction of the current machining turntable is reverse. Combining the outer circle position of the grinding wheel on the workpiece and the A-axis angle of -90 degrees, the grinding position of the current grinding wheel on the workpiece is the end face.
[0062] S32. Use G-code instructions to control the current grinding wheel to process at a specified rotational speed;
[0063] As an alternative embodiment, in the embodiments of the present invention, use G-code to control the rotation of the grinding wheel at a specified rotational speed in a set coordinate system. Usually, G00 is used in combination with the coordinate system to achieve positioning (rapid shift) and S-code is used in combination to set the rotational speed.
[0064] S33. When both the machining turntable and the grinding wheel start to rotate, the control system uses the D instruction to activate the tool compensation of the grinding wheel.
[0065] As an alternative embodiment, in the embodiments of the present invention, D(H) can represent the tool compensation value stored in the memory, D(H)00 can represent canceling tool compensation, and the number following D, such as D1, where the number is the tool compensation number, can represent calling tool number 1 and its compensation value (including tool length compensation). When activating tool compensation, the feed per minute of the tool can be compensated according to the tool compensation value indicated by this D instruction.
[0066] S34. The control system uses G-code instructions to control the current grinding wheel to process in a specified feed mode.
[0067] As an alternative embodiment, in the embodiment of the present invention, the grinding wheel is controlled to move along the X / Y / Z directions for machining in a specified feed mode in a set coordinate system by using G-codes. Usually, G01 is used in combination with the coordinate system to achieve straight-line grinding, and the feed rate / feed speed is set by combining with the F-code.
[0068] S35. After the current grinding wheel moves to the target position, the control system uses G-code instructions to control the current grinding wheel to move to the starting point and stops the tool compensation of the grinding wheel by using the D instruction.
[0069] As an alternative embodiment, in the embodiment of the present invention, if the current workpiece needs to be machined by external cylindrical grinding, after determining the tool compensation value, the CYCLE124 instruction is used, that is, the CYCLE124(1, 0, 50, 4) instruction is executed, to control the grinding wheel to enter the external cylindrical grinding mode. Then, the grinding wheel is quickly moved to the coordinate position of the starting point for external cylindrical grinding set by using G-code instructions (such as G00 X100 Y0 S3000 M03), and the grinding wheel is controlled to rotate forward at a specified speed. When both the machining turntable and the grinding wheel start to rotate, the tool compensation of the grinding wheel is started by using a D instruction (such as D1), and the cutting fluid is controlled to flow out by using the M instruction M08. Then, the grinding wheel is moved from the starting point to the Z-50 position along the Z axis at a feed rate of 50 per minute by using G-code instructions (such as G01Z-50F50) to achieve the purpose of controlling the current grinding wheel to be machined in a specified feed mode. Finally, after the machining of the external cylinder of the workpiece is completed, the machining turntable is first paused from rotating by using the CYCLE1204 instruction, and the grinding wheel is safely retracted along the X axis to the X102 position. Then, the grinding wheel is quickly moved upward along the Z axis to the starting point by using G-code instructions (G00Z2 M09), and at the same time, the M instruction M09 controls the stop of the cutting fluid. At this time, both the machining turntable and the grinding wheel stop rotating. Then, the grinding wheel is quickly returned to the 0 coordinate position in the Z-axis direction by using G-code instructions (G00 G53Z0), and the tool compensation is stopped by using a D instruction (such as D0).
[0070] As an alternative embodiment, in the embodiment of the present invention, if the current workpiece needs to be machined by internal hole grinding, after determining the tool compensation value, use the CYCLE124 instruction, that is, execute the CYCLE124(-1, 0, 50, 3) instruction to control the grinding wheel to enter the internal hole grinding mode. Then use the G-code instruction (such as G00 X100 Y0 S3000 M03) to quickly move to the coordinate position of the starting point for external circle grinding set and control the grinding wheel to rotate forward at the specified speed. When both the machining turntable and the grinding wheel start to rotate, use the D instruction (such as D1) to activate the tool compensation of the grinding wheel, and use the M instruction M08 to control the outflow of the cutting fluid. Then, use the G-code instruction (such as G01Z-50F50) to move from the starting point to the Z-50 position along the Z-axis direction at a feed rate of 50 per minute to achieve the purpose of controlling the current grinding wheel to machine according to the specified feed method. Finally, after the machining of the external circle of the workpiece is completed, use the CYCLE1204 instruction to pause the rotation of the machining turntable first, and control the grinding wheel to safely retract along the X-axis to the X98 position. Then use the G-code instruction (G00 Z2M09) to quickly move the grinding wheel up along the Z-axis to the starting point, and at the same time, the M instruction M09 controls the stop of the cutting fluid. At this time, both the machining turntable and the grinding wheel stop rotating. Then use the G-code instruction (G00 G53Z0) to quickly return the grinding wheel to the 0 coordinate position in the Z-axis direction, and use the D instruction (such as D0) to stop the tool compensation.
[0071] As an alternative embodiment, in the embodiment of the present invention, if the current workpiece needs to be machined by end face grinding, after determining the tool compensation value, use the CYCLE124 instruction, that is, execute the CYCLE124(1, -90, 50, 4) instruction to control the grinding wheel to enter the end face grinding mode. Then use the G-code instruction (such as G00 X100 Y0 S3000 M03) to quickly move to the coordinate position of the starting point for external circle grinding set and control the grinding wheel to rotate forward at the specified speed. When both the machining turntable and the grinding wheel start to rotate, use the D instruction (such as D1) to activate the tool compensation of the grinding wheel, and use the M instruction M08 to control the outflow of the cutting fluid. Then, use the G-code instruction (such as G01Z30 F50) to move from the starting point to the Z30 position along the Z-axis direction at a feed rate of 50 per minute to achieve the purpose of controlling the current grinding wheel to machine according to the specified feed method. Finally, after the machining of the external circle of the workpiece is completed, use the CYCLE1204 instruction to pause the rotation of the machining turntable first, and control the grinding wheel to safely retract along the Y-axis to the Y-2 position. Then use the G-code instruction (G00 Z2M09) to quickly move the grinding wheel up along the Z-axis to the starting point, and at the same time, the M instruction M09 controls the stop of the cutting fluid. At this time, both the machining turntable and the grinding wheel stop rotating. Then use the G-code instruction (G00 G53Z0) to quickly return the grinding wheel to the 0 coordinate position in the Z-axis direction, and use the D instruction (such as D0) to stop the tool compensation.
[0072] As described above, in the embodiments of the present invention, the grinding cycle code is simple and easy to understand. Only by modifying certain values of the grinding cycle code according to the processing standards of the workpiece, the position of the grinding wheel for different workpieces can be controlled for grinding processing and different processing methods can be set, such as rotational speed, feed rate, etc. It can reduce the programming difficulty of programmers, make the control modification simpler, improve the modification efficiency, and reduce the impact on the subsequent production process. Moreover, in this case, intelligent control can be used to realize the grinding processing of different workpieces at different positions, without the need to change the position of the workpiece and reinstall it, reducing the repeated clamping time and enabling continuous processing of the workpiece. Moreover, during processing, the workpiece will not be displaced due to repeated clamping, which can improve production efficiency while ensuring processing accuracy.
[0073] Such as Figure 4 shown, step S31 includes:
[0074] S311. According to the processing requirements of the current workpiece, determine the A-axis angle of the current grinding wheel, determine the specified position of the current grinding wheel on the current workpiece, determine the rotational speed and rotation direction of the processing turntable;
[0075] S312. Use the CYCLE124 instruction to control the current grinding wheel to be set at the A-axis angle and the specified position of the current grinding wheel on the current workpiece, and control the processing turntable to be set according to the rotational speed and rotation direction; wherein, the specified position of the current grinding wheel on the current workpiece includes: the outer circle position and the inner hole position of the current grinding wheel on the current workpiece.
[0076] Such as Figure 4 shown, step S32 includes:
[0077] S321. Use the G-code instruction to control the current grinding wheel to rotate at a speed of N revolutions per minute;
[0078] Such as Figure 4 shown, step S34 includes:
[0079] S341. Use the G-code instruction to control the current grinding wheel to move along the Z-axis direction with a feed of M per revolution.
[0080] As described above, the rotational speed of the grinding wheel can be changed by changing the value of N, and the feed rate of the grinding wheel can be changed by changing the value of M. The program modification is simple, which is beneficial to understanding and application, and its setting is simple. As an alternative embodiment, in the embodiment of the present invention, if the current workpiece needs to be subjected to cylindrical grinding, the G-code instruction (such as G00 X100 Y0 S3000 M03) is used to control the grinding wheel to quickly move to the coordinate position of the starting point for cylindrical grinding set, and control the grinding wheel to rotate forward at a speed of 3000 revolutions per minute. When both the machining turntable and the grinding wheel start to rotate, the G-code instruction (such as G01 Z-50 F50) is used to move from the starting point to the Z-50 position along the Z-axis direction at a feed rate of 50 per minute, so as to achieve the purpose of controlling the current grinding wheel to perform machining according to the specified feed method. Among them, the rotational speed is set by the S instruction. For example, S3000 means the rotational speed is 3000 revolutions per minute; the feed rate is set by the F instruction. For example, F50 means the feed rate is 50 per revolution.
[0081] Embodiment 2
[0082] As Figure 2 shown, compared with Embodiment 1, before the step S31, Embodiment 2 further includes the following steps:
[0083] S21. Use the CYCLE1271 instruction to control the grinding wheel dresser to dress the current grinding wheel so that the roundness and surface accuracy of the current grinding wheel meet the standards;
[0084] S22. Bind the grinding wheel data information after dressing the grinding wheel with the current grinding wheel and store it in the tool table; wherein, the grinding wheel data information includes the tool length data, diameter data and radius data of the grinding wheel.
[0085] As Figure 4 shown, the step S21 includes:
[0086] S211. Determine the position to be dressed, the dressing size and the dressing allowance of the current grinding wheel according to the dressing requirements of the current grinding wheel; wherein, the grinding wheel size is known and stored in the tool offset table;
[0087] S212. Use the CYCLE1271 instruction to control the grinding wheel dresser to be set according to the position to be dressed of the current grinding wheel, and control the grinding wheel to be set according to the dressing size and the dressing allowance; wherein, the dressing size includes the grinding wheel thickness and the grinding wheel radius / grinding wheel length;
[0088] S213. According to the setting of the CYCLE1271 instruction, control the grinding wheel dresser to move to the set coordinate position for dressing the grinding wheel, that is, the position where the grinding wheel needs to be dressed; control the grinding wheel to automatically feed a distance of the dressing size with the set dressing allowance;
[0089] As an alternative embodiment, in the embodiment of the present invention, the CYCLE1271 instruction may be CYCLE1271(F, G, H), where F is the position where the current grinding wheel needs to be dressed, G is the current dressing size of the grinding wheel, and H is the dressing allowance of the current grinding wheel. If the instruction is CYCLE1271(541, 20, 0.01), then the control system can set the position where the current grinding wheel needs to be dressed to the outer circle, the current dressing size to 20 mm, and the current dressing allowance to 0.01 mm. According to the CYCLE1271 instruction, the control system controls the grinding wheel dresser to move to the set coordinate position for dressing the outer circle of the grinding wheel (such as G51 P41), and controls the grinding wheel to automatically feed a distance equal to the thickness of the grinding wheel (such as 20 mm) at a specified dressing amount (such as 0.01 mm), a specified rotational speed (such as S3000), and a specified feed rate (such as F150); after the dressing is completed, the control system binds the data information of the dressed grinding wheel to the current grinding wheel and stores it in the tool table.
[0090] As described above, the grinding wheel dressing cycle code is simple and easy to understand. By modifying the grinding wheel dressing cycle code according to the dressing requirements of the current grinding wheel, the grinding wheel dresser can be controlled to dress the positions of different grinding wheels and set different dressing methods, which can reduce the programming difficulty of programmers, make the control modification simpler, be more flexible in change and improve the modification efficiency, and can reduce the impact on the subsequent production process; moreover, in this case, the dressing of the grinding wheel can be realized through intelligent control, so that the control system has the function of grinding wheel dressing, which is convenient for improving the roundness and surface accuracy of the grinding wheel, is beneficial to improving the machining accuracy of subsequent workpiece grinding, and can be applied to the production of workpieces with high precision requirements.
[0091] Embodiment Three
[0092] As Figure 3 shown, compared with Embodiment Two, before the step S21, Embodiment Three further includes the following steps:
[0093] S11. Using the CYCLE1025 instruction, control the tool measuring device to measure the data of the current grinding wheel to obtain the data information of the current grinding wheel; [[ID=1,7]]
[0094] [[ID=,8]] S12. Generate the corresponding tool compensation of the grinding wheel according to the tool length data, diameter data, and radius data of the current grinding wheel and store it in the tool table; wherein, the tool compensation of the grinding wheel includes length compensation or radius compensation.
[0095]
[0095] As an alternative embodiment, in the embodiment of the present invention, the CYCLE1025 instruction may be CYCLE1025(I, J), where I is the approximate diameter of the current grinding wheel, and J may be one of the sequences 1, 2, and 3, and these three sequences respectively represent the measurement content of the tool detector. For example, when J = 1, the control system can use the tool detector to measure the tool length and radius of the current grinding wheel; when J = 2, the control system can use the tool detector to measure the radius of the current grinding wheel; when J = 3, the control system can use the tool detector to measure the tool length of the current grinding wheel. Among them, when the grinding wheel does not meet the current workpiece processing requirements, the control system can use the T instruction to select a replacement grinding wheel that can meet the current workpiece processing requirements from the tool table.
[0096] As described above, the grinding wheel measurement cycle code is simple, which is convenient for programmers to understand, beneficial to the modification and processing of programmers, improves the program modification efficiency, and facilitates the acceleration of the subsequent production and processing process. Moreover, through this grinding wheel measurement cycle instruction, the control system has the grinding wheel measurement function, which is convenient for generating corresponding tool compensation and beneficial to improving the machining accuracy.
[0097] Embodiment 4
[0098] As Figure 5 shown, this case discloses a control system, and the control system includes:
[0099] The first control unit 301 is configured to control the current grinding wheel to point to a specified feed cutting angle and set the current grinding wheel at a specified position of the current workpiece, and control the processing turntable to rotate in a specified rotation mode by using the CYCLE124 instruction according to the processing requirements of the current workpiece;
[0100] The second control unit 302 controls the current grinding wheel to process at a specified rotational speed by using G-code instructions;
[0101] The start unit 303 is configured to start the tool compensation of the grinding wheel by using the D instruction when both the processing turntable and the grinding wheel start to rotate;
[0102] The third control unit 304 controls the current grinding wheel to process in a specified feed mode by using G-code instructions;
[0103] The control and stop unit 305 is configured to control the current grinding wheel to move to the starting point and stop the tool compensation of the grinding wheel by using the D instruction after the current grinding wheel moves to the target position by using G-code instructions.
[0104] As described above, the settings of the first control unit 301, the second control unit 302, and the third control unit 304 in the present control system facilitate the use of different instructions to control the feed cutting angle of the grinding wheel, set the position of the grinding wheel on the workpiece, control the rotation speed and direction of the machining turntable, control the rotation speed of the grinding wheel, and control the feed mode (feed rate) of the grinding wheel. Each program is programmed modularly and has a clear division of labor, and different controls can be achieved through the call of each program module, which is convenient for practical application. Moreover, the grinding cycle code is simple and easy to understand. Only by modifying some values of the grinding cycle code according to the processing standards of the required workpiece, the grinding wheel can be intelligently controlled to perform grinding operations from multiple direction angles to achieve grinding of different positions of the workpiece, so that the workpiece does not need to be repeatedly clamped during the processing, reducing the repeated clamping time and enabling continuous processing of the workpiece. Additionally, during processing, there will be no displacement due to repeated clamping, which can improve production efficiency while ensuring processing accuracy. In addition, since the grinding cycle code is simple and easy to understand, its control and modification are simple, which can improve the modification efficiency of programmers, so as to reduce the waiting time of the control system during the production process and is beneficial to improving production efficiency. The setting of the starting unit 303 facilitates the starting of the tool compensation of the grinding wheel, and its setting is convenient. The setting of the control and stop unit 305 facilitates the control of the grinding wheel to move to the starting point and stop the tool compensation of the grinding wheel.
[0105] As Figure 7 shown, the first control unit 301 includes:
[0106] The first determination subunit 3011 is configured to determine the A-axis angle of the current grinding wheel, determine the specified position of the current grinding wheel on the current workpiece, and determine the rotation speed and rotation direction of the machining turntable according to the processing requirements of the current workpiece;
[0107] The first control subunit 3012 is configured to use the CYCLE124 instruction to control the current grinding wheel according to the A-axis angle and set the specified position of the current grinding wheel on the current workpiece, and control the machining turntable according to the rotation speed and rotation direction.
[0108] As an alternative embodiment, in the embodiments of the present invention, the CYCLE124 instruction may be CYCLE124(B, C, D, E) that already includes length compensation and compensation direction, where B is the specified position of the current grinding wheel on the current workpiece, C is the A-axis angle of the current grinding wheel, D is the rotational speed of the machining turntable, and E is the rotational direction of the machining turntable. If the instruction is CYCLE124(1, 0, 50, 4), then the control system can set the grinding wheel at the outer circle position of the workpiece, the A-axis angle of the current grinding wheel is 0 degrees, the rotational speed of the current machining turntable is 50 rpm, and the rotational direction of the current machining turntable is reverse. Combining the outer circle position of the grinding wheel on the workpiece and the A-axis angle of 0 degrees, the grinding position of the current grinding wheel on the workpiece is the outer circle; if the instruction is CYCLE124(-1, 0, 50, 3), then the control system can set the grinding wheel at the inner hole position of the workpiece, the A-axis angle of the current grinding wheel is 0 degrees, the rotational speed of the current machining turntable is 50 rpm, and the rotational direction of the current machining turntable is forward. Combining the inner hole position of the grinding wheel on the workpiece and the A-axis angle of 0 degrees, the grinding position of the current grinding wheel on the workpiece is the inner hole; if the instruction is CYCLE124(1, -90, 50, 4), then the control system can set the grinding wheel at the outer circle position of the workpiece, the A-axis angle of the current grinding wheel is -90 degrees, the rotational speed of the current machining turntable is 50 rpm, and the rotational direction of the current machining turntable is reverse. Combining the outer circle position of the grinding wheel on the workpiece and the A-axis angle of -90 degrees, the grinding position of the current grinding wheel on the workpiece is the end face.
[0109] As described above, by setting different values of B, C, and D, it is convenient to set the grinding position of the grinding wheel on the workpiece and control the rotation mode of the machining turntable. Its grinding cycle code is simple and easy to understand, and the program modification is convenient.
[0110] Embodiment Five
[0111] As Figure 6 shown, when comparing Embodiment Four with Embodiment Three, the control system described in Embodiment Four further includes:
[0112] The fourth control unit 201 is used to control the grinding wheel dresser to dress the current grinding wheel before the first control unit 301 by using the CYCLE1271 instruction, so that the roundness and surface accuracy of the current grinding wheel meet the standards;
[0113] The fifth control unit 101 is used to control the tool detector to measure the data of the current grinding wheel by using the CYCLE1025 instruction before the fourth control unit 201 to obtain the data information of the current grinding wheel.
[0114] As an alternative embodiment, in the embodiment of the present invention, in MDI and automatic modes, the fourth control unit 201 can run the CYCLE1271 instruction to control the wheel dresser to dress the current grinding wheel. The CYCLE1271 instruction can be CYCLE1271(F, G, H), where F is the position where the current grinding wheel needs to be dressed, G is the dressing size of the current grinding wheel, and H is the dressing allowance of the current grinding wheel. If the instruction is CYCLE1271(541, 20, 0.01), then the control system can set the position where the current grinding wheel needs to be dressed as the outer circle, the current dressing size as 20 mm, and the current dressing allowance as 0.01 mm. The control system, according to the CYCLE1271 instruction, controls the wheel dresser to move to the set coordinate position for dressing the outer circle of the grinding wheel (such as G51 P41), and controls the grinding wheel to automatically feed at a specified dressing amount (such as 0.01 mm), a specified rotational speed (such as S3000), and a specified feed rate (such as F150) for a distance equal to the thickness of the grinding wheel (such as 20 mm); after the dressing is completed, the control system binds the data information of the dressed grinding wheel with the current grinding wheel and stores it in the tool table. Among them, the data information of the grinding wheel includes the tool length data, diameter data, and radius data of the grinding wheel.
[0115] As an alternative embodiment, in the embodiment of the present invention, in MDI and automatic modes, the fifth control unit 101 can run the CYCLE1025 instruction to control the tool checker to measure the data of the current grinding wheel. As an alternative embodiment, in the embodiment of the present invention, the CYCLE1025 instruction can be CYCLE1025(I, J), I is the approximate diameter of the current grinding wheel, and J can be 1, 2, and 3 sequences, and these three sequences respectively represent the measurement contents of the tool checker. For example, when J is 1, the control system can use the tool checker to measure the tool length and radius of the current grinding wheel at this time; when J is 2, the control system can use the tool checker to measure the radius of the current grinding wheel at this time; when J is 3, the control system can use the tool checker to measure the tool length of the current grinding wheel at this time. Among them, when the grinding wheel does not meet the current workpiece processing requirements, the control system can use the T instruction to select a replacement grinding wheel that can meet the current workpiece processing requirements from the tool table.
[0116] As described above, the setting of the fourth control unit 201 facilitates controlling the wheel dresser to dress the current grinding wheel, so as to improve the roundness and surface accuracy of the grinding wheel, which is beneficial to improving the machining accuracy of subsequent workpiece grinding and can be applied to the production of workpieces with high precision requirements. In addition, the wheel dressing cycle code is simple and easy to understand. By modifying the wheel dressing cycle code according to the wear condition of the current grinding wheel, the wheel dresser can be controlled to dress different grinding wheels at different positions and set different dressing methods, which can reduce the programming difficulty of programmers, make the control modification simpler, more flexible and not delay the subsequent production process. The setting of the fifth control unit 101 facilitates controlling the tool measuring device to measure the data of the current grinding wheel, obtaining the grinding wheel data and storing it in the tool table, so that the tool table information can be directly called without re-measuring during the next use, reducing the waiting time for the control system to measure, which is beneficial to improving the production efficiency. In addition, the code of the grinding wheel measurement cycle instruction is simple, which is convenient for programmers to understand, beneficial to the modification and machining of programmers, and improves the program modification efficiency.
[0117] As Figure 7 shown, the fourth control unit 201 includes:
[0118] The second determination subunit 2011 is configured to determine the position to be dressed, the dressing size, and the dressing allowance of the current grinding wheel according to the dressing requirements of the current grinding wheel.
[0119] The second control subunit 2012 is configured to use the CYCLE1271 instruction to control the wheel dresser to be set according to the position to be dressed of the current grinding wheel, and control the grinding wheel to be set according to the dressing size and the dressing allowance; wherein, the dressing size includes the grinding wheel thickness and the grinding wheel radius / grinding wheel length; wherein, the grinding wheel size is known and stored in the tool offset table.
[0120] The third control subunit 2013 is configured to control the wheel dresser to move to the set dressing coordinate system position, that is, the position where the grinding wheel needs to be dressed, according to the setting of the CYCLE1271 instruction; control the grinding wheel to automatically feed a distance equal to the dressing size with the set dressing allowance.
[0121] As described above, the settings of the second determination subunit 2011, the second control subunit 2012, and the third control subunit 2013 facilitate the fourth control unit 201 to execute the program step by step according to each subunit, so as to distinguish different operation commands, facilitate the operation of operators, and improve the operation efficiency.
[0122] Embodiment 6
[0123] As Figure 8 shown, the control system may include:
[0124] A memory 601 storing executable program code;
[0125] A processor 602 coupled to the memory 601;
[0126] Wherein, the processor 602 calls the executable program code stored in the memory 601 and executes Figures 1 to 2 Any one of the intelligent grinding process control methods.
[0127] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute Figures 1 to 4 Any one of the intelligent grinding process control methods.
[0128] An embodiment of the present invention further discloses a computer program product, wherein when the computer program product runs on a computer, it causes the computer to execute some or all of the steps of the methods in the above method embodiments.
[0129] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium, and the storage medium includes read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc memories, magnetic disc memories, tape memories, or any other computer-readable medium capable of carrying or storing data.
[0130] The above has introduced in detail an intelligent grinding process control method and control system disclosed in the embodiments of the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation on the present invention.
Claims
1. An intelligent grinding process control method, characterized in that Including the following steps: S11. Using the CYCLE1025 instruction, control the tool detector to measure the current grinding wheel to obtain the current grinding wheel data information; S12. Generate the tool compensation for the corresponding grinding wheel according to the tool length data, diameter data and radius data of the current grinding wheel and store it in the tool table; wherein, the tool compensation of the grinding wheel includes length compensation or radius compensation; S211. Determine the position to be dressed, the dressing size and the dressing allowance of the current grinding wheel according to the dressing requirements of the current grinding wheel; wherein, the grinding wheel size is known and stored in the tool offset table; S212. Using the CYCLE1271 instruction, control the grinding wheel dresser to be set according to the position to be dressed of the current grinding wheel, and control the grinding wheel to be set according to the dressing size and the dressing allowance; wherein, the dressing size includes the grinding wheel thickness and the grinding wheel radius / grinding wheel length; S213. According to the setting of the CYCLE1271 instruction, control the grinding wheel dresser to move to the set dressing coordinate system position, that is, the position where the grinding wheel needs to be dressed; control the grinding wheel to automatically feed a distance equal to the dressing size at the set dressing allowance; S22. Bind the grinding wheel data information after dressing to the current grinding wheel and store it in the tool table; wherein, the grinding wheel data information includes the tool length data, diameter data and radius data of the grinding wheel; S311. Determine the A-axis angle of the current grinding wheel, determine the specified position of the current grinding wheel on the current workpiece, determine the rotation speed and rotation direction of the machining turntable according to the machining requirements of the current workpiece; S312. Using the CYCLE124 instruction, control the current grinding wheel according to the A-axis angle and set the current grinding wheel at the specified position on the current workpiece, and control the machining turntable to be set according to the rotation speed and rotation direction; wherein, the specified position of the current grinding wheel on the current workpiece includes: the outer circle position and the inner hole position of the current grinding wheel on the current workpiece; S321. Using the G-code instruction, control the current grinding wheel to rotate at a speed of N revolutions per minute; S33. When both the machining turntable and the grinding wheel start to rotate, use the D instruction to activate the tool compensation of the grinding wheel; S341. Using the G-code instruction, control the current grinding wheel to move along the Z-axis direction at a feed rate of M per revolution; S35. After the current grinding wheel moves to the target position, use the G-code instruction to control the current grinding wheel to move to the starting point and use the D instruction to stop the tool compensation of the grinding wheel.
2. A control system, characterized in that, Applied to the control method described in claim 1, the control system includes: The first control unit is used to control the current grinding wheel to point to the specified feed cutting angle and set the current grinding wheel at the specified position on the current workpiece according to the machining requirements of the current workpiece by using the CYCLE124 instruction, and control the machining turntable to rotate in the specified rotation mode; The second control unit uses the G-code instruction to control the current grinding wheel to be machined at the specified rotation speed; A starting unit, configured to, when the machining turntable and the grinding wheel both start to rotate, start the tool compensation of the grinding wheel by using the D instruction; A third control unit, configured to control the current grinding wheel to perform machining according to a specified feed mode by using G-code instructions; A control and stop unit, configured to, after the current grinding wheel moves to a target position, control the current grinding wheel to move to a tool starting point by using G-code instructions and stop the tool compensation of the grinding wheel by using the D instruction.
3. The control system according to claim 2, wherein The first control unit includes: A first determination subunit, configured to determine the A-axis angle of the current grinding wheel, determine the specified position of the current grinding wheel on the current workpiece, determine the rotational speed and the rotation direction of the machining turntable according to the machining requirements of the current workpiece; A first control subunit, configured to control the current grinding wheel according to the A-axis angle and set the current grinding wheel at the specified position on the current workpiece by using the CYCLE124 instruction, and control the machining turntable to be set according to the rotational speed and the rotation direction.
4. A control system according to claim 2 or 3, characterized in that, It further includes: A fourth control unit, configured to, before the first control unit, control a grinding wheel dresser to dress the current grinding wheel by using the CYCLE1271 instruction to make the roundness and the surface accuracy of the current grinding wheel meet the standards; A fifth control unit, configured to, before the fourth control unit, control a tool measuring device to measure the current grinding wheel by using the CYCLE1025 instruction to obtain the data information of the current grinding wheel.
5. A control system according to claim 4, characterized in that, The fourth control unit includes: A second determination subunit, configured to determine the position to be dressed of the current grinding wheel, the dressing size of the grinding wheel, and the dressing allowance of the grinding wheel according to the dressing requirements of the current grinding wheel; wherein, the grinding wheel size is known and stored in a tool offset table; A second control subunit, configured to control the grinding wheel dresser to be set according to the position to be dressed of the current grinding wheel by using the CYCLE1271 instruction, and control the grinding wheel to be set according to the dressing size and the dressing allowance; wherein, the dressing size includes the grinding wheel thickness and the grinding wheel radius / grinding wheel length; A third control subunit, configured to, according to the setting of the CYCLE1271 instruction, control the grinding wheel dresser to move to the set coordinate position for dressing, i.e., the position to be dressed of the grinding wheel; control the grinding wheel to automatically feed a distance equal to the dressing size at the set dressing allowance.
Citation Information
Patent Citations
Grinding machine system, grinding machine control method, numerical control equipment and storage medium
CN114505758A
Fully automated grinding method for vertical internal and external cylindrical grinding machines
CN102275099A
Bearing raceway accurate progressive precise forming grinding machine tool based on ELID grinding
CN112917340A