Learning model generation method, computer program, setting value determination device, molding machine, and molding device system

By generating a learning model used to determine the setting values ​​of the molding machine, it solves the problems in the existing technology that require a large amount of training data and is difficult to control automatically, and achieves the effect of reducing the demand for training data and reducing the rate of defective products.

CN114829102BActive Publication Date: 2024-08-27THE JAPAN STEEL WORKS LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080073194.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-10-23
Filing Date
2020-10-08
Publication Date
2024-08-27
Estimated Expiration
2040-10-08

AI Technical Summary

Technical Problem

The existing injection molding system requires a large amount of training data to determine the setting values ​​of the molding machine through reinforcement learning, and it is difficult to perform correct simulation and automatic control. This results in a large number of defective products during the learning process and the inability to effectively determine the optimal setting values.

Method used

By collecting the first training data including set values, measured values ​​of physical quantities and the quality of molded products, a first learning model is generated, and further collecting second training data of defect types and change amounts, a second learning model is generated to reduce learning required training data and determine optimization settings.

Benefits of technology

It realizes the generation of a learning model used to determine the setting values ​​of the molding machine, reduces the training data requirements for the learning model, and effectively reduces the defect level of molded products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114829102B_ABST
    Figure CN114829102B_ABST
Patent Text Reader

Abstract

The present invention collects first training data including set values ​​related to a molding machine, measurement values ​​obtained by measuring physical quantities related to molding, and the quality of molded products generated by the molding machine, and generates a first learning model that outputs the quality of molded products when the set values ​​and measurement values ​​are input through machine learning based on the collected first training data. The present invention collects second training data including the defect degree of each defect type of the molded products, the measurement values, and the set values ​​that can reduce the defect degree, and generates a second learning model that outputs the set values ​​that can reduce the defect degree when the defect degree and measurement values ​​are input through machine learning based on the collected second training data and the quality output from the first learning model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a learning model generation method, a computer program, a setting value determination device, a molding machine and a molding device system. Background Art

[0002] Patent Document 1 discloses an injection molding system and a machine learner that determine optimal operating conditions with low power consumption by a reinforcement learner and adjust the operating conditions.

[0003] Patent Document 2 discloses an abnormality diagnosis device for diagnosing abnormalities of an injection molding machine by machine learning.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent No. 6346128

[0007] Patent Document 2: Japanese Patent No. 6294268 Summary of the invention

[0008] Problem that the invention aims to solve

[0009] However, the injection molding system of Patent Document 1 is a system that determines the setting values ​​related to the molding machine through reinforcement learning, which has the problem of requiring a large amount of training data or training operations. It is extremely difficult to accurately simulate the molding process, and it is necessary to use a real machine to perform molding control and molding result confirmation operations. Even if the molding control and molding result confirmation operations can be performed automatically, a large amount of resin materials are required, and a large number of defective products will also be generated during the learning process. It is difficult to complete reinforcement learning in reality.

[0010] The device of Patent Document 2 can perform abnormality diagnosis of injection molding, but cannot determine the optimal setting values ​​of the molding machine.

[0011] The object of the present invention is to provide a learning model generation method, a computer program, a setting value determination device, a molding machine and a molding device system, which can generate a learning model for determining the setting values ​​of the molding machine and can reduce the training data required for learning the learning model.

[0012] Means for solving problems

[0013] The learning model generation method of the present invention generates a learning model for determining setting values ​​related to a molding machine, collects first training data, the first training data including the setting values ​​related to the molding machine, the measurement values ​​obtained by measuring the physical quantities related to the molding when the molding machine performs molding, and the quality of the molded product generated by the molding machine when the setting values ​​are set and the measurement values ​​are obtained; generates a first learning model through machine learning based on the collected first training data, and the first learning model outputs the quality of the molded product generated by the molding machine when the setting values ​​and the measurement values ​​are input; collects second training data, the second training data including the defect degree of each defect type of the molded product, the measurement values, and the setting value or the change amount of the setting value that can at least reduce the defect degree when the defect degree and the measurement values ​​are obtained; generates a second learning model through machine learning based on the collected second training data and the quality output from the first learning model, and the second learning model outputs the setting value or the change amount of the setting value that can at least reduce the defect degree when the defect degree and the measurement values ​​are input.

