A machine tool reciprocating control method and machine tool control system for producing lures

By obtaining and matching the reciprocating paths of the machine tool and the shape characteristics of the bait, and calculating and designing the compensation path, the problem of low machine tool utilization in bait production is solved, and efficient processing error compensation and quality improvement is achieved.

CN118513910BActive Publication Date: 2024-11-05WEIHAI ANDA SPORTS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410968346.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-05
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

In the prior art, the reciprocating control of machine tools in bait production is difficult to improve machine tool utilization while ensuring machining accuracy. Too high or too low overcut path length will lead to redundant cutting or reduced processing quality, vibration and impact, and It is difficult to effectively compensate for processing errors at corners.

Method used

By obtaining the shape characteristics of the machine tool reciprocating path and the target bait to match, the processing allowance and corner compensation path are determined, and the shape error lag factor is calculated based on the processing thickness, the round-trip compensation path is designed to automatically compensate, and the machine tool utilization rate is improved.

Benefits of technology

It realizes that on the premise of ensuring the machining accuracy of the machine tool, improves the utilization rate of the machine tool in the production of counterfeit baits, reduces processing errors, and improves processing quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118513910B_ABST
    Figure CN118513910B_ABST
Patent Text Reader

Abstract

The present application provides a machine tool reciprocating control method and a machine tool control system for producing lures, wherein the reciprocating path of the machine tool is matched with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure; the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool is determined by historical machine tool reciprocating data, and the shape and position variation at the corresponding reciprocating corner is determined according to each corner compensation path and the machining allowance; the hysteresis factor of the target shape and position error is determined by the machining allowance and the machining thickness of the target lure, and the reciprocating compensation path of each reciprocating corner is determined according to the hysteresis factor and each shape and position variation; based on each reciprocating compensation path, the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool is automatically compensated for the error. Based on the above scheme, the machining error compensation at the reciprocating corner in the automatic production of the lure is realized, thereby improving the machine tool utilization rate in the production of the lure while ensuring the machining accuracy of the machine tool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of industrial production automatic control, and more specifically, to a machine tool reciprocating control method and a machine tool control system for producing lures. Background Art

[0002] In the production of lures, the reciprocating control of machine tools directly affects the processing accuracy and efficiency of lure production. The application of machine tool reciprocating control in lure production achieves a dual improvement in processing accuracy and production efficiency through modern control systems and optimization algorithms, providing strong support for manufacturers to maintain their technological and production advantages in the fiercely competitive market.

[0003] In the prior art, the reciprocating control of the machine tool for the production of lures is usually carried out by electric spark wire cutting. For the overcut path under different processing thicknesses in the electric spark wire cutting, the overcut path refers to the machine tool movement path that exceeds the preset threshold range. The overcut path is to ensure the machine tool processing accuracy at the corner. If the length of the overcut path is too long, it will lead to more redundant cutting of the machine tool in the production of lures, thereby reducing the machine tool utilization rate in the production of lures. If the length of the overcut path is too short, the vibration and impact caused by the sudden acceleration and deceleration of the machine tool at the corner will lead to a decrease in the processing quality of the lure, and even damage the machine tool itself. The overcut path is used in combination with the processing thickness to automatically compensate for the reciprocating corners of the processing process, which can accurately capture the motion trajectory and parameter changes in each step of the processing process, thereby effectively avoiding the above-mentioned problems. Therefore, how to compensate for the processing errors at the reciprocating corners in the automatic production process of lures, thereby improving the machine tool utilization rate in the production of lures while ensuring the processing accuracy of the machine tool, is a difficult problem faced by the industry. Summary of the invention

[0004] The present application provides a machine tool reciprocating control method and a machine tool control system for the production of lures, which can combine the overcut path with the processing thickness to achieve compensation for the processing errors at the reciprocating corners during the automatic production of lures, thereby improving the machine tool utilization rate in the production of lures while ensuring the machine tool processing accuracy.

[0005] In a first aspect, the present application provides a machine tool reciprocating control method for producing lures, comprising:

[0006] Acquire an initial machine tool reciprocating path during the automatic production process of the target lure, and then determine all reciprocating corners in the machine tool reciprocating path;

[0007] Matching the reciprocating path of the machine tool with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure;

[0008] Acquire historical machine tool reciprocating data during the automatic production of the target lure, determine the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool through the historical machine tool reciprocating data, and determine the shape and position change amount at the corresponding reciprocating corner during the automatic production of the target lure according to each corner compensation path and the machining allowance;

[0009] Determine the hysteresis factor of the shape and position error in the automatic production process of the target lure by the machining allowance and the machining thickness of the target lure, and determine the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation;

[0010] Automatic error compensation is performed on the reciprocating paths corresponding to the reciprocating corners in the reciprocating paths of the machine tool based on each reciprocating compensation path.

[0011] In some embodiments, matching the reciprocating path of the machine tool with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure specifically includes:

[0012] For each reciprocating corner in the reciprocating path of the machine tool, obtaining a finishing path of the reciprocating corner in the shape feature of the target lure;

