Machine learning device, data processing system, reasoning device and machine learning method
Through the machine learning device, the time series data of the main valve opening, the solenoid valve output side pressure and the driving device acceleration are used to generate a learning model, which solves the problem of accuracy differences in abnormal diagnosis of fluid pressure driven valves and achieves high-precision predictive maintenance.
Patent Information
- Application Number
- CN202180021503.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-04-28
- Filing Date
- 2021-04-09
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-04-09
AI Technical Summary
Abnormal diagnosis of existing fluid pressure driven valves relies on the operator's experience, resulting in differences in accuracy, and it is difficult to predict abnormal signs during subsequent maintenance.
A machine learning device is used to generate a learning model to infer the abnormality of the drive device through the learning data set including the main valve opening, the solenoid valve output side pressure and the time series data of the drive device acceleration.
It achieves high-precision anomaly diagnosis, reduces dependence on operator experience, and improves the accuracy of predictive maintenance.
Smart Images

Figure CN115427718B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a machine learning device, a data processing system, an inference device and a machine learning method for performing abnormality diagnosis of a valve system. Background Art
[0002] Conventionally, there is known a fluid pressure driven valve that uses a solenoid valve to control a driving fluid to open and close a main valve via a driving device. For example, Patent Document 1 discloses an emergency shutoff valve device that uses a solenoid valve to control a driving fluid and close a ball valve (main valve) via a driving device to cut off the fluid flowing in the piping in an emergency when an abnormality occurs in the equipment.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2009-97539 Summary of the invention
[0006] Problem that the invention aims to solve
[0007] In a fluid pressure driven valve such as an emergency shutoff valve for a complete plant as shown in Patent Document 1, it is preferred that unexpected abnormalities do not occur in order to improve the overall operating rate and reliability of the complete plant. Therefore, in such a fluid pressure driven valve, it is desirable not only to perform post-operation maintenance to identify the abnormality when it occurs, but also to implement predictive maintenance to identify abnormal signs.
[0008] Here, the abnormality signs of the fluid pressure driven valve composed of the solenoid valve, the drive device and the main valve may be manifested in various phenomena, but the causal relationship between the phenomena that may occur in the fluid pressure driven valve and the abnormality signs has not been clearly determined. As a result, the predictive maintenance of the fluid pressure driven valve is implemented based on the judgment that depends on the operator's experience (including implicit knowledge), and there is a problem that its accuracy varies depending on the responsible operator.
[0009] The present invention is completed in view of the above-mentioned problems, and its purpose is to provide a machine learning device, a data processing system, an inference device and a machine learning method for accurately grasping anomalies and signs of abnormalities in fluid pressure driven valves, especially driving devices (hereinafter collectively referred to as "abnormalities" in the present invention).
[0010] Solutions for solving problems
[0011] In order to achieve the above-mentioned object, a machine learning device according to a first aspect of the present invention is, for example, Figure 1As shown in FIG. 5 , the machine learning device is applied to a fluid pressure driven valve 10 including at least a main valve 11, a driving device 12 including a cylinder 120 and pistons 122A and 122B for driving the main valve 11, and a solenoid valve 1 for controlling the supply and discharge of a driving fluid A for the driving device 12. The machine learning device comprises: a learning data set storage unit 202, which stores a plurality of learning data sets consisting of input data and output data, wherein the input data includes time series data of the valve opening of the main valve 11 during a specified period, time series data of the solenoid valve 1 supplying and discharging the driving fluid A from the solenoid valve 1 to the driving device 12 during the specified period, and time series data of the solenoid valve 1 supplying and discharging the driving fluid A to the driving device 12. The timing data of the output side pressure and the timing data of the acceleration of the driving device 12 based on the vibration generated between the cylinder 120 and the pistons 122A, 122B during the specified period, the output data is composed of the diagnostic information of the driving device 12 that has established a corresponding relationship with the input data; a learning unit 203, which learns a learning model for inferring the correlation between the input data and the output data by inputting a plurality of sets of the learning data sets; and a learned model storage unit 204, which stores the learning model learned by the learning unit 203.
[0012] Effects of the Invention
[0013] The machine learning device of the present invention can provide a learned model that can infer whether an abnormality has occurred in the drive device based on various information that can be obtained when the fluid pressure driven valve is operating stably. Therefore, by using the learned model, an abnormality that has occurred in the drive device can be inferred with high accuracy without relying on the operator's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a schematic diagram showing an example of a fluid pressure driven valve of a machine learning device or the like to which an embodiment of the present invention is applied.
[0015] Figure 2 This is a schematic diagram showing an example of a driving device such as a machine learning device to which one embodiment of the present invention is applied.
[0016] Figure 3 This is a schematic diagram showing an example of a solenoid valve to which a machine learning device or the like according to an embodiment of the present invention is applied.
[0017] Figure 4 This is a block diagram showing an example of a solenoid valve to which a machine learning device or the like according to an embodiment of the present invention is applied.
[0018] Figure 5 This is a schematic block diagram of a machine learning device according to one embodiment of the present invention.
[0019] Figure 6 This is a diagram showing a configuration example (supervised learning) of data used in a machine learning device or the like according to an embodiment of the present invention.
[0020] Figure 7 This is a diagram showing a configuration example of data (unsupervised learning) used in a machine learning device or the like according to an embodiment of the present invention.
[0021] Figure 8 This is a diagram showing an example of a neural network model for supervised learning implemented in a machine learning device according to one embodiment of the present invention.
[0022] Fig. 9 is a flowchart illustrating an example of a machine learning method according to one embodiment of the present invention.
[0023] Fig.10 This is a schematic block diagram showing a data processing system according to one embodiment of the present invention.
[0024] Fig.11 Detailed description of the invention is a flowchart showing an example of a data processing procedure of a data processing system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] Hereinafter, various embodiments for implementing the present invention will be described with reference to the accompanying drawings. It should be noted that the following schematically shows the scope required for the description of the purpose of the present invention, mainly describing the scope required for the description of the corresponding parts of the present invention, and the omitted description is based on the known technology.
[0026] Before describing a machine learning device, a data processing system, an inference device, and a machine learning method according to an embodiment of the present invention, a fluid pressure driven valve to which the machine learning device and the like are applied will be described below.
[0027] (Fluid pressure actuated valve)
[0028] Figure 1 1 is a schematic diagram showing an example of a fluid pressure driven valve 10 according to an embodiment of the present invention. The fluid pressure driven valve 10 in this embodiment can be used, for example, as an emergency shut-off valve, which is provided in a pipe 100 for the flow of various gases or oil in a complete set of equipment, and is used to cut off the flow of the pipe 100 when the complete set of equipment stops due to an abnormality or the like. In addition, the installation position and use of the fluid pressure driven valve 10 are not limited to the above example.
[0029] Figure 1The fluid pressure driven valve 10 shown comprises: a main valve 11, which is arranged in the middle of the piping 100; a fluid pressure driving device 12, which drives a valve stem 13a connected to the main valve 11 according to the fluid pressure of the driving fluid, thereby opening and closing the main valve 11; and an electromagnetic valve 1, which has the function of controlling the supply and discharge of the driving fluid to the driving device 12.
[0030] The driving fluid used in the fluid pressure driven valve 10 is pneumatic meter compressed air (hereinafter referred to as "air") A. The air A is supplied from the air supply source 14 to the solenoid valve 1 via the first air pipe 140, and then supplied to the driving device 12 via the second air pipe 141. In addition, the fluid pressure driven valve 10 is connected to a communication cable 150 for sending and receiving various data between the external device 15 and the solenoid valve 1 and a power cable 160 for supplying power to the solenoid valve 1 from the external power supply 16. It should be noted that the driving fluid is not limited to the above-mentioned air A, and can also be other gases or liquids (such as oil).
[0031] The external device 15 is a device for sending and receiving various information between the fluid pressure driven valve 10, and is composed of, for example, a computer for equipment management (including a local server and a cloud server), a diagnostic computer used by an operator (maintenance and repair person), or an external storage unit such as a USB memory or an external HDD. The external device 15 can also be connected to the machine learning device 200 described later to send various data that constitute a learning data set. In addition, the external device 15 has a reporting unit composed of a GUI (Graphical User Interface) and the like, and the reporting unit is used to report the occurrence of an abnormality and its content to the operator and the like when an abnormality occurs in the fluid pressure driven valve 10. It should be noted that wireless communication can also be used for communication between the external device 15 and the solenoid valve 1.
[0032] The fluid pressure driven valve 10 of this embodiment is driven by an airless closing method. Therefore, during stable operation, the main valve 11 is opened by supplying air A (air supply) from the air supply source 14 to the drive device 12 via the solenoid valve 1, and during emergency stop or test operation, the main valve 11 is closed by exhausting air A (exhaust) from the drive device 12 via the solenoid valve 1. It should be noted that the fluid pressure driven valve 10 may also adopt an airless opening method, in which case the closing operation is performed by supplying air A to the drive device 12, and the closing operation is performed by exhausting air A from the drive device 12.
[0033] The main valve 11 is a ball valve. The specific structure of the main valve 11 includes a valve body 110 disposed in the middle of the pipe 100 and a spherical valve core 111 rotatably disposed in the valve body 110. A valve stem 13a is connected to the upper part of the valve core 111. The valve core 111 rotates in the valve body 110 in response to the valve stem 13a rotating 0 to 90 degrees. In the fully open state ( Figure 1 It should be noted that the valve used as the main valve 11 is not limited to a ball valve, and may be, for example, a butterfly valve or other two-position valve.
[0034] The drive device 12 adopts a single-acting cylinder mechanism arranged between the main valve 11 and the solenoid valve 1. As a specific structure of the drive device 12, it has: a cylindrical cylinder 120 having a spring chamber 127 and a cylinder chamber 128; a pair of pistons 122A and 122B, which are arranged in the cylinder 120 so as to be reciprocatingly linearly movable and connected via a piston rod 121; a coil spring 123, which is arranged in the spring chamber 127 formed on the side of the first piston 122A; an air supply and exhaust port 124, which is connected to the cylinder chamber 128 formed on the side of the second piston 122B; and a transmission mechanism 125, which is arranged at a portion orthogonal to the main shaft 13b and the piston rod 121 arranged in a manner that penetrates the cylinder 120 in the radial direction. It should be noted that the drive device 12 is not limited to the single-acting type, and can also be composed of other forms such as a multi-acting type.
[0035] The first piston 122A is urged by the coil spring 123 provided in the spring chamber 127 to move the main valve 11 in the closing direction. In addition, the second piston 122B is pushed by the air A (air supply) supplied from the air supply and exhaust port 124 to the cylinder chamber 128 to move the main valve 11 in the opening direction (overcoming the force of the coil spring 123). In addition, the transmission mechanism 125 is composed of a gear rack mechanism, a scotch yoke mechanism, a connecting rod mechanism, a cam mechanism, etc., and converts the reciprocating linear motion of the piston rod 121 into a rotational motion and transmits it to the main shaft 13b of the drive device 12.
[0036] Figure 2 1 is a schematic diagram showing an example of a driving device 12 to which a machine learning device or the like according to an embodiment of the present invention is applied. Figure 2 (a) shows an example in which the transmission mechanism 125 is a rack and pinion mechanism. Figure 2 (b) shows an example in which the transmission mechanism 125 is a Scotch yoke mechanism.
[0037] For example, Figure 2As shown in (a), when the transmission mechanism 125 is a rack and pinion mechanism, the piston 122 and the piston rod 121 perform reciprocating linear motion by supplying air A to the cylinder 120 or exhausting air A from the cylinder 120. Then, the rack 125a provided on the piston rod 121 performs reciprocating linear motion. Then, the pinion 125b that contacts and meshes with the rack 125a rotates. Then, the main shaft 13b that rotates in the same manner as the pinion 125b performs rotational motion.
[0038] In addition, if Figure 2 As shown in (b), when the transmission mechanism 125 is a scotch yoke mechanism, by supplying air A to the cylinder 120 or exhausting air A from the cylinder 120, the pistons 122A, 122B and the piston rod 121 perform reciprocating linear motion. Then, the roller pin 125c that moves in the same manner as the piston rod 121 performs reciprocating linear motion. Next, the yoke 125d assembled to contact eccentrically with respect to the roller pin 125c axis rotates 90 degrees. Then, the main shaft 13b that rotates 90 degrees in the same manner as the yoke 125d performs rotational motion.
[0039] The drive device 12 further includes stoppers 126A and 126B that can change the positions of the pistons 122A and 122B, respectively, and a drive state sensor 49 that acquires the states of the various parts of the drive device 12. Figure 2 (a) and Figure 2 In the example shown in (b), the stoppers 126A and 126B are constituted by bolts provided on the axis of the piston rod 121 of the cylinder housings 120A and 120B of the cylinder 120, respectively.
[0040] The driving state sensor 49 is, for example, a position sensor 491, an acceleration sensor 492, and a temperature / humidity sensor 493. Figure 2 (a) and Figure 2 In the example shown in (b), as the driving state sensor 49, two position sensors 491, two acceleration sensors 492 and two (in Figure 2 (b) Three) temperature / humidity sensors 493 are installed on the stoppers 126A, 126B or the cylinder 120.
[0041] The position sensor 491 detects the position of the piston 122A, 122B or the piston rod 121 relative to the cylinder housing 120A, 120B of the cylinder 120. The position sensor 491 is, for example, mounted on the first stopper 126A and the second stopper 126B, respectively, and measures the position (distance) of the piston 122A, 122B or the piston rod 121 relative to the cylinder 120. The position sensor 491 is composed of an ultrasonic sensor, an infrared sensor, a Hall sensor, a reading sensor, and the like.
[0042] The acceleration sensor 492 measures the acceleration generated in the cylinder 120. Specifically, the acceleration sensor 492 measures the vibration of the drive device 12 generated when the pistons 122A and 122B reciprocate linearly in the cylinder 120, and the vibration (impact) of the drive device 12 generated when the piston 122 collides with the stoppers 126A and 126B as the acceleration of the drive device 12.
[0043] The temperature / humidity sensor 493 is installed in a screw hole formed in the cylinder 120, for example, to detect the temperature and humidity in the cylinder 120. The temperature / humidity sensor 493 is composed of a temperature sensor for detecting temperature and a humidity sensor for detecting relative humidity. Figure 2 As shown, when the driving device 12 is a single-acting type, the air supply and exhaust port 124a is connected to the solenoid valve 1, and the air supply and exhaust ports 124b and 124c are open to the external environment. Therefore, the temperature / humidity sensor 493 detects the temperature and humidity of the air A (driving fluid) supplied and exhausted from the solenoid valve 1 to the cylinder 120 via the air supply and exhaust port 124a, and detects the temperature and humidity of the external gas (external air) supplied and exhausted from the external environment to the cylinder 120 via the air supply and exhaust ports 124b and 124c. In addition, when the driving device 12 is of a multi-action type, the air supply ports 124a and 124b are connected to the solenoid valve 1, and air A is alternately supplied or discharged from the solenoid valve 1 via the air supply ports 124a and 124b to the left and right air chambers formed in the cylinder 120 with the second piston 122B as the boundary, and the air supply and exhaust port 124c is open to the external environment. Therefore, the temperature / humidity sensor 493 detects the temperature and humidity of the air A (driving fluid) supplied and discharged from the solenoid valve 1 via the air supply and exhaust ports 124a and 124b to the cylinder 120, and detects the temperature and humidity of the external gas (external air) supplied and discharged from the external environment to the cylinder 120 via the air supply and exhaust ports 124c.
[0044] It should be noted that the location and number of the drive state sensors 49 installed in the drive device 12 are not limited to Figure 2 The example shown may be modified as appropriate. For example, the position sensor 491 may be mounted on the cylinder housing 120A, 120B. The acceleration sensor 492 may be mounted on the cylinder housing 120A, 120B, or may be mounted on the base end of the stopper 126A (see Figure 2 (b)) and is installed at the top end of the stopper 126A. The temperature / humidity sensor 493 may also be installed in the air supply and exhaust port 124a connected to the solenoid valve 1, the first air piping 140, the second air piping 141, or the inside of the solenoid valve 1. In addition, the temperature / humidity sensor 493 may also be installed in any one of the air supply and exhaust ports 124b and 124c open to the external environment, or in any one of the long pipe joints and T-shaped pipe joints connected to any one of the air supply and exhaust ports 124b and 124c.
[0045] The valve stem 13a of the main valve 11, the main shaft 13b of the driving device 12, and the shaft 13c of the solenoid valve 1 are each formed in a shaft shape in a rotatable state. The main shaft 13b of the driving device 12 is arranged to penetrate the driving device 12. The valve stem 13a of the main valve 11 and the shaft 13c of the solenoid valve 1 are connected to the main shaft 13b of the driving device 12 via a coupling, a connector, etc. in a straight line, and perform a rotational motion synchronized with the drive of the main shaft 13b.
[0046] The solenoid valve 1 has a function of controlling the supply and exhaust of air A for the drive device 12, and is configured as a normally closed two-position ("open" when energized, "closed" when not energized) three-way solenoid valve, for example. The solenoid valve 1 has a slide valve portion 2 for switching the flow path of the air A and a solenoid portion 3 for displacing the slide valve portion 2 according to the energized state (energized or not energized) inside a housing portion 6 that functions as a shell of an indoor or explosion-proof solenoid valve 1. It should be noted that the solenoid valve 1 is not limited to the three-way solenoid valve of the above type, and may also be a three-position solenoid valve, a normally open solenoid valve, a four-way solenoid valve, etc., and may be configured in various forms based on any combination thereof. In addition, in the present embodiment, the solenoid valve 1 is used as a pilot valve in the fluid pressure drive valve 10, but the use of the solenoid valve 1 is not limited to this.
[0047] The slide valve portion 2 includes an input port 20 connected to the air supply source 14 via a first air pipe 140 , an output port 21 connected to the drive device 12 via a second air pipe 141 , and an exhaust port 22 for exhausting exhaust gas from the drive device 12 .
[0048] The solenoid portion 3 displaces the spool portion 2 when energized so that the input port 20 communicates with the output port 21 , and displaces the spool portion 2 when de-energized so that the output port 21 communicates with the exhaust port 22 .
[0049] Through the above series of structures, when the solenoid valve 1 is in the energized state, the air A (air supply) from the air supply source 14 flows through the first air pipe 140, the input port 20, the output port 21 and the second air pipe 141 in sequence, and is supplied to the air supply and exhaust port 124, thereby the second piston 122B is pushed and the coil spring 123 is compressed. And when the valve stem 13a of the main valve 11 connected to the main shaft 13b through the connector rotates by the amount corresponding to the compression of the coil spring 123 by the piston rod 121 and the transmission mechanism 125, the valve core 111 rotates in the valve body 110, and the main valve 11 is operated to the fully open state.
[0050] On the other hand, when the solenoid valve 1 is in a non-energized state, the air A (exhaust) in the cylinder 120 flows from the air supply and exhaust port 124 through the second air pipe 141, the output port 21, and the exhaust port 22 in sequence and is discharged to the outside air, thereby reducing the pressing force of the second piston 122B and restoring the coil spring 123 from the compressed state. Furthermore, when the valve stem 13a of the main valve 11 connected to the main shaft 13b via the connector is rotated by the amount of movement of the piston rod 121 corresponding to the restoration of the coil spring 123 via the transmission mechanism 125, the valve core 111 rotates in the valve body 110, and the main valve 11 is operated to a fully closed state.
[0051] Figure 3 FIG. 1 is a cross-sectional view showing an example of a solenoid valve 1 according to an embodiment of the present invention. Figure 3 As shown, the solenoid valve 1 of the present embodiment, in addition to the above-mentioned sliding valve portion 2 and solenoid portion 3, further comprises: a plurality of sensors 4, which obtain the states of various parts of the solenoid valve 1; a substrate 5, on which at least one of the plurality of sensors 4 is carried; and a housing portion 6, which houses the sliding valve portion 2, the solenoid portion 3, the plurality of sensors 4 and the substrate 5.
[0052] The housing portion 6 includes: a first housing portion 60 that houses the slide valve portion 2; a second housing portion 61 that is adjacent to the first housing portion 60 and houses the solenoid portion 3, the plurality of sensors 4, and the substrate 5; and a junction box 62 that connects the communication cable 150 and the power cable 160. The first housing portion 60 and the second housing portion 61 are made of a metal material such as aluminum.
[0053] The first housing portion 60 has openings (not shown) that function as the input port 20 , the output port 21 , and the exhaust port 22 , respectively.
[0054] The second housing portion 61 comprises: a cylindrical outer shell 610, both ends of which (a first outer shell end 610a and a second outer shell end 610b) are open; a main body 611, which is arranged inside the outer shell 610; a solenoid cover 612, which covers the solenoid portion 3 fixed to the first outer shell end 610a to isolate the outside air; and a junction box cover 613, which covers the junction box 62 fixed to the second outer shell end 610b to isolate the outside air.
[0055] The housing 610 has: an axis insertion port 610c formed at the lower portion of the housing 610 for inserting the axis 13c; a body insertion port 610d formed at the upper portion of the housing 610 for inserting the body 611; and a cable insertion port 610e formed at the side of the second housing end 610b for inserting the communication cable 150 and the power cable 160.
[0056] In the first housing portion 60 and the second housing portion 61, there are formed, in a manner that penetrates the main body 611, a first flow path 63 that branches from the input side flow path 26 and connects the input side flow path 26 with the first pressure sensor 40; a second flow path 64 that branches from the output side flow path 27 and connects the output side flow path 27 with the second pressure sensor 41; and a slide valve flow path 65 for the flow of air A that is used to link the slide valve portion 2 and the solenoid portion 3.
[0057] The slide valve portion 2 includes: a slide valve hole 23 formed in a second housing portion 61 functioning as a slide valve housing; a slide valve 24 movably disposed in the slide valve hole 23; a slide valve spring 25 urging the slide valve 24; an input side flow path 26 communicating between the input port 20 and the slide valve hole 23; an output side flow path 27 communicating between the output port 21 and the slide valve hole 23; and an exhaust flow path 28 communicating between the exhaust port 22 and the slide valve hole 23.
[0058] The solenoid portion 3 includes: a solenoid housing 30; a solenoid coil 31 housed in the solenoid housing 30; a movable iron core 32 movably disposed in the solenoid coil 31; a fixed iron core 33 disposed in a fixed state in the solenoid coil 31; and a solenoid spring 34 that applies force to the movable iron core 32.
[0059] When the solenoid valve 1 is switched from the non-energized state to the energized state, in the solenoid portion 3, a coil current flows through the solenoid coil 31, thereby generating an electromagnetic force in the solenoid coil 31, and the movable iron core 32 overcomes the urging force of the solenoid spring 34 by the electromagnetic force and is attracted by the fixed iron core 33, thereby switching the flow state of the air A flowing in the slide valve flow path 65. In addition, in the slide valve portion 2, by switching the flow state of the air A flowing in the slide valve flow path 65, the slide valve 24 overcomes the urging force of the slide valve spring 25 and moves, thereby switching from a state of connecting the input port 20 and the exhaust port 22 to a state of connecting the input port 20 and the output port 21.
[0060] The substrate 5 includes a first substrate 50 disposed with substrate surfaces 500A and 500B along the shaft 13 c inserted from the shaft insertion port 610 c , a second substrate 51 disposed close to the junction box 62 , and a third substrate 52 disposed close to the solenoid portion 3 .
[0061] The main body 611, the solenoid portion 3, and the third substrate 52 are arranged on the first substrate surface 500A side of the substrate surfaces 500A and 500B of the first substrate 50. The second substrate 51 and the junction box 62 are arranged on the second substrate surface 500B side opposite to the first substrate surface 500A side.
[0062] Sensors 4 are arranged at appropriate positions of the first substrate 50, the second substrate 51, and the third substrate 52. The sensors 4 include, for example: a first pressure sensor 40 that measures the fluid pressure of the air A flowing in the input side flow path 26 and the first flow path 63; a second pressure sensor 41 that measures the fluid pressure of the air A flowing in the output side flow path 27 and the second flow path 64; and a main valve opening sensor 42 that measures the rotation angle of the shaft 13c of the solenoid valve 1 when it rotates via the main shaft 13b of the drive device 12 with the help of the rotation of the valve stem 13a from the main valve 11, and obtains the valve opening information of the main valve 11 based on the rotation angle.
[0063] The main valve opening sensor 42 is composed of, for example, a magnetic sensor, and measures the magnetic field strength generated by the permanent magnet 131 mounted on the shaft 13c, and obtains valve opening information of the main valve 11 based on the magnetic field strength. The main valve opening sensor 42 is preferably mounted on a first substrate surface 500A of the first substrate 5 arranged along the shaft 13c inserted from the shaft insertion port 610c, at a position opposite to the outer periphery of the shaft 13c. Thus, in the housing portion 6, the main valve opening sensor 42 mounted on the first substrate 50 and the shaft 13c can be arranged close to each other without wasting the arrangement space, so that the valve opening information can be accurately obtained.
[0064] Figure 4 1 is a block diagram showing an example of a solenoid valve 1 and a fluid pressure driven valve 10 according to an embodiment of the present invention. Figure 4 As shown, the electrical configuration example of the solenoid valve 1 includes, in addition to the substrate 3 and the sensor 4 , a control unit 7 for controlling the solenoid valve 1 , a communication unit 8 for communicating with an external device 15 , and a power circuit unit 9 connected to an external power source 16 .
[0065] The multiple sensors 4 serve as a sensor group for measuring the physical quantities of each part. In addition to the above-mentioned first pressure sensor 40, second pressure sensor 41, and main valve opening sensor 42, they also have: a voltage sensor 43, which measures the supply voltage to the solenoid part 3; a current / resistance sensor 44, which measures the current value when power is supplied to the solenoid part 3 and the resistance value when power is not supplied; a temperature sensor 45, which measures the internal temperature of the housing part 6; and a magnetic sensor 46, which measures the magnetic field strength generated by the solenoid part 3.
[0066] In addition, multiple sensors 4 serve as a sensor group for obtaining information related to the action history of each part, and include: an operation timer (timer) 47, which measures at least one of the total power-on time of the solenoid part 3 as the operation time of the solenoid part 3 and the current power-on linkage time; and an action counter (counter) 48, which counts the number of actions of the solenoid valve 1, the drive device 12 and the main valve 11 respectively.
[0067] It should be noted that the multiple sensors 4 (hereinafter, "multiple sensors 4" is defined as sensors indicated by reference numerals 40 to 49 including a driving state sensor 49) are not limited to being individually provided as described above, and a specific sensor may also have the functions of other sensors without separately providing the other sensors. For example, the magnetic field strength generated by the solenoid portion 3 may be measured by the magnetic sensor 46, and the current value when power is supplied to the solenoid portion 3 may be calculated based on the magnetic field strength, thereby not separately providing the current / resistance sensor 44. In addition, the microcontroller 70 may have built-in sensor functions or implement part of the sensor functions. For example, the microcontroller 70 may have built-in operation timer 47 and action counter 48, thereby not separately providing the operation timer 47 and action counter 48.
[0068] The control unit 7 includes: a microcontroller 70, which processes information obtained by multiple sensors 4 indicating the status of various parts of the fluid pressure driven valve 10 including the solenoid valve 1 and the drive device 12, and controls various parts of the fluid pressure driven valve 10; and a valve test switch 71, which controls the power supply state of the solenoid part 3 and implements the opening and closing operation of the main valve 11 during trial operation.
[0069] The microcontroller 70 includes a processor (not shown) such as a CPU (Central Processing Unit) and a memory including a ROM (Read Only Memory) and a RAM (Random Access Memory). The microcontroller 70 can include functions for realizing a data processing system 300 described later in this embodiment.
[0070] The valve test switch 71 is used to receive a command from the microcontroller 70 when a predetermined test operation condition is satisfied, and to perform a stroke test of the fluid pressure driven valve 10 as a test operation.
[0071] The stroke test is performed, for example, by either a full stroke test or a partial stroke test. The full stroke test is performed by switching the main valve 11 from the energized state to the non-energized state in the fully open state to operate it to the fully closed state, and switching it from the non-energized state to the energized state in the fully closed state to return it to the fully open state. The partial stroke test is performed by not operating the main valve 11 to the fully closed state (i.e., without stopping the plant), switching the main valve 11 from the energized state to the non-energized state in the fully open state to partially close it to a predetermined opening, and switching it from the non-energized state to the energized state in the partially closed state to return it to the fully open state.
[0072] It should be noted that as a test run condition, for example, when an execution period based on an execution frequency specified by the administrator as a set value (for example, once a year) arrives, a specific designated date and time arrives, or an execution command is received from an external device 15, or the administrator operates a test execution button (not shown) provided on the solenoid valve 1, the test run condition is deemed to be met and a test run (stroke test) is performed.
[0073] (Machine Learning Device)
[0074] In the fluid pressure driven valve 10 having the above series of structures, by having the above multiple sensors 4, various information of the fluid pressure driven valve 10 can be obtained, for example, during stable operation and unstable operation (for example, during test operation including opening and closing operations, and during emergency stop). Therefore, the machine learning device 200 for learning an inference model (learned model) will be described below. The inference model can infer diagnostic information of the fluid pressure driven valve 10 (especially the drive device 12) based on the information (state variables) that can be obtained from the fluid pressure driven valve 10. It should be noted that the machine learning device 200 mentioned here includes not only a machine learning device provided as a single-action device, but also a machine learning device provided in the form of a non-temporary computer-readable medium storing a program for causing any processor to perform the action described below or one or more instructions for causing any processor to perform the action.
[0075] Figure 5 FIG. 2 is a schematic block diagram of a machine learning device 200 according to an embodiment of the present invention. Figure 5 As shown, the machine learning device 200 of this embodiment includes a learning data set acquisition unit 201, a learning data set storage unit 202, a learning unit 203, and a learned model storage unit 204.
[0076] The learning data set acquisition unit 201 is an interface unit for acquiring a plurality of data constituting a learning (training) data set from various devices connected via, for example, a wired or wireless communication line. Here, as various devices connected to the learning data set acquisition unit 201, for example, an external device 15 or an operator's computer PC1 used by an operator of the fluid pressure drive valve 10 can be cited. Figure 52 shows an example in which the learning data set acquisition unit 201 is connected to the external device 15 and the computer PC1 respectively, but the external device 15 and the operator computer PC1 may be formed by the same computer. In the learning data set acquisition unit 201, it is possible to acquire detection data of multiple sensors 4 of the fluid pressure driven valve 10 from, for example, the external device 15 as input data, and acquire diagnostic information of the fluid pressure driven valve 10 associated with the input data from, for example, the operator computer PC1 as output data. And, these mutually associated input data and output data constitute a learning data set described later.
[0077] Figure 6 This is a diagram showing a configuration example of data (supervised learning) used in the machine learning device 200 according to one embodiment of the present invention. Figure 7 2 is a diagram showing an example of the structure of data used in the machine learning device 200 according to one embodiment of the present invention (unsupervised learning). Figure 6 , Figure 7 Reference is also made where appropriate in the description of the data processing system and the inference device.
[0078] The learning dataset refers to the dataset used in the machine learning described below, such as Figure 6 , Figure 7 As shown, the input data at least includes the time series data of the valve opening of the main valve 11 in a specified period, the time series data of the pressure on the output side of the solenoid valve of air A, and the time series data of the acceleration of the drive device 12, and the output data includes the diagnostic information of the drive device 12. The details of these various data are described below by an example, but the present invention is not limited to this.
[0079] The valve opening degree of the main valve 11 refers to a value of the open / closed state of the main valve 11 , and can be acquired from the main valve opening degree sensor 42 .
[0080] The solenoid valve output side pressure of air A is the pressure of air A supplied and discharged from the solenoid valve 1 to the drive device 12, including the pressure of air A (supply) when air A is supplied from the solenoid valve 1 to the drive device 12 and the pressure of air A (exhaust) when air A is discharged from the drive device 12 to the outside air via the solenoid valve 1. The solenoid valve output side pressure of air A can be obtained by the second pressure sensor 41.
[0081] The acceleration of the drive device 12 is the acceleration of the cylinder 120 based on the vibration generated between the cylinder 120 and the pistons 122A and 122B, including the acceleration of the cylinder 120 based on the vibration generated when the pistons 122A and 122B reciprocate linearly in the cylinder 120 and the acceleration of the cylinder 120 based on the vibration (impact) generated when the pistons 122A and 122B collide with the stoppers 126A and 126B. The acceleration of the drive device 12 can be acquired by the acceleration sensor 492 described above.
[0082] The time series data is composed of a plurality of data acquired at different times within a predetermined period, for example, acquired at a predetermined sampling period. In the present embodiment, the time series data of the valve opening of the main valve 11, the time series data of the pressure on the output side of the electromagnetic valve of the air A, and the time series data of the acceleration of the drive device 12 are data acquired at a plurality of times with the same sampling period and the same phase (without phase difference), but at least one of the sampling period and the phase may be different.
[0083] The prescribed period is a period during which the main valve 11 is opened and closed during unstable operation (including test operation and emergency stop), and is constituted, for example, by the execution period when the stroke test in the fluid pressure driven valve 10 is executed. The prescribed period may be the entire period from the start of the test to the end of the test during the execution of the stroke test, or may be a part of the execution period of the stroke test. Therefore, the prescribed period may be, for example, the entire period of the full stroke test (fully open state → fully closed state → fully open state) or the entire period of the partial stroke test (fully open state → partially closed state), or may be a part of the full stroke test (fully open state → fully closed state or fully closed state → fully open state, etc.) or a part of the partial stroke test (fully open state → partially closed state, partially closed state → fully open state, etc.), and is not limited thereto.
[0084] The diagnostic information of the drive device 12 is information indicating whether or not a certain abnormality has occurred in the drive device 12 when abnormality diagnosis is performed on the drive device 12, and various data formats may be used. The abnormality includes not only a post-event abnormality in which the occurrence of the abnormality is determined at the time of abnormality diagnosis, but also an abnormal sign in which the abnormality is predicted to occur in the future in which the abnormality is determined to be within the normal allowable range at the time of abnormality diagnosis.
[0085] For example, Figure 6As shown, as one mode of diagnostic information, it can be composed of information indicating that the drive device 12 is normal (no abnormality) or abnormal (there is an abnormality). In this case, the diagnostic information is classified into two values, for example, the value indicating that the drive device 12 is in a normal state is set to "0", and the value indicating that the drive device 12 is in an abnormal state is set to "1", and the operator can input the corresponding value in a form associated with the input data using the work computer PC1. It should be noted that in this case, information related to the specific abnormal content is not necessarily required.
[0086] In addition, if Figure 6 As shown by the dotted line, the information indicating the abnormality of the drive device 12 in the above diagnostic information may also include the specific content of the abnormality. The specific content of the abnormality includes, for example, an abnormality related to the valve opening of the main valve 11 or an abnormality related to the action time, action speed or inaction of the drive device 12 when it is in action, and more specifically, includes a defect in the air circuit in which the air A flows, an abnormal supply pressure of the air A from the air supply source 14, a defective action of the cylinder 120 and the pistons 122A and 122B, wear of the pistons 122A and 122B, deterioration and damage of the piston rod 121 or the coil spring 123, damage of the cylinder 120, clogging of the air supply and exhaust port 124 (124a to 124c), a defective action of the transmission mechanism 125, and damage of the stoppers 126A and 126B. In this case, the diagnostic information is classified into a plurality of values (integers of 3 or more). For example, the value indicating that the drive device 12 is in a normal state is set to "0", the value indicating that the supply pressure of the air A is abnormal is set to "1", and the value indicating that the abnormality is due to the damage of the cylinder 120 is set to "2". The following values are uniquely defined in advance according to the content of each abnormality, and then the operator can input the corresponding value in a form associated with the input data using the work computer PC1. By implementing such setting of diagnostic information, it is possible to prepare information including not only the occurrence of an abnormality but also the specific content of the abnormality when the abnormality occurs (corresponding to Figure 7 As the diagnostic information of one embodiment of the above, in the machine learning described below, it is used to implement supervised learning (see Figure 6 ) situation.
[0087] In addition, information other than the above may be used as the diagnostic information of the drive device 12. For example, Figure 7As shown, other forms of diagnostic information can use information that only indicates that the drive device 12 is normal and not abnormal. In this case, since the diagnostic information only includes information indicating that the drive device 12 is normal, it is inevitable that the learning data set that includes the diagnostic information as output data is only a data set consisting of input data and output data when the drive device 12 is normal. Therefore, the output data of the learning data set in this case is always the same, so those skilled in the art can certainly understand that the learning data set does not necessarily have output data as data. As this other form of diagnostic information, in the machine learning described below, it is used to implement unsupervised learning (see Figure 7 ) situation.
[0088] Alternatively, the input data in the learning data set can also selectively include timing data of the pressure of air A (excluding the pressure on the output side of the solenoid valve of air A), timing data of the control parameters of the solenoid unit 3, timing data of the temperature of the solenoid valve 1, timing data of the action state of the drive device 12, the total operating time of the fluid pressure driven valve 10, the operating time after the fluid pressure driven valve 10 was last powered on, the number of actions of the main valve 11, the number of actions of the drive device 12, the number of actions of the solenoid unit 3 and the opening and closing time of the main valve 11.
[0089] The pressure of air A (excluding the pressure on the output side of the solenoid valve of air A) is preferably the pressure of air A flowing in various parts inside the fluid pressure driven valve 10. Specifically, it preferably includes at least one of the pressure on the input side of the solenoid valve of air A supplied from the air supply source 14 to the solenoid valve 1 and the pressure difference between the pressure on the input side of the solenoid valve of air A and the pressure on the output side of the solenoid valve of air A.
[0090] The control parameter of the solenoid unit 3 is various parameter information for controlling the solenoid unit 3, and specifically, preferably includes at least one of the supply voltage supplied to the solenoid coil 31, the current value when the solenoid coil 31 is energized, the resistance value when the solenoid coil 31 is not energized, the operation time of the solenoid unit 3, and the magnetic force intensity generated in the solenoid unit 3. Among them, the supply voltage supplied to the solenoid coil 31 can be obtained by the above-mentioned voltage sensor 43, the current value when the solenoid coil 31 is energized and the resistance value when the solenoid coil 31 is not energized can be obtained by the above-mentioned current / resistance sensor 44, the operation time of the solenoid unit 3 can be obtained by the above-mentioned operation timer 47, and the magnetic force intensity generated in the solenoid unit 3 can be obtained by the above-mentioned magnetic sensor 46.
[0091] The temperature of the solenoid valve 1 refers to a value of the internal temperature of the solenoid valve 1 , in particular, and can be acquired by the temperature sensor 45 .
[0092] The operating state of the drive device 12 preferably includes at least one of the position of the first piston 122A relative to the cylinder 120, the position of the second piston 122B relative to the cylinder 120, and the temperature and humidity in the cylinder 120. The positions of the pistons 122A and 122B relative to the cylinder 120 can be acquired by the above-mentioned position sensor 491. The temperature and humidity in the cylinder 120 are obtained from the electromagnetic valve 1 through the air supply and exhaust port 124 (at Figure 2 The temperature and humidity of the air A (driving fluid) supplied and exhausted to the driving device 12 (in the case of the single-acting type shown in FIG. 124a, and in the case of the multi-acting type shown in FIG. 124a and 124b) and the air supplied and exhausted from the external environment through the air supply and exhaust port 124 (in FIG. Figure 2 In the case of the single-action type shown, 124b, 124c, in the case of the multiple-action type, 124c) at least one of the temperature and humidity of the external gas (outside air) supplied and discharged to the drive device 12. The temperature and humidity in the cylinder 120 can be obtained by the temperature / humidity sensor 493 described above.
[0093] The total operating time of the fluid pressure driven valve 10 and the operating time after the fluid pressure driven valve 10 is last powered on can be obtained through the above-mentioned operating timer 47, the number of actions of the main valve 11, the number of actions of the drive device 12 and the number of actions of the solenoid part 3 can be obtained through the above-mentioned action counter 48, and the opening and closing time of the main valve 11 can be obtained using a timer not shown in the figure.
[0094] As described above, increasing the types of input data generally helps to improve the inference accuracy of the learned model obtained after machine learning, but using input data with a low degree of relevance to diagnostic information may hinder the improvement of the inference accuracy of the learned model. Therefore, the number and type of data used as input data should be appropriately selected in consideration of the state of the fluid pressure-driven valve 10 to which the learned model is applied.
[0095] In particular, in the drive device 12, the pistons 122A and 122B move in the cylinder 120 in accordance with the solenoid valve output side pressure of the air A supplied and discharged from the solenoid valve 1 to the drive device 12, and the pistons 122A and 122B collide with the stoppers 126A and 126B. At this time, if the solenoid valve output side pressure of the air A is higher than the set pressure during normal operation, the vibration (impact) during the collision becomes larger due to the jumping action of the pistons 122A and 122B moving at high speed, and the contact part between the cylinder 120 and the piston 122 and the contact part of the transmission mechanism 125 that converts the reciprocating linear motion into the rotational motion are subjected to a large load, and abnormalities such as wear, deterioration or damage may occur in various parts of the drive device 12 (especially the cylinder housings 120A and 120B). Such abnormalities of the drive device 12 are assumed to affect changes in the driving characteristics of the fluid pressure driven valve 10.
[0096] Therefore, in the present embodiment, abnormality diagnosis of the drive device 12 is performed based on input data including the timing data of the valve opening of the main valve 11, the timing data of the electromagnetic valve output side pressure of the air A, and the timing data of the acceleration of the drive device 12. That is, by virtue of the pressure of the output side driving fluid of the air A supplied and discharged from the electromagnetic valve 1 to the drive device 12, the piston 122 moves relative to the cylinder 120, the valve opening of the main valve 13 changes, and the pistons 122A and 122B collide with the stoppers 126A and 126B. By following this series of processes, the state of the drive device 12 can be grasped, and abnormalities occurring in the drive device 12 can be detected.
[0097] Furthermore, since the input data includes the time series data of the pressure on the electromagnetic valve input side of the air A supplied from the air supply source 14 to the electromagnetic valve 1, for example, it is possible to perform an abnormality diagnosis to determine whether the cause of the change in acceleration of the drive device 12 compared to the normal operation is due to an abnormality in the supply pressure of the air A from the air supply source 14. In addition, since the input data includes the number of operations of the drive device 12, it is possible to perform an abnormality diagnosis to determine the degree of damage of the drive device 12 in stages, for example.
[0098] The learning data set storage unit 202 is a database for storing a plurality of data constituting the learning data set acquired by the learning data set acquisition unit 201 in association with the related input data and output data as one learning data set. The specific structure of the database constituting the learning data set storage unit can be adjusted appropriately. For example, Figure 5 In the figure, for convenience of explanation, the learning data set storage unit 202 and the learned model storage unit 204 described later are shown as independent storage units, but they can also be composed of a single storage medium (database).
[0099] The learning unit 203 performs machine learning by using a plurality of learning data sets stored in the learning data set storage unit 202, thereby generating a learning model that has learned the correlation between the input data and the output data included in the plurality of learning data sets. In this embodiment, as described in detail later, the specific method of machine learning adopts supervised learning using a neural network. However, the specific method of machine learning is not limited to this, and other learning methods can also be used as long as the correlation between input and output can be learned from the learning data set. For example, ensemble learning (random forest, boosting algorithm, etc.) can also be used.
[0100] The learned model storage unit 204 is a database for storing the learned model generated by the learning unit 203. The learned model stored in the learned model storage unit 204 is applied to the actual system via a communication line including the Internet and a storage medium according to a request. The specific application of the learned model to the actual system (data processing system 300) will be described in detail later.
[0101] Next, the learning method in the learning unit 203 using the plurality of learning data sets obtained as described above will be described, focusing on supervised learning. Figure 8 This is a diagram showing an example of a neural network model for supervised learning implemented in a machine learning device according to one embodiment of the present invention. Figure 8 The neural network in the neural network model shown is composed of l neurons (x1~x1) located in the input layer, m neurons (y11~y1m) located in the first intermediate layer, n neurons (y21~y2n) located in the second intermediate layer, and o neurons (z1~zo) located in the output layer. The first intermediate layer and the second intermediate layer are also called hidden layers. As a neural network, in addition to the first intermediate layer and the second intermediate layer, it can also have multiple hidden layers, or only the first intermediate layer can be used as a hidden layer. It should be noted that in Figure 8 In the figure, a neural network model is illustrated in which multiple (o) output layers are set. However, for example, when the above-mentioned diagnostic information is determined by one value, that is, when the number of training data described later is 1 (only t1), the number of neurons in the output layer can also be 1 (only z1).
[0102] In addition, between the input layer and the first intermediate layer, between the first intermediate layer and the second intermediate layer, and between the second intermediate layer and the output layer, there are nodes connecting the neurons between the layers, and each node establishes a corresponding relationship with the weight wi (i is a natural number).
[0103] The neural network in the neural network model of the present embodiment uses a learning data set to learn the correlation between the time series data of the valve opening of the main valve 11 in a specified period, the time series data of the output side pressure of the electromagnetic valve of air A, and the time series data of the acceleration of the drive device 12 and the diagnostic information of the drive device 12. Specifically, the time series data of the valve opening of the main valve 11 in a specified period, the time series data of the output side pressure of the electromagnetic valve of air A, and the numerical data of the acceleration of the drive device 12 as state variables are respectively established in correspondence with the neurons of the input layer, and the value of the neuron located in the output layer is calculated using a general method of calculating the output value of the neural network, that is, using a method of calculating the value of the neuron on the output side in the form of the sum of the multiplication value of the value of the neuron on the input side connected to the neuron on the output side and the weight wi for all neurons other than the neurons located in the input layer, and the weight wi is established in correspondence with the node connecting the neuron on the output side and the neuron on the input side. It should be noted that the form in which the information obtained as the state variable is input when the above-mentioned state variable is input to the neurons of the input layer can be appropriately set in consideration of the accuracy of the generated learning model, etc. Specifically, in order to adjust the number of neurons corresponding to each input data, or to adjust to a value that can correspond to a neuron, preprocessing can be performed on specific input data.
[0104] Then, the calculated values of the o neurons z1~zo located in the output layer, that is, in this embodiment, one or more diagnostic information are compared with the training data t1~to which is also composed of one or more diagnostic information and constitutes a part of the learning data set, and the error is calculated, and the weight wi that establishes a corresponding relationship with each node is repeatedly adjusted (back propagation) to reduce the calculated error.
[0105] Then, when the above series of processes are repeated for a specified number of times or the specified conditions such as the error is less than the allowable value are met, the learning is terminated and the neural network model (all weights wi corresponding to each node) is stored in the learned model storage unit 204 as a learned model.
[0106] (Machine Learning Methods)
[0107] In connection with the above, the present invention provides a machine learning method. Figure 6 (Learning Phase), Figure 7 (Learning Phase), Figure 8 , Fig. 9 The machine learning method of the present invention is described. Fig. 9: is a flowchart showing an example of a machine learning method according to an embodiment of the present invention. In the machine learning method shown below, the explanation is based on the above-mentioned machine learning device 200, but the structure as a premise is not limited to the above-mentioned machine learning device 200. In addition, the machine learning method is implemented by using a computer, but various computers can be applied as the computer, for example, a computer device constituting an external device 15, a work computer PC1 or a microcontroller 70, a server device configured on a network, etc. can be cited. In addition, regarding the specific structure of the computer, for example, a structure including at least a computing device constituted by a CPU, a GPU, etc., a storage device constituted by a volatile or non-volatile memory, etc., a communication device for communicating with a network or other devices, and a bus connecting these devices can be adopted.
[0108] As a supervised learning of the machine learning method of this embodiment, as a preliminary preparation for starting machine learning, first, a desired number of learning data sets (see Figure 6 ), the prepared plurality of learning data sets are stored in the learning data set storage unit 202 (step S11). The number of learning data sets prepared here can be set in consideration of the inference accuracy required by the final learning model.
[0109] Several methods can be used to prepare the learning data set used in the supervised learning. For example, when an abnormality occurs in a specific drive device 12 or when the operator recognizes a sign of abnormality, various information of the stable operation of the fluid pressure driven valve 10 at this time is obtained using multiple sensors 4, etc., and the operator uses the work computer PC1, etc. to determine and input diagnostic information in a form associated with these information, thereby preparing the input data and output data (for example, the value of the output data in this case is "1") that constitute the learning data set. In addition, a method of preparing a desired number of learning data sets by repeating such operations can be adopted. It should be noted that, as a method for preparing a learning data set, in addition to such a method, various methods such as obtaining a learning data set by actively creating an abnormal state in the drive device 12 can also be adopted. However, the various information of the fluid pressure driven valve 10 has a unique tendency in each fluid pressure driven valve 10. Therefore, as an object for obtaining data constituting the learning data set, it is preferred to collect data constituting the learning data set only from one fluid pressure driven valve 10, and the fluid pressure driven valve 10 is scheduled to apply the learning model obtained by machine learning described later. In addition, the learning data set includes not only a data set consisting of input and output data when an abnormality occurs, but also a learning data set consisting of a specified amount of input data and output data (for example, the value of the output data at this time is "0") when no abnormality occurs, that is, when the drive device 12 is in a normal state.
[0110] When step S11 is completed, a neural network model before learning is prepared in order to start learning (S12) of the learning unit 203. The neural network model before learning prepared here has, for example, Figure 8 The structure shown in FIG. 1 is used as its structure, and the weight of each node is set to an initial value. Then, a learning data set is selected, for example, randomly, from the plurality of learning data sets stored in the learning data set storage unit 202 (step S13), and the input data in the one learning data set is input to the input layer of the neural network model before learning prepared (see FIG. 11 ). Figure 8 )(Step S14).
[0111] Here, the output layer generated as a result of the above step S14 (see Figure 8 ) is a value generated by the neural network model before learning, and therefore in most cases is a value different from the expected result, that is, a value showing information different from the correct diagnostic information. Therefore, next, machine learning is implemented (step S15) using the diagnostic information as training data in a learning data set acquired in step S13 and the value of the output layer generated in step S13. The machine learning implemented here may be, for example, a process (back propagation) of comparing the diagnostic information constituting the training data with the value of the output layer and adjusting the weights that establish a corresponding relationship with each node in the neural network model before learning to obtain a preferred output layer. It should be noted that the number and form of the values output to the output layer of the neural network model before learning are the same as the number and form of the training data in the learning data set that is the learning object.
[0112] To specifically illustrate the machine learning mentioned here, it is assumed that the diagnostic information constituting the training data is composed of any value (binary classification) of "0" for normal conditions and "1" for abnormal conditions, and when the value of the output data in a learning data set selected in step S13 is "1", the value of the output layer is a prescribed value of 0 to 1, specifically, a value such as "0.63" is output. Therefore, in step S15, if the same input data is input to the input layer, the weights corresponding to the nodes of the neural network model being learned are adjusted so that the value obtained by the neural network model being learned is close to "1".
[0113] When machine learning is performed in step S15, it is determined whether the machine learning needs to be continued further (step S16), for example, based on the remaining number of unlearned learning data sets stored in the learning data set storage unit 202. Then, in the case of continuing machine learning (step S16 is "No"), the process returns to step S13, and in the case of ending machine learning (step S16 is "Yes"), the process proceeds to step S17. In the case of continuing the above-mentioned machine learning, the process of steps S13 to S15 is performed multiple times on the neural network model being learned using the unlearned learning data sets. The accuracy of the finally generated learned model generally increases in proportion to the number of times.
[0114] When the machine learning is finished (step S16 is "yes"), the neural network generated by adjusting the weights corresponding to each node through a series of steps is stored in the learning model storage unit 204 as a learning model (step S17), and a series of learning processes are finished. The learning model stored here can be applied to the data processing system 300 described later for use.
[0115] In the learning process and machine learning method of the above-mentioned machine learning device, it is explained that in order to generate a learned model, a (pre-learning) neural network model is repeatedly subjected to machine learning processing for multiple times to improve its accuracy, thereby obtaining a learned model that is sufficient for application to the data processing system 300. However, the present invention is not limited to this acquisition method. For example, a learned model that has been subjected to machine learning for a specified number of times may be stored in advance in multiple learned model storage units 204 as a candidate, and a data set for validity judgment may be input to the multiple learned model groups, an output layer (the value of the neurons) is generated, and the accuracy of the values determined in the output layer is compared and studied, and an optimal learned model suitable for the data processing system 300 is selected. It should be noted that the data set for validity judgment only needs to be composed of the same data set as the learning data set used for learning and has not been used for learning.
[0116] As described above, by applying the machine learning device and machine learning method of the present embodiment, the following learned model can be obtained: diagnostic information indicating whether an abnormality (including subsequent abnormalities and signs of abnormalities) has occurred can be correctly derived from various data acquired by multiple sensors 4 arranged at appropriate positions of the fluid pressure driven valve 10.
[0117] In the learning method and the machine learning method of the machine learning device 200, "supervised learning" is described. However, as a method for generating a learned model, other known "supervised learning" methods such as a convolutional neural network (CNN) can be used, and "unsupervised learning" can also be used, which uses a learning data set including the diagnostic information of the other methods described above, that is, only information indicating that the fluid pressure driven valve 10 is not abnormal but normal, as diagnostic information constituting output data (see Figure 7 ). By using "unsupervised learning", even when only information on the normal state of the drive device 12 can be obtained from the diagnostic information in the output data that has established a corresponding relationship with the input data, Figure 7 As shown in the "learning stage" of the present invention, the learning model is obtained by learning the correlation between the features representing the normal state of the input data and the output data. In this case, during the inference in the data processing system 300 described later, the input data that is judged to be inconsistent with the features of the normal state by a predetermined amount is regarded as not being in the normal state, that is, as being in the abnormal state, so that the inference of the diagnostic information can be achieved. As a specific method of this "unsupervised learning", for example, Figure 7 A known method using an automatic encoder etc. is briefly shown in the figure, and a detailed description thereof is omitted here.
[0118] (Data Processing System)
[0119] Next, refer to Fig.10 An application example of a learned model generated by the above-mentioned machine learning device 200 and machine learning method is described. Fig.10 This is a schematic block diagram showing a data processing system according to one embodiment of the present invention.
[0120] As the data processing system 300 of this embodiment, an example is shown in which it is installed in the microcontroller 70 of the fluid pressure driven valve 10. It should be noted that at least a part of the data processing system 300 can also be applied to other devices, such as other devices connected to the external device 15 and the fluid pressure driven valve 10.
[0121] The data processing system 300 includes at least an input data acquisition unit 301 , an inference unit 302 , a learning model storage unit 303 and a reporting unit 304 .
[0122] The input data acquisition unit 301 is an interface unit connected to the multiple sensors 4 of the fluid pressure driven valve 10 and used to acquire the data output by each sensor 4. The input data acquisition unit 301 acquires at least the time series data of the valve opening of the main valve 11, the time series data of the output side pressure of the solenoid valve of air A, and the time series data of the acceleration of the drive device 12 during a specified period. Fig.10 In the example shown, all sensors 4 provided in the fluid pressure driven valve 10 are connected so that all input data that can be used in the inference described later can be acquired. However, which sensor 4 to connect to the input data acquisition unit 301 can be appropriately selected according to the learned model used in the inference unit 302 described later. In addition, the inference result of the inference unit 302 is preferably stored in a storage unit not shown in the figure, and the stored past inference results can be used as a learning data set for online learning for further improving the inference accuracy of the learned model in the learned model storage unit 303, for example.
[0123] The reasoning unit 302 is used to reason whether the driving device 12 has an abnormality based on various data of the fluid pressure driven valve 10 obtained by the input data acquisition unit 301. In this reasoning, for example, a learned model learned by using the above-mentioned machine learning device 200 and machine learning method is used, and the learned model is stored in a learned model storage unit 303 composed of an arbitrary storage medium. It should be noted that the reasoning unit 302 not only has a function of implementing reasoning processing using the learned model, but also includes a pre-processing function of adjusting the input data obtained by the input data acquisition unit 301 into a desired form and inputting it to the learned model as a pre-processing of the reasoning process, and a post-processing function of applying, for example, a predetermined threshold value to the output value output by the learned model to finally determine whether an abnormality (including subsequent abnormality and abnormality precursor) has occurred (no abnormality (normal) or abnormality (abnormal)).
[0124] As described above, the learned model storage unit 303 is a storage medium for storing the learned model used in the inference unit 302. The number of learned models stored in the learned model storage unit 303 is not limited to one. For example, a plurality of learned models having different amounts of input data or different learning methods (for example, supervised learning and unsupervised learning implemented by the above-mentioned machine learning device 200, etc.) can be stored, and these learned models can be selectively used.
[0125] The reporting unit 304 is used to report the inference result of the inference unit 302 to the operator, etc. The specific reporting method can adopt various methods, such as sending the inference result to the external device 15 through the communication unit 8, displaying it on the GUI of the external device 15, etc., or pre-setting a light-emitting component, a speaker, etc. in the fluid pressure driven valve 10 and operating them, thereby reporting to the operator, etc. whether there is any abnormality.
[0126] Below, refer to Figure 6 (Inference stage), Figure 7 (Inference stage), Fig.11 , the data processing process of the data processing system with the above structure is explained. Fig.11 1 is a flowchart showing an example of a data processing procedure of the data processing system 300 according to one embodiment of the present invention.
[0127] When power is supplied from the external power source 16 to the solenoid valve 1 of the fluid pressure driven valve 10 and the abnormality diagnosis of the drive device 12 is started, the input data acquisition unit 301 acquires various data representing the states of various parts of the fluid pressure driven valve 10 acquired by the multiple sensors 4 (step S21). The input data acquisition unit 301 acquires the desired input data (time series data of the valve opening of the main valve 11 during a specified period, time series data of the pressure on the output side of the solenoid valve of air A, and time series data of the acceleration of the drive device 12 (see Figure 6 , Figure 7 )) at the moment of the inference unit 302 based on the input data (step S22). At this time, it is preferred to determine the learned model used for inference in advance. In addition, in the case where the learned model determined in advance, for example, requires specified time series data as its input data, after the necessary amount of data is obtained in the input data acquisition unit 301, the inference in step S22 is implemented.
[0128] Specifically, the inference unit 302 pre-processes the input data and inputs it into the learning model completion model, and post-processes the output value from the learning model completion model, thereby determining whether an abnormality (including post-abnormality and abnormality precursor) occurs as the inference result. Figure 6 In the post-processing of the "inference stage" of the learning model, the inference unit 302 compares the output value of the learning model completion model (if it is a binary classification, it is a value between 0 and 1) with the specified threshold. For example, if the output value of the learning model completion model is above the specified threshold, it is judged as "abnormal (abnormal)", and if it is less than the specified threshold, it is judged as "no abnormality (normal)", and the judgment result is output as the inference result. In addition, in unsupervised learning (see Figure 7 In the post-processing of the "inference stage"), the inference unit 302 calculates the difference (distance) between the output value (feature value) of the completed model by the learning model and the feature value based on the input data. If the difference (distance) is above the specified threshold, it is judged as "abnormal (abnormal)". If the difference (distance) is less than the specified threshold, it is judged as "no abnormality (normal)", and the judgment result is output as the inference result.
[0129] Then, in step S22, the reasoning of the reasoning unit 302 is implemented, and when the reasoning result indicates "no abnormality (normal)" (step S23 is "No"), the process returns to step S21 to continue a series of reasoning. Figure 6 , Figure 7 As shown, when the inference result indicates "there is an abnormality (abnormality)" (step S23 is "yes"), the inference result is reported to the operator or the like through the reporting unit 304 as "there is an abnormality (abnormality)", that is, an abnormality (including subsequent abnormality and abnormality precursor) occurs in the drive device 12 (step S24). Then, after reporting the abnormality in step S24, the process returns to step S21 and continues a series of inferences. It should be noted that, depending on the use of the drive device 12 and the content of the detected abnormality, the fluid pressure drive valve 10 can be stopped at the stage where the abnormality is detected.
[0130] (Inference Device)
[0131] The present invention can be provided not only in the form of the above-mentioned data processing system 300, but also in the form of an inference device for implementing inference. In this case, the inference device includes a memory and at least one processor, wherein the processor is capable of performing a series of processes. The series of processes include: a process of obtaining input data including timing data of the valve opening of the main valve 11 in a specified period, timing data of the pressure on the output side of the solenoid valve of air A, and timing data of the acceleration of the drive device 12; and a process of inferring diagnostic information in the fluid pressure-driven valve 10 when the input data is input. By providing the present invention in the form of the above-mentioned inference device, it can be easily applied to various fluid pressure-driven valves 10 compared to the case where the data processing system 300 is installed. Those skilled in the art can certainly understand that at this time, when the inference device implements the processing of inferring diagnostic information, the inference method previously described in this specification, which is implemented by the inference unit 302 of the data processing system using the learned model obtained by the machine learning device and the machine learning method in the present invention, can also be used.
[0132] The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention, and all of these modifications are included in the technical concept of the present invention.
[0133] Description of Reference Numerals
[0134] 1: Solenoid valve; 3: Solenoid unit; 4: Sensor; 10: Fluid pressure driven valve; 11: Main valve; 12: (Fluid pressure type) drive device; 14: Air supply source; 15: External device; 26: Input side flow path; 27: Output side flow path; 28: Exhaust flow path; 30: Solenoid housing; 31: Solenoid coil; 32: Movable iron core; 40: First pressure sensor; 41: Second pressure sensor; 42: Main valve opening sensor; 43: Voltage sensor; 44: Current / resistance sensor; 45: Temperature sensor; 46: Magnetic sensor; 47: Operation timer (timer); 48: action counter (counter); 49: drive state sensor; 70: microcontroller; 100: piping; 200: machine learning device; 201: learning data set acquisition unit; 202: learning data set storage unit; 203: learning unit; 204: learning completed model storage unit; 300: data processing system; 301: input data acquisition unit; 302: inference unit; 303: learning completed model storage unit; 304: reporting unit; A: air (driving fluid); PC1: operation computer.
Claims
1. A machine learning device, applied to a fluid pressure driven valve having at least a main valve, a drive device including a cylinder and a piston for driving the main valve, and a solenoid valve for controlling the supply and discharge of a driving fluid to the drive device, wherein: have: a learning data set storage unit storing a plurality of learning data sets consisting of input data and output data, the input data including time series data of the valve opening of the main valve in a specified period, time series data of the pressure on the output side of the solenoid valve of the driving fluid supplied and discharged from the solenoid valve to the driving device in the specified period, and time series data of the acceleration of the driving device based on the vibration generated between the cylinder and the piston in the specified period, and the output data consisting of diagnostic information of the driving device having a corresponding relationship with the input data; A learning unit that learns a learning model for inferring the correlation between the input data and the output data by inputting a plurality of sets of the learning data sets; as well as The learned model storage unit stores the learned model learned by the learning unit.
2. The machine learning device according to claim 1, wherein: The diagnostic information is information indicating whether the drive device is normal or abnormal.
3. The machine learning device according to claim 1, wherein: The diagnostic information is information indicating only that the drive device is normal and not abnormal.
4. The machine learning apparatus according to any one of claims 1 to 3, wherein: The predetermined period is constituted by a period during which a stroke test is performed in the fluid pressure driven valve.
5. The machine learning device according to claim 4, wherein: The stroke test is any one of a partial stroke test and a full stroke test.
6. The machine learning apparatus according to any one of claims 1 to 5, wherein: The fluid pressure driven valve is connected to a driving fluid supply source for supplying the driving fluid to the solenoid valve. The input data further includes time series data of the solenoid valve input-side pressure of the driving fluid supplied from the driving fluid supply source to the solenoid valve during the predetermined period.
7. The machine learning apparatus according to any one of claims 1 to 6, wherein: The fluid pressure driven valve further comprises a counter for counting the number of operations of the driving device. The input data also includes the number of actions of the driving device.
8. A data processing system for a fluid pressure driven valve, the fluid pressure driven valve comprising at least a main valve, a drive device comprising a cylinder and a piston for driving the main valve, and a solenoid valve for controlling the supply and discharge of a driving fluid for the drive device, wherein: The data processing system comprises: an input data acquisition unit that acquires input data including time series data of a valve opening degree of the main valve in a specified period, time series data of a solenoid valve output side pressure of the drive fluid supplied and discharged from the solenoid valve to the drive device in the specified period, and time series data of an acceleration of the drive device based on vibrations generated between the cylinder and the piston in the specified period; and An inference unit that inputs the input data acquired by the input data acquisition unit into a learned model generated by the machine learning device according to any one of claims 1 to 7 to infer diagnostic information of the drive device.
9. An inference device for a fluid pressure driven valve, the fluid pressure driven valve comprising at least a main valve, a drive device including a cylinder and a piston for driving the main valve, and an electromagnetic valve for controlling the supply and discharge of a driving fluid for the drive device, wherein: The inference device comprises a memory and at least one processor. The at least one processor is configured to perform the following processing: Acquiring input data including time series data of the valve opening degree of the main valve in a predetermined period, time series data of the solenoid valve output side pressure of the driving fluid supplied and discharged from the solenoid valve to the driving device in the predetermined period, and time series data of the acceleration of the driving device based on the vibration generated between the cylinder and the piston in the predetermined period; and When the input data is input, diagnostic information of the drive device is inferred.
10. A machine learning method using a computer applied to a fluid pressure driven valve, the fluid pressure driven valve comprising at least a main valve, a drive device including a cylinder and a piston for driving the main valve, and an electromagnetic valve including a solenoid portion for controlling the supply and discharge of a driving fluid for the drive device, wherein: The machine learning method has the following steps: storing a plurality of sets of learning data sets consisting of input data and output data, the input data including time series data of the valve opening of the main valve in a specified period, time series data of the solenoid valve output side pressure of the driving fluid supplied and discharged from the solenoid valve to the driving device in the specified period, and time series data of the acceleration of the driving device based on the vibration generated between the cylinder and the piston in the specified period, and the output data consisting of diagnostic information of the driving device that establishes a corresponding relationship with the input data; By inputting a plurality of sets of the learning data sets, a learning model for inferring the correlation between the input data and the output data is learned; The learned learning model is stored.