[0014] The computer program of the present invention is used to cause a computer to generate a learning model for determining a setting value related to a molding machine, and the computer program causes the computer to perform the following processing: collecting first training data, the first training data including the setting value related to the molding machine, the measurement value obtained by measuring a physical quantity related to the molding when the molding machine performs molding, and the quality of the molded product generated by the molding machine in a state where the setting value is set and the measurement value is obtained; generating a first learning model through machine learning based on the collected first training data, the first learning model outputting the quality of the molded product generated by the molding machine when the setting value and the measurement value are input; collecting second training data, the second training data including the defect degree of each defect type of the molded product, the measurement value, and the setting value or the change amount of the setting value that can at least reduce the defect degree when the defect degree and the measurement value are obtained; generating a second learning model through machine learning based on the collected second training data and the quality output from the first learning model, the second learning model outputting the setting value or the change amount of the setting value that can at least reduce the defect degree when the defect degree and the measurement value are input.

[0015] The setting value determination device of the present invention generates a learning model for determining the setting value related to the molding machine, and determines the setting value based on the generated learning model, the setting value determination device includes: a first collection processing unit, which collects first training data, the first training data including the setting value related to the molding machine, the measurement value obtained by measuring the physical quantity related to the molding when the molding machine performs molding, and the quality of the molded product generated by the molding machine when the setting value is set and the measurement value is obtained; a first learning processing unit, which generates a first learning model through machine learning based on the first training data collected by the first collection processing unit, the first learning model is input with the setting value and the measurement value. a second collecting and processing unit, which collects second training data, wherein the second training data includes the degree of defect of each defect type of the molded product, the measurement value, and the set value or the amount of change in the set value that can at least reduce the degree of defect when the degree of defect and the measurement value are obtained; and a second learning processing unit, which generates a second learning model by machine learning based on the second training data collected by the second collecting and processing unit and the degree of quality output from the first learning model, wherein the second learning model outputs the set value or the amount of change in the set value that can at least reduce the degree of defect when the degree of defect and the measurement value are input.

[0016] The molding machine of the present invention comprises: a first acquisition unit, which acquires the defect degree of each defect type of the molded product produced by the molding machine; a second acquisition unit, which acquires a measurement value obtained by measuring a physical quantity related to the molding when the molding machine performs molding; and a learning model, which, upon inputting the defect degree obtained by the first acquisition unit and the measurement value obtained by the second acquisition unit, outputs a set value related to the molding machine that can at least reduce the defect degree in the state of obtaining the defect degree and the measurement value. The molding machine outputs the set value by inputting the defect degree obtained by the first acquisition unit and the measurement value obtained by the second acquisition unit into the learning model, and operates according to the output set value.

[0017] The molding device system of the present invention includes the above-mentioned setting value determination device and a molding machine.

[0018] Effects of the Invention

[0019] As described above, a learning model for determining setting values ​​of a molding machine can be generated, and training data required for learning the learning model can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is a block diagram showing a configuration example of a molding device system according to the first embodiment.

[0021] Figure 2 This is a flowchart showing the learning model generation method of implementation mode 1.

[0022] Figure 3 Schematic diagram showing a method of generating a first learning model.

[0023] Figure 4 This is a flowchart showing a method for generating a second learning model.

[0024] Figure 5 It is a schematic diagram showing a method of generating the second learning model.

[0025] Figure 6 This is a block diagram showing a molding machine according to the second embodiment.

[0026] Figure 7 This is a flowchart showing a method for determining a set value.

[0027] Figure 8 This is a block diagram showing a molding device system according to a third embodiment.

[0028] Fig. 9 It is a block diagram showing a molding device system according to a modified example. DETAILED DESCRIPTION

[0029] Hereinafter, specific examples of the learning model generation method, computer program, setting value determination device, molding machine, and molding device system according to the embodiments of the present invention will be described with reference to the accompanying drawings. At least a part of the embodiments described below may be arbitrarily combined. In addition, the present invention is not limited to these examples, but is indicated by the claims, and includes all changes within the meaning and scope equivalent to the claims.

[0030] (Implementation Method 1)

[0031] Figure 1 1 is a block diagram showing a configuration example of a molding device system according to Embodiment 1. The molding device system according to Embodiment 1 includes a setting value determination device 1 and a molding machine 2 .

[0032] The molding machine 2 is, for example, an injection molding machine, a blow molding machine, a film molding machine, an extruder, a twin-screw extruder, a spinning extruder, a granulator, a magnesium injection molding machine, etc. Hereinafter, the molding machine 2 described in the present embodiment 1 is an injection molding machine. The injection molding machine includes an injection device and a clamping device arranged in front of the injection device. The injection device is composed of a heating barrel, a screw arranged in the heating barrel to be driven in a rotational direction and an axial direction, a rotating motor driving the screw in a rotational direction, and a motor driving the screw in an axial direction. The clamping device includes a toggle mechanism and a motor driving the toggle mechanism, and the toggle mechanism opens and closes the mold, and clamps the mold when the molten resin ejected from the injection device is filled into the mold so that the mold does not open.

