Control device and control method

The control device addresses unauthorized access in industrial machinery by measuring and correcting physical states to detect DoS attacks, ensuring stable operation through accurate load detection.

JP7564384B2Active Publication Date: 2024-10-08FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023562058
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2024-10-08
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

Existing control devices face challenges in detecting unauthorized access such as DoS attacks that overload resources and disrupt operations due to unrecognized vulnerabilities and inadequate security measures over time, particularly in industrial machinery.

Method used

A control device measures the physical state of electronic components at intervals, records model waveforms of temperature and current consumption, and corrects these based on reference values to detect unauthorized access by comparing deviations from predetermined thresholds.

Benefits of technology

This approach allows for easy detection of DoS attacks by accurately identifying excessive resource loads, preventing system disruptions and ensuring stable operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564384000001
    Figure 0007564384000001
  • Figure 0007564384000002
    Figure 0007564384000002
  • Figure 0007564384000003
    Figure 0007564384000003
Patent Text Reader

Abstract

To easily detect an unauthorized access, such as a DoS attack, which imposes excessive loads on resources to disturb operation of a control device or network. This control device comprises: a measurement unit that measures the physical state of at least one electronic component in measurement cycles to measure the temperature of a representative part thereof set in advance; a recording unit that records a model wave of the physical state of the electronic component in a normal state during execution and / or standby of a certain operation program, and the temperature of the representative part at the time of recording the model wave as a reference temperature; a correction unit that corrects the model wave during execution or standby of the operation program on the basis of the temperature of the representative part and the reference temperature; and a detection unit that adds up, at regular intervals during execution or standby of the operation program, an absolute value of a difference between the measured physical state of the electronic component and the physical state of the corrected model wave, and determines whether or not the added value exceeds a threshold value for determining an unauthorized access that imposes excessive loads on resources to disturb operation of the control device or network.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device and a control method. [Background technology]

[0002] In recent years, the spread of IoT (Internet of Things) has expanded the scope of network devices, and the number of cases of unauthorized access due to security vulnerabilities has also increased rapidly. To prevent such unauthorized access, security is ensured by applying the latest patches for discovered security vulnerabilities. In this regard, a technique is known in which a received PDF network content is inspected to determine whether it contains at least one suspiciousness indicating a malicious network content, the PDF network content determined to contain at least one suspiciousness is provided to at least one virtual machine, and a response received from the at least one virtual machine is analyzed to verify whether the PDF network content determined to contain at least one suspiciousness contains a malicious network content. For example, see Patent Document 1. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Special Publication No. 2014-504765 Summary of the Invention [Problem to be solved by the invention]

[0004] New methods of unauthorized access are constantly emerging, meaning that security cannot be ensured against unrecognized vulnerabilities. In addition, factory control devices and the like are often used for long periods of time, and the security measures applied at the time of their introduction may become insufficient over time and continue to be used. Therefore, if unknown vulnerabilities or vulnerabilities in insufficient security measures are exploited to place an excessive load on resources, such as in a DoS attack, and disrupt the operation of control devices or networks, the stable operation of the control devices and systems may be hindered.

[0005] Therefore, it is desirable to easily detect unauthorized access such as DoS attacks that place an excessive load on resources and disrupt the operation of control devices and networks. [Means for solving the problem]

[0006] One aspect of a control device of the present disclosure is a control device capable of controlling industrial machinery and connecting to an external device, comprising a measurement unit that measures a physical state of at least one electronic component at a measurement period and measures a temperature at a preset representative location, a recording unit that records the physical state of the electronic component in a normal state during a period when an arbitrary operating program is executed and / or during standby as a model waveform in association with the measurement period and records the temperature of the representative location measured when the model waveform was recorded as a reference temperature, and a control unit that controls the temperature of the electronic component recorded in the recording unit during the period when the arbitrary operating program is executed or during standby. The present invention is provided with a correction unit that corrects the model waveform based on the temperature of the representative location measured by the measurement unit and the reference temperature, and a detection unit that adds up an absolute value of the difference between the physical state of the electronic component measured by the measurement unit in correspondence with the measurement period and the physical state of the model waveform corrected by the correction unit that corresponds to the measurement period in which the physical state was measured, for each execution period of the arbitrary operating program or a certain period during standby, and determines whether or not the value obtained by adding a predetermined judgment threshold against unauthorized access that places an excessive load on resources and disrupts operation of the control device or network has been exceeded.

