Machine learning device, reactor operation support device, and inference device
Patent Information
- Application Number
- JP2020193066
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-20
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-11-20
AI Technical Summary
【0009】 本発明の機械学習装置によれば、反応槽状態変数及び撹拌機状態変数に基づいて反応装置の運転パラメータを推論可能な学習モデルを提供することができる。よって、この学習モデルを利用することにより、作業者の経験に依存することなく、製造品質の向上及び製造時間の短縮を図ることができる。
Smart Images

Figure 0007558622000001 
Figure 0007558622000002 
Figure 0007558622000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a machine learning device, a reactor operation support device, and an inference device. [Background technology]
[0002] Reactors equipped with a reaction vessel are widely used as manufacturing equipment for producing synthetic resins by a polymerization process. For example, Patent Document 1 discloses a reaction vessel equipped with a reaction vessel, a jacket provided on the outer periphery of the reaction vessel, an agitator blade disposed inside the reaction vessel, and an agitator power source serving as a power source for the agitator blade. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2000-264909 A Summary of the Invention [Problem to be solved by the invention]
[0004] Patent Document 1 does not disclose a specific method for operating a reactor, such as a method for adjusting the polymerization temperature or a method for stirring using a stirrer (stirring blade), and it is unclear how the operating parameters of the reactor are set.
[0005] In addition, not limited to polymerization processes, when raw materials fed into a reaction tank are stirred with a stirrer to produce a product through a specified reaction process, an operator may manually operate each part of the reaction apparatus, or the reaction apparatus may be equipped with a control unit that automatically controls each part of the reaction apparatus, and the control unit may automatically control the parts.
[0006] In the former case, the reactor is operated based on judgments that depend on the experience (including tacit knowledge) of the operator, and the judgments and standards for setting the operating parameters differ depending on the operator in charge, resulting in differences in production quality and production time. Although experienced and skilled operators are expected to improve production quality and shorten production time, such results are not always obtained. In the latter case, it is necessary to develop a control algorithm to automatically set the operating parameters according to the various conditions of the reactor that change from moment to moment, and it is very difficult to guarantee production quality and production time using the control algorithm.
[0007] The present invention has been made in consideration of the above-mentioned problems, and aims to provide a machine learning device, a reactor operation support device, and an inference device that are capable of supporting the setting of operating parameters of a reactor. [Means for solving the problem]
[0008] In order to achieve the above object, a machine learning device according to one aspect of the present invention comprises: A machine learning device that generates a learning model used in a reactor operation support device that sets operating parameters of a reactor that performs a predetermined reaction process by stirring raw materials fed into a reactor with a stirrer, comprising: a learning data storage unit that stores a plurality of sets of learning data including at least a reaction tank state variable related to the reaction tank and a stirrer state variable related to the stirrer as input data; a machine learning unit that causes the learning model to learn a correlation between the input data and the driving parameters by inputting a plurality of sets of the learning data to the learning model; The system further includes a trained model memory unit that stores the learning model trained by the machine learning unit. Effect of the Invention
[0009] According to the machine learning device of the present invention, Reactor state variablesA learning model capable of inferring the operating parameters of the reactor based on the agitator state variables and the agitator state variables can be provided. Therefore, by using this learning model, it is possible to improve the production quality and shorten the production time without relying on the experience of the operator.
[0010] Other objects, configurations and effects will become apparent from the detailed description of the invention described below. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is an overall configuration diagram showing an example of a reaction device 1 according to a first embodiment. [Diagram 2] FIG. 1 is a block diagram showing an example of a reaction apparatus 1 according to a first embodiment. [Diagram 3] FIG. 1 is a hardware configuration diagram showing an example of a computer 200 constituting a reaction tank control device 5 (mainly the part of the reaction tank operation support device 7) and a machine learning device 6. [Figure 4] FIG. 2 is a block diagram showing an example of a machine learning device 6 according to the first embodiment. [Diagram 5] FIG. 2 is a data configuration diagram showing an example of data (supervised learning) used in the machine learning device 6 according to the first embodiment. [Figure 6] FIG. 2 is an explanatory diagram showing the relationship between input data (state variables) and output data (operation parameters) in learning data used in the machine learning device 6 according to the first embodiment. [Figure 7] FIG. 2 is a schematic diagram showing an example of a neural network model used in the machine learning device 6 according to the first embodiment. [Figure 8] 5 is a flowchart showing an example of a machine learning method performed by the machine learning device 6 according to the first embodiment. [Figure 9] FIG. 2 is a block diagram showing an example of a reaction tank operation support device 7 (operation support unit 500) according to the first embodiment. [Figure 10]4 is a flowchart showing an example of a reaction tank operation support method by a reaction tank operation support device 7 (operation support unit 500 of a reaction tank control device 5) according to the first embodiment. [Figure 11] FIG. 11 is a schematic diagram showing an example of data (reinforcement learning) used in a machine learning device 6 according to a second embodiment, and a mechanism of reinforcement learning. [Figure 12] FIG. 11 is a schematic diagram showing an example of a neural network model used in a machine learning device 6 according to a second embodiment. [Figure 13] 13 is a flowchart showing an example of a machine learning method performed by the machine learning device 6 according to the second embodiment. [Figure 14] 13 is a flowchart showing an example of a reaction tank operation support method by a reaction tank operation support device 7 (operation support unit 500 of a reaction tank control device 5) according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings. In the following, the scope necessary for the explanation to achieve the object of the present invention will be shown in a schematic manner, and the scope necessary for the explanation of the relevant part of the present invention will be mainly explained, and the parts that are omitted from the explanation will be based on the publicly known technology.
[0013] (First embodiment) Fig. 1 is an overall configuration diagram showing an example of a reaction apparatus 1 according to the first embodiment. Fig. 2 is a block diagram showing an example of the reaction apparatus 1 according to the first embodiment.
[0014] The reactor 1 is a device that produces a predetermined product by performing a predetermined reaction process on raw materials. The reactor 1 can be used, for example, in the chemical field where synthetic resins and the like are produced through a polymerization process, or in the food field where sake, soy sauce, and the like are produced through a brewing process. The apparatus 1 is not limited to the above examples, and may be used in various fields to produce any product.
[0015] In this embodiment, the reaction apparatus 1 will be mainly described as an apparatus that performs a polymerization process (one form of a reaction process) using one or more types of monomers, solvents, polymerization initiators, additives, etc. as raw materials to produce a synthetic resin (e.g., polypropylene, polyethylene, polyvinyl chloride, melamine resin, epoxy resin, urethane resin, acrylic resin, silicone resin, etc.) as a product.
[0016] The reactor 1 mainly comprises a reaction tank 3, an agitator 4, and a reaction tank control device 5. Each part of the reactor 1 is supplied with power from a commercial power source (not shown). In this embodiment, the reactor 1 is described as performing a batch reaction process, but may also be a device performing a continuous reaction process.
[0017] The reaction tank 3 comprises a reaction tank main body 30 having a substantially elongated cylindrical shape, a raw material inlet 31 formed on the upper surface of the reaction tank main body 30, a product outlet 32 formed on the bottom surface of the reaction tank main body 30, a jacket 33 provided on the outer periphery of the reaction tank main body 30, a heat medium circulation flow path 34 for circulating cold water and hot water as a heat medium, a reaction tank sensor group 35 for measuring the physical quantities and state quantities of each part of the reaction tank 3 as reaction tank state variables, a reaction tank control device group 36 for controlling each part of the reaction tank 3, and an external environment sensor group 37 for measuring the physical quantities and state quantities of the external environment in which the reaction tank 3 is installed as external environment state variables.
[0018] The raw material inlet 31 is a portion where raw materials are automatically or manually charged. A plurality of raw material inlets 31 may be provided. The product discharge outlet 32 is a portion where the product is discharged. The product discharge outlet 32 may be provided with a viscometer that measures the viscosity of the product and a density meter that measures the density of the product.
[0019] The jacket 33 is formed so as to cover the outer peripheral side surface of the reaction vessel main body 30, and has a jacket flow path (not shown) therein for circulating cold water and hot water. The jacket flow path through which cold water flows and the jacket flow path through which hot water flows may be separate or may be a common flow path. The heat transfer medium may be a substance other than water.
[0020] The heat medium circulation passage 34 is connected to the inlet and outlet of the jacket passage. The heat medium circulation passage 34 includes a cold water circulation passage 340 for circulating cold water and a hot water circulation passage 341 for circulating hot water. The cold water circulation passage 340 and the hot water circulation passage 341 may be shared.
[0021] The reaction vessel sensor group 35 includes, as sensors for measuring heat quantity state variables, a jacket heat medium temperature sensor 350 for measuring a jacket heat medium temperature T4 indicating the temperature of the heat medium (cold water and hot water) circulating in the jacket 33, and a jacket heat medium flow rate sensor 353 for measuring a jacket heat medium flow rate F1 indicating the flow rate of the heat medium (cold water and hot water) circulating in the jacket 33. The jacket heat medium temperature sensor 350 may be provided in the jacket flow path or may be embedded in the jacket 33.
[0022] The reaction vessel sensor group 35 includes, as sensors for measuring heat quantity state variables, a cold water temperature sensor 351 for measuring cold water temperature T5 and a hot water temperature sensor 352 for measuring hot water temperature T6, in addition to or instead of the jacket heat medium temperature sensor 350. The reaction vessel sensor group 35 includes, as sensors for acquiring heat quantity state variables, a cold water flow rate sensor 354 for measuring cold water flow rate F2 and a hot water flow rate sensor 355 for measuring hot water flow rate F3, in addition to or instead of the jacket heat medium flow rate sensor 353. The cold water temperature sensor 351 and the cold water flow rate sensor 354 are connected to the cold water circulation flow path 3 40. The hot water temperature sensor 352 and the hot water flow rate sensor 355 are provided in the hot water circulation passage 341.
[0023] The reaction tank sensor group 35 further includes three reaction tank temperature sensors 356A, 356B, 356C that respectively measure reaction tank temperatures T1, T2, T3 that indicate the temperature inside the reaction tank main body 30, a reaction tank pressure sensor 357 that measures a reaction tank pressure P1 that indicates the pressure inside the reaction tank main body 30, and a reaction tank weight sensor 358 that measures a reaction tank weight W1 that indicates the weight of the raw materials inside the reaction tank main body 30.
[0024] The reaction tank temperature sensors 356A, 356B, 356C are provided, for example, at the upper, middle, and lower stages when the reaction tank body 30 is vertically divided into three. The number and arrangement of the reaction tank temperature sensors 356A, 356B, 356C are not limited to the above example, and may be changed as appropriate depending on, for example, the size of the reaction tank body 30 and the type of product. The reaction tank weight sensor 358 is, for example, composed of a load cell, and measures the reaction tank weight W1 by canceling out the weight of the reaction tank 3 and the agitator 4.
[0025] The reaction tank control device group 36 is composed of a plurality of control devices that operate according to reaction tank operation parameters that indicate command values for heating or removing heat from the reaction tank 3. In this embodiment, the reaction tank control device group 36 will be described as being switchable between an automatic operation mode in which the reaction tank 3 is automatically controlled and a manual operation mode in which the reaction tank 3 is manually operated.
[0026] The reaction vessel control equipment group 36 includes, as control equipment for controlling the jacket heat medium temperature T4, a cooling equipment 360 for controlling the cold water temperature T5 and a heating equipment 361 for controlling the hot water temperature T6. The cooling equipment 360 is provided in the cold water circulation flow path 340. The heating equipment 361 is provided in the hot water circulation flow path 341.
[0027] The reaction vessel control equipment group 36 includes, as control equipment for controlling the jacket heat medium flow rate F1, a cold water flow rate control valve 362 and a cold water pump 363 for controlling the cold water flow rate F2, and a hot water flow rate control valve 364 and a hot water pump 365 for controlling the hot water flow rate F3. The cold water flow rate control valve 362 and the cold water pump 363 are provided in the cold water circulation flow path 340. The hot water flow rate control valve 364 and the hot water pump 365 are provided in the hot water circulation flow path 341.
[0028] The external environment sensor group 37 includes, as sensors for measuring external environment state variables, an external environment temperature sensor 370 that measures an external environment temperature T7 that indicates the temperature of the external environment, and an external environment humidity sensor 371 that measures an external environment humidity H1 that indicates the humidity of the external environment.
[0029] The agitator 4 comprises a propeller-shaped agitator blade 40 arranged inside the reaction tank main body 30, a motor 41 arranged above the reaction tank main body 30 as a driving source for rotating the agitator blade 40, a shaft-shaped rotating shaft 42 connecting the agitator blade 40 and the motor 41, a group of agitator sensors 43 that measure physical quantities and state quantities of each part of the agitator 4 as agitator state variables, and an agitator control device 44 that controls the agitation state of the agitator 4.
[0030] The agitator sensor group 43 includes, as sensors for measuring agitator state variables, an agitator torque sensor 430 for measuring an agitator torque ST1 indicating the torque applied to the motor 41, a motor rotation speed sensor 431 for measuring a motor rotation speed R1 indicating the rotation speed of the motor 41, a motor current sensor 432 for measuring a motor current value I1 supplied to the motor 41, a vibration sensor 433 for measuring a vibration value O1 when the agitator 4 is operating, and an acoustic sensor 434 for measuring an acoustic value N1 when the agitator 4 is operating.
[0031] The agitator torque sensor 430 is attached to the rotating shaft 42. 0 measures the load that the motor 41 receives from the raw materials as the agitator torque ST1 when the motor 41 rotates the agitator blade 40. Since the viscosity of the raw materials changes depending on the progress of the reaction process, the agitator torque ST1 changes as the reaction process progresses.
[0032] The motor rotation speed sensor 431 is composed of, for example, a rotation angle detector such as a rotary encoder provided on the motor 41. The motor current sensor 432 is attached to the motor 41, the agitator control device 44, or a power line connecting the motor 41 and the agitator control device 44. The vibration sensor 433 and the acoustic sensor 434 are attached, for example, to the reaction tank main body 30 or the case of the motor 41, etc.
[0033] The agitator control device 44 is configured as a control device that operates according to an agitator operation parameter indicating a command value when driving the agitator 4. The agitator control device 44 is configured, for example, as an inverter, and supplies driving power to the motor 41 and controls the rotation state (on or off, rotation speed, etc.) of the motor 41. In this embodiment, the agitator control device 44 will be described as being switchable between an automatic operation mode in which the agitator is automatically controlled and a manual operation mode in which the agitator is manually operated.
[0034] The reaction tank control device 5 is composed of, for example, a general-purpose or dedicated computer (see FIG. 3 described later). As shown in FIG. 2, the reaction tank control device 5 mainly comprises a control panel 50 connected to each part of the reaction device 1, and an operation display panel 51 that receives operations by an operator and displays various information.
[0035] The control panel 50 is electrically connected to a group of reaction tank sensors 35 that measure reaction tank state variables, a group of reaction tank control devices 36 that operate each part of the reaction tank 3, a group of external environment sensors 37 that measure external environment state variables, a group of agitator sensors 43 that measure agitator state variables, and an agitator control device 44 that operates each part of the agitator 4.
[0036] The control panel 50 includes an operation support unit 500 that supports the operation of the reaction device 1, an automatic operation mode unit 501 that executes the automatic operation mode of the reaction device 1, and a manual operation mode unit 502 that executes the manual operation mode of the reaction device 1. The control panel 50 switches between the automatic operation mode and the manual operation mode by, for example, accepting an operation by an operator via an operation display panel 51.
[0037] The operation support unit 500 acquires state variables indicating various measurement values measured by the reaction tank sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 at a predetermined measurement period. The operation support unit 500 sets command values for the reaction tank control device group 36 and the agitator control device 44 according to the acquired state variables, and outputs operation parameters of the reaction apparatus 1 indicating the command values (reaction tank operation parameters and agitator operation parameters) at a predetermined command period.
[0038] The command value according to the operation parameters of the reactor 1 may be specified by a set value (target value) or may be specified by a control amount calculated based on the difference between a state variable (current value) and a set value. The command value may be specified by an absolute value (for example, 1000 rpm for the motor speed) or a relative value (for example, 50% of the maximum motor speed). The command value may be specified by the amount of change with respect to the current command value (for example, a 50 rpm increase or a 5% increase for the motor speed). The state variables and operation parameters may be either analog signals or digital signals. The measurement period and the command period may be the same or different.
[0039] When the automatic operation mode is selected, the operation support unit 500 outputs the operation parameters to the automatic operation mode unit 501. The automatic operation mode unit 501 transmits the operation parameters to the reaction vessel control device group 36 and the agitator control device 44, thereby automatically controlling the reaction vessel control device group 36 and the agitator control device 44. The operation support unit 500 outputs the operation parameters to the automatic operation mode unit 501. The automatic control amounts when the reaction vessel control device group 36 and the agitator control device 44 are automatically controlled and the state variables acquired at that time at a predetermined measurement interval are recorded as automatic operation history data 52.
[0040] When the manual operation mode is selected, the operation support unit 500 outputs the operation parameters to the manual operation mode unit 502. The manual operation mode unit 502 transmits the operation parameters to the operation display panel 51 and causes the operation display panel 51 to display the contents of the operation parameters, so that the operator manually operates the reaction vessel control device group 36 and the agitator control device 44 in accordance with the displayed contents. The operation support unit 500 records, as manual operation history data 53, the operator operation amounts when the reaction vessel control device group 36 and the agitator control device 44 are operated by the operator and the state variables acquired at that time at a predetermined measurement period.
[0041] In addition, the automatic operation history data 52 and the manual operation history data 53 may record the results of measuring the viscosity and density of the product using a viscometer or density meter when the reaction process is completed, or the results of inspection by an operator or an inspection device (not shown) as inspection results after completion.
[0042] In this embodiment, as one aspect of the operation support unit 500, a reaction tank operation support device 7 that sets operation parameters of the reaction device 1 using a learning model 2 based on machine learning is incorporated in a control panel 50. The control panel 50 (operation support unit 500) operates as a main body of the inference phase of machine learning.
[0043] The machine learning device 6 operates as a subject of the learning phase of machine learning, and generates a learning model 2 used in the reaction tank operation support device 7 by machine learning. The learned learning model 2 is provided to the control panel 50 via any communication network, recording medium, or the like. The machine learning device 6 employs either "supervised learning" or "reinforced learning" as a machine learning method. In this embodiment, "supervised learning" is employed, and in the second embodiment described later, a case will be described in which "reinforcement learning" is employed.
[0044] The reaction vessel sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 are used to acquire data for learning in the learning phase of the machine learning, and are used to acquire data for inference in the inference phase of the machine learning. The measurement periods of the sensors included in the reaction vessel sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 may be the same or different. Each of the sensors may output a continuous measurement value like an analog signal, instead of outputting a discrete measurement value every time a measurement period elapses, as described above.
[0045] FIG. 3 is a hardware configuration diagram showing an example of a computer 200 constituting the reaction tank control device 5 (mainly the portion of the reaction tank operation support device 7) and the machine learning device 6.
[0046] Each of the reaction tank control device 5 (mainly the part of the reaction tank operation support device 7) and the machine learning device 6 is configured by a general-purpose or dedicated computer 200. As shown in FIG. 3, the computer 200 includes, as its main components, a bus 210, a processor 212, a memory 214, an input device 216, a display device 218, a storage device 220, a communication I / F (interface) unit 222, an external device I / F unit 224, an I / O (input / output) device I / F unit 226, and a media input / output unit 228. Note that the above components may be omitted as appropriate depending on the application of the computer 200.
[0047] The processor 212 is composed of one or more arithmetic processing devices (CPU, MPU, GPU, DSP, etc.), and operates as a control unit that controls the entire computer 200. The memory 214 stores various data and programs 230, and may be, for example, a volatile memory (DRAM, SRAM, etc.) that functions as a main memory, a non-volatile memory (ROM, flash memory, etc.), It consists of the following:
[0048] The input device 216 is, for example, a keyboard, a mouse, a numeric keypad, an electronic pen, etc. The display device 218 is, for example, a liquid crystal display, an organic EL display, electronic paper, a projector, etc. The input device 216 and the display device 218 may be integrated together, such as a touch panel display. The storage device 220 is, for example, a HDD, an SSD, etc., and stores various data required for the execution of the operating system and the program 230.
[0049] The communication I / F unit 222 is connected to a network 240 such as the Internet or an intranet by wire or wirelessly, and transmits and receives data to and from other computers according to a predetermined communication standard. The external device I / F unit 224 is connected to an external device 250 such as a printer or a scanner by wire or wirelessly, and transmits and receives data to and from the external device 250 according to a predetermined communication standard. The I / O device I / F unit 226 is connected to an I / O device 260 such as various sensors and actuators, and transmits and receives various signals and data, such as detection signals from sensors and control signals to actuators, between the I / O device 260. The media input / output unit 228 is composed of a drive device such as a DVD drive or a CD drive, and reads and writes data from and to a medium 270 such as a DVD or a CD.
[0050] In the computer 200 having the above configuration, the processor 212 calls the program 230 into a work memory area of the memory 214, executes the program 230, and controls each unit of the computer 200 via the bus 210. The program 230 may be stored in the storage device 220 instead of the memory 214. The program 230 may be recorded in a non-transitory recording medium such as a CD or DVD in an installable file format or an executable file format, and provided to the computer 200 via the media input / output unit 228. The program 230 may be provided to the computer 200 by downloading the program 230 via the communication I / F unit 222 over the network 240. In addition, the computer 200 may realize various functions realized by the processor 212 executing the program 230, for example, with hardware such as an FPGA or an ASIC.
[0051] The computer 200 is, for example, a stationary computer or a portable computer, and is an electronic device of any form. The computer 200 may be a client-type computer, a server-type computer, or a cloud-type computer. The computer 200 may be applied to devices other than the reaction tank control device 5 and the machine learning device 6.
[0052] (Machine Learning Device 6) FIG. 4 is a block diagram showing an example of the machine learning device 6 according to the first embodiment.
[0053] The machine learning device 6 includes a learning data acquisition unit 60, a learning data storage unit 61, a machine learning unit 62, and a trained model storage unit 63. The machine learning device 6 is configured, for example, by a computer 200 shown in Fig. 3. In this case, the learning data acquisition unit 60 is configured by a communication I / F unit 222 or an I / O device I / F unit 226, the machine learning unit 62 is configured by a processor 212, and the learning data storage unit 61 and the trained model storage unit 63 are configured by a storage device 220.
[0054] The learning data acquisition unit 60 is an interface unit that is connected to various external devices via a communication network and acquires learning data including at least input data. The external devices are the reaction device 1, the test device 8, the reaction simulation device 9, and the operator terminal 10 used by the operator. The external devices may be a part of these devices, or other devices may be further connected.
[0055] The test equipment 8 has a similar configuration to the reaction equipment 1, and is configured to be able to perform a test run of the reaction process. The reaction simulation equipment 9 is configured to be able to model the reaction process and analyze the reaction process by numerical calculation. For example, based on simulation conditions consisting of predetermined state variables and operation parameters, when the reaction equipment 1 specified by the state variables is operated based on the operation parameters, the reaction simulation equipment 9 calculates the state variables and the reaction state of the raw materials after the operation by numerical calculation.
[0056] The learning data storage unit 61 is a database that stores a plurality of sets of learning data acquired by the learning data acquisition unit 60. The specific configuration of the database that constitutes the learning data storage unit 61 may be designed as appropriate.
[0057] The machine learning unit 62 performs machine learning using the learning data stored in the learning data storage unit 61. That is, the machine learning unit 62 inputs a plurality of sets of learning data to the learning model 2, and causes the learning model 2 to learn the correlation between the input data included in the learning data and the operating parameters of the reaction apparatus 1, thereby generating a trained learning model 2. In this embodiment, a case where a neural network is adopted as a specific method of supervised learning by the machine learning unit 62 will be described.
[0058] The trained model storage unit 63 is a database that stores the trained learning model 2 generated by the machine learning unit 62. The trained learning model 2 stored in the trained model storage unit 63 is provided to an actual system (for example, the control panel 50 of the reaction tank control device 5) via any communication network, recording medium, or the like. Note that, although the training data storage unit 61 and the trained model storage unit 63 are shown as separate storage units in FIG. 4, they may be configured as a single storage unit.
[0059] Fig. 5 is a data configuration diagram showing an example of data (supervised learning) used in the machine learning device 6 according to the first embodiment. Fig. 6 is an explanatory diagram showing the relationship between input data (state variables) and output data (operation parameters) in the learning data used in the machine learning device 6 according to the first embodiment.
[0060] The learning data includes at least a reaction vessel state variable and an agitator state variable as input data. The reaction vessel state variables included in the input data are acquired by each sensor included in the reaction vessel sensor group 35. The agitator state variables included in the input data are acquired by each sensor included in the agitator sensor group 43.
[0061] The reaction vessel state variables include at least a heat quantity state variable indicating the amount of heat related to heating or removing heat from the reaction vessel 3. The heat quantity state variables include at least the jacket heat medium temperature T4 and the jacket heat medium flow rate F1. The heat quantity state variables may further include the cold water temperature T5 and the hot water temperature T6 in addition to the jacket heat medium temperature T4, and may further include the cold water flow rate F2 and the hot water flow rate F3 in addition to the jacket heat medium flow rate F1.
[0062] In addition to the heat quantity state variables, the reaction vessel state variables may further include at least one of reaction vessel temperatures T1, T2, T3, reaction vessel pressure P1, and reaction vessel weight W1.
[0063] The agitator state variables include at least an agitator torque ST1. The agitator state variables may further include at least one of a motor rotation speed R1 and a motor current value I1 in addition to the agitator torque ST1.
[0064] The input data includes the reactor state variables, the agitator state variables, and the external environment state variables. The external environment state variables included in the input data include at least one of an external environment temperature T7 and an external environment humidity H1. The external environment state variables included in the input data are acquired by each sensor included in the external environment sensor group 37. The input data may further include other data in addition to the above.
[0065] Each of the state variables included in the input data is time series data measured at each measurement period during a state variable acquisition period, which is a predetermined period during which the reaction process progresses. The time series data of the state variables is, for example, data arranged in order of measurement time indicating the time point at which each measurement value of the state variable is measured, and is configured as data indicating the change over time of the state variables.
[0066] The state variable acquisition period is set to a period equal to or less than the process execution period from the start to the end of the reaction process. The shorter the state variable acquisition period is set, the fewer the number of sequences that make up the time-series data of the state variables ("3" in the example of Fig. 6), but the state variable acquisition period can be set taking into consideration the characteristics of the reaction process and the inference accuracy required for the learning model 2. When the state variable acquisition period is set shorter than the process execution period, the start and end points of the state variable acquisition period are set arbitrarily within the state variable acquisition period while keeping the time interval between the start and end points fixed.
[0067] When supervised learning is adopted as the machine learning, the learning data further includes, as output data associated with the input data, operation parameters of the reaction apparatus 1. In supervised learning, the output data is referred to as, for example, teacher data or correct answer label.
[0068] The operation parameters include at least one of a reaction vessel operation parameter indicating a command value when heating or removing heat from the reaction vessel 3, and an agitator operation parameter indicating a command value when the agitator 4 is driven.
[0069] The reaction tank operation parameters include at least a command value for the jacket heat medium temperature T4 and a command value for the jacket heat medium flow rate F1. The reaction tank operation parameters may further include a command value for the cold water temperature T5 and a command value for the hot water temperature T6 in addition to the command value for the jacket heat medium temperature T4, or may further include a command value for the cold water flow rate F2 and a command value for the hot water flow rate F3 in addition to the command value for the jacket heat medium flow rate F1.
[0070] The agitator operation parameters include at least one of a command value for the motor rotation speed R1 and a command value for the motor current value I1.
[0071] The operating parameters are time point data or time series data of the state variables included in the input data after the end of the state variable acquisition period. The time point data of the operating parameters is a command value that is output when the next command period arrives after the end of the state variable acquisition period. The time series data of the operating parameters is an array of data in which each command value output after the end of the state variable acquisition period is arranged in command time order indicating the command time point, and is configured as data indicating the change in the command value over time.
[0072] As shown in Figs. 5 and 6, the learning data according to this embodiment includes input data and output data, and is configured such that the input data and the output data are associated with each other. Note that in Fig. 6, the graph showing the jacket heat medium flow rate F1 and the graph showing the command value related to the jacket heat medium flow rate F1 are omitted. The input data included in the learning data is configured of time series data of the jacket heat medium temperature T4, time series data of the jacket heat medium flow rate F1, and time series data of the agitator torque ST1 during the state variable acquisition period. The output data included in the learning data is configured of time point data of the command value related to the jacket heat medium temperature T4, time series data of the jacket heat medium flow rate F1, and time series data of the agitator torque ST1. The operation parameters are composed of time point data of a command value for the motor rotation speed R1 and time point data of a command value for the motor rotation speed R2. In Fig. 6, two pieces of learning data are shown, learning data A surrounded by a dashed line and learning data B surrounded by a dashed line.
[0073] Therefore, the input data included in the learning data includes the jacket heat medium temperature T4 and the jacket heat medium flow rate F1 as representative values representing the amount of heat that affects the progress of the reaction process, and also includes the stirrer torque ST1 as a representative value representing the reaction state of the raw materials that changes as the reaction process progresses. Therefore, by having the learning model 2 learn by machine learning the feature amounts of the operating parameters adopted during past operations for the progress of various reaction processes indicated by these input data, it becomes possible to reproduce, for example, the same operation as that of a skilled operator.
[0074] FIG. 7 is a schematic diagram showing an example of a neural network model used in the machine learning device 6 according to the first embodiment.
[0075] The learning model 2 is configured as a neural network model shown in Fig. 7. The neural network model is configured from m neurons (x1 to xm) in the input layer, p neurons (y11 to y1p) in the first hidden layer, q neurons (y21 to y2q) in the second hidden layer, and n neurons (z1 to zn) in the output layer.
[0076] Each neuron in the input layer is associated with a respective input data included in the learning data. Each neuron in the output layer is associated with a respective output data included in the learning data. Note that the input data before being input to the input layer may be subjected to a predetermined pre-processing (normalization, standardization, one-hot encoding, etc.), and the output data after being output from the output layer may be subjected to a predetermined post-processing.
[0077] The first and second hidden layers are also called hidden layers, and the neural network may have a plurality of hidden layers in addition to the first and second hidden layers, or may have only the first hidden layer as a hidden layer. Synapses connecting neurons in each layer are laid between the input layer and the first hidden layer, between the first hidden layer and the second hidden layer, and between the second hidden layer and the output layer, and each synapse is assigned a weight wi (i is a natural number).
[0078] A neural network model uses training data to learn the correlation between the input data and output data by inputting input data contained in the training data into an input layer and comparing the output data output from the output layer as an inference result with the output data (teacher data) contained in the training data.
[0079] Specifically, input data included in the learning data is input to each neuron in the input layer. The value of each neuron in the output layer is calculated by performing a process for all neurons other than the input layer, in which the value of the neuron on the input side connected to the neuron in question is calculated as the sum of a sequence of multiplication values of the value of the neuron on the input side connected to the neuron and the weight wi associated with the synapse connecting the neuron on the output side and the neuron on the input side.
[0080] Then, the values (z1 to zn) output to each neuron in the output layer as the inference results are compared with the values (t1 to tn) of the teacher data corresponding to each of the output data included in the learning data to determine the error, and a process (backpropagation) is performed to adjust the weights wi associated with each synapse so that the error is reduced.
[0081] The above series of steps is repeated a predetermined number of times, or the above error is reduced to a value smaller than the allowable value. When a predetermined learning end condition is met, such as when the weights wi of the neural network are equal to or larger than the sum of the weights wi of the synapses, the machine learning ends. This generates a trained neural network model (all weights wi associated with each synapse).
[0082] (Machine learning methods) 8 is a flowchart showing an example of a machine learning method by the machine learning device 6 according to the first embodiment. The machine learning method corresponds to the learning phase.
[0083] First, in step S100, the learning data acquisition unit 60 prepares a desired number of pieces of learning data as a preliminary preparation for starting machine learning, and stores the prepared learning data in the learning data storage unit 61. The number of pieces of learning data to be prepared here may be set in consideration of the inference accuracy required for the learning model 2 to be finally obtained.
[0084] Several methods can be adopted for preparing the learning data. For example, manual operation history data 53 obtained when an operator operates the reaction vessel control device group 36 and the agitator control device 44 in the manual operation mode may be used, and the learning data acquisition unit 60 acquires the state variables and manual operation amounts recorded in the manual operation history data 53 as input data and output data of the learning data. At that time, since the manual operation history data 53 is recorded as time-series data in the process execution period, when the state variable acquisition period is set shorter than the process execution period, multiple learning data are acquired from one manual operation history data 53 by shifting the state variable acquisition period with respect to the process execution period by a measurement cycle unit, as shown in FIG. 6.
[0085] Furthermore, when the inspection results after completion are recorded in the manual driving history data 53, the learning data acquisition unit 60 may extract the manual driving history data 53 whose inspection results satisfy a predetermined pass criterion, and acquire learning data based on the extracted manual driving history data 53. When the inspection results after completion are not recorded in the manual driving history data 53, the learning data acquisition unit 60 may acquire learning data based on the manual driving history data 53 specified by the worker using the worker terminal 10, for example.
[0086] Furthermore, the automatic operation history data 52 when the automatic operation mode unit 501 controls the reaction tank control device group 36 and the agitator control device 44 in the automatic operation mode may be utilized, and the learning data acquisition unit 60 may acquire the state variables and manual operation amounts recorded in the automatic operation history data 52 as input data and output data for the learning data, in a similar manner to the manual operation history data 53.
[0087] The automatic operation history data 52 and the manual operation history data 53 may be not only data recorded by the reaction apparatus 1 when a reaction process is performed in the reaction apparatus 1, but also data recorded by the test apparatus 8 in the same manner as the reaction apparatus 1 when a reaction process is performed on a trial basis in the test apparatus 8. The learning data acquisition unit 60 may directly acquire the measured values (state variables) of the sensors from the reaction tank sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 provided in the reaction apparatus 1, and may directly acquire the automatic control amount and the manual operation amount at that time from the reaction tank control device group 36 and the agitator control device 44, instead of the data recorded as the automatic operation history data 52 and the manual operation history data 53.
[0088] Next, in step S110, the machine learning unit 62 prepares a pre-learning learning model 2 in order to start machine learning. The pre-learning learning model 2 prepared here is configured with the neural network model exemplified in Fig. 7, and the weights of each synapse are set to their initial values.
[0089] Each neuron in the input layer is associated with the time series data of the jacket heat medium temperature T4, the time series data of the jacket heat medium flow rate F1, and the time series data of the stirrer torque ST1 as input data included in the learning data. Therefore, for example, if the number of measurements (e.g., measurement period of 10 seconds) included in the state variable acquisition period (e.g., 10 minutes) is 60, each of the above three time series data includes 60 points of data, and therefore the input layer has 180 neurons.
[0090] Each neuron in the output layer is associated with the time point data of the command value for the jacket heat medium temperature T4, the time point data of the command value for the jacket heat medium flow rate F1, and the time point data of the command value for the motor rotation speed R1, which are output data contained in the learning data. Therefore, the output layer has three neurons. Note that, if the command value is composed of time series data rather than time point data, the output layer has neurons in a number corresponding to the number of sequences of the time series data.
[0091] Next, in step S120, the machine learning unit 62 acquires one piece of learning data from the multiple sets of learning data stored in the learning data storage unit 61, for example, randomly.
[0092] Next, in step S130, the machine learning unit 62 inputs the input data included in one piece of learning data to the input layer of the prepared learning model 2 before learning (or during learning). As a result, output data is output as an inference result from the output layer of the learning model 2, but this output data is generated by the learning model 2 before learning (or during learning). Therefore, in the state before learning (or during learning), the output data output as an inference result indicates information different from the output data (teacher data) included in the learning data.
[0093] Next, in step S140, the machine learning unit 62 performs machine learning by comparing the output data (teacher data) included in the one learning data acquired in step S120 with the output data output from the output layer as an inference result in step S130 and adjusting the weight of each synapse. In this way, the machine learning unit 62 causes the learning model 2 to learn the correlation between the input data and the output data.
[0094] Next, in step S150, the machine learning unit 62 determines whether or not it is necessary to continue machine learning based on, for example, the error between the output data and the teacher data and the remaining amount of unlearned learning data stored in the learning data memory unit 61.
[0095] If the machine learning unit 62 determines in step S150 to continue the machine learning (No in step S150), the process returns to step S120, and performs steps S120 to S140 multiple times on the learning model 2 being trained using untrained learning data. On the other hand, if the machine learning unit 62 determines in step S150 to end the machine learning (Yes in step S150), the process proceeds to step S160.
[0096] Then, in step S160, the machine learning unit 62 stores the trained learning model 2 generated by adjusting the weights associated with each synapse in the trained model storage unit 63, and ends the series of machine learning methods shown in Fig. 8. In the machine learning method, step S100 corresponds to a learning data storage step, steps S110 to S150 correspond to a machine learning step, and step S160 corresponds to a trained model storage step.
[0097] As described above, the machine learning device 6 and machine learning method of this embodiment can provide a learning model 2 that can assist in setting operating parameters of the reaction apparatus 1 based on the reaction tank state variables related to the reaction tank 3 and the agitator state variables related to the agitator 4.
[0098] (Reactor operation support device 7) FIG. 9 is a block diagram showing an example of the reaction tank operation support device 7 (operation support unit 500) according to the first embodiment.
[0099] The reaction tank operation support device 7 includes an input data acquisition unit 70, an inference unit 71, a trained model storage unit 72, and an output processing unit 73. The reaction tank operation support device 7 is configured, for example, by a computer 200 shown in FIG. 3. In this case, the input data acquisition unit 70 is configured by a communication I / F unit 222 or an I / O device I / F unit 226, the inference unit 71 and the output processing unit 73 are configured by a processor 212, and the trained model storage unit 72 is configured by a storage device 220. In this embodiment, the reaction tank operation support device 7 is incorporated in the control panel 50 of the reaction tank control device 5, but may be configured, for example, by a general-purpose or dedicated computer (see FIG. 3) as a device separate from the reaction tank control device 5.
[0100] The input data acquisition unit 70 is an interface unit connected to the reaction vessel sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 provided in the reaction apparatus 1, and acquires input data based on the measured values (state variables) measured by each sensor. As shown in Fig. 5, the input data according to this embodiment is composed of time series data of the jacket heat medium temperature T4 during the state variable acquisition period (predetermined period), time series data of the jacket heat medium flow rate F1 during the state variable acquisition period, and time series data of the agitator torque ST1 during the state variable acquisition period.
[0101] The inference unit 71 inputs the input data acquired by the input data acquisition unit 70 into the learning model 2, and performs an inference process to infer the operating parameters of the reaction device 1. For the inference process, a machine learning device 6 and a trained learning model 2 that has undergone supervised learning using a machine learning method are used.
[0102] The inference unit 71 not only has a function of performing inference processing using the learning model 2, but also has a pre-processing function of adjusting the input data acquired by the input data acquisition unit 70 to a desired format, etc., and inputting the adjusted data to the learning model 2 as pre-processing of the inference processing, and a post-processing function of adjusting the operating parameters of the reaction device 1 to a desired format, etc., by applying a predetermined logical formula or calculation formula to the value of the output data output from the learning model 2 as post-processing of the inference processing. Note that it is preferable to store the inference results of the inference unit 71 in the learned model storage unit 72 or another storage device (not shown), and past inference results can be used, for example, as learning data used for online learning or re-learning in order to further improve the inference accuracy of the learning model 2.
[0103] The trained model storage unit 72 is a database that stores trained learning models 2 used in the inference process of the inference unit 71. Note that a plurality of trained models may be stored in the trained model storage unit 72 and selectively used by the inference unit 71. The plurality of trained models are generated for each of different numbers and types of input data and output data, learning methods, specifications of each part of the reaction tank 3 and the agitator 4 that constitute the reaction apparatus 1, types and amounts of raw materials and products in the reaction process, etc.
[0104] The output processing unit 73 performs an output process to output the inference result of the inference unit 71, that is, the operation parameters of the reaction device 1. As a specific output means, various means can be adopted. For example, when the automatic operation mode is selected, the output processing unit 73 outputs the operation parameters to the automatic operation mode unit 501, so that the reaction tank control device group 36 and the agitator control device 44 are automatically controlled according to the operation parameters. When the manual operation mode is selected, the output processing unit 73 outputs the operation parameters to the manual operation mode unit 502, so that the operator is notified of operation support information according to the operation parameters by display or sound via the operation display panel 51.
[0105] (Reactor operation support method) 10 is a flowchart showing an example of a method for supporting reactor operation by the reactor operation support device 7 (the operation support unit 500 of the reactor control device 5) according to the first embodiment. The method for supporting reactor operation corresponds to the inference phase.
[0106] When an operator performs a start operation to instruct the start of a reaction process using the operation display panel 51, the reaction tank control device 5 accepts the start operation and executes a series of steps of a reaction tank operation support method shown in FIG.
[0107] First, in step S200, the reaction vessel sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 provided in the reaction device 1 measure various measurement values (state variables) at every measurement period.
[0108] Next, in step S210, the operation support unit 500 (input data acquisition unit 70) acquires input data based on the state variables measured by each sensor of the reaction tank sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 at each measurement period.
[0109] In this embodiment, the input data is, as shown in Fig. 5, time series data of jacket heat medium temperature T4 during a state variable acquisition period (predetermined period), time series data of jacket heat medium flow rate F1 during the state variable acquisition period, and time series data of agitator torque ST1 during the state variable acquisition period. Therefore, until the state variable acquisition period has elapsed, for example, the operation is automatically controlled by initial setting values or manually operated by an operator. Then, when the state variable acquisition period has elapsed, the above time series data is measured as state variables, and the operation support unit 500 acquires the input data.
[0110] Next, in step S220, the operation support unit 500 (inference unit 71) preprocesses the input data and inputs it to the input layer of the learning model 2, infers the operating parameters of the reaction device 1, and obtains the output data output from the output layer of the learning model 2.
[0111] Next, in steps S230 to S234, the driving support unit 500 (output processing unit 73) outputs the driving parameters that are the inference results of the inference unit 71, thereby supporting the setting of the driving parameters.
[0112] Specifically, in step S230, it is determined whether the operation mode is automatic or manual. Then, in step S230, if the operation support unit 500 determines that the operation mode is automatic, the operation parameters are output to the automatic operation mode unit 501, and in step S232, the reaction vessel control device group 36 and the agitator control device 44 are automatically controlled according to the operation parameters.
[0113] On the other hand, if the operation assistance unit 500 determines in step S230 that the operation mode is manual, then in step S233, the operation parameters are output to the manual operation mode unit 502, and in step S234, operation assistance information corresponding to the operation parameters is notified to the operator via the operation display panel 51, and the reaction tank control device group 36 and the agitator control device 44 are manually operated.
[0114] Next, in step S240, the driving support unit 500 judges whether the reaction process has ended. As a result, if it is judged that the reaction process has not ended (No in step S240), the driving support unit 500 returns to step S200 and executes the above steps S200 to S234 to support the setting of new driving parameters at the timing when the next command cycle arrives.
[0115] On the other hand, in step S240, when the operation support unit 500 determines that the reaction process has ended (Yes in step S240), the series of steps of the reaction tank operation support method shown in Fig. 10 is terminated. In the reaction tank operation support method, step S210 corresponds to an input data acquisition step, step S220 corresponds to an inference step, and steps S230 to S234 correspond to an output processing step.
[0116] As described above, the reactor operation support device 7 and the reactor operation support method according to this embodiment can support the setting of the operation parameters of the reactor 1 based on the reactor state variables related to the reactor 3 and the agitator state variables related to the agitator 4 by utilizing the learning model 2. Therefore, it is possible to improve the production quality and shorten the production time without relying on the experience of the operator.
[0117] Second Embodiment In the first embodiment, a case where "supervised learning" is adopted as a machine learning method is described, but in this embodiment, a case where "reinforcement learning" is adopted is described. Note that the basic configurations and operations of the reaction apparatus 1, the machine learning device 6, and the reaction tank operation support device 7 (operation support unit 500) according to the second embodiment are the same as those of the first embodiment, so the following description will focus on the differences from the first embodiment.
[0118] (Machine Learning Device 6) The machine learning device 6 includes a learning data acquisition unit 60, a learning data storage unit 61, a machine learning unit 62, and a trained model storage unit 63, similarly to the first embodiment (see FIG. 4).
[0119] The machine learning unit 62 functions as a reinforcement learning agent. In the basic mechanism of reinforcement learning, the agent observes the state of the environment under predetermined conditions, and selects an action according to a predetermined policy for the observed state. Then, when the selected action changes the state of the environment, the agent receives a reward according to the change in state, and evaluates the value of the selected action. As a series of such processes, the agent repeats the observation of the state, the selection of an action, and the evaluation of the value, thereby making the learning model 2 learn a policy for selecting an action that will maximize the reward.
[0120] FIG. 11 is a schematic diagram showing an example of data (reinforcement learning) used in the machine learning device 6 according to the second embodiment and the relationship between the data and reinforcement learning.
[0121] When the reinforcement learning by the machine learning unit 62 corresponds to the basic mechanism of reinforcement learning described above, the environment is the reaction device 1 and the reaction process carried out in the reaction device 1.
[0122] The state s is various state variables measured by the reaction tank sensor group 35, the external environment sensor group 37, and the agitator sensor group 43, and the reaction state of the raw materials inside the reaction tank main body 30. The reaction state of the raw materials is calculated as a reaction index value based on various state variables measured by the reaction tank sensor group 35, the external environment sensor group 37, and the agitator sensor group 43, for example. The reaction index value is expressed in the range of 0 to 100%, for example, with 0% at the start of the reaction and 100% at the end of the reaction. As shown in FIG. 11, the state s according to this embodiment is composed of time series data of the jacket heat medium temperature T4, time series data of the jacket heat medium flow rate F1, and time series data of the agitator torque ST1.
[0123] The action a is a plurality of operation parameters that can be taken as the operation parameters of the reaction apparatus 1. As shown in FIG. 11, the action a according to this embodiment is a command value (a A command value (a1) for the amount of increase in the jacket heat transfer medium flow rate F1 and a command value (a2) for the amount of decrease in the jacket heat transfer medium flow rate F2, a command value (a3) for the amount of increase in the jacket heat transfer medium flow rate F1 and a command value (a4) for the amount of decrease in the jacket heat transfer medium flow rate F2, and a command value (a5) for the amount of increase in the motor rotation speed R1 and a command value (a6) for the amount of decrease in the motor rotation speed R1. The magnitudes of the increase and decrease may be set appropriately and may be set in multiple stages.
[0124] The reward r is calculated based on the difference D between the reaction state of the raw material after the operation of the reactor 1 based on the operating parameters is performed as action a (after the change) on the reaction state of the raw material before the change, and the target transition TG indicating the target value of the reaction state that transitions with the progress of the reaction process. The reward r is defined as being calculated so that it is larger as the difference D is smaller.
[0125] In the example of FIG. 11, when comparing the states s2(a1) and s2(a2) at time t2 after taking two different actions a1 and a2 with respect to the state s1 at time t1, the difference D from the target transition TG is such that D(a1) < D(a2). Therefore, the reward r for action a1 is calculated to be greater than the reward r for action a2. Note that the definition of the reward r may be changed as appropriate. For example, multiple viewpoints may be further considered, or it may be calculated such that the smaller the change amount of the operation parameter, the larger it becomes, or it may be calculated such that the shorter the manufacturing time, the larger it becomes.
[0126] The target transition TG is obtained by calculating the time transition of the reaction index value from the time transition of the state variables included therein based on the manual operation history data 53 or the automatic operation history data 52 whose inspection results satisfy a predetermined pass criterion. Note that the manual operation history data 53 or the automatic operation history data 52 may be recorded in a state where the setting of the operation parameter is supported by the reaction tank control device 5, or may be recorded in a state where the setting of the operation parameter is not supported.
[0127] Further, the target transition TG can also be obtained from a plurality of manual operation history data 53 or automatic operation history data 52. In that case, it is obtained by statistically calculating, for example, a regression curve or the like from the time transitions of a plurality of reaction index values. Therefore, the target transition TG may be approximated by a function having the time t and state variables (for example, jacket heat medium temperature T4, jacket heat medium flow rate F1, and agitator torque ST1) as variables. Further, the target transition TG may have a predetermined width defined by a lower limit value and an upper limit value at each time point.
[0128] When reinforcement learning is adopted as the machine learning, the learning data includes only input data corresponding to the state s. In other words, the learning data may be configured not to include output data, and the presence or absence of output data and the format of the output data can be appropriately selected according to the machine learning method adopted by the machine learning device 6. As shown in FIG. 11, the input data included in the learning data according to this embodiment is composed of time series data of the jacket heat medium temperature T4, time series data of the jacket heat medium flow rate F1, and time series data of the stirrer torque ST1 during the state variable acquisition period.
[0129] In this embodiment, the evaluation of a given action a in a state s is performed using the action value function Q(s, a) of the Q-learning method. The action value function Q(s, a) is the expected value of the reward r that can be obtained in the future when the action a is taken in the state s.
[0130] The action value function Q(s, a) is calculated by, for example, a method called DQN (Deep Q-Network), where state s is an input variable and each action a k The action value function Q(s,a k In this case, the machine learning unit 62 may calculate the reward r, the learning rate α, and the discount rate γ as variables by using an error function (for example, TD error) that is the most suitable. By adjusting the weights wi of the neural network model, the action value function Q(s,a k ) and update the input data (state s) and operating parameters (action a k ) is trained in the learning model 2. Any method may be used as the reinforcement learning method, and in addition to the Q-learning method, the SARSA method, the Monte Carlo method, or the like may be used.
[0131] FIG. 12 is a schematic diagram showing an example of a neural network model used in the machine learning device 6 according to the second embodiment.
[0132] Learning model 2 is the action value function Q(s,a k ) is approximately calculated, a neural network model shown in Fig. 12 is configured. The neural network model shown in Fig. 12 is configured similarly to the one shown in Fig. 7.
[0133] Each neuron in the input layer is associated with the input data (state s) included in the training data. Each neuron in the output layer is associated with each action a for state s. k The action value function Q(s,a k ) are associated with each other.
[0134] (Machine learning methods) FIG. 13 is a flowchart showing an example of a machine learning method performed by the machine learning device 6 according to the second embodiment.
[0135] First, in step S300, the learning data acquisition unit 60 prepares a desired number of pieces of learning data as advance preparation for starting machine learning, and stores the prepared learning data in the learning data storage unit 61.
[0136] There are several methods for preparing the learning data. For example, the learning data acquisition unit 60 may acquire the state variables recorded in the manual driving history data 53 or the automatic driving history data 52 as input data (state s) of the learning data, as in the first embodiment.
[0137] Next, in step S310, the machine learning unit 62 prepares a pre-learning learning model 2 in order to start machine learning. The pre-learning learning model 2 prepared here is configured with the neural network model exemplified in Fig. 12, and the weights of each synapse are set to their initial values.
[0138] Each neuron in the input layer is associated with the time series data of the jacket heat medium temperature T4, the time series data of the jacket heat medium flow rate F1, and the time series data of the stirrer torque ST1 as input data (state s) included in the learning data.
[0139] Each neuron in the output layer has the operation parameters (action a) that the reactor 1 can take. k ) correspond to a command value (a1) for the increase amount and a command value (a2) for the decrease amount of the jacket heat medium temperature T4, a command value (a3) for the increase amount and a command value (a4) for the decrease amount of the jacket heat medium flow rate F1, and a command value (a5) for the increase amount and a command value (a6) for the decrease amount of the motor rotation speed R1. k The action value function Q(s,a k ) values are output respectively.
[0140] Next, in step S311, the machine learning unit 62 calculates a target transition TG indicating a target value of the reaction state that transitions as the reaction process progresses.
[0141] Next, in step S320, the machine learning unit 62 uses the learning data stored in the learning data storage unit 61. From the plurality of sets of learning data thus obtained, for example, one piece of learning data is randomly selected.
[0142] Next, in step S330, the machine learning unit 62 inputs the input data (state s1) included in the one learning data acquired in step S320 to the input layer of the prepared learning model 2 before learning (or during learning). As a result, each action a k The value of (action value function Q(s,a k ) is output.
[0143] Next, in step S340, the machine learning unit 62 performs the inference process on each of the actions a k The action value function Q(s,a k), for example, a specific action a corresponding to the maximum value is selected. As a method for selecting a specific action a, for example, the greedy method, the ε-greedy method, or the like may be adopted.
[0144] Next, in step S350, the machine learning unit 62 acquires a state s2 after taking the action a selected in step S350 for the state s1. Specifically, the machine learning unit 62 operates the reactor 1 based on the operating parameters corresponding to the action a for the raw material reaction state based on the time series data of the jacket heat medium temperature T4, the jacket heat medium flow rate F1, and the agitator torque ST1 indicated by the state s1, and acquires the jacket heat medium temperature T4, the jacket heat medium flow rate F1, and the agitator torque ST1 at the time point after the operation as the state s2. The operation of the reactor 1 here is performed, for example, using the reaction simulation device 9 in the early stage of machine learning, and may be actually performed in the reactor 1 in the final stage of machine learning.
[0145] Next, in step S360, the machine learning unit 62 calculates the reward r based on the state s2 acquired in step S350 and the target transition TG acquired in step S311. Specifically, the machine learning unit 62 calculates the reward r based on the difference D between the target transition TG and the reaction state of the raw materials based on the jacket heat medium temperature T4, jacket heat medium flow rate F1, and agitator torque ST1 indicated by the state s2.
[0146] Next, in step S370, the machine learning unit 62 adjusts the weights wi of the neural network model based on the reward r calculated in step S360 so that the error function is minimized, thereby calculating the action value function Q(s, a k ) is updated. As a result, the machine learning unit 62 updates the input data (state s) and the driving parameters (action a k ) is learned by learning model 2. Note that the action value function Q(s,a k ) does not have to be updated every time, and may be updated only when a predetermined condition is satisfied, for example.
[0147] Next, in step S380, the machine learning unit 62 determines whether or not to perform machine learning using different learning data. As a result, when the machine learning unit 62 determines to continue machine learning using the learning data acquired in step S320 (No in step S380), the process returns to step S330, and performs the processes of steps S330 to S370 on the learning model 2 being trained by treating the state s2 acquired in step S350 as the state s1 in step S330. On the other hand, when the machine learning unit 62 determines to use different learning data (Yes in step S380), the process proceeds to step S381.
[0148] Next, in step S381, the machine learning unit 62 determines whether or not it is necessary to continue the machine learning. As a result, if it is determined to continue (No in step S381), the process returns to step S320 and performs steps S320 to S380 on the learning model 2 being trained. If it is determined to end the machine learning (Yes in step S381), the process proceeds to step S390.
[0149] Then, in step S390, the machine learning unit 62 calculates the The trained learning model 2 generated by adjusting the weights is stored in the trained model storage unit 63, and the series of machine learning methods shown in Fig. 13 is terminated. In the machine learning method, step S300 corresponds to a learning data storage step, steps S310 to S381 correspond to a machine learning step, and step S390 corresponds to a trained model storage step.
[0150] As described above, the machine learning device 6 and machine learning method of this embodiment can provide a learning model 2 that can assist in setting operating parameters of the reaction apparatus 1 based on the reaction tank state variables related to the reaction tank 3 and the agitator state variables related to the agitator 4.
[0151] (Reactor operation support device 7) The reaction tank operation support device 7 includes an input data acquisition unit 70, an inference unit 71, a trained model storage unit 72, and an output processing unit 73, similarly to the first embodiment (see FIG. 9).
[0152] The inference unit 71 inputs the input data acquired by the input data acquisition unit 70 into the learning model 2, and performs an inference process to infer the operating parameters of the reaction device 1. For the inference process, a machine learning device 6 and a trained learning model 2 in which reinforcement learning has been performed by a machine learning method are used.
[0153] (Reactor operation support method) FIG. 14 is a flowchart showing an example of a reaction tank operation support method by the reaction tank operation support device 7 (the operation support unit 500 of the reaction tank control device 5) according to the second embodiment.
[0154] First, in step S400, the reaction vessel sensor group 35, the external environment sensor group 37, and the agitator sensor group 43 provided in the reaction apparatus 1 measure various measurement values (state variables) at every measurement period.
[0155] Next, in step S410, the driving support unit 500 (the input data acquisition unit 70) acquires input data (state s) based on the state variables measured by each sensor at each measurement period.
[0156] In step S420, the operation support unit 500 (inference unit 71) performs preprocessing on the input data (state s) and inputs the preprocessed data to the input layer of the learning model 2, infers the operation parameters of the reactor 1, and outputs the output data (each action a) output from the output layer of the learning model 2. k The action value function Q(s,a k ) to get the value of
[0157] Next, in step S421, the driving support unit 500 (the inference unit 71) performs, as an example of post-processing of reinforcement learning, the following: k The action value function Q(s,a k ) and select the action a that gives the maximum value.
[0158] Next, in steps S430 to S434, the driving support unit 500 (output processing unit 73) supports the setting of driving parameters by outputting driving parameters corresponding to the action a selected in step S421. Note that steps S430 to S434 are similar to steps S230 to S234 in FIG. 10, and therefore detailed description thereof will be omitted.
[0159] Next, in step S440, the driving support unit 500 judges whether the reaction process has ended. As a result, if it is judged that the reaction process has not ended (No in step S440), the driving support unit 500 returns to step S400 and executes the above steps S400 to S434 to support the setting of new driving parameters at the timing when the next command cycle arrives.
[0160] On the other hand, in step S440, when operation support unit 500 determines that the reaction process has ended (Yes in step S440), the series of steps of the reaction tank operation support method shown in Fig. 14 is terminated. In the reaction tank operation support method, step S410 corresponds to an input data acquisition step, steps S420 and S421 correspond to an inference step, and steps S430 to S434 correspond to an output processing step.
[0161] As described above, the reactor operation support device 7 and the reactor operation support method according to this embodiment can support the setting of the operation parameters of the reactor 1 based on the reactor state variables related to the reactor 3 and the agitator state variables related to the agitator 4 by utilizing the learning model 2. Therefore, it is possible to improve the production quality and shorten the production time without relying on the experience of the operator.
[0162] (Other embodiments) The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit and scope of the present invention, all of which are included in the technical concept of the present invention.
[0163] In the above embodiment, the reaction tank operation support device 7 has been described as being applied to the reaction apparatus 1 capable of switching between an automatic operation mode and a manual operation mode. In contrast, the reaction tank operation support device 7 may be applied to the reaction apparatus 1 that executes either the automatic operation mode or the manual operation mode. In addition, the reaction tank operation support device 7 may be shipped in a state where it is incorporated into the reaction tank control device 5 at the manufacturing factory of the reaction apparatus 1, for example, or may be retrofitted to an existing reaction tank control device 5 after shipment from the factory.
[0164] In the above embodiment, each of the state variables included in the learning data as input data has been described as being time-series data. However, each of the state variables included in the learning data as input data may be time-point data at a specific time point.
[0165] In the above embodiment, a case has been described in which a neural network is adopted as a specific method of machine learning by the machine learning unit 62. However, the machine learning unit 62 may adopt any other machine learning method. Examples of other machine learning methods include tree types such as decision trees and regression trees, ensemble learning such as bagging and boosting, and neural network types such as recurrent neural networks, convolutional neural networks, and LSTM ( including deep learning), hierarchical clustering, non-hierarchical clustering, k-nearest neighbors These include clustering methods such as the k-means method, principal component analysis, factor analysis, multivariate analysis such as logistic regression, and support vector machines.
[0166] (Machine learning program) The present invention can also be provided in the form of a program (machine learning program) 230 for causing a computer 200 shown in FIG. 3 to execute each step of the machine learning method according to the above embodiment.
[0167] (Reactor operation support program) The present invention can also be provided in the form of a program (reactor operation support program) 230 for causing a computer 200 shown in FIG. 3 to execute each step of the method for supporting reaction tank operation according to the above embodiment.
[0168] (Inference device, inference method, and inference program) The present invention relates to a reactor operation support device 7 (a reactor operation support method or a reactor The present invention can be provided not only in the form of an inference device (inference method or inference program) used to set the operating parameters of the reaction device 1, but also in the form of an inference device (inference method or inference program) used to set the operating parameters of the reaction device 1. In this case, the inference device (inference method or inference program) can include a memory and a processor, and the processor executes a series of processes. The series of processes includes an input data acquisition process (input data acquisition step) for acquiring input data including at least a reaction tank state variable related to the reaction tank 3 and an agitator state variable related to the agitator 4, and an inference process (inference step) for inferring the operating parameters of the reaction device 1 when the input data is acquired in the input data acquisition process.
[0169] By providing it in the form of an inference device (inference method or inference program), it can be easily applied to various devices compared to the case where the reactor operation support device 7 is implemented. It can be naturally understood by those skilled in the art that when the inference device (inference method or inference program) infers the operating parameters of the reactor 1, an inference method implemented by the inference unit 71 of the reactor operation support device 7 may be applied using the machine learning device 6 and the trained learning model 2 generated by the machine learning method according to the above embodiment. [Explanation of symbols]
[0170] 1 ... reaction device, 2 ... learning model, 3 ... reaction tank, 4 ... agitator, 5 ... reaction tank control device, 6...machine learning device, 7...reactor operation support device, 8...test device, 9... reaction simulation device, 10... operator terminal, 30...Reaction tank main body, 31...Raw material input port, 32...Product discharge port, 33: jacket; 34: heat medium circulation flow path; 35: reaction vessel sensor group; 36: Reactor control equipment group, 37: External environment sensor group, 40: stirring blade, 41: motor, 42: rotating shaft, 43...mixer sensor group, 44...mixer control device, 50...control panel, 51...operation display panel, 52...Automatic driving history data, 53...Manual driving history data, 60: learning data acquisition unit; 61: learning data storage unit; 62...machine learning unit, 63...trained model memory unit, 70...input data acquisition unit, 71...inference unit, 72 ... trained model storage unit, 73 ... output processing unit, 200…Computer, 340: cold water circulation flow path, 341: hot water circulation flow path, 350: jacket heat medium temperature sensor, 351...cold water temperature sensor, 352...hot water temperature sensor, 353... jacket heat medium flow sensor, 354... cold water flow sensor, 355...hot water flow rate sensor, 356A to 356C...reaction tank temperature sensor, 357... reaction vessel pressure sensor, 358... reaction vessel weight sensor, 360...cooling equipment, 361...heating equipment, 362...cold water flow control valve, 363... cold water pump, 364... hot water flow control valve, 365... hot water pump, 370: external environment temperature sensor; 371: external environment humidity sensor; 430... agitator torque sensor, 431... motor rotation speed sensor, 432...motor current sensor, 433...vibration sensor, 434...acoustic sensor, 500: driving assistance unit, 501: automatic driving mode unit, 502: manual driving mode unit, F1: jacket heat transfer medium flow rate, F2: cold water flow rate, F3: hot water flow rate, T1~T3: Reactor temperature, T4: Jacket heat medium temperature, T5: Cold water temperature, T6: Hot water temperature, P1: Reactor pressure, W1: Reactor weight, ST1: Agitator torque, I1: Motor current value, R1: Motor rotation speed, N1: Acoustic value, O1: Vibration value, T7: External environment temperature, H1: External environment humidity
Claims
1. A machine learning device that generates a learning model used in a reactor operation support device that sets operating parameters of a reactor that performs a predetermined reaction process by stirring raw materials fed into a reactor with a stirrer, comprising: a learning data storage unit that stores a plurality of sets of learning data including at least a reaction tank state variable related to the reaction tank and a stirrer state variable related to the stirrer as input data; a machine learning unit that causes the learning model to learn a correlation between the input data and the driving parameters by inputting a plurality of sets of the learning data to the learning model; A trained model storage unit that stores the learning model trained by the machine learning unit, The reactor state variables included in the input data are: At least a heat quantity state variable indicating a heat quantity related to heating or removing heat from the reaction vessel; The agitator state variables included in the input data are: At least the agitator torque indicating the torque applied to the motor as a drive source for rotating the agitator blade, The operating parameters are: Reactor operation parameters indicating command values for heating or cooling the reactor; and At least one of the agitator operation parameters indicating a command value for driving the agitator is included; Machine learning device.
2. The heat quantity state variable included in the input data is A jacket heat transfer medium temperature indicating the temperature of the heat transfer medium flowing through a jacket provided around the outer periphery of the reaction vessel; and At least the jacket heat medium flow rate indicating the flow rate of the heat medium circulating in the jacket, The machine learning device according to claim 1 .
3. The agitator state variables included in the input data are: A motor rotation speed indicating the rotation speed of the motor, and and further comprising at least one motor current value indicating a value of a current supplied to the motor. The machine learning device according to claim 1 or 2.
4. The reactor state variables included in the input data are: A reactor temperature indicating the temperature inside the reactor; A reactor pressure indicating the pressure inside the reactor, and Further comprising at least one reactor weight indicating the weight of the reactor; The machine learning device according to claim 1 .
5. The reactor operating parameters are: A command value for a jacket heat medium temperature indicating the temperature of a heat medium flowing through a jacket provided around the outer periphery of the reaction vessel; and At least a command value regarding a jacket heat medium flow rate indicating a flow rate of the heat medium circulating in the jacket, The machine learning device according to claim 1 .
6. The agitator operating parameters are: A command value relating to the motor rotation speed, which indicates the rotation speed of the motor; and at least one command value relating to a motor current value indicating a current value supplied to the motor; The machine learning device according to claim 1 .
7. The input data is Further includes an external environment state variable related to the external environment in which the reaction vessel is installed; The external environment state variables included in the input data are An external environment temperature indicating the temperature of the external environment; and and at least one external environment humidity indicating the humidity of the external environment. The machine learning device according to claim 1 .
8. The learning data is The driving parameter is further included as output data, and the input data and the output data are associated with each other, The machine learning unit is causing the learning model to learn a correlation between the input data and the output data through supervised learning; The machine learning device according to claim 1 .
9. The reaction vessel state variables and the agitator state variables included in the input data are time series data for a predetermined period during which the reaction process proceeds; The operating parameters are: The time series data for the predetermined period of time. The machine learning device according to claim 8.
10. The machine learning unit is causing the learning model to learn a correlation between the input data and the driving parameters by reinforcement learning; The machine learning device according to claim 1 .
11. The machine learning unit is The operation parameters are set for the reaction state of the raw materials in the reaction tank based on the input data. The learning model is made to learn a correlation between the input data and the operating parameters based on a difference between the reaction state after the operation of the reaction device based on the meter and a target transition indicating a target value of the reaction state which transitions with the progress of the reaction process. The machine learning device according to claim 10.
12. A reaction tank operation support device that uses a learning model generated by the machine learning device according to any one of claims 1 to 11 to set operation parameters of a reaction tank that performs a predetermined reaction process by stirring raw materials fed into the reaction tank with a stirrer, An input data acquisition unit that acquires input data including at least a reaction tank state variable related to the reaction tank and an agitator state variable related to the agitator; an inference unit that inputs the input data acquired by the input data acquisition unit into the learning model and infers the driving parameters; Reactor operation support device.
13. An inference device used to set operating parameters of a reactor that performs a predetermined reaction process by stirring raw materials fed into a reaction tank with a stirrer, The inference device comprises a memory and a processor; The processor, An input data acquisition process for acquiring input data including at least a reaction tank state variable related to the reaction tank and an agitator state variable related to the agitator; When the input data is acquired in the input data acquisition process, an inference process is executed to infer the driving parameters; The reactor state variables included in the input data are: At least a heat quantity state variable indicating a heat quantity related to heating or removing heat from the reaction vessel; The agitator state variables included in the input data are: At least the agitator torque indicating the torque applied to the motor as a drive source for rotating the agitator blade, The operating parameters are: Reactor operation parameters indicating command values for heating or cooling the reactor; and At least one of the agitator operation parameters indicating a command value for driving the agitator is included; Reasoning device.
Citation Information
Patent Citations
Method for estimating physical property of rubber polymer
JP1994003243A
Polymerization of vinyl chloride
JP2000264909A
Optimum control system for reaction temperature of chemical reactor
JP2002248340A
Control apparatus, and operation support method, for chemical plants
JP2016189166A
Operation control device and operation control method of water treatment facility
JP2019175409A