[0033] The molding machine 2 is set with set values ​​of predetermined molding conditions, and the molding conditions are resin temperature in the mold, nozzle temperature, barrel temperature, hopper temperature, mold clamping force, injection speed, injection acceleration, injection peak pressure, injection stroke, barrel front end resin pressure, check ring seating state, holding pressure switching pressure, holding pressure switching speed, holding pressure switching position, holding pressure end position, buffer position, metering back pressure, metering torque, metering completion position, screw retraction speed, cycle time, mold closing time, injection time, holding pressure time, metering time, mold opening time, etc. The molding machine 2 operates according to the set values. The optimal set values ​​vary depending on the molded product.

[0034] The setting value adjustment device is a computer, and includes a computing unit 11, a storage unit 12, an input interface 13, and an output interface 14. The computing unit 11 has computing circuits such as a CPU (Central Processing Unit), a multi-core CPU, a GPU (Graphics Processing Unit), a GPGPU (General-purpose computing on graphics processing units), a TPU (Tensor Processing Unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), and an NPU (Neural Processing Unit), internal storage devices such as a ROM (Read Only Memory) and a RAM (Random Access Memory), and I / O terminals. The computing unit 11 performs the functions of the setting value determination device 1 of this embodiment by running a computer program 12a stored in the storage unit 12 described later. In addition, each functional unit of the setting value determination device 1 may be implemented in software, or part or all of it may be implemented in hardware.

[0035] The storage unit 12 , the input interface 13 , and the output interface 14 are connected to the calculation unit 11 .

[0036] Furthermore, the setting value determination device 1 may be a server device connected to a network (not shown).

[0037] The storage unit 12 is a non-volatile memory such as a hard disk, an EEPROM (Electrically Erasable Programmable ROM), or a flash memory. The storage unit 12 stores a computer program 12a for causing a computer to implement the learning model generation method of the first embodiment. The learning model generation method is a method for determining the setting values ​​of the molding machine 2 so as to improve the quality of the molded product. In addition, the storage unit 12 stores a first learning model 12b and a second learning model 12c generated by the model generation method described later.

[0038] The computer program 12a of the present embodiment may also be in a form that is recorded in a recording medium 3 in a computer-readable manner. The storage unit 12 stores the computer program 12a read from the recording medium 3 by a reading device not shown in the figure. The recording medium 3 is a semiconductor memory such as a flash memory. In addition, the recording medium 3 may also be an optical disk such as a CD (Compact Disc)-ROM, a DVD (Digital Versatile Disc)-ROM, or a BD (Blu-ray (registered trademark) Disc). The recording medium 3 may also be a magnetic disk such as a floppy disk or a hard disk, a magneto-optical disk, or the like. In addition, the computer program 12a of the present embodiment may be downloaded from an external server not shown in the figure connected to a communication network not shown in the figure, and stored in the storage unit 12.

[0039] The operation unit 11 has a processor such as a CPU (Central Processing Unit), a multi-core CPU, a GPU (Graphics Processing Unit), a GPGPU (General-purpose computing on graphics processing units), a TPU (Tensor Processing Unit), an internal storage device such as a ROM (Read Only Memory), a RAM (Random Access Memory), an I / O terminal, etc., and the I / O terminal is connected to the storage unit 12, an input interface 13, and an output interface 14. The operation unit 11 generates a first learning model 12b and a second learning model 12c for determining the setting value of the molding machine 2 by running a computer program 12a stored in the storage unit 12. The generation method of the first and second learning models 12b and 12c will be described in detail later.

[0040] The input interface 13 is connected to the setting unit 1 a , the defect level input unit 1 b , and the measuring unit 1 c .

[0041] The setting unit 1a is an interface for manually inputting setting values ​​that define molding conditions of the molding machine 2. The setting unit 1a is, for example, an operation panel having buttons, a touch panel, etc. The setting unit 1a outputs the input setting value data to the input interface 13.

[0042] The defect degree input unit 1b is an interface for inputting the defect degree according to the defect type of the molded product molded by the molding machine 2. Defect types include, for example, sink marks, burrs, voids, and the like. The defect degree refers to the degree of the defect, the incidence rate of the defect, and the like. The defect degree input unit 1b is, for example, an operation panel having buttons, a touch panel, and the like, and receives the defect degree by manual input. The defect degree input unit 1b outputs the input defect degree data of each defect type to the input interface 13. In addition, the defect degree input unit 1b may also include, for example, a camera for photographing the molded product, and an image analysis processor for calculating the defect degree of each defect type by analyzing the image photographed by the camera. The defect degree input unit 1b outputs the defect degree data of each defect type obtained by image analysis to the input interface 13.