[0007] One aspect of the control method of the present disclosure is a method for controlling an industrial machine by a control device connectable to an external device, comprising: a measurement step for measuring a physical state of at least one electronic component at a measurement period and measuring a temperature of a preset representative location; a recording step for recording the physical state of the electronic component in a normal state during a period when an arbitrary operation program is executed and / or during standby in correspondence with the measurement period as a model waveform and recording the temperature of the representative location measured when the model waveform was recorded as a reference temperature; a correction step for correcting the recorded model waveform of the electronic component based on the measured temperature of the representative location and the reference temperature during the period when the arbitrary operation program is executed or during standby; and a detection step for adding an absolute value of a difference between the physical state of the electronic component measured in correspondence with the measurement period and a physical state of the corrected model waveform corresponding to the measurement period in which the physical state was measured for each execution period of the arbitrary operation program or a certain period during standby, and determining whether or not a value obtained by adding a predetermined judgment threshold against unauthorized access that imposes an excessive load on resources and disrupts operation of the control device or network has exceeded the absolute value. Effect of the Invention

[0008] According to one embodiment, unauthorized access such as a DoS attack that places an excessive load on resources and disrupts the operation of a control device or a network can be easily detected. [Brief description of the drawings]

[0009] [Figure 1] FIG. 2 is a diagram illustrating an example of a functional configuration of a control system according to an embodiment. [Diagram 2] FIG. 2 illustrates an example of a functional configuration of a CPU. [Diagram 3] 11 is a diagram showing an example of the relationship between the current consumption and temperature of a CPU during execution of a machining program; FIG. [Figure 4] 11 is a diagram illustrating an example of current consumption of a CPU when the CPU is subject to unauthorized access such as a DoS attack during execution of a modification program. FIG. [Diagram 5] 11 is a flowchart illustrating a detection process of the numerical control device. [Figure 6] FIG. 13 is a diagram showing an example of a model waveform during standby. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] <One embodiment> 1 is a diagram showing an example of the functional configuration of a control system according to an embodiment. Here, a machine tool is shown as an example of industrial machinery, and a numerical control device is shown as an example of a control device. Note that the present invention is not limited to machine tools and numerical control devices, and can also be applied to industrial machinery such as injection molding machines, industrial robots, and service robots, as well as robot control devices that control industrial robots, etc. In addition, in this embodiment, a machining program in which a numerical control device operates a machine tool is used as an example of an operation program, but the same applies to a robot program in which a robot control device operates an industrial robot, etc. As shown in FIG. 1, the control system 1 includes a numerical control device 10 and a network 20. The numerical control device 10 is connected to a network 20 such as a LAN (Local Area Network) or the Internet. In this case, the numerical control device 10 is provided with an external I / F (Interface) 11 (described later) for communicating with the network 20 via such a connection.

[0011] <Numerical control device 10> The numerical control device 10 is a numerical control device known to those skilled in the art, and generates commands based on a machining program acquired in advance from, for example, a CAD / CAM device (not shown) and outputs the generated commands to a machine tool (not shown). In this way, the numerical control device 10 controls the operation of the machine tool (not shown). Note that if the machine tool (not shown) is a robot or the like, the numerical control device 10 may be a robot control device or the like. As shown in FIG. 1, a numerical control device 10 includes an external I / F 11, a memory 12, a CPU (Central Processing Unit) 13, an ASIC (Application Specific Integrated Circuit) 14, and power supplies 21-24.

[0012] The external I / F 11 is, for example, a known network interface, and performs asynchronous communication with the network 20, such as data collection of the operating state of a machine tool (not shown) and alarms / warnings.