[0013] Matching the finishing path and the reciprocating corner by a preset overcut threshold value to obtain the overcut path of the reciprocating corner, and then obtaining the overcut path of each reciprocating corner in the reciprocating path of the machine tool;

[0014] The machining allowance of the machine tool in the automatic production process of the target lure is determined according to all the overcut paths.

[0015] In some embodiments, determining the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool through the historical machine tool reciprocating data specifically includes:

[0016] For each reciprocating corner in the reciprocating path of the machine tool, screening a significant reciprocating path of the reciprocating corner in the historical machine tool reciprocating data;

[0017] Determine the corner shape characteristics of the target lure at the reciprocating corner;

[0018] The corner compensation path of the reciprocating corner is determined by the corner shape feature and the significant reciprocating path, thereby obtaining the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool.

[0019] In some embodiments, determining the shape and position variation at the corresponding reciprocating corner during the automatic production process of the target lure according to each corner compensation path and the processing allowance specifically includes:

[0020] For each reciprocating corner, obtaining a corner compensation path of the reciprocating corner;

[0021] Determine the compensation length at the reciprocating corner during the automatic production process of the target lure by using the corner compensation path;

[0022] Determining an overcut compensation amount in the automatic production process of the target lure according to the processing allowance;

[0023] The shape and position variation at the reciprocating corner during the automatic production of the target lure is determined according to the overcut compensation amount and the compensation length, and then the shape and position variation at each reciprocating corner during the automatic production of the target lure is obtained.

[0024] In some embodiments, determining the hysteresis factor of the shape and position error in the automatic production process of the target lure by the processing allowance and the processing thickness of the target lure specifically includes:

[0025] Determine the error influence curve of the machining allowance in the automatic production process of the target lure by the machining thickness of the target lure;

[0026] Determine the shape and position error of each reciprocating corner in the automatic production process of the target lure according to the error influence curve and the processing allowance;

[0027] The hysteresis factor of the shape and position error in the automatic production process of the target lure is determined through all the shape and position errors.

[0028] In some embodiments, determining the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation specifically includes:

[0029] For each reciprocating corner, obtaining the shape and position change amount at the reciprocating corner during the automatic production process of the target lure;

[0030] Determine the shape and position error of the reciprocating corner by using the shape and position variation and the hysteresis factor;

[0031] Obtaining the corner shape of the target lure at the reciprocating corner;

[0032] The round-trip compensation path of the reciprocating corner is determined according to the form and position error and the corner shape, thereby obtaining the round-trip compensation path of each reciprocating corner.

[0033] In some embodiments, automatically compensating the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path specifically includes:

[0034] For each reciprocating corner, obtain the reciprocating path corresponding to the reciprocating corner;

[0035] determining an error compensation amount according to the round-trip compensation path and the reciprocating path;

[0036] The error in the reciprocating path is automatically compensated by the error compensation amount, so as to complete the error compensation of the reciprocating path, and further complete the error compensation of the reciprocating path corresponding to each reciprocating corner in the reciprocating path of the machine tool.

[0037] In a second aspect, the present application provides a machine tool control system for producing lures, including a machine tool control unit, wherein the machine tool control unit includes:

[0038] An acquisition module, used to acquire an initial machine tool reciprocating path in the automatic production process of the target lure, and then determine all reciprocating corners in the machine tool reciprocating path;

[0039] A processing module, used for matching the reciprocating path of the machine tool with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure;

[0040] The processing module is also used to obtain historical machine tool reciprocating data during the automatic production of the target lure, determine the corner compensation path of each reciprocating corner in the machine tool reciprocating path through the historical machine tool reciprocating data, and determine the shape and position change amount at the corresponding reciprocating corner during the automatic production of the target lure according to each corner compensation path and the machining allowance;

[0041] The processing module is also used to determine the hysteresis factor of the shape and position error in the automatic production process of the target lure through the processing allowance and the processing thickness of the target lure, and determine the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation;

[0042] The execution module is used to automatically perform error compensation on the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path.

[0043] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned machine tool reciprocating control method for lure production.

[0044] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions or codes, and when the instructions or codes are executed on a computer, the computer implements the above-mentioned machine tool reciprocating control method for producing lures.

[0045] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:

[0046] The present application provides a machine tool reciprocating control method and a machine tool control system for producing lures. The method comprises the following steps: obtaining an initial machine tool reciprocating path in the automatic production process of a target lure, and then determining all reciprocating corners in the machine tool reciprocating path; matching the machine tool reciprocating path with the shape features of the target lure to obtain a machining allowance of the machine tool in the automatic production process of the target lure; obtaining historical machine tool reciprocating data in the automatic production process of the target lure, determining a corner compensation path for each reciprocating corner in the machine tool reciprocating path through the historical machine tool reciprocating data, and determining a shape and position variation at a corresponding reciprocating corner in the automatic production process of the target lure according to each corner compensation path and the machining allowance; determining a hysteresis factor of a shape and position error in the automatic production process of the target lure according to the machining allowance and the machining thickness of the target lure, and determining a reciprocating compensation path for each reciprocating corner according to the hysteresis factor and each shape and position variation; and automatically performing error compensation on a reciprocating path corresponding to a reciprocating corner in the machine tool reciprocating path based on each reciprocating compensation path.