[0043] The measuring unit 1c is a device that measures physical quantities related to the molding when the molding machine 2 performs molding. The measuring unit 1c outputs physical quantity data obtained by the measurement process to the setting value determination device 1. The physical quantities include temperature, position, speed, acceleration, current, voltage, pressure, time, image data, torque, force, strain, power consumption, etc.

[0044] The information measured by the measuring unit 1c includes, for example, molded product information, molding conditions (measured values), peripheral device settings (measured values), atmosphere information, etc. The peripheral device is a device that constitutes a system linked to the molding machine 2, including a mold clamping device or a mold. The peripheral device is, for example, a molded product removal device (robot), an insert insertion device, an insert insertion device, a film feeding device for in-mold transfer, a belt conveying device for belt molding, a gas injection device for gas-assisted molding, a gas injection device and a long fiber injection device for foam molding using a supercritical fluid, a material mixing device for LIM molding, a molded product deburring device, a runner cutting device, a molded product weighing meter, a molded product strength testing machine, a molded product optical inspection device, a molded product camera device and an image processing device, a molded product conveying robot, etc.

[0045] The molded product information includes, for example, camera images of molded products, deformation of molded products obtained by laser displacement sensors, optical measurement values ​​such as chromaticity and brightness of molded products obtained by optical measuring instruments, weight of molded products measured by weighing meters, and strength of molded products measured by strength measuring instruments. The molded product information shows whether the molded product is normal, the type of defects, and the degree of defects.

[0046] The molding conditions include the resin temperature in the mold, nozzle temperature, barrel temperature, hopper temperature, clamping force, injection speed, injection acceleration, injection peak pressure, injection stroke, resin pressure at the front end of the barrel, seating state of the check ring, holding pressure switching pressure, holding pressure switching speed, holding pressure switching position, holding pressure end position, buffer position, metering back pressure, metering torque, metering end position, screw retraction speed, cycle time, mold closing time, injection time, holding pressure time, metering time, mold opening time and other information measured by thermometers, pressure gauges, speed meters, accelerometers, position sensors, timers, weighing scales, etc.

[0047] The peripheral device setting values ​​include information such as the mold temperature set as a fixed value, the mold temperature set as a variable value, and the pellet supply amount measured by a thermometer, a meter, etc.

[0048] The atmosphere information includes information such as the atmosphere temperature, atmosphere humidity, and information on convection (Reynolds number, etc.) obtained by a thermometer, a hygrometer, a flow meter, and the like.

[0049] In addition, the measuring unit 1c can also measure the mold opening amount, the recirculation amount, the tie rod deformation amount, and the heater heating rate.

[0050] The measuring unit 1 c outputs the data of the measured value obtained by the measurement process to the input interface 13 .

[0051] The output interface 14 is connected to the molding machine 2. The output interface 14 outputs the data of the set value calculated by the calculation unit 11 to the molding machine 2. The set value is a value that specifies molding conditions such as injection speed, injection stroke, barrel temperature, mold clamping force, and holding time.

[0052] Figure 2 This is a flowchart showing the learning model generation method according to Embodiment 1. The calculation unit 11 of the setting value determination device 1 executes the learning model generation method for generating a learning model for determining setting values ​​related to the molding machine 2 .

[0053] The calculation unit 11 collects first training data for causing the first learning model 12 b to learn, and the first learning model 12 b can determine or classify the quality of the molded product (step S11 ).

[0054] The first training data includes setting values ​​related to the molding machine 2, measurement values ​​obtained by measuring physical quantities related to the molding when the molding machine 2 performs molding, and the quality of the molded products produced by the molding machine 2 in a state where the setting values ​​are set and the measurement values ​​are obtained.

[0055] The quality of the molded product can be data representing good and defective products using binary values ​​such as (1, 0) or data representing the quality of the molded product using numerical values. The quality of the molded product can also be calculated based on the defect degree output from the defect degree input unit 1b.

[0056] The first training data may be collected by acquiring the set values, measured values, and quality data from one molding machine 2 and storing them in the storage unit 12, or may be collected by collecting the set values, measured values, and quality data obtained from a plurality of molding machines 2. Alternatively, the first training data may be collected by acquiring the set values, measured values, and quality data accumulated in an external server or storage device.

[0057] Figure 3 1 is a schematic diagram showing a method for generating the first learning model 12b. The computing unit 11 that has collected the first training data in the processing of step S11 generates the first learning model 12b by machine learning based on the collected first training data. The first learning model 12b, when a set value and a measured value are input, outputs the quality of the molded product generated by the molding machine 2 when the set value is set and the measured value is obtained (step S12).

[0058] The first learning model 12b is a classification neural network (machine learner) that outputs, for example, the probability that a molded product is a good product and the probability that the molded product is a defective product. The first learning model 12b includes an input layer, a hidden layer, and an output layer.

