STATE DETERMINATION DEVICE AND STATE DETERMINATION METHOD
20230367304 · 2023-11-16
Inventors
Cpc classification
G05B23/024
PHYSICS
G05B23/0281
PHYSICS
International classification
Abstract
A state determination device includes: a data acquirer configured to acquire data related to an industrial machine; an estimator configured to perform estimation using a learning model based on the acquired data; and a statistical data calculator configured to calculate a statistical quantity in accordance with a predetermined statistical condition and uses the calculated statistical quantity to calculate a statistical estimation value corrected from the estimation value estimated by the estimator and, accordingly, can adapt a state determination result calculated by the learning model to a change in the operation status or the like of the industrial machine.
Claims
1. A state determination device for determining a state of an industrial machine, the state determination device comprising: a data acquirer configured to acquire data related to the industrial machine; a learning model storage configured to store a learning model that learned an operation state of the industrial machine associated with data related to an industrial machine; an estimator configured to, based on the data acquired from the industrial machine by the data acquirer, estimate an estimation value related to the state of the industrial machine by using the learning model stored in the learning model storage; a statistical condition storage configured to, as a condition for calculating a statistical quantity from a plurality of the estimation values estimated by the estimator, store a statistical condition including a statistical function and the number of samples related to calculation of at least the statistical quantity; a statistical data calculator configured to calculate a statistical quantity in accordance with the statistical condition stored in the statistical condition storage and uses the calculated statistical quantity to calculate a statistical estimation value corrected from the estimation value estimated by the estimator; and a determination result output configured to output a result of determination of the state of the industrial machine based on the statistical estimation value, wherein the statistical data calculator configured to calculate a first statistical quantity calculated based on an estimation value estimated by the estimator before an event that occurred in the industrial machine and a second statistical quantity calculated based on an estimation value estimated by the estimator after the event and uses the calculated first statistical quantity and second statistical quantity and a predefined certain correction function to calculate a statistical estimation value corrected from the estimation value estimated by the estimator after the event.
2. The state determination device according to claim 1, wherein the event is at least one of replacement of incidental equipment, a change of an operation condition, a change of a production material, start of an automatic operation, or end of inspection work.
3. The state determination device according to claim 1, wherein the statistical function is to calculate any one of a weighted mean, an arithmetic mean, a weighted harmonic mean, a harmonic mean, a trimmed mean, a root mean square, a minimum value, a maximum value, a mode value, and a weighted median.
4. The state determination device according to claim 1, wherein the statistical condition includes a predetermined exclusion period, and wherein the statistical data calculator excludes estimation values included in the predetermined exclusion period from the estimation value estimated by the estimator after the event and then calculates the second statistical quantity.
5. The state determination device according to claim 1, wherein the correction function is to subtract the second statistical quantity from the first statistical quantity and add a result of the subtraction to the estimation value estimated by the estimator after the event.
6. The state determination device according to claim 1, wherein the learning model was trained by at least one learning method from supervised learning, unsupervised learning, and reinforcement learning.
7. The state determination device according to claim 1, wherein a result of determination output by the determination result output is displayed and output on a display.
8. The state determination device according to claim 1, wherein when the state of the industrial machine is determined as abnormal, the determination result output outputs at least any one of a signal to suspend operation of the industrial machine, a signal to decelerate operation of the industrial machine, or a signal to limit drive torque of a motor driving the industrial machine.
9. The state determination device according to claim 1, wherein the data acquirer is connected to a plurality of industrial machines via a wired or wireless network and acquires data from the plurality of industrial machines.
10. The state determination device according to claim 1, wherein the state determination device is implemented on a higher-level device connected to the industrial machine via a wired or wireless network.
11. A state determination method for determining a state of an industrial machine, the state determination method performing steps of: acquiring data related to the industrial machine; using a learning model that learned an operation state of the industrial machine associated with data related to an industrial machine to estimate an estimation value related to the state of the industrial machine based on data acquired from the industrial machine in the step of acquiring; calculating a statistical quantity from a plurality of the estimation values in accordance with a statistical condition including at least a statistical function and the number of samples related to calculation of a statistical quantity and using the calculated statistical quantity to calculate a statistical estimation value corrected from the estimation values; and outputting a result of determination of the state of the industrial machine based on the statistical estimation value, wherein the step of calculating the statistical estimation value includes calculating a first statistical quantity calculated based on an estimation value estimated in the step of estimating before an event that occurred in the industrial machine and a second statistical quantity calculated based on an estimation value estimated in the step of estimating after the event, and using the calculated first statistical quantity and second statistical quantity and a predefined certain correction function to calculate the statistical estimation value corrected from the estimation value estimated in the step of estimating after the event.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
DESCRIPTION OF EMBODIMENTS
[0028] Embodiments of the present invention will be described below with reference to the drawings.
[0029]
[0030] A state determination device 1 according to the present embodiment can be implemented as, for example, a control device for controlling an industrial machine based on a control program, or can also be implemented in a higher-level device such as a personal computer provided together with a control device for controlling an industrial machine based on a control program or implemented in a personal computer, a cell computer, a fog computer 6, a cloud server 7, or the like connected via a wired/wireless network to the control device. In the present embodiment, an example in which the state determination device 1 is implemented on a personal computer connected via a network 9 to one or more control devices 3 is illustrated. Note that an industrial machine targeted for the state determination by the state determination device of the present invention may be, for example, an injection molding machine, a machine tool, a mining machine, a woodworking machine, an agricultural machine, a construction machine, or the like. In the following, an injection molding machine as one example of such industrial machines will be described.
[0031] A CPU 11 included in the state determination device 1 according to the present embodiment is a processor for controlling the state determination device 1 as a whole. The CPU 11 reads a system program stored in a ROM 12 via a bus 22 and controls the overall state determination device 1 in accordance with the system program. A RAM 13 temporarily stores transitory calculation data and display data, externally input various data, and the like.
[0032] A nonvolatile memory 14 is configured by a memory, a solid state drive (SSD), or the like backed up by a battery, not shown, and the storage state thereof is maintained even when the state determination device 1 is powered off. The nonvolatile memory 14 stores data loaded from an external device 72 via an interface 15, data input from an input device 71 via an interface 18, data acquired from one or more injection molding machines 4 via the network 9, or the like. The data to be stored may include data related to physical quantities such as motor current, a voltage, torque, a position, a velocity, or an acceleration of the drive unit, a pressure inside a mold, a temperature of an injection cylinder, a resin flow rate, a resin flow velocity, vibration or sound of the drive unit, or the like detected by various sensors 5 attached to the injection molding machine 4 controlled by the control device 3, for example. The data stored in the nonvolatile memory 14 may be loaded into the RAM 13 during execution or during use. Further, various system programs such as a known analysis program have been written in the ROM 12 in advance.
[0033] The interface 15 is an interface for connecting the CPU 11 in the state determination device 1 and the external device 72 such as an external storage device to each other. For example, a system program, a program, parameters, or the like related to the operation of the injection molding machine 4 can be loaded from the external device 72. Further, data or the like created or edited on the state determination device 1 can be stored in an external storage medium (not shown) such as a CF card, a USB memory, or the like via the external device 72.
[0034] The interface 20 is an interface for connecting the CPU in the state determination device 1 and the wired or wireless network 9 to each other. For example, the network 9 may be a network where any technology such as serial communication of RS-485 or the like, Ethernet (registered trademark) communication, optical communication, wireless LAN, Wi-Fi (registered trademark), Bluetooth (registered trademark), or the like may be used in communication. The control device 3 for controlling the injection molding machine 4, the fog computer 6, the cloud server 7, and the like are connected to the network 9 and transfer data to and from the state determination device 1.
[0035] Individual data loaded onto the memory, data obtained as a result of execution of a program or the like, data output from a machine learning device 2 described later, or the like are output via the interface 17 to a display device 70 and displayed on the display 70. Further, the input 71 configured by a keyboard, a pointing device, or the like passes instructions, data, or the like, which are based on an operator operation, via the interface 18 to the CPU 11.
[0036] An interface 21 is an interface for connecting the CPU 11 and the machine learning device 2 to each other. The machine learning device 2 includes a processor 201 for controlling the overall machine learning device 2, a ROM 202 storing a system program or the like, a RAM 203 used in temporary storage in each process related to machine learning, and a nonvolatile memory 204 used for storage of a learning model or the like. The machine learning device 2 can observe data (for example, data related to physical quantities such as motor current, a voltage, torque, a position, a velocity, or an acceleration of the drive unit, a pressure inside a mold, a temperature of an injection cylinder, a resin flow rate, a resin flow velocity, and vibration or sound of the drive unit, detected by various sensors 5 attached to the injection molding machine 4) that can be acquired by the state determination device 1 via the interface 21. Further, the state determination device 1 acquires a process result output from the machine learning device 2 via the interface 21 and stores, displays, or transmits the acquired result via the network 9 or the like to another device.
[0037]
[0038] The injection molding machine 4 is configured mainly by a clamping unit 401 and an injection unit 402. The clamping unit 401 is provided with a movable platen 416 and a stationary platen 414. Further, a movable-side mold 412 is attached to the movable platen 416, and a stationary-side mold 411 is attached to the stationary platen 414. On the other hand, the injection unit 402 is configured by an injection cylinder 426, a hopper 436 for reserving a resin material to be supplied to the injection cylinder 426, and a nozzle 440 provided to the tip of the injection cylinder 426. In a molding cycle for manufacturing a single molded article, the movable platen 416 is moved to perform mold-closing and mold-clamping in the clamping unit 401, and the nozzle 440 is pressed against the stationary-side mold 411 and resin is then injected into the mold in the injection unit 402. These operations are controlled by instructions from the control device 3.
[0039] Further, the sensors 5 are attached to respective portions of the injection molding machines 4, and physical quantities such as motor current, a voltage, torque, a position, a velocity, or an acceleration of the drive unit, a pressure inside a mold, a temperature of the injection cylinder 426, a resin flow rate, a resin flow velocity, and vibration and sound of the drive unit are detected and transmitted to the control device 3. In the control device 3, each detected physical quantity is stored in a RAM, a nonvolatile memory, or the like, not shown, and transmitted via the network 9 to the state determination device 1 as needed.
[0040]
[0041] Each function of the state determination device 1 according to the present embodiment is implemented when the CPU 11 included in the state determination device 1 and the processor 201 included in the machine learning device 2 illustrated in
[0042] The state determination device 1 of the present embodiment includes a data acquirer 100, a data extractor 110, an estimation instructor 120, a statistical data calculator 130, and a determination result output 140. Further, the machine learning device 2 includes an estimator 207. Furthermore, an acquisition data storage 300 as an area for storing data acquired from the control device 3 or the like by the data acquirer 100, a statistical condition storage 310 that stores in advance statistical conditions used in calculation of statistical data by the statistical data calculator 130, and a statistical data storage 320 as an area for storing statistical data calculated by the statistical data calculator 130 are prepared in the RAM 13 and the nonvolatile memory 14 in the state determination device 1. Further, in the RAM 203 or the nonvolatile memory 204 in the machine learning device 2, a learning model storage 210 is prepared as an area for storing a learning model 214 that has been created by a trainer described later and has learned correlation between data related to a predetermined physical quantity acquired from an industrial machine and a state related to the industrial machine.
[0043] The data acquirer 100 is implemented when the CPU 11 included in the state determination device 1 illustrated in
[0044]
[0045] The data related to the physical quantities acquired by the data acquirer 100 are stored in the acquisition data storage 300.
[0046] The data extractor 110 is implemented when the CPU 11 included in the state determination device 1 shown in
[0047] The estimation instructor 120 is implemented when the CPU 11 included in the state determination device 1 shown in
[0048] The statistical data calculator 130 is implemented when the CPU 11 included in the state determination device 1 illustrated in
[0049]
[0050] As illustrated in
[0051] The statistical data calculator 130 calculates a predetermined statistical quantity before and after event occurrence by performing a predetermined statistical process in accordance with statistical conditions stored in the statistical condition storage 310. The predetermined event may be, for example, an event indicating that the running state or the operation state of the injection molding machine 4 has been changed, such as a mold replacement signal, an automatic operation start signal, a change of operation conditions (a parameter, a program), or the like.
[0052] The statistical condition stored in the statistical condition storage 310 defines a condition to calculate a statistical quantity from a plurality of estimated results for the state of the injection molding machine 4 output by the machine learning device 2.
[0053] The statistical conditions include at least a statistical function used for calculation of a statistical quantity (a weighted mean (including an arithmetic mean), a weighted harmonic mean (including a harmonic mean), a trimmed mean, a root mean square, a minimum value, a maximum value, a mode value, a weighted median, or the like) and the number of samples of estimation values. Note that, in determining a statistical function defined in the statistical condition, it is preferable for the operator to visually check the distribution state of estimation values plotted in
[0054] In the example of
[0055] Note that the statistical conditions stored in the statistical condition storage 310 may be configured such that the statistical conditions can be manually set and updated via an operation of the input 71 from the operation screen displayed on the display 70, as illustrated in
[0056] It is here assumed that the statistical conditions exemplified as an example in
[0057]
[0058] The determination result output 140 is implemented when the CPU 11 included in the state determination device 1 illustrated in
[0059] On the other hand, the estimator 207 included in the machine learning device 2 is implemented when the processor 201 included in the machine learning device 2 illustrated in
[0060] The learning model 214 is stored in advance in the learning model storage 210. The learning model 214 is created in advance and stored in the learning model storage 210. The learning model 214 has been trained based on data related to physical quantities acquired from the injection molding machine 4 in a predetermined running state or a predetermined operation state. The learning model used for state determination of the injection molding machine may be learning models created for respective steps (respective operation status) with training data determined by acquiring data related to physical quantities (for example, an injection speed and a pressure inside the mold in the injection step, and a screw rotation speed, screw torque, and a pressure inside the cylinder in the measuring step) that differ for respective steps (the injection step, the pressure keeping step, the measuring step, the depressurizing step, the cooling step, and the like) of the molding cycle. The estimation value estimated by using the learning model 214 may be, for example, power consumption for each step of the molding cycle, an abnormal degree related to quality of a molded article, or an amount of wear on a check-valve of an injection cylinder included in the injection molding machine 4, but is not limited to thereto and may be an index that can be used in determining whether or not there is an anomaly of the operation state of the injection molding machine 4.
[0061] The learning model used in state determination of the injection molding machine 4 may be created by a learning algorithm such as known supervised learning (multilayer perceptron, coupled recurrent neural network, convolutional neural network, or the like), unsupervised learning (autoencoder, k-means clustering, generative adversarial network, or the like), or reinforcement learning (Q-learning or the like). Further, components of learning algorithms (a type of hyperparameter such as a learning rate, a type of an optimization function during machine learning, or the like) for creating respective learning models may be configured based on a known technology. The learning models created by respective learning algorithms may differ in the calculation load during a learning process and an estimation process (calculation time), the accuracy of estimation values, the robustness against learning data (stability). It is thus preferable to select suitable learning algorithm in accordance with the purpose of state determination.
[0062] The learning model used in state determination related to an industrial machine may be stored in a compressed state in advance and then decompressed and used before computation. This enables efficient use of the memory or operation with a smaller capacity and therefore has an advantage of reduced cost. Further, the learning model may be encrypted and stored. Encrypting and storing a learning model is preferable in terms of security or information concealment.
[0063] The state determination device 1 according to the present embodiment having the above configuration can use estimation values resulted from a single learning model obtained by machine learning for general purposes even when various changes of the running state or the operation state occur and therefore actualizes improved determination accuracy and robust determination in various states. Further, since versatility of estimation values calculated by a learning model is increased, the working time and cost related to acquisition work of various measurement values (learning data) and creation work of a learning model can be reduced, and work efficiency can thus be improved.
[0064] As described above, although one embodiment of the present invention has been described, the present invention is not limited to only the examples of the embodiment described above and can be implemented in various manners with a suitable modification.
[0065] Although an example with an injection molding machine has been described in the above embodiment, a target of state determination may be another industrial machine. For example, in a machine tool, the abnormal degree of a spindle may be determined by a plurality of learning models associated with a cutting tool assembled to the spindle, the type or the flow rate of a processing liquid for cooling the cutting tool, the workpiece material, or the like. In a woodworking machine, the abnormal degree of a rotation tool may be determined by a plurality of learning models associated with the type, the rotation speed, or the like of the rotation tool. In an agricultural machine, the abnormal degree of the drive unit may be determined by a plurality of learning models associated with drive force applied to the drive unit, equipment provided to the drive unit, or the like. In a construction machine or a mining machine, the abnormal degree of a hydraulic cylinder may be determined by a plurality of learning models associated with, for example, the type of a hydraulic hose connected to the hydraulic cylinder, the motor output, or the operation environment. It is possible to determine an abnormal degree by using a statistical estimation value corrected from estimation values estimated by respective learning models in accordance with an event such as a change of operation conditions such as a speed related to the operation of respective industrial machines or replacement of incidental equipment.
[0066] Further, when a plurality of industrial machines are connected to each other via the network 9, data may be acquired from these industrial machines to determine the states of respective industrial machines by a single state determination device 1. Alternatively, state determination devices 1 may be arranged on respective control devices provided to the plurality of industrial machines to determine the states of respective industrial machines by using the state determination devices 1 provided to these industrial machines, respectively.