[0013] The memory 12 is a storage unit such as a ROM (Read Only Memory), a RAM (Random Access Memory), a HDD (Hard Disk Drive), etc. The memory 12 stores an operating system and application programs executed by a CPU 13 (described later), machining programs, etc. The memory 12 also functions as a recording unit that, during a period in which an arbitrary machining program is executed and / or during standby in a normal state in which there is no unauthorized access that imposes an excessive load on resources such as a DoS attack and disrupts the operation of the numerical control device 10 or the network 20, records in advance a physical state (e.g., current consumption, etc.) of at least one electronic component such as the CPU 13 described later, measured by a measuring unit 130 described later, as a model waveform in association with a measurement period (hereinafter also referred to as a "sampling period") of the measuring unit 130. In the following, unless otherwise specified, "unauthorized access that imposes an excessive load on resources such as a DoS attack and disrupts the operation of the numerical control device 10 or the network 20" will be abbreviated as "unauthorized access such as a DoS attack". Furthermore, the memory 12 may record, as a reference temperature, the temperature of a preset representative location of the numerical control device 10, measured by the measuring unit 130 when recording a model waveform of the physical state of the electronic components. The representative location may be, for example, an electronic component such as the CPU 13 described below, or a board on which the electronic component is arranged. Alternatively, the representative location may be a location that is not susceptible to unauthorized access such as a DoS attack, such as a sequence control IC for ON / OFF of the power supplies 21 to 24 described below, a voltage monitoring circuit, an analog circuit such as an AD / DA converter, or a non-volatile memory in which only initial settings are stored.

[0014] The CPU 13 is a known processor, and is a processor that performs overall control of the numerical control device 10. The CPU 13 reads out the system program and application program stored in the memory 12 via the bus, and controls the entire numerical control device 10 in accordance with the system program and the application program. As a result, the CPU 13 is configured to realize the functions of a measurement unit 130, a correction unit 131, a detection unit 132, and an operation control unit 133, as shown in Fig. 2.

[0015] The measurement unit 130 measures the physical state of at least one electronic component at a sampling period, and also measures the temperature of a representative location of the numerical control device 10 that is preset. In the following, the electronic component will be described using the CPU 13 as an example, and the physical state of the electronic component will be described using the current consumption of the CPU 13 as an example. Note that, as will be described later, the same can be applied to electronic components such as the external I / F 11, memory 12, and ASIC 14, and the physical states of the electronic components such as power consumption and junction temperature, in the same manner as the current consumption of the CPU 13. Specifically, the measurement unit 130 measures the current consumption of the CPU 13 at a sampling period as the physical state of the CPU 13, for example, by using an ammeter (not shown) arranged in the power supply 23 (described later). The measurement unit 130 outputs the measured current consumption of the CPU 13 to the detection unit 132 (described later). Note that the measurement unit 130 may measure the current consumption of the external I / F 11, the memory 12, and the ASIC 14 (described later) by using an ammeter (not shown) arranged in each of the power supplies 21, 22, and 24 (described later). Furthermore, the measurement unit 130 measures the temperature of the representative location of the numerical control device 10 using a temperature sensor (not shown) or the like arranged at a preset representative location of the numerical control device 10. Then, the measurement unit 130 records in the memory 12, as a reference temperature, the temperature of the representative location of the numerical control device 10 measured when recording the model waveform of the current consumption of the CPU 13.