[0059] The input layer includes a plurality of nodes to which set values ​​of a plurality of items defining molding conditions are respectively input, and a plurality of nodes to which measured values ​​of the plurality of items are respectively input.

[0060] The hidden layer includes multiple intermediate layers with multiple nodes, and the nodes of the intermediate layers on the input side are connected to the nodes of the input layer. The activation function of each node is, for example, a sigmoid function, a hyperbolic tangent function, a ReLu function, or a Leaky ReLU function. In addition, part of the hidden layer can also be used as a dropout layer.

[0061] The output layer has a node for outputting the probability that the molded product is a good product and a node for outputting the probability that the molded product is a defective product. Each node of the output layer is connected to a node of the intermediate layer on the output side.

[0062] The operation unit 11 optimizes the weight coefficient of the first learning model 12b by using the error back propagation algorithm, error gradient descent method, etc. using the first training data, so as to perform machine learning on the first learning model 12b. Specifically, the operation unit 11 adjusts the weight coefficient so as to minimize the first objective function represented by the following equation (1).

[0063]

[0064] in:

[0065] J1(w) is the first objective function;

[0066] w is the weight coefficient;

[0067] v n is the quality of the output from the first learning model

[0068] vt n Output for the target (training data of good or bad quality)

[0069] L(w) is the weight decay term.

[0070] Next, the calculation unit 11 collects second training data for causing the second learning model 12 c to learn, and the second learning model 12 c can output a setting value or a change amount of the setting value that can reduce the degree of defect (step S13 ).

[0071] The second training data includes the defect degree of each defect type of the molded product, the measurement value, and the set value or the change amount of the set value that can at least reduce the defect degree when the defect degree and the measurement value are obtained.

[0072] The second training data may be collected by acquiring the defect degree, measured value, and set value or change amount data that can reduce the defect degree of each defect type from one molding machine 2 and storing the data in the storage unit 12, or may be collected by summarizing the set values, measured values, and set values ​​or change amounts obtained from a plurality of molding machines 2. In addition, the second training data may be collected by acquiring the set values, measured values, and set values ​​or change amount data accumulated in an external server or storage device.

[0073] Next, a second learning model 12c is generated through machine learning based on the collected second training data and the degree of quality output from the first learning model 12b. When the defect degree and the measurement value are input, the second learning model 12c outputs a set value or a change in the set value that can at least reduce the defect degree (step S14).

[0074] Figure 4 is a flowchart showing a method for generating the second learning model 12c. Figure 51 is a schematic diagram showing a method of generating the second learning model 12c. The second learning model 12c is a recurrent neural network (machine learner) that outputs a set value or the change amount. The second learning model 12c includes an input layer, a hidden layer, and an output layer.

[0075] The input layer has a plurality of nodes to which defect degrees are input by defect type and a plurality of nodes to which measurement values ​​of a plurality of items are respectively input.

[0076] The hidden layer includes a plurality of intermediate layers having a plurality of nodes. The structure of the hidden layer is the same as that of the hidden layer of the first learning model 12b. The nodes of the intermediate layer on the input side are connected to the nodes of the input layer.

[0077] The output layer has a plurality of nodes for outputting the set values ​​of the respective items of the predetermined molding conditions or the amount of change (adjustment amount) of the set values. Each node of the output layer is connected to a node of the intermediate layer on the output side.

[0078] The calculation unit 11 inputs the defect degree and the measured value included in the second training data into the second learning model 12c being learned (step S31). Then, the calculation unit 11 inputs the set value or the set value of the change amount outputted by the second learning model 12c in machine learning and the measured value included in the second training data into the first learning model 12b (step S32).

[0079] In step S33, the operation unit 11 optimizes the weight coefficient of the second learning model 12c by using the second training data and the quality data output from the first learning model 12b, the error back propagation algorithm, the error gradient descent method, etc., thereby performing machine learning on the second learning model 12c. Specifically, the operation unit 11 adjusts the weight coefficient so as to minimize the second objective function represented by the following formula (2).

[0080]

[0081] in:

[0082] J2(w) is the second objective function;

[0083] w is the weight coefficient;

[0084] y n is the set value (or change amount) output from the second learning model;

[0085] t n Output for the target (training data of set value);

[0086] L(w) is the weight decay term;

[0087] ζ is a parameter;

[0088] v(yn ) is the quality of the output from the first learning model.

[0089] It can be seen from the above formula (2) that the second objective function used to generate the second learning model 12c is a function whose value becomes smaller as the difference between the set value or change amount output from the second learning model 12c and the set value or change amount contained in the second training data becomes smaller, and the degree of good products represented by the quality level output from the first learning model 12b becomes higher or the degree of defects becomes lower.

