Numerical controller that controls an output value in feedback control
A numerical controller, which is capable of controlling an output value without causing delay or the like in feedback control, includes an instruction program analysis unit configured to analyze a program instruction and generate instruction data instructing movement of the axis, and a speed computation unit configured to start speed computation processing to compute a feeding speed of the axis by the instruction data or an override for the feeding speed by feedback control such that the spindle load value becomes constant. The speed computation unit is configured to update a feature amount intended for elimination of deviation between a desired value and a feedback value in the feedback control when another override that is different than the override that has been computed is output. The feature amount is updated to a value obtained by back calculation from the other override that is to be output.
1. A numerical controller adapted to control a machine that includes a spindle and an axis driving the spindle on the basis of a program instruction and carry out feedback control to control a moving speed of the axis such that a load value of the spindle becomes constant, the numerical controller comprising:
an instruction program analysis unit configured to analyze the program instruction and generate instruction data instructing movement of the axis; and
a speed computation unit configured to start speed computation processing to compute a feeding speed of the axis by the instruction data or an override for the feeding speed by feedback control such that the spindle load value becomes constant, the speed computation unit being configured to compute an integral term used in the feedback control based on the spindle load value and compute the override based on the integral term, and when another override that is different than the override is defined as an output value, assign a substitute value computed by the output value to the integral term.