[0016] The correction unit 131 corrects the model waveform of the CPU 13 recorded in the memory 12 based on the temperature of a representative location of the numerical control device 10 measured by the measurement unit 130 and the reference temperature recorded in the memory 12 during the period when any machining program is executed or during standby. Fig. 3 is a diagram showing an example of the relationship between the temperature and the current consumption of the CPU 13 during the execution of a machining program. In Fig. 3, a model waveform of the current consumption of the CPU 13 in a normal state at a reference temperature is shown by a solid line, a model waveform of the current consumption of the CPU 13 in a normal state when the temperature rises is shown by a dashed line, and a model waveform of the current consumption of the CPU 13 when the temperature drops is shown by a dashed line. As shown in FIG. 3, in a normal state, the numerical controller 10 repeatedly executes a machining program for machining the same part on a machine tool (not shown), so the current consumption of the CPU 13 of the numerical controller 10 repeats similar time fluctuations. 3, when the temperature of the representative portion of the numerical control device 10 rises relative to the reference temperature, the model waveform of the current consumption of the CPU 13 also rises overall. Also, when the temperature of the representative portion of the numerical control device 10 decreases relative to the reference temperature, the model waveform of the current consumption of the CPU 13 also decreases overall. In other words, when the deviation from the model waveform of the current consumption of the CPU 13 in a normal state at the reference temperature increases due to a temperature change, it becomes difficult to distinguish this from an increase or decrease in the current consumption of the CPU 13 due to unauthorized access such as a DoS attack. In such a case, the detection unit 132 described later will erroneously detect unauthorized access such as a DoS attack even though the state is normal. Therefore, based on the temperature of the representative location of the numerical control device 10 measured by the measurement unit 130 and the reference temperature recorded in the memory 12, the correction unit 131 corrects the model waveform of the current consumption of the CPU 13 in the normal state at the reference temperature to a model waveform of the current consumption of the CPU 13 in the normal state at the measured temperature of the representative location of the numerical control device 10. Note that the correction of the model waveform by the correction unit 131 can use a known method, and detailed description thereof will be omitted. By doing so, it is possible to prevent erroneous determination by the detection unit 132, which will be described later.

[0017] The detection unit 132 adds up the absolute value of the difference between the physical state of the electronic component measured by the measurement unit 130 in correspondence with the sampling period during the period when the processing program is executed or during standby, and the physical state of the model waveform corrected by the correction unit 131 that corresponds to the sampling period during which the physical state was measured, for each fixed period during the execution period of the processing program or during standby, and determines whether the value added with a predetermined judgment threshold against unauthorized access such as a DoS attack has exceeded the value.

[0018] FIG. 4 is a diagram showing an example of current consumption of the CPU 13 when unauthorized access such as a DoS attack is occurring during the execution of a machining program. The upper part of Fig. 4 shows the current consumption of CPU 13 measured in correspondence with the sampling period. In the upper part of Fig. 4, a model waveform of the corrected current consumption of CPU 13 in a normal state is shown by a dashed line, the current consumption of CPU 13 in a normal state is shown by a dashed line, and the current consumption of CPU 13 when it is subject to unauthorized access such as a DoS attack is shown by a solid line. In the upper part of Fig. 4, the vertical axis shows the current consumption of CPU 13, and the horizontal axis shows time. Meanwhile, the lower part of Fig. 4 shows an added value obtained by adding up the absolute value of the difference between the measured current consumption of the CPU 13 and the current consumption of the corrected model waveform shown in the upper part of Fig. 4 for a certain period of time during the execution of the machining program. Also, in the lower part of Fig. 4, the added value of the absolute value of the difference between the current consumption of the CPU 13 in a normal state and the model waveform of the corrected current consumption is shown by a dashed line, and the added value of the absolute value of the difference between the current consumption of the CPU 13 in a case where unauthorized access such as a DoS attack is being received and the current consumption of the corrected model waveform is shown by a solid line. FIG. 4 shows a case where unauthorized access such as a DoS attack has occurred during the execution time (processing time) of the processing program in the center.

[0019] As shown in the lower part of FIG. 4, the detection unit 132 adds up the absolute value of the difference between the current consumption of the CPU 13 measured by the measurement unit 130 in association with the sampling period during the period in which the machining program is executed and the current consumption corresponding to the measurement period in which the current consumption was measured in the model waveform of the current consumption of the CPU 13 corrected by the correction unit 131, for each fixed period T of the execution time of the machining program (machining time). That is, when the numerical control device 10 is subject to unauthorized access such as a DoS attack, the processing load of the CPU 13 increases, causing the current consumption of the CPU 13 to change, and the temperature of a representative portion of the numerical control device 10 also changes. Therefore, in order to detect unauthorized access such as a DoS attack by utilizing the load fluctuation of the hardware of the CPU 13, the detection unit 132 calculates the sum of the absolute value of the difference between the current consumption of the CPU 13 of the corrected model waveform (normal state) and the measured current consumption of the CPU 13. It should be noted that the detection unit 132 resets the addition time and the addition value to "0" each time the certain period T elapses. By doing so, the detection unit 132 can prevent erroneous determination due to the addition of a minute error.