[0090] More specifically, the second objective function has a penalty term in addition to the usual error term and weight decay term. The penalty term is a function whose value increases as the degree of defective products represented by the quality level output from the first learning model 12b increases. In addition, the penalty term has a parameter that determines the rate of change of the value relative to the quality level. The penalty term is a structure in which the function is multiplied by the parameter.

[0091] The operation unit 11, which has completed the processing of step S33, determines whether the machine learning of the second learning model 12c based on the second training data has been completed (step S34). If it is determined that the machine learning of the second learning model 12c has not been completed (step S34: No), the operation unit 11 returns the processing to step S31 and continues the machine learning of the second learning model 12c. If it is determined that the machine learning of the second learning model 12c has been completed (step S34: Yes), the operation unit 11 ends the generation process of the second learning model 12c.

[0092] Next, the calculation unit 11 outputs the data of the setting value calculated using the second learning model 12c learned in the process of steps S11 to S14 to the molding machine 2 through the output interface 14, and the molding machine 2 performs molding using the output of the second learning model 12c (step S15).

[0093] Next, the operation unit 11 returns the process to step S11, and similarly performs machine learning on the first learning model 12b and the second learning model 12c. That is, in step S11, the operation unit 11 collects the first training data obtained by the shaping in step S15, and performs machine learning on the first learning model 12b by machine learning based on the collected first training data. Then, the output of the learned first learning model 12b is used to perform machine learning on the second learning model 12c.

[0094] In addition, the timing of returning to step S11 to perform machine learning on the first learning model 12b and the second learning model 12c is not particularly limited. For example, the operation unit 11 may return to step S11 each time molding is performed, or the processing may be returned to step S11 after a predetermined number of moldings are performed in step S15. In addition, the operation unit 11 may perform machine learning on the first learning model 12b and the second learning model 12c at different timings according to the collection status of the first training data and the second training data.

[0095] As described above, according to the first embodiment, the second learning model 12 c is trained using the second objective function having a penalty term, so that a learning model for determining setting values ​​of the molding machine 2 can be generated and training data required for learning the learning model can be reduced.

[0096] The setting values ​​required for learning the second learning model 12c are limited to setting values ​​that can at least reduce the degree of defects, but the first learning model 12b can be learned using all molding data regardless of the degree of defects, so all molding data acquired in real time can be effectively utilized.

[0097] Alternatively, the first learning model 12b and the second learning model 12c may be caused to learn from each other in sequence, or one of the learning models may be used only for inference and the other learning model may be caused to perform only learning.

[0098] (Implementation Method 2)

[0099] The learning model generation method, computer program, setting value determination device, and molding machine of the second embodiment are different from the first embodiment in that the setting value determination device 201 is provided in the molding machine 202. Therefore, the above difference will be mainly described below. The other structures and effects are the same as those of the first embodiment. Therefore, the corresponding parts are marked with the same reference numerals, and detailed description is omitted.

[0100] Figure 6 1 is a block diagram showing a molding machine 202 according to Embodiment 2. The molding machine 202 according to Embodiment 2 includes an injection device 221, a mold clamping device 222 disposed in front of the injection device 221, and a control device 220 for controlling the operation of the molding machine 202. The control device 220 includes the setting value determination device 201 described in Embodiment 1.

[0101] Figure 72 is a flowchart showing a method for determining a set value. The following processing is performed by the set value determination device 201 and the control device 220 of the molding machine 202 after the first and second learning models 12b and 12c are generated. The set value determination device 201 obtains the defect degree of each defect type from the defect degree input unit 1b (step S251). In addition, the set value determination device 201 obtains the measurement value from the measurement unit 1c (step S252).

[0102] The setting value determination device 201 inputs the defect degree and the measurement value obtained in step S251 and step S252 to the second learning model 12c (step S253), and sets the setting value output from the second learning model 12c to the molding machine 202 (step S254). The control device 220 of the molding machine 202 performs molding control according to the setting value determined and set by the setting value determination device 201 (step S255).

[0103] According to the molding machine 202 of the second embodiment, the molding machine 202 itself can perform machine learning of the first learning model 12b and the second learning model 12c, determine setting values ​​that can reduce the degree of defects, and operate according to the determined setting values.

[0104] (Implementation 3)

[0105] The learning model generation method, computer program, setting value determination device, molding machine, and molding device system of the third embodiment are different from the first embodiment in that the setting value determination device 301 is provided in the server device 304 outside the molding machine 302. Therefore, the above difference will be mainly described below. The other structures and effects are the same as those of the first embodiment. Therefore, the corresponding parts are marked with the same reference numerals, and detailed description is omitted.

[0106] Figure 8 1 is a block diagram showing a molding device system according to Embodiment 3. The molding device system according to Embodiment 3 includes a molding machine 302 and a server device 304 that can communicate with each other.

