Controller having CPU abnormality detection function

Information

  • Patent Grant
  • 10126715
  • Patent Number
    10,126,715
  • Date Filed
    Monday, February 23, 2015
    9 years ago
  • Date Issued
    Tuesday, November 13, 2018
    6 years ago
Abstract
A controller is provided with a plurality of CPUs and temperature sensors disposed in the vicinity of the CPUs, individually. The CPUs reciprocally read temperature data detected by the temperature sensors. When the read temperature data exceed a predetermined threshold, it is determined that the CPUs are likely to undergo thermal runaway, and the CPUs are then stopped.
Description
RELATED APPLICATION DATA

This application claims priority under 35 U.S.C. § 119 and/or § 365 to Japanese Application No. 2014-033347 filed Feb. 24, 2014, the entire contents is incorporated herein by reference.


BACKGROUND OF THE INVENTION

Field of the Invention


The present invention relates to a controller for a machine tool or the like, the controller having an abnormality detection function for CPUs used therein.


Description of the Related Art


A central processing unit (CPU) may possibly undergo thermal runaway, which may cause a fire in the worst case, if its junction temperature is exceeded. Therefore, it is necessary to mount a temperature sensor in the vicinity of the CPU or monitor the current consumption of a CPU power supply so that the CPU can be stopped in case of thermal runaway.



FIG. 3 is a diagram illustrating a conventional technique for detecting thermal runaway of a CPU in a controller in advance.


A controller 1 comprises a central processing unit (CPU) 2. A current monitoring circuit 3 is mounted in the vicinity of a power supply circuit of the CPU 2 for detecting thermal runaway of a CPU in advance. This technique requires the use of a high-precision current detection IC and its peripheral circuits, as well as a space for mounting the current monitoring circuit.



FIG. 4 is a diagram illustrating a conventional CPU abnormality detection technique disclosed in Japanese Patent Application Laid-Open No. 2-254330.


According to this technique, a plurality of ICs (ICs 5 and 6) in an electronic device 4 are provided with a plurality of temperature sensors, individually. Specifically, the IC 5 is provided with temperature sensors 7 and 8, and the IC 6 is provided with temperature sensors 9 and 10. A protection device 20 for protecting the ICs of the electronic device 4 comprises a CPU 21, memory (RAM/ROM) 22, A/D converter 23 for A/D conversion of signals, and multiplexer 24 for input signal switching.


IC temperature data detected by the temperature sensors 7 to 10 are processed by the protection device 20. If temperature differences (between the temperature sensors 7 and 8 and between the temperature sensors 9 and 10) exceed a predetermined value, the temperature sensors are determined to be out of order. If the temperatures of all the temperature sensors exceed a predetermined value when the temperature differences are not higher than the predetermined value, the temperatures are determined to be abnormal. According to this technique, an element to be temperature-controlled requires the use of the temperature sensors and the protection device for monitoring them.


In a method for monitoring heat/current consumption, a threshold should be set at a rather high value in consideration of an instantaneous current. In some cases, therefore, a system may be stopped after the CPU undergoes thermal runaway so that the CPU and its peripheral devices may be damaged. If the temperature sensors are used for monitoring purpose, moreover, normal operation cannot be performed in case of their thermal runaway, so that the system cannot be stopped.


SUMMARY OF THE INVENTION

Accordingly, the object of the present invention is to provide, as a method for solving these problems, a controller having a CPU abnormality detection function, capable of stopping a system comprising two or more CPUs by detecting any of the CPUs approaching its junction temperature without causing thermal runaway in such a manner that temperature sensors are mounted in the vicinity of the CPUs, individually, and temperatures are reciprocally monitored by the CPUs.


A controller having a CPU abnormality detection function comprises a plurality of CPUs and temperature sensors disposed in the vicinity of the CPUs, individually. The CPUs are configured to reciprocally read temperature data detected by the temperature sensors. Further, the controller comprises a CPU stop section configured to determine that the CPUs are likely to undergo thermal runaway and then stop the CPUs when the temperature data read by the CPUs exceed a predetermined threshold.


The CPUs may be connected to one another by an internal bus and read the temperature data from the temperature sensors through the internal bus.


Each of the CPUs may be configured to read the temperature data from the temperature sensors disposed in the vicinity thereof and of all the other CPUs, and the stop section may be configured to determine that one or some of the CPUs or peripheral circuits are abnormal and stop a system if any one of the absolute values of temperatures included in the data read by the CPUs exceeds a predetermined threshold.


Each of the CPUs may be configured to read the temperature data from the temperature sensors disposed in the vicinity thereof and of all the other CPUs, and the stop section may be configured to compare the data read by the CPUs and determine that one or some of the CPUs or peripheral circuits are abnormal and stop a system if there is a large variation between read temperatures.