[0047] It can be seen that in the present application, the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool can be automatically compensated for errors based on each reciprocating compensation path; wherein, by comparing the reciprocating path of the machine tool and the shape characteristics of the target lure to determine the machining allowance, the machine tool movement path that exceeds the preset threshold range in the production of the target lure can be obtained, which is convenient for the subsequent determination of the machining error at the reciprocating corner during the automatic production of the lure, thereby improving the machining quality and efficiency; secondly, the shape and position change amount is determined according to each corner compensation path and the machining allowance, and the shape deviation at the reciprocating corner caused by the machining error and compensation can be obtained. The corner compensation path of each reciprocating corner is determined by analyzing the historical machine tool reciprocating data, and the actual data in the past can be used to determine the shape deviation at the reciprocating corner. The current processing path is adjusted according to the actual processing trajectory to ensure that the actual processing trajectory is as close to the design requirements as possible. The design of the compensation path can improve the shape and size accuracy of the product by reducing the form and position errors, thereby improving the machine tool utilization rate in the processing process; then, by calculating the form and position changes and the processing allowance, the round-trip compensation path of each reciprocating corner is determined. The precise compensation path design can minimize the processing error to the greatest extent, thereby further improving the machine tool utilization rate in the production of lures under the premise of improving the machine tool processing accuracy; in summary, based on the above scheme, the processing error compensation at the reciprocating corner in the automatic production process of lures can be realized, thereby improving the machine tool utilization rate in the production of lures under the premise of ensuring the machine tool processing accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0049] Figure 1 is an exemplary flow chart of a machine tool reciprocating control method for producing lures according to some embodiments of the present application;

[0050] Figure 2 is a schematic diagram of a process for determining a corner compensation path according to some embodiments of the present application;

[0051] Figure 3 is a schematic diagram of a process for determining a hysteresis factor according to some embodiments of the present application;

[0052] Figure 4 is a schematic diagram of exemplary hardware and / or software of a machine tool control unit according to some embodiments of the present application;

[0053] Figure 5 It is a structural schematic diagram of a computer device for implementing a machine tool reciprocating control method for producing lures according to some embodiments of the present application. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0055] The embodiment of the present application provides a machine tool reciprocating control method and a machine tool control system for the production of lures, the core of which is to match the reciprocating path of the machine tool with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure; determine the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool through the historical machine tool reciprocating data, and determine the shape and position change at the corresponding reciprocating corner according to each corner compensation path and the machining allowance; determine the hysteresis factor of the target shape and position error through the machining allowance and the machining thickness of the target lure, and determine the reciprocating compensation path of each reciprocating corner according to the hysteresis factor and each shape and position change; based on each reciprocating compensation path, automatically compensate for the reciprocating path of the corresponding reciprocating corner in the reciprocating path of the machine tool. Based on the above scheme, the machining error compensation at the reciprocating corner in the automatic production of the lure can be realized, thereby improving the machine tool utilization rate in the production of lures while ensuring the machining accuracy of the machine tool.

[0056] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a machine tool reciprocating control method for producing lures according to some embodiments of the present application. The machine tool reciprocating control method for producing lures mainly includes the following steps:

[0057] In step 101, an initial machine tool reciprocating path in the automatic production process of a target lure is obtained, and then all reciprocating corners in the machine tool reciprocating path are determined.

[0058] It should be noted that, in the present application, the initial machine tool reciprocating path is the initial path preset for the target lure production process; the reciprocating corner refers to the point in the machine tool reciprocating motion path where the direction of motion changes significantly; in specific implementation, the initial production path of the target lure can be obtained in the machine tool control system as the initial machine tool reciprocating path, and the existing corner detection algorithm (for example: RDP algorithm) can be used to obtain all reciprocating corners in the machine tool reciprocating path.

[0059] In step 102, the reciprocating path of the machine tool and the shape characteristics of the target lure are matched with each other to obtain the machining allowance of the machine tool during the automatic production of the target lure.

[0060] It should be noted that, in this application, the shape characteristics of the target lure refer to the specific geometric shape information of the target lure at each part. For the convenience of calculation, the shape characteristics of the lure are usually stored in the form of discrete points. In specific implementation, the shape characteristics of the target lure can be obtained by scanning the target lure using a CAD model.

[0061] In some embodiments, matching the reciprocating path of the machine tool with the shape features of the target lure can be achieved by the following steps:

[0062] For each reciprocating corner in the reciprocating path of the machine tool, obtaining a finishing path of the reciprocating corner in the shape feature of the target lure;

[0063] The finishing path and the reciprocating corner are matched by a preset overcut threshold value to obtain the overcut path of the reciprocating corner, and then the overcut path of each reciprocating corner in the reciprocating path of the machine tool is obtained.