[0020] Then, the detection unit 132 judges whether or not the added value exceeds a predetermined judgment threshold α for unauthorized access such as a DoS attack. When the added value exceeds the judgment threshold α, the detection unit 132 judges that the numerical control device 10 is subject to unauthorized access such as a DoS attack. For example, if the numerical control device 10 is subject to excessive access during the execution time (machining time) of the central machining program shown in Fig. 4, the processing load of the CPU 13 increases, and the current consumption of the CPU 13 increases, causing the added value to exceed the judgment threshold value α. This enables the detection unit 132 to determine that the numerical control device 10 is subject to unauthorized access such as a DoS attack. Furthermore, if the numerical control device 10 is subjected to excessive access during execution time (machining time) and an excessive processing load is placed on the CPU 13, for example, the processing of the CPU 13 slows down due to a lack of free space in the memory 12, the current consumption of the CPU 13 decreases, and the temperature of a representative location of the numerical control device 10 also decreases. Even in this case, if the added value of the CPU 13 exceeds the judgment threshold value α, the detection unit 132 can determine that the numerical control device 10 is subject to unauthorized access such as a DoS attack. Furthermore, even if the numerical control device 10 is subjected to excessive access for a period shorter than the execution time (machining time), the processing load on the CPU 13 increases and the current consumption of the CPU 13 increases (or decreases) primarily, so that when the added value of the CPU 13 exceeds the judgment threshold value α, the detection unit 132 can determine that the numerical control device 10 is subjected to unauthorized access such as a DoS attack.

[0021] It is preferable that the values ​​of the determination threshold α and the fixed period T are determined so that the detection unit 132 does not determine normal asynchronous communication or the like as unauthorized access such as a DoS attack during execution of the processing program.

[0022] The operation control unit 133, for example, generates a command based on a machining program and outputs the generated command to a machine tool (not shown), and when the detection unit 132 determines that unauthorized access such as a DoS attack has occurred, disconnects the numerical control device 10 from the network 20. Then, the operation control unit 133 may stop the machining program and record a log in the memory 12 that unauthorized access such as a DoS attack has been detected. Furthermore, the operation control unit 133 may display (notify) a message or the like that the unauthorized access has been detected on a display unit such as a liquid crystal display included in the numerical control device 10 or the machine tool (not shown).

[0023] The ASIC 14 is an application specific integrated circuit, and performs specific processing in the numerical control device 10, for example.

[0024] The power supplies 21 to 24 supply power to the external I / F 11, the memory 12, the CPU 13, and the ASIC 14. The power supplies 21 to 24 may include an ammeter (not shown) that measures current consumption, and may output the measured current consumption to the measurement unit 130.

[0025] <Detection process of the numerical control device 10> Next, the flow of detection processing of the numerical control device 10 will be described with reference to FIG. 5 is a flowchart illustrating the detection process of the numerical control device 10. The flow shown here is repeatedly executed every time a machining program is executed.

[0026] In step S1, the measurement unit 130 measures the current consumption of the CPU 13 at sampling intervals using an ammeter (not shown) disposed in the power supply 23.

[0027] In step S2, the measurement unit 130 measures the temperature of a representative location of the numerical control device 10 using a temperature sensor (not shown) or the like that is arranged at a representative location of the numerical control device 10 that has been preset.

[0028] In step S3, the correction unit 131 corrects the model waveform of the current consumption of the CPU 13 based on the temperature measured in step S2 and the reference temperature recorded in the memory 12.

[0029] In step S4, the detection unit 132 adds up the absolute value of the difference between the current consumption of the CPU 13 measured in correspondence with the sampling period in step S1 and the current consumption of the model waveform corrected in step S3 corresponding to the sampling period for which the current consumption was measured in step S1.

[0030] In step S5, the detection unit 132 determines whether the sum added in step S4 exceeds the judgment threshold value α. If the sum exceeds the judgment threshold value α, the process proceeds to step S9. On the other hand, if the sum is equal to or less than the judgment threshold value α, the process proceeds to step S6.

[0031] In step S6, the detection unit 132 determines that there is no unauthorized access such as a DoS attack.

