Numerical control device and cause analyzing method
AssigneeFanuc Corporation
InventorYasutaka Kurasawa
Life of this patent
Estimating the term…
Abstract
A numerical control device includes: a data storage unit that cyclically associates and stores command speeds and actual speeds of a motor in chronological order; a difference pattern table that associates and stores causes of a difference between the command speed and the actual speed, and difference patterns of the causes; a cause analyzing unit that analyzes the cause of the difference between the command speed and the actual speed by comparing the command speeds and the actual speeds stored in chronological order in the data storage unit, with the difference patterns stored in the difference pattern table; and a display unit that displays the analyzed cause.
Claims13
A numerical control device for controlling driving of a motor, the numerical control device comprising:
- a processor programmed to
- calculate a command speed of the motor by analyzing a machining program or according to an operation of an operator,
- compute a control speed and a control acceleration of the motor, based on the command speed and a plurality of speed compensation functions for compensating the command speed of the motor, the plurality of the speed compensation functions being actually activated, wherein
- the plurality of speed compensation functions includes (i) a first speed compensation function to be activated and deactivated by the operation of the operator, and (ii) a second speed compensation function set in advance to activate, and
- the processor is programmed to sequentially execute the first speed compensation function and the second speed compensation function to compute the control speed and the control acceleration from the command speed;
- a motor control unit configured to control the motor according to the control speed and the control acceleration;
- a data storage unit configured to cyclically associate and store the command speed and an actual speed of the motor in a chronological order;
- a difference pattern table configured to associate and store
- the plurality of the speed compensation functions that causes a difference between the command speed and the actual speed, and
- a plurality of difference patterns each being a pattern of the difference between the command speed and the actual speed caused by a corresponding speed compensation function of the plurality of speed compensation functions,
- wherein the processor is further programmed to perform an analysis to identify the speed compensation functions that cause the difference between the command speed and the actual speed, by comparing the command speed and the actual speed stored in the chronological order in the data storage unit, with the plurality of difference patterns stored in the difference pattern table;
- and
- a display unit configured to display a result of the analysis performed by the processor to show to the operator which speed compensation function among the plurality of speed compensation functions has caused the difference between the command speed and the actual speed.
A cause analyzing method for a numerical control device to control driving of a motor, the method comprising:
- a command speed calculating step of calculating a command speed of the motor by analyzing a machining program or according to an operation of an operator;
- a speed/acceleration controlling step of computing a control speed and a control acceleration of the motor, based on the command speed and a plurality of speed compensation functions for compensating the command speed of the motor, the plurality of the speed compensation functions being actually activated, wherein
- the plurality of speed compensation functions includes (i) a first speed compensation function to be activated and deactivated by the operation of the operator, and (ii) a second speed compensation function set in advance to activate, and
- the computing comprises sequentially executing the first speed compensation function and the second speed compensation function to compute the control speed and the control acceleration from the command speed;
- a motor controlling step of controlling the motor according to the control speed and the control acceleration;
- a storing step of
- cyclically associating and storing the command speed and an actual speed of the motor in chronological order in a data storage unit, and
- associating and storing, in a difference pattern table, the plurality of the speed compensation functions that causes a difference between the command speed and the actual speed, and a plurality of difference patterns each being a pattern of the difference between the command speed and the actual speed caused by a corresponding speed compensation function of the plurality of speed compensation functions;
- a cause analyzing step of performing an analysis to identify the speed compensation functions that cause the difference between the command speed and the actual speed, by comparing the command speed and the actual speed stored in the chronological order in the data storage unit, with the plurality of difference patterns stored in the difference pattern table;
- and
- a displaying step of displaying a result of the analysis performed in the cause analyzing step on a display unit to show to the operator which speed compensation function among the plurality of speed compensation functions has caused the difference between the command speed and the actual speed.
Dependencies are inferred from the claim text.