[0064] It should be noted that in this application, the machining allowance is the cutting amount that exceeds the design range of the target lure during the reciprocating process of the machine tool; the overcut path refers to the machine tool movement path that exceeds the preset threshold range; the finishing path refers to the path that the tool should follow when using the fine mode for processing; the overcut threshold is an indicator of whether the error range reaches the overcut, and the overcut threshold can be preset through historical experience;

[0065] In the specific implementation, first, for each reciprocating corner in the reciprocating path of the machine tool, a discrete point corresponding to the reciprocating corner is obtained in the shape feature of the target lure, and the existing processing path planning algorithm can be used to plan the processing path for the shape feature around the discrete point, and the planned path can be used as the finishing path of the reciprocating corner; then, the area of ​​the closed area formed by the finishing path and the reciprocating corner can be used as the error distance, and the size relationship between the error distance and the preset overcut threshold is compared. If the error distance is less than or equal to the preset overcut threshold, the overcut path of the reciprocating corner is 0, and the overcut path does not exist at this time. If the error distance is greater than the preset overcut threshold, the finishing path can be used as the overcut path of the reciprocating corner. The overcut path of each reciprocating corner in the reciprocating path of the machine tool can be obtained in the above manner; finally,.

[0066] In some embodiments, obtaining the machining allowance of a machine tool during the automatic production process of a target lure refers to determining the machining allowance of a machine tool during the automatic production process of a target lure based on all overcut paths. In specific implementation, for each overcut path, the difference between the error distance of the overcut path and the overcut threshold is taken as the overcut width, and the product of the overcut width and the length of the overcut path can be taken as the overcut area of ​​the overcut path. The overcut area of ​​each overcut path can be obtained in the above manner, and the sum of all overcut areas can be taken as the machining allowance of a machine tool during the automatic production process of a target lure.

[0067] It should be noted that by comparing the reciprocating path of the machine tool with the shape characteristics of the target lure and finally calculating the machining allowance, it is helpful to accurately identify and quantify the overcutting phenomenon in the lure machining process, thereby optimizing the production process of the lure and improving the quality of the lure.

[0068] In step 103, historical machine tool reciprocating data during the automatic production process of the target lure is obtained, and a corner compensation path of each reciprocating corner in the machine tool reciprocating path is determined based on the historical machine tool reciprocating data. The shape and position change at the corresponding reciprocating corner during the automatic production process of the target lure is determined based on each corner compensation path and the machining allowance.

[0069] It should be noted that, in the present application, historical machine tool reciprocating data refers to a data set of information such as the reciprocating motion path, speed, acceleration, processing parameters, etc. of the machine tool in the past period of time; in specific implementation, the machine tool reciprocating record in the automatic production process of each lure is obtained, and the collection of all machine tool reciprocating records can be used as the historical machine tool reciprocating data in the automatic production process of the target lure.

[0070] In some embodiments, the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool is determined by the historical machine tool reciprocating data, referring to Figure 2 As described above, the figure is a schematic diagram of a process for determining a corner compensation path in some embodiments of the present application. In this embodiment, determining the corner compensation path can be implemented by using the following steps:

[0071] In step 1031, for each reciprocating corner in the reciprocating path of the machine tool, a significant reciprocating path of the reciprocating corner is screened in the historical machine tool reciprocating data;

[0072] In step 1032, determining the corner shape characteristics of the target lure at the reciprocating corner;

[0073] In step 1033, a corner compensation path of the reciprocating corner is determined by using the corner shape feature and the significant reciprocating path, thereby obtaining a corner compensation path of each reciprocating corner in the reciprocating path of the machine tool.

[0074] It should be noted that, in the present application, the corner compensation path is a path used to compensate for corner deviations during the processing of the lure; a significant reciprocating path refers to a path that appears significantly and repeatedly during the reciprocating process of the machine tool, which usually corresponds to a common motion mode during the processing; a conventional corner path refers to a corner path along which the machine tool usually moves along a preset path during normal processing; and a corner shape feature refers to the specific geometric shape information of the target lure at the reciprocating corner.

[0075] In the specific implementation, first, for each reciprocating corner, all corner paths of the reciprocating corner are intercepted in all machine tool reciprocating records of the historical machine tool reciprocating data, and the corner path with the highest frequency of occurrence is screened out from all corner paths as a significant reciprocating path; then, discrete points at the reciprocating corner can be screened out from the shape features of the target lure as corner shape features; finally, an existing geometric comparison model is initialized, and the corner shape features are used as the comparison source of the geometric comparison model, and the significant reciprocating path is used as the comparison target of the geometric comparison model. The comparison result of the geometric comparison model can be used as the corner compensation path of the reciprocating corner. The corner compensation path of each reciprocating corner in the machine tool reciprocating path can be obtained in the above manner.

[0076] It should be noted that the above steps can determine the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool, which helps to improve the accuracy of the corners during the machining process, thereby improving product quality and machining efficiency.