[0032] In step S7, the detection unit 132 determines whether the added time is equal to or greater than the fixed period T, and if the added time is equal to or greater than the fixed period T, resets the added time and the added value to "0".

[0033] In step S8, the detection unit 132 determines whether or not the execution of the machining program has ended. If the execution of the machining program has ended, the numerical control device 10 ends the detection process. On the other hand, if the execution of the machining program has not ended, the process returns to step S1.

[0034] In step S9, the detection unit 132 determines that unauthorized access such as a DoS attack has occurred.

[0035] In step S10, the operation control unit 133 disconnects the numerical control device 10 from the network 20. Then, the operation control unit 133 stops the machining program, and records a log in the memory 12 that unauthorized access such as a DoS attack has been detected. The operation control unit 133 also displays (notifies) a message or the like that the unauthorized access has been detected on the display unit of the numerical control device 10 or a machine tool (not shown). Then, the numerical control device 10 ends the detection process.

[0036] As described above, the numerical control device 10 according to one embodiment can easily detect unauthorized access that disrupts the operation of the numerical control device 10 or the network 20 by placing an excessive load on resources, such as a DoS attack that exploits an unknown and unrecognized vulnerability, by utilizing the change in the current consumption of the CPU 13 that is actually operating. Furthermore, even if the physical state of an electronic component changes due to a change in temperature, the numerical control device 10 can prevent erroneous judgment of unauthorized access by correcting the model waveform of the physical state based on the measured temperature of a representative location of the numerical control device 10 and a reference temperature.

[0037] Although one embodiment has been described above, the numerical control device 10 is not limited to the above-described embodiment, and includes modifications and improvements within the scope of achieving the object.

[0038] <Variation 1> In one embodiment, the measurement unit 130 measures the current consumption of the CPU 13 at a sampling period, but is not limited to this. For example, the measurement unit 130 may measure the power consumption of the CPU 13 or the junction temperature of the CPU 13 at a sampling period. For example, in the case of power consumption, since the power supply 23 that supplies power to the CPU 13 is generally a constant voltage power supply and the voltage V is constant, the power consumption P exhibits the same variation as the current consumption I due to the relationship P=V×I. As a result, the detection unit 132 can detect unauthorized access such as a DoS attack using the power consumption of the CPU 13 measured by the measurement unit 130, just as in the case of current consumption. In addition, in the case of the junction temperature, the electronic components including the CPU 13 generate heat due to the power consumed by the electronic components, so the junction temperature Tj is expressed as follows: Tj=P×R JA +Ta, the change is the same as that of the power consumption P (i.e., the current consumption I). JA indicates the thermal resistance of the electronic component, and Ta indicates the ambient temperature. This allows the detection unit 132 to detect unauthorized access such as a DoS attack using the junction temperature of the CPU 13 measured by the measurement unit 130, in the same way as in the case of current consumption.

[0039] <Variation 2> Also, for example, in the above embodiment, the detection unit 132 adds up the absolute value of the difference between the current consumption of the CPU 13 measured by the measurement unit 130 in association with the sampling period during the period in which the machining program is executed and the current consumption corresponding to the sampling period in the model waveform corrected by the correction unit 131 in which the current consumption was measured, for each fixed period T during the execution period of the machining program, but this is not limited to this. For example, the detection unit 132 may detect unauthorized access such as a DoS attack by adding up the absolute value of the difference between the current consumption of the CPU 13 measured by the measurement unit 130 in association with the sampling period during standby and the current consumption corresponding to the sampling period in which the current consumption was measured, for each fixed period T during standby, and determining whether or not the added value exceeds the determination threshold value α. That is, for example, even when the numerical control device 10 (CPU 13) is waiting (not being processed) for the replacement of the workpiece to be processed or the change of the processing program, the numerical control device 10 (CPU 13) is executing a base program such as an operating program, and therefore the measurement unit 130 can measure the current consumption of the CPU 13 during standby and the temperature of a representative location of the numerical control device 10 that has been set in advance, and the correction unit 131 can correct the model waveform of the current consumption of the CPU 13 during standby based on the temperature of the representative location of the numerical control device 10 measured by the measurement unit 130 and the reference temperature recorded in the memory 12. FIG. 6 is a diagram showing an example of a model waveform during standby. As a result, the detection unit 132 can detect unauthorized access such as a DoS attack by using the current consumption of the CPU 13 measured by the measurement unit 130 during standby in correspondence with the sampling period and the model waveform of the current consumption of the CPU 13 in a normal state during standby corrected by the correction unit 131, just as in the case of the period when the machining program is executed.