According to the present invention, there can be provided a controller having a CPU abnormality detection function, capable of stopping a system comprising two or more CPUs by detecting any of the CPUs approaching its junction temperature without causing thermal runaway in such a manner that temperature sensors are mounted in the vicinity of the CPUs, individually, and temperatures are reciprocally monitored by the CPUs.





BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects and features of the present invention will be obvious from the ensuing description of embodiments with reference to the accompanying drawings, in which:



FIG. 1 is a diagram illustrating a first embodiment of a controller having a CPU abnormality detection function according to the present invention;



FIG. 2 is a diagram illustrating a second embodiment of the controller having a CPU abnormality detection function according to the present invention;



FIG. 3 is a diagram illustrating an example of prior art controller having a CPU abnormality detection function; and



FIG. 4 is a diagram illustrating a conventional CPU abnormality detection technique disclosed in a prior art document (Japanese Patent Application Laid-Open No. 2-254330).





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

A first embodiment of a controller having a CPU abnormality detection function will first be described with reference to FIG. 1.


The controller for controlling a machine tool comprises a printed board 30. The printed board 30 comprises a first CPU 31, first LSI 33, first temperature sensor 35, second CPU 32, second LSI 34, and second temperature sensor 36. Thus, the printed board 30 of FIG. 1 comprises the two CPUs. The first and second LSIs 33 and 34 are connected to each other by an internal bus 37. An LSI is an element for conversion (or bridging) between a CPU and an internal bus and for controlling peripheral devices, such as a memory, temporary sensor, etc. On the printed board 30, the first and second temperature sensors 35 and 36 are disposed in the vicinity of the first and second CPUs 31 and 32, respectively.


The first CPU 31 acquires temperature data (temperature of the first CPU 31) detected by the first temperature sensor 35 and also acquires, through the internal bus 37, temperature data (temperature of the second CPU 32) detected by the second temperature sensor 36. Likewise, the second CPU 32 acquires the temperature data (temperature of the second CPU 32) detected by the second temperature sensor 36 and also acquires the temperature data (temperature of the first CPU 31) detected by the first temperature sensor 35.


The first and second CPUs 31 and 32 compare their respective acquired temperature data with a predetermined threshold. If the comparison indicates that the temperature data acquired by the first and second CPUs 31 and 32 exceed the predetermined threshold, it is determined that the first or second CPU 31 or 32 is likely to undergo thermal runaway, and arithmetic processing in the CPU is stopped. The computation in the CPU can be stopped by a conventional method, such as interrupt control. If the computation in the CPU is stopped, then the control of the machine tool by the controller will be stopped.


A second embodiment of the controller having a CPU abnormality detection function will now be described with reference to FIG. 2.


The controller for controlling a machine tool comprises a printed board 40. The printed board 40 comprises a first CPU 41, first LSI 42, first memory 43, first temperature sensor 44, second CPU 45, second LSI 46, second memory 47, second temperature sensor 48, third CPU 49, third LSI 50, third memory 51, and third temperature sensor 52. These elements are connected to one another by an internal bus 53. Thus, the printed board 40 of FIG. 2 comprises the three CPUs. The first, second, and third temperature sensors 44, 48 and 52 are disposed in the vicinity of the first, second, and third CPUs 41, 45 and 49, respectively.


The values of the first, second, and third temperature sensors 44, 48 and 52 read by the first CPU 41 are assumed to be T11, T12 and T13, respectively. These read values are stored in the first memory 43.


The values of the first, second, and third temperature sensors 44, 48 and 52 read by the second CPU 45 are assumed to be T21, T22 and T23, respectively. These read values are stored in the second memory 47.


The values of the first, second, and third temperature sensors 44, 48 and 52 read by the third CPU 49 are assumed to be T31, T32 and T33, respectively. These read values are stored in the third memory 51.


The first CPU 41 accesses the first, second, and third memories 43, 47 and 51 through the internal bus 53 and compares the values (T11, T21 and T31) of the first temperature sensor 44, the values (T12, T22 and T32) of the second temperature sensor 48, and the values (T13, T23 and T33) of the third temperature sensor 52. If the comparison indicates that any one of the values of the first, second, and third temperature sensors 44, 48 and 52 is not equal to the others, it is determined that the CPU or LSI (peripheral circuit) is abnormal. Thereupon, a system is stopped.


If the comparison of the values for the first CPU 41 indicates that the CPU and LSI are normal, the same comparison is also performed for each of the second and third CPUs 45 and 49.