[0077] In some embodiments, the following steps may be used to determine the shape and position variation at the corresponding reciprocating corners during the automatic production of the target lure according to each corner compensation path and the processing allowance:

[0078] For each reciprocating corner, obtaining a corner compensation path of the reciprocating corner;

[0079] Determine the compensation length at the reciprocating corner during the automatic production process of the target lure by using the corner compensation path;

[0080] Determining an overcut compensation amount in the automatic production process of the target lure according to the processing allowance;

[0081] The shape and position variation at the reciprocating corner during the automatic production of the target lure is determined according to the overcut compensation amount and the compensation length, and then the shape and position variation at each reciprocating corner during the automatic production of the target lure is obtained.

[0082] It should be noted that, in the present application, the shape and position change refers to the shape deviation at the reciprocating corner caused by processing errors and compensation during the automatic production process of the target lure; the overcut compensation refers to the processing amount increased during the processing to correct the overcut phenomenon. In the present application, the processing amount can be expressed by the processing length; the compensation length refers to the additional length required along the compensation path to correct the deviation during the automatic production process of the target lure.

[0083] In the specific implementation, first, for each reciprocating corner, the corner compensation path of the reciprocating corner is obtained; secondly, the length of the corner compensation path can be used as the compensation length at the reciprocating corner during the automatic production process of the target lure; then, the product of the preset overcut compensation coefficient and the machining allowance can be used as the overcut compensation amount in the automatic production process of the target lure, wherein the preset overcut compensation coefficient represents the direct proportional coefficient between the machining allowance and the overcut compensation amount, and the overcut compensation coefficient can be preset according to historical experience; finally, the sum of the overcut compensation amount and the compensation length can be used as the shape and position change at the reciprocating corner during the automatic production process of the target lure, and the shape and position change at each reciprocating corner during the automatic production process of the target lure can be obtained by the above method; it should be noted that the above method can ensure the precise control of shape deviation during the processing, thereby improving product quality and processing efficiency.

[0084] In step 104, the hysteresis factor of the shape and position error in the automatic production process of the target lure is determined by the machining allowance and the machining thickness of the target lure, and the reciprocating compensation path of each reciprocating corner is determined according to the hysteresis factor and each shape and position variation.

[0085] It should be noted that, in the present application, the processing thickness of the target lure refers to the thickness of the workpiece when the production of the target lure begins. The hysteresis of the form and position error in the automatic production process of the target lure is different under different processing thicknesses. When the processing thickness is less than the thickness extreme value, the hysteresis of the form and position error decreases with the increase of the processing thickness. When the processing thickness is greater than or equal to the thickness extreme value, the hysteresis of the form and position error increases with the increase of the processing thickness. The thickness extreme values ​​of different lures can be preset through historical experience. In specific implementation, the thickness extreme value of the target lure can be used as the processing thickness of the target lure.

[0086] In some embodiments, the hysteresis factor of the shape and position error in the automatic production process of the target lure is determined by the processing allowance and the processing thickness of the target lure, referring to Figure 3 As described above, the figure is a schematic diagram of a process for determining a hysteresis factor in some embodiments of the present application. In this embodiment, determining the hysteresis factor can be achieved by using the following steps:

[0087] In step 1041, the error influence curve of the machining allowance in the automatic production process of the target lure is determined according to the machining thickness of the target lure;

[0088] In step 1042, the shape and position errors of each reciprocating corner in the automatic production process of the target lure are determined according to the error influence curve and the processing allowance;

[0089] In step 1043, the hysteresis factor of the shape and position errors in the automatic production process of the target lure is determined through all shape and position errors.

[0090] It should be noted that, in the present application, the hysteresis factor refers to the influence of the hysteresis of cutting on the form and position error during the automatic production process of the target lure, wherein, in CNC machine tools or other processing equipment, due to the inertia, elastic deformation, reaction time and other reasons of the tool or workbench during the cutting process, there is a deviation between the actual cutting path and the theoretical design path, and this deviation is the hysteresis of the cutting; the error influence curve refers to the relationship curve of the influence of the change of the machining allowance on the error under the premise that the machining thickness of the target lure is determined and unchanged; the form and position error refers to the shape and position deviation of the target lure at each reciprocating corner caused by the machining allowance.

[0091] In the specific implementation, first, the control variable method can be used, and the processing thickness of the target lure is taken as the constant element in the control variable method. Through a large number of experiments, the error values ​​corresponding to different processing allowances are collected, and a spatial coordinate system is established. The processing allowance is taken as the horizontal axis of the spatial coordinate system, and the error value is taken as the vertical axis of the spatial coordinate system. The data in the experimental results are put into the spatial coordinate system to obtain all the experimental discrete points. The existing fitting algorithm can be used to fit all the experimental discrete points (interpolation fitting) to obtain the error influence curve of the processing allowance in the automatic production process of the target lure; then, for the target lure, For each reciprocating corner in the automatic production process, the over-cut area of ​​the over-cut path of the reciprocating corner is obtained, and the error value corresponding to the over-cut area in the error influence curve is used as the error value corresponding to the reciprocating corner, and the error value corresponding to the machining allowance in the error influence curve is used as the error value corresponding to the target lure production process. Therefore, the ratio of the error value corresponding to the reciprocating corner to the error value corresponding to the target lure production process can be used as the shape and position error of each reciprocating corner in the automatic production process of the target lure; finally, the standard deviation of all shape and position errors can be used as the hysteresis factor of the shape and position error in the automatic production process of the target lure.