[0107] The molding machine 302 includes an injection device 321, a mold clamping device 322 disposed in front of the injection device 321, and a control device 320 for controlling the operation of the molding machine 302. The control device 320 includes a first acquisition unit 320a for acquiring the defect degree of each defect type output from the defect degree input unit 302b, a second acquisition unit 320b for acquiring the measurement value output from the measurement unit 302c, a third acquisition unit 320c for acquiring the setting value output from the setting unit 302a, and a communication unit 320d for transmitting and receiving various information with the server device 304.

[0108] The communication unit 320d transmits data such as the degree of defects, measured values, and set values ​​required for the operation of the set value adjustment device to the server device 304. The communication unit 320d requests the server device 304 for a set value that can reduce the degree of defects, and receives the set value sent in response to the request by the server device 304. The control device 320 performs molding control according to the received set value.

[0109] The server device 304 includes a setting value adjustment device and a communication device 304a for transmitting and receiving various information with the molding machine 302. The setting value adjustment device has the same structure as the setting value adjustment device of the first embodiment. However, the setting value adjustment device of the third embodiment is different from the first embodiment in that the communication device 304a receives the data of the above-mentioned defect degree, measurement value, setting value, etc. and transmits the determined setting value to the molding machine 302.

[0110] According to the molding device system of the third embodiment, the molding machine 302 transmits data such as the degree of defect, measurement value, and setting value required for generating the first and second learning models 12b and 12c to the server device 304 using the communication unit 320d. The server device 304 receives the data transmitted from the molding machine 302 using the communication device 304a. The setting value determination device 301 accumulates or collects the data received using the communication device 304a as the first training data and the second training data. Then, the setting value determination device 301 generates the first and second learning models 12b and 12c based on the collected first and second training data.

[0111] On the other hand, after the server device 304 has completed the generation of the first and second learning models 12b and 12c, the molding machine 302 can request the server device 304 for a set value. Specifically, the molding machine 302 transmits the defect degree and the measured value of each defect type to the server device 304 using the communication unit 320d. The server device 304 receives the defect degree and the measured value using the communication device 304a. The set value determination device 301 inputs the defect degree and the measured value of each defect type received by the communication device 304a to the second learning model 12c, so that it outputs a set value or a change amount of the set value. The server device 304 transmits the set value or the change amount output from the second learning model 12c to the molding machine 302 using the communication device 304a. The molding machine 302 receives the set value or the change amount using the communication unit 320d, sets itself based on the received set value or the change amount, and performs molding control.

[0112] According to the molding device system of the third embodiment, the server device 304 can generate the first and second learning models 12b and 12c, and can send the setting value that can reduce the degree of defects to the molding machine 302. In addition, the learning model generation method, computer program 12a, setting value determination device 301, molding machine 302 and molding device system of the third embodiment can achieve the same effects as those of the first embodiment.

[0113] (Variation Example)

[0114] Fig. 9 3. In the third embodiment, the server device 304 sends the setting value to the molding machine 302. However, the generated second learning model 320e may be distributed to the molding machine 302.

[0115] The control device 320 of the molding machine 302 receives and stores the second learning model 320e distributed by the server device 304 through the communication unit 320d. The molding machine 302 inputs the defect degree of each defect type obtained by the first acquisition unit 320a and the measurement value obtained by the second acquisition unit 320b into the second learning model 320e, sets itself based on the set value or the set value of the change amount output from the second learning model 320e, and performs molding control.

[0116] The learning model generation method, computer program 12a, setting value determination device 301, molding machine 302 and molding device system of the modified example can also be realized and Figure 8 The molding device system shown has the same effect.

[0117] Description of Reference Numerals

[0118] 1 Set value determination device

[0119] 1a Setting section

[0120] 1b Defect level input section

[0121] 1c Measurement unit

[0122] 2 Molding Machine

[0123] 3 Recording media

[0124] 11. Operation unit

[0125] 12 Storage

[0126] 12a Computer Programs

[0127] 12b First Learning Model

[0128] 12c Second Learning Model

[0129] 13 Input Interface

[0130] 14 Output Interface

Claims

1. A learning model generation method, which generates a learning model for determining a setting value related to a molding machine, collecting first training data, the first training data including the set value related to the molding machine, a measured value obtained by measuring a physical quantity related to the molding when the molding machine performs molding, and the quality of the molded product generated by the molding machine in a state where the set value is set and the measured value is obtained; generating a first learning model by machine learning based on the collected first training data, the first learning model outputting the quality of the molded product generated by the molding machine when the set value and the measured value are input; Collecting second training data, the second training data including the defect degree of each defect type of the molded product, the measured value, and the set value or the amount of change of the set value that can at least reduce the defect degree in a state where the defect degree and the measured value are obtained; A second learning model is generated by machine learning based on the collected second training data and the degree of quality output from the first learning model. The second learning model, when the defect degree and the measurement value are input, outputs the set value or the change in the set value that can at least reduce the defect degree.