[0040] <Modification 3> Also, for example, in the above-described embodiment, the detection unit 132 detects unauthorized access such as a DoS attack based on the current consumption of the CPU 13, but is not limited to this. For example, the detection unit 132 may detect unauthorized access such as a DoS attack based on the current consumption, power consumption, or junction temperature of at least one electronic component such as the external I / F 11, the memory 12, the CPU 13, the ASIC 14, etc.

[0041] Each function included in the numerical control device 10 in one embodiment can be realized by hardware, software, or a combination of these. Here, being realized by software means being realized by a computer reading and executing a program.

[0042] The program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The transitory computer readable media can provide the program to the computer via wired communication paths such as electric wires and optical fibers, or wireless communication paths.

[0043] In addition, the steps of writing a program to be recorded on a recording medium include not only processes that are performed chronologically according to the order, but also processes that are not necessarily performed chronologically but are executed in parallel or individually.

[0044] In other words, the control device and control method of the present disclosure can take various forms having the following configurations.

[0045] (1) A numerical control device 10 of the present disclosure is a control device capable of controlling industrial machinery and connecting to external devices, and includes a measurement unit 130 that measures the physical state of at least one electronic component at a measurement period and measures the temperature of a preset representative location, a memory 12 that records the physical state of the electronic component in a normal state during a period when an arbitrary operation program is executed and / or during standby as a model waveform in association with the measurement period and records the temperature of the representative location measured when the model waveform was recorded as a reference temperature, and a measurement unit 130 that measures the physical state of at least one electronic component at a measurement period and measures the temperature of a preset representative location. a correction unit 131 that corrects the shape of the physical state of the electronic component based on the temperature of a representative location measured by the measurement unit 130 and a reference temperature; and a detection unit 132 that adds up the absolute value of the difference between the physical state of the electronic component measured by the measurement unit 130 in correspondence with the measurement period and the physical state of the model waveform corrected by the correction unit 131 that corresponds to the measurement period in which the physical state was measured, for each execution period of an arbitrary operation program or a certain period during the standby period, and judges whether or not the value obtained by adding up a predetermined judgment threshold against unauthorized access that imposes an excessive load on resources and disrupts operation of the numerical control device 10 and the network 20 has exceeded the absolute value. According to this numerical control device 10, unauthorized access such as a DoS attack that places an excessive load on resources and disrupts the operation of the numerical control device 10 and the network 20 can be easily detected.

[0046] (2) In the numerical control device 10 described in (1), the physical state may be a current consumption of an electronic component. This enables the numerical control device 10 to accurately detect unauthorized access such as a DoS attack.

[0047] (3) In the numerical control device 10 described in (1), the physical state may be power consumption of an electronic component. By doing so, the numerical control device 10 can achieve the same effect as (2).

[0048] (4) In the numerical control device 10 described in (1), the physical state may be a junction temperature of an electronic component. By doing so, the numerical control device 10 can achieve the same effect as (2).

[0049] (5) In the numerical control device 10 according to any one of (1) to (4), the electronic components may include a CPU 13. This enables the numerical control device 10 to quickly detect unauthorized access such as a DoS attack.

[0050] (6) The numerical control device 10 described in any one of (1) to (5) may further include an operation control unit 133 that, when the detection unit 132 determines that unauthorized access has occurred, at least disconnects the numerical control device 10 from the network 20, stops the operation program, and records a log in the memory 12 that an unauthorized process has been detected. This allows the numerical control device 10 to avoid being affected by unauthorized access such as a DoS attack.

