Device, method and non-transitory storage medium for controlling cutting tool
AssigneeFulian Yuzhan Precision Technology Co., Ltd
InventorsCheng-I Sun, Chang-Sheng Chen, Yong Yang
Life of this patent
Estimating the term…
Abstract
A method for controlling a cutting tool in a CNC machine and a device using the method receives contours of workpieces generated by a first measuring machine, inputs the first contour parameters into a calculation model to output first compensation values of the cutting tool, the calculation model being a time sequences model established according to contour sets of the workpieces, and the contour sets include at least one historical contour of the workpieces. The device further determines whether the first compensation values of the cutting tool are greater than, equal to or smaller than a preset value, and sends the first compensation values of the cutting tool to a machine.
Claims17
A device for controlling cutting tool in a machine, comprising:
- a processor;
- and
- a non-transitory storage medium coupled to the processor and configured to store a plurality of instructions, the instructions causing the processor to:
- establish a calculation model, wherein the calculation model is a time sequences model established according to a contour parameter set of the workpieces, and the contour parameter set comprises at least one historical contour parameter of the workpieces, and the calculation model is stored in the non-transitory storage medium, wherein establishing the calculation model comprises:
- acquire the contour parameter set and a compensation value set of a cutting tool corresponding to the contour parameter set;
- combine the contour parameter set with the compensation value set to form time sequences of compensation values of the cutting tool;
- divide the time sequences of compensation values to form metadata;
- determine a change of magnitude values according to the metadata, the change of the magnitude values being used to smoothly process the time sequences of compensation values of the cutting tool;
- mark the change of the magnitude values to form marker values;
- generate trend indicators of the time sequences of compensation values according to the marker values;
- acquire a result when the trend indicators are stable;
- generate a cutting tool compensation initial model according to the trend indicators and the result;
- and
- generate a set of weights according to the cutting tool compensation initial model;
- adjust the time sequences of compensation values according to the set of weights to form the calculation model;
- receive first contour parameters of workpieces from a first measuring machine, input the first contour parameters into the calculation model that is configured to output first compensation values of the cutting tool;
- determine that the first compensation values of the cutting tool are smaller than or equal to a preset value a preset value;
- and
- send the first compensation values of the cutting tool to the machine to control the cutting tool.
A method for controlling cutting tool, comprising:
- receiving first contour parameters of workpieces generated by a first measuring machine;
- establishing a calculation model, wherein the calculation model is a time sequences model established according to a contour parameter set of the workpieces, and the contour parameter set comprises at least one historical contour parameter of the workpieces, wherein establishing the calculation model comprises:
- acquire the contour parameter set and a compensation value set of a cutting tool corresponding to the contour parameter set;
- combine the contour parameter set with the compensation value set to form time sequences of compensation values of the cutting tool;
- divide the time sequences of compensation values to form metadata;
- determine a change of magnitude values according to the metadata, the change of the magnitude values being used to smoothly process the time sequences of compensation values of the cutting tool;
- mark the change of the magnitude values to form marker values;
- generate trend indicators of the time sequences of compensation values according to the marker values;
- acquire a result when the trend indicators are stable;
- generate a cutting tool compensation initial model according to the trend indicators and the result;
- generate a set of weights according to the cutting tool compensation initial model;
- and
- adjust the time sequences of compensation values according to the set of weights to form the calculation model;
- inputting the first contour parameters into a calculation model that is configured to output first compensation values of the cutting tool;
- determining that the first compensation values of the cutting tool are smaller than or equal to a preset value a preset value;
- and
- sending the first compensation values of the cutting tool to a machine to control the cutting tool.
A non-transitory storage medium having stored thereon instructions that, when executed by at least one processor of a device for controlling cutting tool, cause the least one processor to execute instructions of a method for controlling cutting tool, the method comprising:
- receiving first contour parameters of workpieces generated by a first measuring machine;
- establishing a calculation model, wherein the calculation model is a time sequences model established according to a contour parameter set of the workpieces, and the contour parameter set comprises at least one historical contour parameter of the workpieces, wherein establishing the calculation model comprises:
- acquire the contour parameter set and a compensation value set of a cutting tool corresponding to the contour parameter set;
- combine the contour parameter set with the compensation value set to form time sequences of compensation values of the cutting tool;
- divide the time sequences of compensation values to form metadata;
- determine a change of magnitude values according to the metadata, the change of the magnitude values being used to smoothly process the time sequences of compensation values of the cutting tool;
- mark the change of the magnitude values to form marker values;
- generate trend indicators of the time sequences of compensation values according to the marker values;
- acquire a result when the trend indicators are stable;
- generate a cutting tool compensation initial model according to the trend indicators and the result;
- and
- generate a set of weights according to the cutting tool compensation initial model;
- and
- adjust the time sequences of compensation values according to the set of weights to form the calculation model;
- inputting the first contour parameters into a calculation model that is configured to output first compensation values of the cutting tool;
- determining that the first compensation values of the cutting tool are smaller than or equal to a preset value or equal to a preset value;
- and
- sending the first compensation values of the cutting tool to a machine to control the cutting tool.
Dependencies are inferred from the claim text.