This application is a continuation under 35 U.S.C. 120 of International Application PCT/JP2020/028508 having the International Filing Date of Jul. 22, 2020 and having the benefit of the earlier filing date of Japanese Application No. 2019-134347, filed on Jul. 22, 2019. Each of the identified applications is fully incorporated herein by reference.
The present invention relates to an extension module, an industrial equipment, and a method of estimating a parameter of an industrial equipment or an internal state of a device controlled by the industrial equipment.
In recent years, technologies in the field of artificial intelligence (AI) have advanced, and utilization fields and applications thereof are expanding wide. A core technology among those is a technology called “deep learning.” Building and execution of AI by deep learning requires parallel arithmetic processing on a large scale, and a high arithmetic processing capability is accordingly demanded of a computer to be used.
At the same time, a single-board computer used in an embedded device or the like, or a similar small-sized computer is not so high in computing capability, and may lack a capability to execute an AI program by deep learning in which a large amount of computing is required. For that reason, an external device that adds a computing capability suitable for AI programs to the embedded device is commercially available. For example, an external visual processing unit (VPU) is usable by connecting the external VPU to a universal serial bus (USB) port of the small-sized computer.
The external device described above is a general-purpose product, and only provides an expanded computing capability. A general knowledge and skill of AI programming and understanding of a software development kit (SDK) provided for the external device are therefore required in order to use the external device. AI programming suited to an intended use is required to be executed on one's own.
In an industrial equipment including a factory automation (FA) equipment, which is a programmable logic controller (PLC), a servo controller, or the like, the computing capability of the equipment is determined by weighing against cost, power consumption, and others, and therefore hardly exceeds a level secured as a capability required to run the industrial equipment. Generally speaking, the industrial equipment does not have much computing capability to spare.
In JP 2018-152012 A, there is disclosed a machine learning device which obtains, by machine learning, a feedforward coefficient in a servo control device, which is a type of industrial equipment. The servo control device and the machine learning device disclosed in the literature are connected to each other by a local area network (LAN) built inside a factory, the Internet, a public telephone network, or a similar information communication network.
When AI technology is to be applied to estimation of a parameter suitable for a mode of utilization of an industrial equipment, or an internal state of a device controlled by the industrial equipment, a computing capability and a memory capacity that are provided by the industrial equipment on its own are insufficient. In addition, it is not often that the industrial equipment is connected to a general information communication network, and communication between the industrial equipment and a computer having a high computing capability via an information communication network is therefore not always possible.
Even with the industrial equipment connected to a suitable information communication network, not all technical persons in the FA field who regularly use the industrial equipment have professionally been trained in AI programming and, even when personnel professionally trained in AI programming are successfully secured, it is impractical to perform programming for each varying mode of utilization of the industrial equipment which varies depending on the scene of utilization.
According to one aspect of the present invention, there is provided an extension module to be connected to an external terminal of a first piece of industrial equipment, the extension module including at least a processor and a memory, wherein the memory is configured to store a machine learning model for estimating at least one parameter of the first piece of industrial equipment or estimating an internal state of a device controlled by the first piece of industrial equipment, and wherein the processor is configured to perform learning of the machine learning model with information obtained from the first piece of industrial equipment as teacher data.
According to one aspect of the present invention, there is further provided a method of estimating a parameter of a first piece of industrial equipment or an internal state of a device controlled by the first piece of industrial equipment, the method including: connecting an extension module to an external terminal of the industrial equipment, the extension module including at least a processor and a memory; and executing a machine learning method in which the processor executes learning of a learning model stored in the memory to estimate at least one of the parameter of the first piece of industrial equipment or the internal state of the device controlled by the first piece of industrial equipment, with information obtained from the first piece of industrial equipment as teacher data.
An industrial equipment 1 and an extension module 2 according to a first embodiment of the present invention, and an estimation method according to the first embodiment which is a method of estimating an internal state of the industrial equipment 1, or an internal state of a controlled device 3 to be controlled by the industrial equipment 1 by using the industrial equipment 1 and the extension module 2, are described below with reference to
The controlled device 3 is a device controlled by the industrial equipment 1, or a device to and from which information indicating a state of the device is input and output. Here, a servo motor is described as the controlled device 3, and the following description takes a servo motor as an example of the controlled device 3. The controlled device 3 may be a rotary electric motor of another form (for example, a stepping motor), a type of actuator out of various types, a switch, a sensor, or the like. It is not required to limit the number of controlled devices 3 connected to the industrial equipment 1 to one controlled device 3, and more than one controlled device 3 may be connected.
The industrial equipment 1 is provided with an external terminal 101 for connecting to a suitable external device. The external terminal 101, which is provided on a front surface of the industrial equipment 1 in
The extension module 2 may be, as illustrated in
In any case, the extension module 2 is connected directly to the external terminal 101 of the industrial equipment 1 when required, and is not connected to the industrial equipment 1 by virtual connection via a TCP/IP network or other general-purpose information communication networks. This is because the industrial equipment 1 in practice is, by nature, often built into some device to be used after being cut off from an outside general-purpose information communication network, due to security and other requirements.
The extension module 2 is an independent information processing device (namely, computer) on its own, and includes at least a processor and a memory therein. The industrial equipment 1 shown in this embodiment which is a servo controller also has functions as a servo amplifier and an information processing device including a processor and a memory to control the servo amplifier. However, as described above, the industrial equipment 1 is designed to have performance as an information processing device high enough to achieve aimed functions of the industrial equipment 1 in the first place. That is, as described in this embodiment, when the industrial equipment 1 is a servo controller, it is sufficient for the industrial equipment 1 to have an information processing capability high enough to control the controlled device 3, which is a servo motor, and, when the industrial equipment 1 is a PLC, it is sufficient for the industrial equipment 1 to have an information processing capability high enough for logical operation and input/output in units of several microseconds. Normally, the industrial equipment 1 is not prepared to have a computing capability that greatly exceeds those sufficient levels of information processing capability, for example, computing capability suitable for large-scale parallel computation. The extension module 2 includes a processor suitable for large-scale parallel computation and other types of heavy-load computation, and gives a computing capability that can handle the heavy processing load to the industrial equipment 1, which is not required to perform such computation in normal operation, on a temporary basis, that is, only when the extension module 2 is connected to the external terminal 101. The processor mounted in the extension module 2 may be a general (however, high in processing capability) central processing unit (CPU), a graphics processing unit (GPU) or a VPU, an application-specific integrated circuit (ASIC) or any other information processing circuit, or a combination of a plurality of types out of those types.
As described later, computation performed by the extension module 2 is mainly for what is called deep learning and other forms of machine learning in a multi-layer neural network. The extension module 2 therefore has a design suitable for computation in a machine learning model to be applied, and the design is normally parallel arrays of a large number of pipelines to enable the extension module 2 to process large-scale parallel computation at high speed. However, the extension module 2 can have any design as long as the design is suitable for machine learning of a machine learning model to be used.
“Sensor 301” is a collective term for all means for detecting information about the controlled device 3, and may include, when the controlled device is a servo motor as in this example, a rotation angle sensor, which is a rotary encoder or the like, a torque sensor, motor current means, a thermometer, and various other detectors.
The memory 107 stores various parameters to be used to control the controlled device 3, for example, a gain parameter, a constant or a time constant of a velocity, an acceleration rate, or the like that defines a velocity waveform of the motor, and a model constant of the controlled device 3. The memory 107 may also store other pieces of useful information, for example, a total drive amount in the form of an operation time, the total number of rotations, and the like of the controlled device 3, a model number or a serial number of the model, and information about a user. Those pieces of information may appropriately be referred to and used by the processor 104, depending on the type of the controlled device 3 and how the controlled device 3 is to be controlled. The memory 107 may further store, as described later, a learned machine learning model learned about the controlled device 3.
The industrial equipment 1 is provided with an I/O 108 as an interface to an external device. The external terminal 101 illustrated in
The extension module 2 includes a memory 201 and a processor 202, and the processor 202 can perform computation on its own by referring to the memory 201. The extension module 2 is also provided with an I/O 203 as an interface. The I/O 203 includes a control circuit for information communication and a physical terminal to connect to the external terminal 101 of the industrial equipment 1. In
The industrial equipment 1 includes a motor control unit 109, the servo amplifier 102, and, in some cases, a learned machine learning model 110. The motor control unit 109 is configured, in terms of hardware, mainly from the control circuit 103 illustrated in
The extension module 2 includes a machine learning model 204. The extension module 2 is configured so that output from the sensor 301 can be input to the machine learning model 204.
A flow leading up to an ultimate goal which is constant control of the controlled device 3 by the industrial equipment 1 in the configurations illustrated in
In order to enable efficient, precise, and quick control of the controlled device 3 with the use of not only a motor controller but also various types of industrial equipment 1 other than a motor controller, it is required to give a parameter suitable for the mode of use of the controlled device 3. Many methods of estimating or automatically setting such a parameter have been proposed, and technologies for estimation or automatic setting of the parameter have been developed. However, the configuration, load, operation, and the like of the controlled device 3 all vary depending on each individual use, and, with a setting method that is uniform, a satisfactory parameter may not be obtained. There is also a case in which the environment of the use of the controlled device 3 changes from moment to moment. For example, when contents of work performed by a robot arm vary from work to work, or when a vehicle running in an outside environment experiences variations in the state of a road surface or goes through a change in payload, an optimum parameter naturally changes, and it is difficult to reset the parameter each time such a change occurs.
Significant internal states of the controlled device 3 including a physical change are difficult to measure directly. For example, it is difficult to find out wear, deterioration with age, and other similar states, and there is accordingly no choice but to perform maintenance in the form of replacement of parts for every fixed length of operation time, or the like. However, this means that parts that still have some lifetime left and do not require replacement are discarded, which increases maintenance cost and also decreases the length of time for which the device is in operation due to the time required for maintenance. It may not be impossible, under some conditions, to estimate the internal state of the controlled device 3 from output of a sensor provided in the controlled device 3. In most cases, however, the estimation from sensor output requires experience and intuition of a skillful operator and cannot be used on a wide scale. The estimation from sensor output is also not satisfactory in terms of reliability.
The indirect estimation of a favorable parameter of the industrial equipment 1, or an internal state of the controlled device 3, from output of a sensor provided in the controlled device 3 is predicted to be a strong point of machine learning, and the merit of utilizing machine learning for the estimation, if possible, is expected to be large.
Accordingly, when machine learning represented by deep learning is utilized for such use in this embodiment, the controlled device 3 is first caused to operate under a state in which the controlled device 3 is connected to the industrial equipment 1, and learning of the machine learning model 204 is executed by using information obtained from the sensor 301 as teacher data. The learned learning model 110 that is suited to an individual use and is highly precise can be obtained by advancing learning of the machine learning model 204 based on actual operation data of the controlled device 3 which is prepared for a specific use.
In obtaining the actual data of the controlled device 3 which serves as teacher data for the machine learning model 204 from the sensor 301, control itself for causing the controlled device 3 to operate is executed by the industrial equipment 1, but data obtained from the sensor 301 is sent to the extension module 2. The extension module 2 uses the processor 202 mounted in the extension module 2 to execute machine learning of the machine learning model 204 prepared in the memory 201 in advance.
What the machine learning model 204 is like is to be selected depending on the configuration of or the use of the controlled device 3, and is not particularly limited. When the machine learning model 204 is assumed to be a representative model called a deep neural network model, which has a multi-layer structure including, for example, about six to ten perceptron layers, computation required for machine learning of this model generally causes a heavy computing load, although depending on the number of nodes of the perceptron layers and the bit count of each of the nodes, and the computing capability of the processor of the industrial equipment 1 is insufficient for the computation. That is, the industrial equipment 1 is incapable of timely computation for sessions of machine learning to be learned one after another based on data obtained from the sensor 301 by causing the controlled device 3 to operate. Even when the industrial equipment 1 manages to obtain enough data, a huge amount of time is required to complete the learning, or a large memory capacity for holding data required for machine learning is temporally required. The computation in the machine learning is therefore executed with the use of the processor 202 mounted in the extension module 2 which has a higher computing capability. The computing capability of the processor 202 is recommended to be at, or above, a level high enough for enabling the machine learning model 204 to learn by processing pieces of data that are obtained from the sensor 301 one after another in real time, or without much delay from a rate at which the pieces of data are obtained.
The machine learning model 204 is prepared and held in the memory 201 of the extension module 2 in advance as a model suitable for the configuration of the controlled device 3 expected to be used by the industrial equipment 1. The machine learning model 204 may be prepared by an operator who is planning to perform machine learning as a model suitable for the configuration of or the use of the controlled device 3, or a plurality of types of the machine learning model 204 may be stored in the memory 201 of the extension module 2 in advance so that the most suitable type of the machine learning model 204 is simply selected.
The operator may prepare the machine learning model 204 by, for example, selecting a machine learning model closest to the configuration of or the use of the controlled device 3 to be used from among a plurality of machine learning models provided via the Internet or the like, downloading the selected model in advance to a PC or a similar information processing device, and connecting the extension module 2 to the information processing device to transfer the downloaded machine learning model 204 to the memory 201. In this manner, the operator is not required to build the machine learning model 204 by himself or herself, and can use machine learning without being proficient in AI technology.
In the case in which a plurality of types of the machine learning model 204 are stored in the memory 201 of the extension module 2 in advance, the operator may specify one of the plurality of types. Alternatively, the extension module 2 or the industrial equipment 1 may automatically select one type of the machine learning model 204 based on information that indicates the configuration of the controlled device 3 connected to the industrial equipment 1, for example, the model number or the serial number of the controlled device 3. In this manner, the machine learning model 204 suitable for the configuration of or the use of the controlled device 3 is automatically selected without requiring the operator to have abundant knowledge on AI technology.
The number of the types of the machine learning model 204 to be selected when machine learning is performed is not limited to one, and a plurality of types of the machine learning model 204 may be selected. In this case, the extension module 2 simultaneously performs machine learning for the selected plurality of types of the machine learning model 204 in parallel, and may select and use a version with the highest score (in terms of, for example, prediction precision) out of ultimately obtained versions of the machine learning model 204. In this case, although the processor 202 of the extension module 2 is required to have a computing capability high enough to simultaneously perform machine learning for a plurality of types of the machine learning model 204, a probability of obtaining a highly precise learned machine learning model increases.
Steps from performing of machine learning to estimation of a parameter of the industrial equipment 1, or estimation of an internal state of the controlled device 3 is described as follows with reference to the flow chart illustrated in
When the machine learning advances enough, the learned machine learning model 110 is obtained in the memory 201 of the extension module 2. The learned machine learning model 110 is transferred to and stored in the memory 107 of the industrial equipment 1 (Step ST4). The industrial equipment 1 thus comes to include the learned machine learning model 110 learned about the specific controlled device 3, without relying on its own processor 104.
The learned machine learning model 110 is a model to which information obtained from the sensor 301 is input and from which some desired information is output. A desired output is accordingly obtained by appropriately inputting the information obtained from the sensor 301 about the controlled device 3 to the learned machine learning model 110 (Step ST5). The output information may be one or a plurality of parameters to be used in the industrial equipment 1, or one or a plurality of estimation values of an internal state of the controlled device 3, or both thereof.
To give a more specific example, with an operation waveform of a velocity, a torque, a current, or the like of the controlled device 3, which is a servo motor, as input, the learned machine learning model 110 that outputs a gain parameter suitable for control, or that estimates a sign of wear and deterioration with age at an early stage and outputs a warning signal prompting the operator to execute inspection or replacement of parts, or estimates a lifetime remaining until occurrence of a failure, can be built.
The learned machine learning model 110 is stored in the memory 107 of the industrial equipment 1 in this embodiment. Accordingly, the estimation of a parameter of industrial equipment or an internal state of a device controlled by the industrial equipment with the use of the learned machine learning model 110 does not require the extension module 2.
The extension module 2 is therefore not required to be connected all the time and can be kept detached when the industrial equipment 1 is routinely used.
The learned machine learning model 110 is typically a deep neural network model having multiple perceptron layers as well, and requires a considerable amount of computation in order to output in response to an input value. However, the required amount of computation is small compared to execution of machine learning, and estimation values to be obtained with the use of the learned machine learning model 110 are not required to be obtained in real time or with urgency in many cases. It is therefore considered that a satisfactory level of practical utility is secured with computation that is performed by using excess the computing capability of the processor 104 in an interval in normal control of the controlled device 3 or other occasions.
As described above, the extension module 2 is not always required in routine operation and hence, even in a case of, for example, running a large number of industrial equipment 1, it is sufficient to temporarily connect the extension module 2 only to the industrial equipment 1 for which machine learning is to be performed. A single extension module 2 can thus be used by a plurality of industrial equipment 1, which is economical.
As described above, this embodiment uses the learned machine learning model 110 to output a gain parameter suitable for control, or estimate a sign of wear and deterioration with age at an early stage for the purpose of outputting a warning signal prompting the operator to execute inspection or replacement of parts, or estimating a lifetime remaining until occurrence of a failure. However, when the controlled device 3 is caused to operate in order to obtain teacher data for machine learning, a learning effect is difficult to achieve and efficiency of learning is not so high as well for an event that occurs infrequently.
The machine learning model 204 stored in the memory 201 of the extension module 2 is therefore recommended to be an intermediate learning model which has finished learning to a certain degree in advance, based on the configuration of the industrial equipment 1 and the configuration of the controlled device 3 controlled by the industrial equipment 1. This is utilization of a machine learning method called “transfer learning,” and refers to the use of, as the machine learning model 204, a learning model that has finished in advance an intermediate level of learning by means of a representative configuration close to the configuration of the expected controlled device 3, and learning with respect to an infrequently occurring event. The machine learning model 204 that has finished the intermediate learning is high in the efficiency of learning and can be enhanced early in precision. The use of the machine learning model 204 that has finished the intermediate learning also mitigates a problem of overfitting due to overtraining, and provides the learned machine learning model 110 capable of correct estimation even for an infrequently occurring event, which is not much likely to be included in teacher data obtained from the industrial equipment 1 and the controlled device 3 controlled by the industrial equipment 1.
Possible examples of an infrequently occurring event include wear, deterioration with age, and other troubles accompanying long-term operation of the controlled device 3, signs of those troubles, catching of foreign objects, breakage, and other accidental events. Learning with respect to such events is considered to be difficult particularly by machine learning using the industrial equipment 1 and the controlled device 3 that are brand-new. The use of an intermediate learning model as the machine learning model 204 therefore has a great merit.
Recommended timing at which the industrial equipment 1 illustrated in
As a first example, a possible case in which estimation of the parameter is required is a case in which a state of the controlled device 3 connected to the industrial equipment 1, for example, the magnitude of a load, changes. In that case, some physical change is considered to have been applied to the configuration of a device itself that uses the industrial equipment 1. Such a change is generally made when the device is stopped and stationary, and estimation of the parameter is therefore possibly performed when, for example, powering on or off of the industrial equipment 1 is detected. Other examples of the case in which a specific state of the industrial equipment 1 is detected include a case in which a change exceeding a given level is detected in the load of the controlled device 3 and a case in which a change to contents of control of the controlled device 3 is detected, and the estimation of the parameter or the internal state of the controlled device 3 is recommended to be executed in those cases.
As a second example, it is considered to be enough to execute the estimation of the parameter or an internal state of the controlled device 3 each time an elapse of a fixed length of time, for example, 24 hours, is detected, because troubles due to a characteristics change, wear, and deterioration accompanying continuous use of the controlled device 3, and signs of the troubles, are not likely to be detected suddenly. The fixed length of time in this case may be measured by elapse of actual time, a length of time in which the industrial equipment 1 is kept powered on, or elapse of an accumulated amount of time in which the controlled device 3 is in operation.
Thus, the estimation of the parameter or an internal state of the controlled device 3 can be executed without applying unrequired load on the processor 104 of the industrial equipment 1 by estimating the parameter or an internal state of the controlled device 3 in the case of detecting a specific state of the industrial equipment 1, or in the case of detecting an elapse of a fixed length of time, or in both of the cases.
In this embodiment, physical configurations of the industrial equipment 1, the extension module 2, and the controlled device 3 are the same as the physical configurations in the preceding embodiment, and functions thereof are also basically the same as the functions in the preceding embodiment. Components common to the two embodiments are therefore denoted by the same reference numerals, and duplicate descriptions are omitted.
This embodiment is exactly the same as the preceding embodiment up through the point at which machine learning is executed for the machine learning model stored in the memory 201 of the extension module 2. That is, of the steps illustrated in the flow chart of
Accordingly, the estimation of a parameter of the industrial equipment 1 or an internal state of the controlled device 3 which is executed by the industrial equipment 1 at appropriate timing (the timing already described in the first embodiment applies) is executed under a state in which the industrial equipment 1 and the extension module 2 are connected as illustrated in
In this embodiment, the extension module 2 is required to be connected to the external terminal 101 of the industrial equipment 1 when a parameter of the industrial equipment 1 or an internal state of the controlled device 3 is estimated. This embodiment, however, is advantageous in that the memory 107 of the industrial equipment 1 can have a small capacity because the learned machine learning model 205, which has a large amount of information, is not required to be held in the memory 107 of the industrial equipment 1. Another advantage is that estimation values of a parameter of the industrial equipment 1 and an internal state of the controlled device 3 can be obtained quickly particularly when the processor 104 of the industrial equipment 1 has a low computing capability, without applying an extra load to the processor 104 of the industrial equipment 1, because computation itself for the estimation of a parameter of the industrial equipment 1 and an internal state of the controlled device 3 itself is executed by the processor 202 mounted in the extension module 2, which has an excellent computing capability.
In this embodiment, physical configurations of the industrial equipment 1, the extension module 2, and the controlled device 3 are also the same as the physical configurations in the preceding embodiments, and functions thereof are also basically the same as the functions in the preceding embodiments. Components common to the embodiments are therefore denoted by the same reference numerals, and duplicate descriptions are omitted.
This embodiment is common with the preceding first embodiment and second embodiment in that machine learning of a machine learning model stored in the memory 201 of the extension module 2 is executed with the extension module 2 connected to the external terminal 101 of the industrial equipment 1. The obtained learned machine learning model 205 is held in the memory 201 of the extension module 2 as in the second embodiment.
In this embodiment, as illustrated in
That a specific learned machine learning model 205 is associated with a specific industrial equipment 1 means a situation that the industrial equipment 1 has collected teacher data by connecting the extension module 2 thereto and driving the controlled device 3 when machine learning for obtaining the learned machine learning model 205. The information for identifying the industrial equipment 1 may be any kind of information as long as the industrial equipment 1 can uniquely be identified. The identification information in this embodiment is a table 206 in which an association relationship between a serial number of an industrial equipment 1 and an obtained learned machine learning model is held.
That is, in this embodiment, when machine learning of the machine learning module 204 is executed by connecting the industrial equipment 1 and the extension module 2 to each other, identification information 112 stored in the industrial equipment 1 is transmitted to the extension module 2 to store an association relationship with the machine learning model 204 for which learning is being executed in the table 206. The timing of transmission of the identification information 112 to the extension module 2 may be any point during a period in which the machine learning is executed, and the identification information 112 may be transmitted at the beginning of the machine learning, or at the time when the machine learning is completed and the learned machine learning model 205 is obtained, or later.
The extension module 2 is not always used by one specific industrial equipment 1 alone, and is used by a plurality of industrial equipment 1. That is, the extension module 2 is temporarily connected to a specific industrial equipment 1, and is later disconnected to be connected to another industrial equipment 1. For each industrial equipment 1 to which the extension module 2 is connected, the learned machine learning model 205 is created and stored in the memory 201 of the extension module 2 until a storage capacity of the memory 201 is exhausted. In
In order to estimate an internal parameter of one industrial equipment 1, or an internal state of the controlled device 3 connected to the industrial equipment 1, a type of the learned machine learning model 205 obtained in association with the industrial equipment 1 is required. Thus, when the internal parameter or an internal state of the controlled device 3 is estimated, the extension module 2 that already holds the learned machine learning model 205 in the memory 201 is connected to the external terminal 101 of the industrial equipment 1.
When the industrial equipment 1 is instructed, by a direct command or an indirect command via an external device, to estimate the internal parameter or an internal state of the controlled device 3 connected to the industrial equipment 1, information obtained by the sensor 301 about the controlled device 3 and the identification information 112 of the industrial equipment 1 are sent to the extension module 2.
The processor 202 of the extension module 2 refers to the table 206 to compare the identification information 112 sent thereto, and identifies a type of the learned machine learning model 205 that has been obtained in association with the currently connected industrial equipment 1. Here, the learned machine learning model A is the identified learned machine learning model 205.
The processor 202 inputs the information about the controlled device 3 sent thereto to the learned machine learning model A, and transmits resultant desired output to the industrial equipment 1. The processor 104 of the industrial equipment 1 executes processing appropriate for the type and contents of the resultant output. In the example illustrated in
In this manner, the memory 201 of the extension module 2 is designed so as to be capable of storing a plurality of types of the learned machine learning model 205, and which learned machine learning model 205 is to be used to estimate a parameter of the industrial equipment 1 to which the extension module 2 is connected, or an internal state of the controlled device 3 connected to the industrial equipment 1, is selected based on the identification information 112 of the industrial equipment 1. The estimation of the parameter or an internal state of the device can thus appropriately be executed for a plurality of industrial equipment 1, with a single extension module 2, by simply connecting the extension module 2 to the external terminal 101 of the industrial equipment 1, without relearning.
In the description of this embodiment, the selection of the learned machine learning model 205 is automatically executed based on the identification information 112 of the industrial equipment 1. However, the operator who is a user may explicitly select which learned machine learning model 205 is to be used.
The third embodiment is described, with reference to flow charts illustrated in
First, the extension module 2 is connected to the external terminal 101 of the industrial equipment 1 (Step ST11). At this stage, machine learning of the machine learning model 204 held in the memory 201 of the extension module 2 is not executed yet. However, the machine learning model 204 may be an intermediate learning model as already described.
The industrial equipment 1 drives the controlled device 3 and obtains information to serve as teacher data from the sensor 301 (Step ST12). Further, the obtained information is transmitted to the extension module 2, and the processor 202 of the extension module 2 executes machine learning of the machine learning model 204 with the obtained information as teacher data, and obtains the learned machine learning model 205 (Step ST13).
The industrial equipment 1 transmits the identification information 112 of itself to the extension module 2 (Step ST14). The timing of transmission of the identification information 112 may be at an earlier stage, for example, immediately after the extension module 2 is connected to the external terminal 101 of the industrial equipment 1 in Step ST11.
Lastly, an association relationship between the obtained learned machine learning model 205 and the identification information 112 is stored in the memory 201 (Step ST15). In the example illustrated in
First, when the extension module 2 is not connected yet, the extension module 2 is connected to the external terminal 101 of the industrial equipment 1 (Step ST21). Here, the connected extension module 2 has undergone machine learning executed with the use of the industrial equipment 1 by the steps illustrated in
Subsequently, the industrial equipment 1 drives the controlled device 3 and obtains information from the sensor 301 (Step ST22). The obtained information and the identification information 112 of the industrial equipment 1 itself are transmitted to the extension module 2 (Step ST23).
The processor 202 of the extension module 2 identifies the associated learned machine learning model 205 based on the received identification information 112 (Step ST24). The processor 202 further inputs the transmitted information to the identified learned machine learning model 205 to obtain desired output (Step ST25).
The extension module 2 transmits the obtained output value to the industrial equipment 1 (Step ST26). The processor 104 of the industrial equipment 1 executes processing determined based on a type and a magnitude of the received output value.
In the embodiments described above, the operator prepares the machine learning model 204 (including an intermediate learning model) suitable for the type, for example, model type, of the industrial equipment 1 to be used, or suitable for the configuration of the controlled device 3 connected to the industrial equipment 1, or a suitable machine learning model is explicitly or automatically selected from a plurality of types of the machine learning model 204 stored in the extension module 2 in advance.
However, when a favorable machine learning model 204 is to be prepared for each of various configurations of the controlled device 3 and an applicable intermediate learning model is to be prepared for each use of the controlled device 3, the number of types of the machine learning model 204 to select from is large in some cases. In such cases, it is not advisable to store all of many types of the machine learning model 204 in the memory 201 of the extension module 2 in advance from the viewpoint of the capacity of the memory 201, and it is also considered to be difficult to select an optimum model from many types of the machine learning model 204 unless the operator is skilled.
An embodiment having a configuration in which a favorable model is automatically selected and obtained from many types of the machine learning model 204 including intermediate learning models is described below as a fourth embodiment of the present invention.
In the fourth embodiment of the present invention as well, the industrial equipment 1, the extension module 2, and the controlled device 3 have the same physical configurations as the physical configurations in the preceding embodiments, and have functions that are basically the same as the functions in the preceding embodiments. Components common to the fourth embodiment and the preceding embodiments are therefore denoted by the same reference numerals, and duplicate descriptions are omitted. Further,
A flow of selecting and obtaining the machine learning model 204 in this embodiment is described below with reference to a flow chart illustrated in
In the memory 201 of the extension module 2 at this point, no machine learning model 204 is stored, or some types of the machine learning model 204 (for example, frequently used types) are stored but a type of the machine learning model 204 suitable for the assumed configuration is not stored.
In this case, the extension module 2 collects information required to identify the machine learning model 204 from the industrial equipment 1, and stores the information in the memory 201 (Step ST32). The information required to identify the machine learning model 204 includes information about the industrial equipment and information about the controlled device, more specifically, information for identifying the industrial equipment 1 and information for identifying the controlled device 3 and the configuration of the controlled device 3. The information for identifying the industrial equipment 1 may be the model number of the industrial equipment 1 or the like. The information for identifying the controlled device 3 and the configuration thereof may be the model number of the controlled device 3 and information indicating performance, for example, a capacity of the motor, information indicating a use or a combination of the controlled device 3, and information indicating performance to be accomplished.
The operator then disconnects the extension module 2 from the industrial equipment 1 once (Step ST33), and connects the extension module 2 to a computer connected to an external information communication network, which is the Internet or the like (Step ST34). The extension module 2 transmits the collected information required to identify the machine learning model 204 via the external information communication network to a server connected to the information communication network (Step ST35).
The server to which the collected information is transmitted stores many types of machine learning models including intermediate learning models. The server selects a favorable machine learning model based on the received information, and transmits the selected machine learning model to the extension module 2 (Step ST36).
The extension module 2 stores the machine learning model 204 transmitted from the server in the memory 201 (Step ST37).
Subsequently, machine learning of the machine learning model 204 may be executed by the same steps as the steps described in the preceding first to third embodiments, and a parameter in the industrial equipment 1, or an internal state of the controlled device 3, may be estimated.
While there have been described what are at present considered to be certain embodiments of the invention, it will be understood that various modifications may be made thereto, and it is intended that the appended claims cover all such modifications as fall within the true spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2019-134347 | Jul 2019 | JP | national |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2020/028508 | Jul 2020 | US |
Child | 17580582 | US |