[0092] In some embodiments, determining the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation can be implemented by the following steps:

[0093] For each reciprocating corner, obtaining the shape and position change amount at the reciprocating corner during the automatic production process of the target lure;

[0094] Determine the shape and position error of the reciprocating corner by using the shape and position variation and the hysteresis factor;

[0095] Obtaining the corner shape of the target lure at the reciprocating corner;

[0096] The round-trip compensation path of the reciprocating corner is determined according to the form and position error and the corner shape, thereby obtaining the round-trip compensation path of each reciprocating corner.

[0097] It should be noted that, in the present application, the round-trip compensation path is a processing path adjusted at the reciprocating corner in order to compensate for the shape and position error; in specific implementation, first, for each reciprocating corner, the shape and position change of the target lure at the reciprocating corner during the automatic production process is obtained; secondly, the product of the shape and position change and the hysteresis factor can be used as the shape and position error of the reciprocating corner, and the shape and position error refers to the final error caused by the combined effect of the shape and position change and the hysteresis factor at the reciprocating corner; then, the CAD model can be used to obtain the shape characteristics of the reciprocating corner, and the corner shape refers to the geometric shape characteristics of the target lure at the reciprocating corner, including angle, radius, etc.; finally, the existing path planning algorithm can be used, and the shape characteristics of the reciprocating corner can be used as the target path in the path planning algorithm, and the shape and position error can be used as the planning adjustment parameter of the path planning algorithm, and the planning result of the path planning algorithm can be used as the reciprocating compensation path of the reciprocating corner. The reciprocating compensation path of each reciprocating corner can be obtained in the above manner; it should be noted that the shape and position errors caused by hysteresis in the processing process can be effectively compensated through the above steps, thereby improving the product processing accuracy.

[0098] In step 105, automatic error compensation is performed on the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path.

[0099] In some embodiments, automatic error compensation of the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path can be achieved by the following steps:

[0100] For each reciprocating corner, obtain the reciprocating path corresponding to the reciprocating corner;

[0101] determining an error compensation amount according to the round-trip compensation path and the reciprocating path;

[0102] The error in the reciprocating path is automatically compensated by the error compensation amount, so as to complete the error compensation of the reciprocating path, and further complete the error compensation of the reciprocating path corresponding to each reciprocating corner in the reciprocating path of the machine tool.

[0103] It should be noted that the error compensation refers to the difference between the round-trip compensation path and the actual reciprocating path, which is used to correct the error in the actual processing path; error compensation is to correct the error in the actual processing path to make it as close to the design path as possible, so as to ensure the processing accuracy of the target lure in the automatic production process; in specific implementation, first, for each reciprocating corner, the reciprocating path corresponding to the reciprocating corner is obtained; then, since the starting point and end point of the reciprocating corner are the same, the round-trip compensation path and the reciprocating path can form a closed-loop area, and the total area of ​​the closed-loop area can be calculated as the error compensation amount; finally, an error compensation model is initialized, the reciprocating path is used as the original path of the error compensation model, the error compensation amount is used as the compensation parameter of the error compensation model, and the error compensation model is used to automatically compensate the reciprocating path for errors, so as to complete the error compensation of the reciprocating path. In the above manner, the error compensation of the reciprocating path corresponding to each reciprocating corner in the reciprocating path of the machine tool can be completed.

[0104] In the present application, automatic error compensation is performed on the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path; wherein, by comparing the reciprocating path of the machine tool and the shape characteristics of the target lure to determine the machining allowance, the machine tool movement path that exceeds the preset threshold range in the production of the target lure can be obtained, which is convenient for the subsequent determination of the machining error at the reciprocating corner during the automatic production of the lure, thereby improving the machining quality and efficiency; secondly, the shape and position change amount is determined according to each corner compensation path and the machining allowance, and the shape deviation at the reciprocating corner caused by the machining error and compensation can be obtained, and the corner compensation path of each reciprocating corner is determined by analyzing the historical machine tool reciprocating data, which can be adjusted according to the actual data in the past. The current processing path is designed to ensure that the actual processing trajectory is as close to the design requirements as possible. The design of the compensation path can improve the shape and size accuracy of the product by reducing the form and position errors, thereby improving the machine tool utilization rate in the processing process; then, by calculating the form and position changes and the processing allowance, the round-trip compensation path of each reciprocating corner is determined. The accurate compensation path design can minimize the processing error to the greatest extent, thereby further improving the machine tool utilization rate in the production of lures under the premise of ensuring the machine tool processing accuracy; in summary, based on the above scheme, the processing error compensation at the reciprocating corner in the automatic production process of lures can be realized, thereby improving the machine tool utilization rate in the production of lures under the premise of ensuring the machine tool processing accuracy.