Claims
  • 1. A controller comprising: a plurality of central processing units (CPUs) comprising a first CPU, a second CPU, and a third CPU;a first temperature sensor disposed in a vicinity of the first CPU;a second temperature sensor disposed in a vicinity of the second CPU; anda third temperature sensor disposed in a vicinity of the third CPU, wherein each of the first, second, and third CPUs includes a CPU stop section, the first CPU reciprocally reads first temperature data (T11) detected by the first temperature sensor, second temperature data (T12) detected by the second temperature sensor, and third temperature data (T13) detected by the third temperature sensor,the second CPU reciprocally reads fourth temperature data (T21) detected by the first temperature sensor, fifth temperature data (T22) detected by the second temperature sensor, and sixth temperature data (T23) detected by the third temperature sensor,the third CPU reciprocally reads seventh temperature data (T31) detected by the first temperature sensor, eighth temperature data (T32) detected by the second temperature sensor, and ninth temperature data (T33) detected by the third temperature sensor,the first temperature data (T11), the fourth temperature data (T21), and the seventh temperature data (T31) are compared with each other, the second temperature data (T12), the fifth temperature data (T22), and the eighth temperature data (T32) are compared with each other, and the third temperature data (T13), the sixth temperature data (T23), and the ninth temperature data (T33) are compared with each other, andwherein when a difference between read temperatures of any of the first CPU, the second CPU, or the third CPU is above a predetermined threshold, then a system is stopped and is determined that the plurality of CPUs or peripheral circuits are abnormal.
  • 2. The controller according to claim 1, wherein the plurality of CPUs are connected to one another by an internal bus, and each CPU of the plurality of CPUs reads the temperature data from the temperature sensors in the vicinity of other CPUs of the plurality of CPUs through the internal bus.
  • 3. The controller according to claim 1, wherein the read temperature data of each CPU of the plurality of CPUs is an absolute value of the detected temperature data.
Priority Claims (1)
Number Date Country Kind
2014-033347 Feb 2014 JP national
US Referenced Citations (30)
Number Name Date Kind
5621776 Gaubatz Apr 1997 A
6718474 Somers Apr 2004 B1
6839013 Cummins et al. Jan 2005 B1
7051221 Clabes May 2006 B2
7370242 Chen May 2008 B2
7852138 Kuusilinna Dec 2010 B2
8065564 Nakatani Nov 2011 B2
8448000 Culbert May 2013 B2
20030110012 Orenstien Jun 2003 A1
20030158697 Gold et al. Aug 2003 A1
20030229662 Luick Dec 2003 A1
20040037346 Rusu et al. Feb 2004 A1
20050271079 Teoh Dec 2005 A1
20060005097 Ichikawa Jan 2006 A1
20060075207 Togawa et al. Apr 2006 A1
20060136074 Arai Jun 2006 A1
20070106428 Omizo May 2007 A1
20070136617 Kanno Jun 2007 A1
20080091974 Nakashima Apr 2008 A1
20090177445 Capps, Jr. Jul 2009 A1
20090290625 Riddle Nov 2009 A1
20100268475 Kusumoto Oct 2010 A1
20110022871 Bouvier Jan 2011 A1
20120106428 Schlicht May 2012 A1
20140006818 Doshi Jan 2014 A1
20140025208 Allen-Ware Jan 2014 A1
20140059325 Morimoto et al. Feb 2014 A1
20140203093 Young Jul 2014 A1
20150106642 Naffziger Apr 2015 A1
20160064063 Nomura Mar 2016 A1
Foreign Referenced Citations (13)
Number Date Country
101520683 Sep 2009 CN
101770212 Jul 2010 CN
102569931 Jul 2012 CN
H02-254330 Oct 1990 JP
H06-038357 Feb 1994 JP
H09-287824 Nov 1997 JP
2006-038357 Feb 2006 JP
2006-127462 May 2006 JP
2009-287824 Dec 2009 JP
WO-2004019195 Mar 2004 WO
WO-2009-119116 Oct 2009 WO
WO2014054349 Apr 2010 WO
WO-2013-080426 Jun 2013 WO
Non-Patent Literature Citations (4)
Entry
IBM, “Method to Provide Reading Synchronization Between Redundant Processors with Conflicting Measurements”, Apr. 5, 2007. pp. 4.
The Notification of First Office Action dated Nov. 29, 2016 in Chinese Patent Application No. 2015100866456 (7 pages) with an English Translation (8 pages).
Office Action dated Apr. 28, 2015 in counterpart Japan Patent Application No. 2014-033347 (3 pages) with English Translation (3 pages).
Office Action dated Jun. 19, 2017 in German Patent Application No. 10 2015 002 039.0 (6 pages) with an English translation (6 pages).
Related Publications (1)
Number Date Country
20150241854 A1 Aug 2015 US