[0051] (7) A control method of the present disclosure is a control method of an industrial machine by a control device connectable to an external device, and includes a measurement step of measuring a physical state of at least one electronic component at a measurement period and measuring a temperature of a predetermined representative location; a recording step of recording the physical state of the electronic component in a normal state during a period when an arbitrary operation program is executed and / or during standby as a model waveform in correspondence with the measurement period and recording the temperature of the representative location measured when the model waveform was recorded as a reference temperature; a correction step of correcting the recorded model waveform of the electronic component based on the measured temperature of the representative location and the reference temperature during the period when an arbitrary operation program is executed or during standby; and a detection step of adding an absolute value of the difference between the physical state of the electronic component measured in correspondence with the measurement period and the physical state of the corrected model waveform corresponding to the measurement period during which the physical state was measured, for each fixed period during the execution period or standby of the arbitrary operation program, and determining whether or not a value obtained by adding a predetermined judgment threshold against unauthorized access that imposes an excessive load on resources and disrupts operation of the numerical control device 10 and the network 20 has exceeded the absolute value. This control method can achieve the same effect as (1). [Explanation of symbols]

[0052] 1. Control System 10 Numerical control device 11 External I / F 12. Memory 13 CPU 130 Measuring section 131 Correction section 132 Detection unit 133 Motion control section 14 ASIC 20 Network 21~24 Power supply

Claims

1. A control device capable of controlling an industrial machine and connecting to an external device, a measurement unit that measures a physical state of at least one electronic component at a measurement period and also measures a temperature at a preset representative location; a recording unit that records a physical state of the electronic component during a period in which an arbitrary operation program is executed and / or during standby in a normal state as a model waveform in association with the measurement period, and records the temperature of the representative portion measured when the model waveform is recorded as a reference temperature; a correction unit that corrects the model waveform of the electronic component recorded in the recording unit based on the temperature of the representative location measured by the measurement unit and the reference temperature during a period in which the arbitrary operation program is executed or during the standby period; a detection unit that adds up an absolute value of a difference between a physical state of the electronic component measured by the measurement unit in association with the measurement period and a physical state of the model waveform corrected by the correction unit that corresponds to the measurement period in which the physical state was measured, for each execution period of the arbitrary operation program or for each fixed period during the standby period, and judges whether or not a value obtained by adding a predetermined judgment threshold against unauthorized access that imposes an excessive load on resources and disrupts operation of the control device or network has exceeded the absolute value; A control device comprising:

2. The control device according to claim 1 , wherein the physical state is a current consumption of the electronic component.

3. The control device according to claim 1 , wherein the physical state is a power consumption of the electronic component.

4. The control device according to claim 1 , wherein the physical condition is a junction temperature of the electronic component.

5. The control device of claim 1 , wherein the electronic components include a processor.

6. The control device according to any one of claims 1 to 5, further comprising an operation control unit that, when the detection unit determines that unauthorized access has occurred, at least disconnects the control device from a network, stops the operation program, and records a log in the recording unit that the unauthorized access has been detected.

7. A method for controlling an industrial machine by a control device connectable to an external device, comprising: a measurement step of measuring a physical state of at least one electronic component at a measurement period and measuring a temperature of a preset representative point; a recording step of recording a physical state of the electronic component during a period in which an arbitrary operation program is executed and / or during standby in a normal state as a model waveform in association with the measurement period, and recording the temperature of the representative location measured when the model waveform was recorded as a reference temperature; a correction step of correcting the recorded model waveform of the electronic component based on the measured temperature of the representative portion and the reference temperature during the period in which the arbitrary operation program is executed or during the standby period; a detection step of adding up an absolute value of a difference between a physical state of the electronic component measured in association with the measurement period and a physical state of the corrected model waveform corresponding to the measurement period in which the physical state was measured, for each execution period of the arbitrary operation program or for each fixed period during the standby period, and determining whether or not a value obtained by adding a predetermined determination threshold against unauthorized access that places an excessive load on resources and disrupts operation of the control device or network has exceeded the absolute value; A control method comprising:

Citation Information

Patent Citations

  • Power-based industrial mechanical arm abnormal motion online detection method

    CN112050782A

  • A system and method for detecting malicious PDF network content

    JP2014504765A

  • Detecting Software Attacks By Monitoring Electric Power Consumption Patterns

    US20080276111A1

  • Control system, control method, and controller

    WO2015001594A1

  • Programmable logic controller

    WO2016143072A1