[0105] In addition, in another aspect of the present application, in some embodiments, the present application provides a machine tool control system for producing a fake bait, the machine tool control system for producing a fake bait also includes a machine tool control unit, referring to Figure 4 , which is a schematic diagram of exemplary hardware and / or software of a machine tool control unit according to some embodiments of the present application, the machine tool control unit includes: an acquisition module 201, a processing module 202 and an execution module 203, which are described as follows:

[0106] Acquisition module 201, in the present application, acquisition module 201 is mainly used to acquire the initial machine tool reciprocating path in the automatic production process of the target lure, and then determine all reciprocating corners in the machine tool reciprocating path;

[0107] Processing module 202, in the present application, is used to match the reciprocating path of the machine tool with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure;

[0108] It should be noted that the processing module 202 is also used to obtain historical machine tool reciprocating data during the automatic production process of the target lure, determine the corner compensation path of each reciprocating corner in the machine tool reciprocating path through the historical machine tool reciprocating data, and determine the shape and position change amount at the corresponding reciprocating corner during the automatic production process of the target lure according to each corner compensation path and the machining allowance;

[0109] In addition, the processing module 202 is also used to determine the hysteresis factor of the shape and position error in the automatic production process of the target lure according to the processing allowance and the processing thickness of the target lure, and determine the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation;

[0110] The execution module 203 in the present application is mainly used to automatically perform error compensation on the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path.

[0111] The above describes in detail the examples of the machine tool reciprocating control method and machine tool control system for lure production provided by the embodiments of the present application. It can be understood that the corresponding device includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0112] In some embodiments, the present application also provides a computer device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned machine tool reciprocating control method for lure production.

[0113] In some embodiments, reference Figure 5 , the dotted line in the figure indicates that the unit or the module is optional, and the figure is a schematic diagram of the structure of a computer device for implementing a machine tool reciprocating control method for producing lures according to an embodiment of the present application. The machine tool reciprocating control method for producing lures described in the above embodiment can be Figure 5 The computer device shown in the figure is implemented, and the computer device includes at least one processor 301, a memory 302 and at least one communication unit 305. The computer device can be a terminal device, a server or a chip.

[0114] The processor 301 may be a general-purpose processor or a special-purpose processor. For example, the processor 301 may be a central processing unit (CPU), which may be used to control the computer device, execute software programs, and process data of the software programs. The computer device may also include a communication unit 305 to implement signal input (reception) and output (transmission).

[0115] For example, the computer device may be a chip, the communication unit 305 may be an input and / or output circuit of the chip, or the communication unit 305 may be a communication interface of the chip, and the chip may be a component of a terminal device, a network device, or other devices.

[0116] For another example, the computer device may be a terminal device or a server, and the communication unit 305 may be a transceiver of the terminal device or the server, or the communication unit 305 may be a transceiver circuit of the terminal device or the server.

[0117] The computer device may include one or more memories 302, on which a program 304 is stored. The program 304 can be executed by the processor 301 to generate instructions 303, so that the processor 301 performs the method described in the above method embodiment according to the instructions 303. Optionally, data (such as a target audit model) can also be stored in the memory 302. Optionally, the processor 301 can also read the data stored in the memory 302, and the data can be stored at the same storage address as the program 304, or the data can be stored at a different storage address from the program 304.

[0118] The processor 301 and the memory 302 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.

[0119] It should be understood that each step of the above method embodiment can be completed by a hardware-based logic circuit or software-based instructions in the processor 301. The processor 301 can be a CPU, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.

[0120] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0121] For example, in some embodiments, the present application also provides a computer-readable storage medium, in which instructions or codes are stored. When the instructions or codes are run on a computer, the computer implements the above-mentioned machine tool reciprocating control method for producing lures.

[0122] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0123] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A reciprocating control method for a machine tool used in producing lures, It is characterized in that The steps include: Acquire an initial machine tool reciprocating path during the automatic production process of the target lure, and then determine all reciprocating corners in the machine tool reciprocating path; Matching the reciprocating path of the machine tool with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure; Acquire historical machine tool reciprocating data during the automatic production of the target lure, determine the corner compensation path of each reciprocating corner in the machine tool reciprocating path through the historical machine tool reciprocating data, and determine the shape and position variation at the corresponding reciprocating corner during the automatic production of the target lure according to each corner compensation path and the machining allowance, wherein the shape and position variation refers to the shape deviation at the reciprocating corner caused by machining error and compensation during the automatic production of the target lure; Determine the hysteresis factor of the shape and position error in the automatic production process of the target lure by the machining allowance and the machining thickness of the target lure, and determine the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation, wherein the hysteresis factor refers to the degree of influence of the hysteresis of cutting on the shape and position error in the automatic production process of the target lure; Automatically performing error compensation on a reciprocating path corresponding to a reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path; The method of determining the hysteresis factor of the shape and position error in the automatic production process of the target lure by using the machining allowance and the machining thickness of the target lure specifically includes: Determine the error influence curve of the machining allowance in the automatic production process of the target lure by the machining thickness of the target lure; Determine the shape and position error of each reciprocating corner in the automatic production process of the target lure according to the error influence curve and the processing allowance; The hysteresis factor of the shape and position error in the automatic production process of the target lure is determined through all the shape and position errors.