2. The learning model generation method according to claim 1, By inputting the set value or the set value of the change amount output by the second learning model in machine learning and the measurement value contained in the second training data into the first learning model, the second learning model is subjected to machine learning using the degree of excellence output from the first learning model.

3. The learning model generation method according to claim 1 or claim 2, The first learning model is subjected to machine learning through machine learning based on first training data, wherein the first training data includes a set value based on the set value or the change amount output from the second learning model, a measurement value obtained by measuring a physical quantity related to the molding when the molding machine performs molding, and the quality of the molded product generated by the molding machine when the set value is set and the measurement value is obtained.

4. The learning model generation method according to claim 1, The objective function used to generate the second learning model is a function whose value becomes smaller as the difference between the set value or the change amount output from the second learning model and the set value or the change amount contained in the second training data becomes smaller, and the degree of quality represented by the quality level output from the first learning model becomes higher or the degree of defect becomes lower.

5. The learning model generation method according to claim 4, The objective function has a penalty term whose value increases as the degree of defective products represented by the quality level output from the first learning model increases. The penalty term has a parameter that determines the rate of change of the value with respect to the degree of goodness or badness.

6. The learning model generation method according to claim 1, The first learning model is a machine learner that outputs a probability that the molded product is a good product and a probability that the molded product is a defective product. The second learning model is a machine learner that outputs the setting value or the change amount. 7 . The learning model generation method according to claim 1 , wherein the generated second learning model is distributed to the molding machine.

8. A computer program for causing a computer to generate a learning model for determining a setting value related to a molding machine, the computer program causing the computer to execute the following processing: collecting first training data, the first training data including the set value related to the molding machine, a measured value obtained by measuring a physical quantity related to the molding when the molding machine performs molding, and the quality of the molded product generated by the molding machine in a state where the set value is set and the measured value is obtained; generating a first learning model by machine learning based on the collected first training data, the first learning model outputting the quality of the molded product generated by the molding machine when the set value and the measured value are input; Collecting second training data, the second training data including the defect degree of each defect type of the molded product, the measured value, and the set value or the amount of change of the set value that can at least reduce the defect degree in a state where the defect degree and the measured value are obtained; A second learning model is generated by machine learning based on the collected second training data and the degree of quality output from the first learning model. The second learning model, when the defect degree and the measurement value are input, outputs the set value or the change in the set value that can at least reduce the defect degree.

9. A setting value determination device, which generates a learning model for determining a setting value related to a molding machine, and determines the setting value based on the generated learning model, the setting value determination device comprising: a first collection processing unit that collects first training data, the first training data including the set value related to the molding machine, a measured value obtained by measuring a physical quantity related to the molding when the molding machine performs molding, and a quality of a molded product generated by the molding machine in a state where the set value is set and the measured value is obtained; a first learning processing unit that generates a first learning model by machine learning based on the first training data collected by the first collecting processing unit, the first learning model outputting the quality of the molded product generated by the molding machine when the set value and the measured value are input; A second collection processing unit collects second training data, the second training data including the defect degree of each defect type of the molded product, the measured value, and the set value or the amount of change in the set value that can at least reduce the defect degree in a state where the defect degree and the measured value are obtained; and A second learning processing unit generates a second learning model by machine learning based on the second training data collected by the second collection processing unit and the degree of quality output from the first learning model. The second learning model, when the defect degree and the measurement value are input, outputs the set value or the change in the set value that can at least reduce the defect degree.

10. A molding machine, comprising the setting value determination device according to claim 9, The molding machine operates according to the set value determined by the set value determination device.

11. A molding machine comprising: a first acquisition unit that acquires a defect degree of each defect type of a molded product produced by the molding machine; a second acquisition unit that acquires a measurement value obtained by measuring a physical quantity related to the molding when the molding machine performs molding; and a learning model which, when inputted with the defect degree obtained by the first obtaining unit and the measured value obtained by the second obtaining unit, outputs a setting value related to the molding machine which can at least reduce the defect degree in a state where the defect degree and the measured value are obtained, The molding machine outputs the setting value by inputting the defect degree obtained by the first obtaining unit and the measurement value obtained by the second obtaining unit into the learning model, and operates according to the output setting value. The learning model performs machine learning using another learning model, and the other learning model, when inputting the set value and the measured value, outputs the quality of the molded product generated by the molding machine in a state where the set value is set and the measured value is obtained.

12. A molding device system, It comprises a molding machine and the setting value determination device according to claim 9.