The present invention claims priority under 35 U.S.C. § 119 to Japanese Application No. 2014-217374 filed on Oct. 24, 2014, the entire content of which is incorporated herein by reference.
Technical Field
The present invention relates to a numerical control device and a method for monitoring a temperature rise of a motor to perform overload shutdown.
Related Art
If a motor continues operation in an overload condition, the temperature of motor winding rises to eventually cause winding burnout. Thus, in conventional numerical control devices, a temperature sensor such as a thermistor is embedded in a motor winding such that when the temperature rises over the maximum allowable temperature, an alarm is issued and the power supply to the motor is shutdown.
As an alternative to the above temperature sensing method using a temperature sensor, an electronic thermal system has also been used to calculate the temperature of the motor winding so as to place the device into an alarm mode and shutdown the power supply to the motor when the temperature rises over the maximum allowable temperature. In the electronic thermal system, a motor temperature is obtained by calculating the amount of heat generation and heat discharge based on a current command value, history of electric current sensed values, or the like (refer to JP H09-261850 A, JP H06-253577 A, and JP 2008-61302 A).
With reference to
First, an NC command generator 1 analyzes a processing program, generates a positional command P* by applying processes such as an interpolation process and an acceleration/deceleration process to the analysis results, and sends the generated positional command P* to a position controller 2. The position controller 2 receives inputs of the positional command P* and a positional feedback P from an encoder 7, and calculates a speed command V* by applying calculation such as proportional (P) control to these inputs. A speed controller 3 receives inputs of the speed command V* calculated above by the position controller 2 and a speed feedback V from the encoder 7. The speed controller 3 applies calculation such as proportional-integral (PI) control to these inputs to calculate a current command I*. A current controller 4 receives inputs of the current command I* and a current feedback I, and calculates an inverter drive command based on these inputs. An inverter circuit 5 operates a motor 6 by applying electric current to the motor 6 in accordance with the inverter drive command. In the case of speed control such as for a main shaft, a speed command V1* (not the positional command P*) is directly sent to the speed controller 3 from the NC command generator 1.
As the temperature of the motor 6, a motor temperature T (output from a temperature sensor disposed with a winding of the motor 6) or a motor temperature TW (calculated using the electronic thermal system as disclosed in JP H09-261850 A by inputting the current command I* or a current feedback I to a temperature predictor 8) is used.
The motor temperature T or the motor temperature TW is input to a temperature comparator 9 for comparison with the maximum allowable temperature Tmax stored in advance in a storage 10. When Tmax≤T or TW, the temperature comparator 9 sends a power supply shutdown command to the current controller 4 to shutdown the power supply to the motor and place the numerical control device in the alarm mode.
For example, in a machine tool (machining center) mounted with a conventional numerical control device, a workpiece on a moving table is processed by driving the table on which the workpiece is placed and turning a tool mounted on a main shaft. There is a problem that when the temperature of the winding of a feed shaft motor which drives the table rises over the maximum allowable temperature during processing and the power supply to the feed shaft motor or a main shaft motor is shutdown, because the motor and the table cannot immediately stop due to the inertia, the table continues moving such that the tool cuts into the workpiece, causing damage to the workpiece and the machine body. In order to prevent such damage, the power supply may be controlled to be shut down after stopping all the motors. However, in such a case, there remains a problem that a tool cuts into the workpiece when the tool is stopped during processing. Further, there is another problem that when the motor temperature drops and the processing restarts, because the temperature of the machine changes due to the elapsed time from the stop to the restart, unevenness is formed on the workpiece at the processed portion due to the temperature change of the machine, resulting in a workpiece that is unusable as a product.
When the power supply to the motor is shutdown due to the temperature of the motor winding being over the maximum allowable temperature not during processing, the workpiece and the machine are not damaged. However, when such a problem occurs, for example, at night when a machine tool in a process line machine is in unattended operation, even if the workpiece or the machine body are not damaged, there remains a problem that because the machine is not in operation until the operation of the machine is resumed the next day, the machine utilization rate drops.
The present invention has an object to solve at least one of the problems.
In order to solve the above problems, a numerical control device according to the present invention includes an NC command generator that outputs a positional command by executing a processing program; a position controller that receives inputs of the positional command and a positional feedback from an encoder sensing a position of a movable element of a motor, obtains a speed command based on the received inputs, and outputs the speed command; a speed controller that receives inputs of the speed command and a speed feedback from the encoder, obtains a current command based on the received inputs, and outputs the current command; a current controller that receives inputs of the current command and a current feedback, obtains an inverter drive command based on the received inputs, and outputs the inverter drive command; an inverter circuit that controls the motor in accordance with the inverter drive command; a motor temperature sensor that senses or predicts a temperature of the motor; and a power supply controller that calculates a load ratio that is a ratio of the motor temperature sensed or predicted by the motor temperature sensor to a predetermined maximum motor allowable temperature, and controls to shutdown a power supply to the motor after allowing the NC command generator to execute the processing program to an end of a sequence block or an end of the processing program when the calculated load ratio is over a predetermined threshold.
In another aspect of the present invention, a numerical control device includes an NC command generator that outputs a positional command by executing a processing program; a position controller that receives inputs of the positional command and a positional feedback from an encoder sensing a position of a movable element of a motor, obtains a speed command based on the received inputs, and outputs the speed command; a speed controller that receives inputs of the speed command and a speed feedback from the encoder, obtains a current command based on the received inputs, and outputs the current command; a current controller that receives inputs of the current command and a current feedback, obtains an inverter drive command based on the received inputs, and outputs the inverter drive command; an inverter circuit that controls the motor in accordance with the inverter drive command; a motor temperature sensor that senses or predicts a temperature of the motor; and a cut depth controller that calculates a load ratio that is a ratio of the motor temperature sensed or predicted by the motor temperature sensor to a predetermined maximum motor allowable temperature, and controls to reduce a cut depth commanded by the processing program when the calculated load ratio is over a predetermined threshold.
According to the present invention, a numerical control device automatically shuts down a power supply after executing a processing program to the end of a sequence block or the end of the processing program when a load ratio of a motor temperature Tw to a maximum motor allowable temperature Tmax is over a predetermined load ratio (threshold Tp) set in advance. In this way, it becomes possible to solve the problem that a workpiece or a machine body is damaged due to a power supply being shutdown during processing.
According to another aspect of the present invention, a numerical control device automatically reduces a cut depth commanded by the processing program to lower the motor temperature to be equal to or below the threshold Tp by reducing the load during acceleration and deceleration, or the processing load, when a load ratio of a motor temperature Tw to a maximum motor allowable temperature Tmax is over a predetermined load ratio (threshold Tp) set in advance. In this way, because the likelihood of the motor temperature reaching above the maximum allowable temperature can be lowered before the motor becomes overloaded, it becomes possible to increase the likelihood of continuous processing without interrupting the machine operation.
A first embodiment of the present invention is described below with reference to
As the temperature of the motor 6, a motor temperature T (output from a temperature sensor disposed with a winding of the motor 6) or a motor temperature TW (calculated by a temperature predictor 8 using the electronic thermal system based on the current command I* or the current feedback I) is used. The temperature comparator 9 obtains a load ratio T/Tmax (ratio of the motor temperature T to the maximum motor allowable temperature Tmax) or Tw/Tmax (ratio of the motor temperature Tw to the maximum motor allowable temperature Tmax) based on the motor temperature T (output from the temperature sensor) or the motor temperature Tw (predicted by the temperature predictor 8), and the maximum allowable temperature Tmax stored in advance in the storage 10. The temperature comparator 9 further compares the load ratio T/Tmax or Tw/Tmax with a threshold Tp stored in advance in the storage 10 such that when the load ratio T/Tmax or Tw/Tmax is over the threshold Tp, the temperature comparator 9 sends, to a processing program controller 11, load information Li indicating that the motor temperature T or Tw is over the threshold Tp. When the load ratio T/Tmax or Tw/Tmax is equal to or below the threshold Tp, the temperature comparator 9 executes no operation. When receiving the load information Li from the temperature comparator 9, the processing program controller 11 shuts down the power supply to the motor 6 and executes processes to place the numerical control device in the alarm mode after allowing the NC command generator 1 to execute a processing program to the end of a sequence block or the end of the processing program. In this way, it becomes possible to prevent the workpiece or the machine body from being damaged due to the shutdown of the power supply during processing.
The threshold Tp is set to a positive value less than 1. It is preferable to set a smaller threshold Tp when the time period required for one cycle of the processing program is longer. This is to avoid the situation where the power supply to the motor is shut down during processing when the motor temperature reaches the max allowable temperature Tmax and the motor enters the alarm mode before the processing program is finished. Appropriate thresholds Tp for respective time periods of one processing cycle can be determined in advance by tests or in any other manner. It is preferable that the threshold Tp is variably set by an operator in accordance with the length of the processing program.
A second embodiment of the present invention is described below. The configuration of the device of the second embodiment is identical to the embodiment shown in
In the first embodiment, when receiving the load information Li, the processing program controller 11 shuts down the power supply to the motor 6 and executes processes to place the numerical control device in the alarm mode after allowing a processing program to be finished to the end of a sequence block or the end of the processing program.
In contrast, in the second embodiment, when receiving the load information Li, the processing program controller 11 controls such that the cut depth commanded by the processing program is made smaller until the load ratio T/Tmax or Tw/Tmax (the ratio of the motor temperature to the maximum allowable temperature Tmax) becomes equal to or below the threshold Tp. In other words, the processing program controller 11 changes the cut depth per single processing cycle designated in the processing program to a smaller value and instructs the NC command generator 1 to calculate the positional command P* in accordance with the changed cut depth. When the cut depth of the tool (such as a tool bit) per single processing cycle is made smaller, while the number of required processing steps to achieve the designated cut depth increases, the heat generation of the motor becomes smaller because the load of the motor becomes smaller. In this way, it becomes possible to lower the likelihood of the problem that the power supply to the motor is shut down during processing because of the motor temperature rising over the maximum allowable temperature Tmax. For example, by reducing the cut depth to an appropriate value or to an appropriate ratio (with respect to the original value), it becomes possible to prevent the motor temperature from rising over the maximum allowable temperature during processing. In this way, continuous processing without interrupting the machine operation becomes possible. The appropriate value or ratio to reduce the cut depth so as to enable the continuous processing may be obtained in advance by tests or in any other manner. When receiving the load information Li, the processing program controller 11 may also lower the feed speed of the feed shaft during processing, in addition to reducing the cut depth.
The threshold Tp is set to a positive value less than 1. It is preferable to set a smaller threshold Tp when the processing load is higher. This is to avoid the situation where the power supply to the motor is shutdown during processing when the motor temperature reaches the maximum allowable temperature Tmax and the motor enters the alarm mode before the processing is finished. In other words, because the motor temperature more easily reaches the maximum allowable temperature Tmax when the application load is higher, the likelihood of the motor temperature reaching the maximum allowable temperature Tmax can be reduced by starting the control to reduce the cut depth from a lower temperature (threshold Tp). It is preferable that the threshold Tp is variably set by an operator in accordance with the processing load.
Further, in both the first and second embodiments, by outputting the load ratio T/Tmax or Tw/Tmax to the NC display 12 to display the load ratio on the NC screen, operators can check the allowable difference between the motor temperature and the maximum allowable temperature.
The numerical control devices described as examples above are realized by operating a computer to execute programs, each of which describes processes of each functional module of the device. The computer may have a circuit configuration in which components are connected via, for example, a bus. The components may include, as hardware, a microprocessor such as a CPU, a memory (primary memory) such as a random access memory (RAM) and a read-only memory (ROM), and a HDD controller which controls a hard disk drive (HDD), and as software, various input/output (I/O) interfaces, and a network interface which controls connection with a network such as a local area network. Further, the following components may be connected to the bus via, for example, an I/O interface: a disk drive for reading from and/or writing to a portable disk-type storage media such as a CD and DVD, and a memory reader/writer for reading from and/or writing to a portable non-volatile storage media of various standards such as a flash memory. Programs describing processes of the respective functional modules described above as examples are installed in a computer by storing the programs in a fixed storage device such as a hard disk drive via a storage media such as a CD and DVD or through communications such as via a network. The programs stored in the fixed storage are read to a RAM and executed by a microprocessor such as a CPU, and thereby the functional modules described as examples above are realized.
1 NC command generator; 2 position controller; 3 speed controller; 4 current controller; 5 inverter circuit; 6 motor; 7 encoder; 8 temperature predictor; 9 temperature comparator; 10 storage; 11 processing program controller; and 12 NC display.
Number | Date | Country | Kind |
---|---|---|---|
2014-217374 | Oct 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
3686911 | Plagemann | Aug 1972 | A |
4034276 | Hyatt | Jul 1977 | A |
4179732 | Khan | Dec 1979 | A |
4282583 | Khan | Aug 1981 | A |
4456867 | Mallick, Jr. | Jun 1984 | A |
4467260 | Mallick, Jr. | Aug 1984 | A |
4506321 | Comstock | Mar 1985 | A |
4742855 | Hartley | May 1988 | A |
4852434 | Bald | Aug 1989 | A |
5223775 | Mongeau | Jun 1993 | A |
5281901 | Yardley | Jan 1994 | A |
5608657 | Conway | Mar 1997 | A |
5650703 | Yardley | Jul 1997 | A |
5730643 | Bartlett | Mar 1998 | A |
5780989 | Matsumoto | Jul 1998 | A |
6064172 | Kuznetsov | May 2000 | A |
6208497 | Seale | Mar 2001 | B1 |
6291959 | Yoshida et al. | Sep 2001 | B1 |
6613253 | Negishi | Sep 2003 | B1 |
9328915 | Vanko | May 2016 | B2 |
20010043450 | Seale | Nov 2001 | A1 |
20020063542 | Takahashi | May 2002 | A1 |
20020144641 | Inagaki | Oct 2002 | A1 |
20030163296 | Richards | Aug 2003 | A1 |
20050073279 | Fenley | Apr 2005 | A1 |
20080054833 | Ando et al. | Mar 2008 | A1 |
20100076612 | Robertson | Mar 2010 | A1 |
20130201316 | Binder | Aug 2013 | A1 |
20130327552 | Lovelass | Dec 2013 | A1 |
20130331994 | Ng et al. | Dec 2013 | A1 |
20140284070 | Ng | Sep 2014 | A1 |
20140334945 | Koehl | Nov 2014 | A1 |
20150041164 | Sergyeyenko | Feb 2015 | A1 |
Number | Date | Country |
---|---|---|
63150137 | Jun 1988 | JP |
06253577 | Sep 1994 | JP |
08263113 | Oct 1996 | JP |
09261850 | Oct 1997 | JP |
2000271839 | Oct 2000 | JP |
2008061302 | Mar 2008 | JP |
Entry |
---|
JP Notice of Grounds for Rejection corresponding to Application No. 2014-217374; dated Jun. 5, 2018. |
Number | Date | Country | |
---|---|---|---|
20160116900 A1 | Apr 2016 | US |