2. The method according to claim 1, It is characterized in that The reciprocating path of the machine tool and the shape characteristics of the target lure are matched to obtain the machining allowance of the machine tool during the automatic production of the target lure, specifically including: For each reciprocating corner in the reciprocating path of the machine tool, obtaining a finishing path of the reciprocating corner in the shape feature of the target lure; Matching the finishing path and the reciprocating corner by a preset overcut threshold value to obtain the overcut path of the reciprocating corner, and then obtaining the overcut path of each reciprocating corner in the reciprocating path of the machine tool; The machining allowance of the machine tool in the automatic production process of the target lure is determined according to all the overcut paths.

3. The method according to claim 1, It is characterized in that Determining the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool by using the historical machine tool reciprocating data specifically includes: For each reciprocating corner in the reciprocating path of the machine tool, screening the significant reciprocating path of the reciprocating corner in the historical machine tool reciprocating data, wherein the significant reciprocating path refers to a path that appears significantly and repeatedly during the reciprocating process of the machine tool; Determine the corner shape characteristics of the target lure at the reciprocating corner; The corner compensation path of the reciprocating corner is determined by the corner shape feature and the significant reciprocating path, thereby obtaining the corner compensation path of each reciprocating corner in the reciprocating path of the machine tool.

4. The method according to claim 1, It is characterized in that Determining the shape and position variation at the corresponding reciprocating corner during the automatic production of the target lure according to each corner compensation path and the processing allowance specifically includes: For each reciprocating corner, obtaining a corner compensation path of the reciprocating corner; Determine the compensation length at the reciprocating corner during the automatic production process of the target lure by using the corner compensation path; Determining an overcut compensation amount in the automatic production process of the target lure according to the processing allowance; The shape and position variation at the reciprocating corner during the automatic production of the target lure is determined according to the overcut compensation amount and the compensation length, and then the shape and position variation at each reciprocating corner during the automatic production of the target lure is obtained.

5. The method according to claim 1, It is characterized in that Determining the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation specifically includes: For each reciprocating corner, obtaining the shape and position change amount at the reciprocating corner during the automatic production process of the target lure; Determine the shape and position error of the reciprocating corner by using the shape and position variation and the hysteresis factor; Obtaining the corner shape of the target lure at the reciprocating corner; The round-trip compensation path of the reciprocating corner is determined according to the form and position error and the corner shape, thereby obtaining the round-trip compensation path of each reciprocating corner.

6. The method according to claim 1, It is characterized in that Automatic error compensation of the reciprocating paths corresponding to the reciprocating corners in the reciprocating paths of the machine tool based on each reciprocating compensation path specifically includes: For each reciprocating corner, obtain the reciprocating path corresponding to the reciprocating corner; determining an error compensation amount according to the round-trip compensation path and the reciprocating path; The error in the reciprocating path is automatically compensated by the error compensation amount, so as to complete the error compensation of the reciprocating path, and further complete the error compensation of the reciprocating path corresponding to each reciprocating corner in the reciprocating path of the machine tool.

7. A machine tool control system for producing lures, which uses the method of any one of claims 1 to 6 to control the machine tool, the machine tool control system for producing lures comprising a machine tool control unit, It is characterized in that The machine tool control unit comprises: An acquisition module, used to acquire an initial machine tool reciprocating path in the automatic production process of the target lure, and then determine all reciprocating corners in the machine tool reciprocating path; A processing module, used for matching the reciprocating path of the machine tool with the shape characteristics of the target lure to obtain the machining allowance of the machine tool during the automatic production of the target lure; The processing module is also used to obtain historical machine tool reciprocating data during the automatic production of the target lure, determine the corner compensation path of each reciprocating corner in the machine tool reciprocating path through the historical machine tool reciprocating data, and determine the shape and position change amount at the corresponding reciprocating corner during the automatic production of the target lure according to each corner compensation path and the machining allowance; The processing module is also used to determine the hysteresis factor of the shape and position error in the automatic production process of the target lure through the processing allowance and the processing thickness of the target lure, and determine the round-trip compensation path of each reciprocating corner according to the hysteresis factor and each shape and position variation; The execution module is used to automatically perform error compensation on the reciprocating path corresponding to the reciprocating corner in the reciprocating path of the machine tool based on each reciprocating compensation path.

8. A computer device, It is characterized in that The computer device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the machine tool reciprocating control method for producing lures according to any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions or codes, and when the instructions or codes are executed on a computer, the computer implements the machine tool reciprocating control method for producing lures according to any one of claims 1 to 6.