Processing condition exploration device and processing condition exploration method

Optimizing electrical discharge machining conditions through machine learning solves the problem of difficult exploration of machining condition combinations in the existing technology, achieves efficient machining condition adjustment, and improves machining accuracy and stability.

CN116490314BActive Publication Date: 2024-10-29MITSUBISHI ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202180079088.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-21
Publication Date
2024-10-29
Estimated Expiration
2041-06-21

AI Technical Summary

Technical Problem

In electrical discharge machining, it is difficult to efficiently explore the optimal combination of processing conditions with existing technology, especially when the processing speed is fast or high precision is required, and it is difficult to adjust the control parameters caused by changes in the processing state.

Method used

The machine learning component is used to learn the processing conditions of the electric discharge machine. The machine learning parameter determination unit determines the range and value of the control parameters, and combines the preset control parameters and user-specified information to optimize the exploration of processing conditions.

Benefits of technology

Efficient exploration of electrical discharge machining conditions is achieved, the number of repeated tests is reduced, and machining accuracy and stability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116490314B_ABST
    Figure CN116490314B_ABST
Patent Text Reader

Abstract

The processing condition exploration device (10) comprises: a machine learning unit (19) which learns processing conditions for electric discharge machining performed by an electric discharge machining machine (28) and explores processing conditions output to the electric discharge machining machine (28) based on the learning results; and a machine learning parameter determination unit (15) which determines a machine learning parameter based on processing specifications specified regarding the method of electric discharge machining, wherein the machine learning parameter represents a control parameter set as an exploration object by the machine learning unit (19) and a range of values ​​of the control parameter set as the exploration object among the control parameters constituting the processing conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a machining condition searching device and a machining condition searching method for searching machining conditions for electric discharge machining. Background Art

[0002] The electric discharge machine that performs profile electric discharge machining selects appropriate machining conditions based on machining specifications such as the machining material, electrode shape, or machining depth to perform electric discharge machining. If the electric discharge machine does not change the machining conditions in accordance with the changes in the machining state as the machining progresses, good machining becomes difficult. In addition, when the machining speed is high, or when high machining accuracy is required, the machining state may change due to slight changes in the machining conditions such as changes in the state of the machining fluid or differences in the quality of the machining materials for each batch of the machining materials. Therefore, the electric discharge machine not only needs to select the machining conditions from the pre-set machining conditions, but also needs to adjust the machining conditions in accordance with the progress of the machining or changes in the machining conditions.

[0003] Patent Document 1 discloses an electric discharge machine that observes the state of electric discharge machining during electric discharge machining and adjusts machining conditions based on the observation results. The electric discharge machine involved in Patent Document 1 optimizes the value of the control parameter constituting the machining condition while changing the value of the control parameter while observing the state of electric discharge machining.

[0004] Patent Document 1: International Publication No. 2019 / 202672 Summary of the invention

[0005] When adjusting machining conditions for electric discharge machining, it is necessary to adjust the values ​​of the control parameters for each of the plurality of control parameters. It is not easy to search for the best combination from the combinations of the values ​​of the control parameters for all the values ​​that can be taken by each of the plurality of control parameters. In the technology of Patent Document 1, the best combination is searched from a huge number of combinations related to the values ​​of the control parameters, so there is a problem that it is difficult to efficiently search for machining conditions.

[0006] The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to obtain a machining condition searching device capable of efficiently searching for machining conditions for electric discharge machining.

[0007] In order to solve the above-mentioned problems and achieve the purpose, the processing condition exploration device involved in the present invention has: a machine learning unit, which learns the processing conditions for discharge machining performed by an electric discharge machine, and explores the processing conditions output to the electric discharge machine based on the learning results; and a machine learning parameter determination unit, which determines the machine learning parameter based on the determination rule of the machine learning parameter, and the machine learning parameter represents a part of multiple control parameters constituting the processing conditions and a part of the range of control parameters and a range of control parameters set as the exploration object, and in the determination rule, the control parameters set as the exploration object among the pre-set control parameters and the control parameters excluded from the exploration object and the data related to the values ​​set as the exploration object among the values ​​of the control parameters set as the exploration object are set in association with the processing specifications of the electric discharge machining, and the machine learning unit limits the control parameters and the range of the control parameters based on the machine learning parameters to explore the processing conditions.

[0008] Effects of the Invention

[0009] The machining condition searching device according to the present invention has the effect of being able to efficiently search for machining conditions for electric discharge machining. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a diagram showing the structure of the processing condition searching device involved in the first embodiment.

[0011] Figure 2 This is a flowchart showing the processing procedure executed by the processing condition searching device according to the first embodiment.

[0012] Figure 3 This is a diagram showing an example of a determination rule used by the processing condition search device according to the first embodiment to determine a machine learning parameter.

[0013] Figure 4 This is a diagram showing an example of a search range of processing conditions in the processing condition searching device according to the first embodiment.

[0014] Figure 5 This is a flowchart showing a learning procedure performed by the learning unit of the processing condition searching device according to the first embodiment.

[0015] Figure 6 This is a diagram showing a hardware configuration example of the processing condition search device according to the first embodiment. DETAILED DESCRIPTION

[0016] Hereinafter, a processing condition searching device and a processing condition searching method according to an embodiment will be described in detail based on the drawings.

[0017] Implementation method 1.

[0018] Figure 1 1 is a diagram showing the structure of the machining condition search device 10 according to Embodiment 1. The machining condition search device 10 searches for machining conditions for electric discharge machining performed by the electric discharge machine 28. The machining condition search device 10 searches for the optimal combination of values ​​of the control parameters constituting the machining conditions.

[0019] The machining condition searching device 10 learns machining conditions by machine learning during machining by the electric discharge machine 28, and searches for machining conditions based on the learning results. The machining condition searching device 10 learns machining conditions according to machine learning parameters described later.

[0020] The electrical discharge machine 28 is a machine for performing shape-carving electrical discharge machining. The electrical discharge machine 28 comprises: an electrode; a driving device for controlling the distance between the electrode and the workpiece;

[0021] and a machining power source for causing electric discharge between the electrode and the workpiece. The structure of the electric discharge machine 28 is omitted in the illustration.

[0022] The processing condition exploration device 10 comprises: a processing specification input unit 11, which is input with processing specification information; a processing condition creation unit 12, which creates a reference processing condition; a machine learning setting input unit 13, which is input with machine learning setting information; a decision rule storage unit 14, which stores decision rules for machine learning parameters; a machine learning parameter decision unit 15, which determines machine learning parameters; a machine learning unit 19; a processing condition adjustment result storage unit 20, which stores adjustment results of processing conditions; and a decision rule updating unit 21, which updates decision rules for machine learning parameters.

[0023] The processing specification indicates the method of discharge machining such as the processing material, processing shape, processing depth or important performance. The processing material is the material of the workpiece. The processing shape is the shape of the electrode transferred to the workpiece. The processing depth is the depth of the part of the workpiece where the processing is performed. The important performance is the performance that is valued in the processing, and is the performance such as the processing speed or the stability of the processing. The user of the processing condition exploration device 10 inputs the information of the processing specification into the processing specification input unit 11, thereby specifying the processing specification. The information of the processing specification is input from the processing specification input unit 11 to the processing condition creation unit 12 and the machine learning parameter determination unit 15, respectively.

[0024] The reference processing condition is a processing condition composed of initial values ​​of control parameters, and indicates the initial condition at the start of exploration. The processing condition creation unit 12 creates the reference processing condition based on the processing specification. A plurality of representative processing conditions are pre-stored in the processing condition creation unit 12. The processing condition creation unit 12 selects a processing condition corresponding to the processing specification input to the processing specification input unit 11 from the plurality of stored processing conditions, thereby creating the reference processing condition. The reference processing condition is input from the processing condition creation unit 12 to the machine learning parameter determination unit 15 and the machine learning unit 19, respectively.

[0025] The machine learning setting information is information indicating the type of processing set as the exploration target of the processing conditions involved in the machine learning. The processing type is the type of processing set as the exploration target of the processing conditions involved in the machine learning, and is a type of processing such as rough processing or fine processing. The user inputs the machine learning setting information to the machine learning setting input unit 13, thereby specifying the desired processing type. The information of the machine learning setting information is input from the machine learning setting input unit 13 to the machine learning parameter determination unit 15.

[0026] In addition, the machine learning setting information input to the machine learning setting input unit 13 may include user-specified information for the user to specify the exploration object or the exploration range. The user can specify the type of control parameter set as the exploration object, or the range of values ​​of the control parameter set as the exploration range through the user-specified information. For example, in a case where the technical know-how has been determined for a part of the processing conditions, the user can set arbitrary restrictions in the exploration range of the processing conditions by inputting the user-specified information according to the technical know-how. For example, in the case where there are control parameters that are not desired to be changed, the user can specify that the control parameter is excluded from the exploration object by inputting the machine learning setting information. The user can specify the combination of control parameters set as the exploration object through the user-specified information. The input of the user-specified information is arbitrary.

[0027] The machine learning parameters include information indicating the type of control parameters set as the exploration object by the machine learning unit 19 among the control parameters constituting the processing conditions, and information indicating the range of values ​​of the control parameters set as the exploration object. That is, the machine learning parameters include information for defining the exploration range of the processing conditions involved in the machine learning. In addition, the machine learning parameters include information on the calculation formula for calculating the evaluation point of the processing conditions. The evaluation point is included in the learning data in the machine learning.

[0028] The machine learning parameter determination unit 15 includes: an exploration parameter determination unit 16, which determines the control parameter set as the exploration object involved in the machine learning unit 19; an exploration range determination unit 17, which determines the range of values ​​of the control parameter set as the exploration object; and an evaluation point calculation formula determination unit 18, which determines the calculation formula of the evaluation point.

[0029] The decision rule storage unit 14 stores information on decision rules for determining machine learning parameters based on processing specifications. Information on predetermined decision rules is stored in the decision rule storage unit 14. The stored decision rules are updated by a decision rule update unit 21 described later.

[0030] The exploration parameter determination unit 16 determines the control parameter to be explored based on the processing specification, the determination rule, and the processing type indicated by the machine learning setting information. When user-specified information related to the type of control parameter is included in the machine learning setting information, the exploration parameter determination unit 16 further determines the control parameter to be explored based on the user-specified information.

[0031] The search range determination unit 17 determines the range of the control parameter value to be searched based on the processing specification, the determination rule, and the processing type indicated by the machine learning setting information. In addition, the search range determination unit 17 adjusts the range of the control parameter value based on the reference processing condition. When user-specified information related to the range of the control parameter value is included in the machine learning setting information, the search range determination unit 17 further determines the range of the control parameter value based on the user-specified information.

[0032] The evaluation point calculation formula determination unit 18 determines the calculation formula of the evaluation point based on the processing specification, the determination rule, and the processing type indicated by the machine learning setting information. Specifically, the evaluation point calculation formula determination unit 18 determines the values ​​of the variables used in the calculation formula.

[0033] As described above, the machine learning parameter determination unit 15 determines the machine learning parameter based on the processing specification, the determination rule, the machine learning setting information, and the reference processing condition. The machine learning parameter determination unit 15 outputs the machine learning parameter, which includes information indicating the type of the parameter to be explored, information indicating the range of the value of the parameter to be explored, and information on the determined calculation formula.

[0034] The machine learning unit 19 learns the machining conditions for performing electrical discharge machining by the electrical discharge machine 28, and searches for machining conditions to be output to the electrical discharge machine 28 based on the learning results. The reference machining conditions, the machine learning parameters, and the state data are input to the machine learning unit 19. The state data is data indicating the state of electrical discharge machining in the electrical discharge machine 28. The state data includes data on machining depth, data on machining speed, the number of discharge occurrences, pulse state data, and the like. The pulse state data is data indicating whether the state of a current pulse or a voltage pulse is acceptable or not. The state data is input to the machine learning unit 19 from the electrical discharge machine 28.

[0035] The machine learning unit 19 includes a learning unit 22, a state observation unit 23, a machining condition adjustment unit 24, and an evaluation point calculation unit 25. The state observation unit 23 observes information indicating the type of control parameter set as the exploration object, information indicating the range of the value of the control parameter set as the exploration object, and information related to the state of the discharge machining, i.e., evaluation points, among the machine learning parameters as state variables. The learning unit 22 learns the optimal combination of the values ​​of the control parameters according to the data set created based on the state variables. The learning unit 22 includes a reward calculation unit 26 and a function update unit 27. The reward calculation unit 26 and the function update unit 27 will be described later.

[0036] The machining condition adjustment unit 24 adjusts the machining conditions output to the electrical discharge machine 28 based on the learning result obtained by the learning unit 22. The evaluation point calculation unit 25 calculates the evaluation points related to the machining conditions output to the electrical discharge machine 28 based on the status data.

[0037] The machining condition search device 10 outputs the machining conditions adjusted by the machining condition adjustment unit 24 to the electrical discharge machine 28. The electrical discharge machine 28 machines the workpiece according to the machining conditions input from the machining condition search device 10.

[0038] The processing conditions adjusted by the processing condition adjustment unit 24 are input to the processing condition adjustment result storage unit 20. The processing condition adjustment result storage unit 20 stores the processing conditions adjusted by the processing condition adjustment unit 24.

[0039] In addition, Figure 1 In FIG. 1 , the machining condition search device 10 is shown as a device external to the electrical discharge machine 28 , but the machining condition search device 10 may be built in the electrical discharge machine 28 . The machining condition search device 10 may be built in a numerical control device that controls the electrical discharge machine 28 .

[0040] The determination rule updating unit 21 reads the processing conditions from the processing condition adjustment result storage unit 20. The determination rule updating unit 21 updates the determination rule of the machine learning parameter based on the adjustment result of the processing conditions stored in the processing condition adjustment result storage unit 20.

[0041] Next, the processing executed by the processing condition searching device 10 will be described. Figure 2 This is a flowchart showing a processing procedure executed by the processing condition searching device 10 according to the first embodiment.

[0042] The user inputs the information of the processing specification into the processing specification input unit 11. In addition, the user inputs the machine learning setting information into the machine learning setting input unit 13. In step S1, the processing condition exploration device 10 receives the information of the processing specification and the machine learning setting information. The machine learning setting information includes information indicating the type of processing. Alternatively, the machine learning setting information includes information indicating the type of processing and user-specified information.

[0043] In step S2, the processing condition search device 10 creates a reference processing condition corresponding to the processing specification in the processing condition creation unit 12. The processing condition creation unit 12 selects a processing condition corresponding to the processing specification input to the processing specification input unit 11 from a plurality of processing conditions stored in advance, thereby creating the reference processing condition.

[0044] In step S3, the processing condition exploration device 10 determines the machine learning parameters based on the processing specifications, the decision rule of the machine learning parameters, the machine learning setting information, and the reference processing conditions in the machine learning parameter determination unit 15. The machine learning parameter determination unit 15 determines the machine learning parameters including information indicating the type of the parameter to be explored, information indicating the range of the value of the parameter to be explored, and information on the calculation formula.

[0045] Here, the decision rules for machine learning parameters are explained. Figure 3 1 is a diagram showing an example of a decision rule used by the processing condition exploration device 10 according to Embodiment 1 to determine a machine learning parameter. The decision rule is represented by the association between the processing specification and the machine learning parameter. The decision rule storage unit 14 stores a database including information on the processing specification and information on the machine learning parameter associated with the processing specification.

[0046] exist Figure 3 In the "Processing Specifications" column, three items are shown: "Processing Type", "Processing Shape" and "Important Performance". The information on the processing type is included in the machine learning setting information, but in Figure 3 In , the processing type is handled as one of the items of the processing specification. Figure 3For example, in the row where "Processing type" is "Rough machining", "Processing shape" is "Circular", and "Important performance" is "Speed", information on machine learning parameters corresponding to the processing specifications of "Rough machining", "Circular", and "Speed" is shown.

[0047] exist Figure 3 In the column of "Exploration Parameters", each item of "Rest Time", "Jump Parameter 1", "Jump Parameter 2", "Servo Parameter 1" and "Servo Parameter 2" represents a control parameter. "Rest Time" is a control parameter representing the interval time between discharges. "Jump Parameter 1" and "Jump Parameter 2" are each a control parameter related to the jump action of the electrode. "Servo Parameter 1" and "Servo Parameter 2" are each a parameter representing the number of discharges per unit time or the interval between the electrode and the workpiece.

[0048] exist Figure 3 In the column “Exploration parameter”, “○” indicates that the control parameter is set as the exploration object. In the column “Exploration parameter”, “-” indicates that the control parameter is not set as the exploration object. Figure 3 For example, regarding the processing specifications of "processing type" being "rough processing", "processing shape" being "circular" and "important performance" being "speed", the four items "rest time", "jump parameter 1", "jump parameter 2" and "servo parameter 1" are set as exploration objects.

[0049] exist Figure 3 In the "Exploration Range" column of , for each control parameter in the "Exploration Parameter" column, the "Minimum Value" and "Maximum Value" of the value in the range to be explored and the "Scale" of the value in the range to be explored are shown. Figure 3 For example, in the column of "rest time", "minimum value" 3, "maximum value" 7, and "scale" 1 indicate that the search range of the value of the control parameter "rest time" is 3 to 7, and the search is performed with a scale of 1 in this range. Figure 3 In the figure, the columns of "Jump parameter 2", "Servo parameter 1" and "Servo parameter 2" in the column of "Search range" are omitted, but the columns of "Jump parameter 2", "Servo parameter 1" and "Servo parameter 2" are also the same as those in the figure. Figure 3 In the case of the "rest time" and "jump parameter 1" shown, data related to the value to be searched is set similarly. "-" in the column of "search range" indicates that data related to the value to be searched is not set.

[0050] The evaluation point calculation unit 25 obtains data required for evaluating the processing conditions from the state data. For example, the evaluation point calculation unit 25 obtains the processing speed, processing stability, and pulse state data based on the state data. The evaluation point calculation unit 25 substitutes the processing speed, processing stability, and pulse state data into the evaluation formula to calculate the evaluation point. Figure 3 In the column of "Evaluation point calculation variables", each item of "machining speed", "machining stability" and "pulse state" represents the value of the variable used in the calculation formula of the evaluation point. That is, the variable for each item represents the weight in the evaluation of the machining conditions.

[0051] For example, regarding the machining conditions corresponding to the machining specifications of "rough machining" for "machining type", "round machining shape" for "machining shape", and "speed" for "important performance", a high value of "0.8" is set in the variable of "machining speed" because the machining speed is emphasized. In addition, machining stability can be ignored in this machining specification, and "0" is set in the variable of "machining stability". In addition, from the perspective of machining speed, even if the evaluation is high, if the defective rate of the current pulse or voltage pulse is high, the machining speed will decrease. Therefore, "0.2" is set in the variable of "pulse state" to take the pulse state into consideration when evaluating the machining conditions.

[0052] In addition, Figure 3 In the above, the items of "processing specification" in the determination rule are set to three items: "processing type", "processing shape" and "important performance", but the items of "processing specification" are not limited to these items. The items of "processing specification" can be set arbitrarily.

[0053] exist Figure 3 In the "exploration parameter" of the decision rule, the control parameters for setting whether to set as the exploration object are set to five parameters, namely "rest time", "jump parameter 1", "jump parameter 2", "servo parameter 1" and "servo parameter 2", but the present invention is not limited thereto. The control parameters for setting whether to set as the exploration object in the "exploration parameter" can be set arbitrarily.

[0054] exist Figure 3 In the determination rule, the items that can be set as "evaluation point calculation variables" are set to "machining speed", "machining stability" and "pulse state", but the items of "evaluation point calculation variables" are not limited to these items. The items of "evaluation point calculation variables" can be set arbitrarily.

[0055] The machine learning parameter determination unit 15 reads out information on "exploration parameters", "exploration ranges" and "variables for evaluation point calculation" associated with the processing type indicated by the input machine learning setting information, the processing shape indicated by the input processing specification information and important performance from the database of the determination rule storage unit 14.

[0056] The exploration parameter determination unit 16 obtains information on the "exploration parameter". When the user-specified information on the type of control parameter is included in the machine learning setting information, the exploration parameter determination unit 16 adjusts the type of control parameter indicated by the "exploration parameter" based on the user-specified information. Thus, the exploration parameter determination unit 16 determines the control parameter to be explored.

[0057] The search range determination unit 17 obtains information of the "search range". The search range determination unit 17 adjusts the range of values ​​shown in the "search range" based on the reference processing conditions. For example, the search range determination unit 17 adjusts the value of the control parameter in a manner that shortens the rest time and shortens the time of the jump action compared to the reference processing conditions. In addition, when user-specified information related to the range of values ​​of the control parameter is included in the machine learning setting information, the search range determination unit 17 adjusts the range of values ​​shown in the "search range" based on the user-specified information. Thus, the search range determination unit 17 determines the range of values ​​set as the exploration object for each control parameter.

[0058] The evaluation point calculation formula determination unit 18 obtains information on "evaluation point calculation variables". Thus, the evaluation point calculation formula determination unit 18 determines the variables used in the evaluation point calculation formula. That is, the evaluation point calculation formula determination unit 18 determines the evaluation point calculation formula. The machine learning parameters including information indicating the type of the parameter to be explored, information indicating the range of the value of the parameter to be explored, and information on the determined calculation formula are input from the machine learning parameter determination unit 15 to the machine learning unit 19.

[0059] The processing condition exploration device 10 inputs the processing specification into the processing specification input unit 11, and inputs the machine learning setting information including the information of the processing type into the machine learning setting input unit 13, thereby determining the machine learning parameters corresponding to the input processing specification and processing type. The processing condition exploration device 10 can determine the machine learning parameters corresponding to any processing specification and processing type specified by the user. The processing condition exploration device 10 inputs the machine learning setting information including the user-specified information into the machine learning setting input unit 13, thereby being able to determine the machine learning parameters based on the user's specification regarding the type of control parameter and the range of the value of the control parameter.

[0060] After the machine learning parameters are input to the machine learning unit 19, Figure 2 In step S4 shown, the machining condition search device 10 starts outputting the machining conditions from the machining condition adjustment unit 24 to the electrical discharge machine 28. The electrical discharge machine 28 machines the workpiece according to the machining conditions input from the machining condition search device 10.

[0061] The reference machining conditions are input to the machining condition adjustment unit 24. When machining by the electrical discharge machine 28 starts, the machining condition adjustment unit 24 outputs the reference machining conditions as machining conditions. The electrical discharge machine 28 starts machining according to the reference machining conditions.

[0062] After the machining by the electric discharge machine 28 starts, in step S5, the machining condition searching device 10 performs machine learning by the learning unit 22. In addition, the machining condition searching device 10 adjusts the machining conditions in the machining condition adjusting unit 24 based on the machine learning result.

[0063] When the electric discharge machine 28 performs processing, the state data from the electric discharge machine 28 is input to the machine learning unit 19. The evaluation point calculation unit 25 obtains the processing speed, processing stability and pulse state data based on the state data. For example, the evaluation point calculation unit 25 estimates the processing speed based on the displacement of the processing depth. The evaluation point calculation unit 25 estimates the processing depth based on the movement of the axis that moves the electrode and the data on the occurrence of the discharge. The occurrence of the discharge is, for example, the number of discharges. The evaluation point calculation unit 25 obtains the pulse state data based on the result of the judgment of whether the discharge is qualified or not. The pulse state data is, for example, a value indicating the ratio of defective pulses of current pulses or voltage pulses. The processing stability indicates the fluctuation of the number of discharges in a certain period, for example, in a few ms. The evaluation point calculation unit 25 obtains the processing stability based on the number of discharges in a certain period. The greater the fluctuation of the number of discharges, the lower the processing stability. For example, when machining becomes unstable due to an instantaneous increase in the number of discharge occurrences, it is estimated that there is a problem in machining control or an abnormality in the state around the discharge position. The more uniform the number of discharge occurrences per a certain period, the higher the machining stability.

[0064] The evaluation point calculation unit 25 acquires information of the calculation formula input from the machine learning parameter determination unit 15 to the machine learning unit 19. The evaluation point calculation unit 25 calculates the evaluation point by substituting the machining speed, machining stability, and pulse state data into the evaluation formula.

[0065] The evaluation points calculated by the evaluation point calculation unit 25 and the processing conditions set as the evaluation object are input to the state observation unit 23. In addition, information indicating the type of parameter to be explored and information indicating the range of values ​​of the parameter to be explored among the machine learning parameters are input to the state observation unit 23. The state observation unit 23 observes the evaluation points, the processing conditions set as the evaluation object, the information indicating the type of parameter to be explored, and the information indicating the range of values ​​of the parameter to be explored as state variables.

[0066] The learning unit 22 learns the optimal combination of control parameter values ​​according to the data set created based on the state variables. The learning unit 22 generates a learning model for exploring the optimal combination of control parameter values ​​in the type of parameters to be explored and the range of values ​​of the parameters to be explored. In addition, the details of the machine learning performed by the learning unit 22 will be described later.

[0067] The learning model generated by the learning unit 22 is input to the machining condition adjustment unit 24. The machining condition adjustment unit 24 infers the combination of values ​​of each control parameter as the exploration object based on the learning model, thereby adjusting the machining conditions. The machining condition exploration device 10 outputs the machining conditions adjusted by the machining condition adjustment unit 24 to the electrical discharge machine 28.

[0068] As described above, the machine learning unit 19 learns the machining conditions and searches for the machining conditions to be output to the electrical discharge machine 28 based on the learning results. For example, when the electrical discharge machine 28 performs rough machining according to the machining conditions input from the machining condition search device 10, the machine learning unit 19 searches for the machining conditions so that the machining conditions become the optimal machining conditions until the electrical discharge machine 28 completes the rough machining.

[0069] In step S6, the processing condition search device 10 stores the adjustment result of the processing condition obtained by the processing condition adjustment unit 24 in the processing condition adjustment result storage unit 20. The processing condition adjustment result storage unit 20 stores all the processing conditions adjusted by the processing condition adjustment unit 24.

[0070] In step S7, the processing condition exploration device 10 updates the decision rule for the machine learning parameter in the decision rule updating unit 21. The decision rule updating unit 21 reads the processing condition from the processing condition adjustment result storage unit 20 and updates the decision rule based on the adjustment result of the processing condition. By updating the decision rule, the processing condition exploration device 10 can more efficiently explore the processing condition in subsequent processing that is the same as or similar to the processing for which the processing condition was explored. The processing condition exploration device 10 ends the above. Figure 2 The processing involved is in the order shown.

[0071] Figure 4 FIG. 2 is a diagram showing an example of a search range of processing conditions in the processing condition search device 10 according to the first embodiment. Figure 4 , examples of "minimum value", "maximum value" and "scale" related to each control parameter of "rest time", "jump parameter 1" and "jump parameter 2" are shown. Figure 4 The left side of shows the range of values ​​of each control parameter before the search range is defined by Implementation 1. Figure 4The right part of shows the search range defined by implementation mode 1.

[0072] Before the search range is defined, each of "rest time", "jump parameter 1" and "jump parameter 2" can take any value among 16 values. In this case, the number of combinations of each value of "rest time", "jump parameter 1" and "jump parameter 2" is 4096.

[0073] In contrast, by defining the search range in Embodiment 1, the number of values ​​that can be taken by "rest time" is reduced from 16 to 5. The number of values ​​that can be taken by "jump parameter 1" and "jump parameter 2" is reduced from 16 to 6. As a result, the number of combinations of the values ​​of "rest time", "jump parameter 1" and "jump parameter 2" is reduced from 4096 to 180.

[0074] The processing condition search device 10 can search for processing conditions by limiting the search range of processing conditions, thereby adjusting the processing conditions while reducing the number of repeated observations of processing states, that is, the number of experiments. The processing condition search device 10 can accurately and efficiently search for optimal processing conditions.

[0075] In addition, when the same processing specifications as those input during past processing are input, the learning unit 22 can update the learning model generated during the past processing by learning. Thus, the processing condition exploration device 10 can obtain a higher-precision learning model and can explore the processing conditions with high precision.

[0076] Next, the details of the machine learning performed by the learning unit 22 are described. The learning unit 22 creates a data set that summarizes the state variables input from the state observation unit 23. The learning unit 22 learns the optimal combination of control parameter values ​​in the type of parameters to be explored and the range of values ​​of the parameters to be explored according to the data set. The learning algorithm used by the learning unit 22 can use any algorithm. As an example, the case where reinforcement learning is applied to the learning algorithm used by the learning unit 22 is described.

[0077] In reinforcement learning, an intelligent agent, or the acting subject, in a certain environment observes the current state and decides the action to be taken. The intelligent agent obtains rewards from the environment by selecting actions, and learns the countermeasures that obtain the most rewards through a series of actions. As representative methods of reinforcement learning, Q-learning and TD-learning are known. For example, in the case of Q-learning, the general update formula of the action value function Q(s, a), that is, the action value table, is expressed by the following formula (1). The action value function Q(s, a) represents the value of the action of selecting action "a" based on the environment "s", that is, the action value Q.

[0078] [Formula 1]

[0079] Q(s t , a t )←Q(s t , a t )+α(r t+1 +γmax a Q(s t+1 , a t )-Q(s t , a t ))…(1)

[0080] In the above formula (1), “s t+1 " represents the state of the environment at time t, a t represents the action at time t. By action a t , the environment becomes s t+1 . r t+1 represents the reward brought by the change of its environment, γ represents the discount rate, and α represents the learning coefficient. When Q learning is applied, the combination of processing conditions, i.e., the values ​​of control parameters, becomes the action “a t ”.

[0081] The update formula represented by the above formula (1) is that if the action value of the best action "a" at time "t+1" is greater than the action value Q of the action "a" executed at time "t", the action value Q is increased, and in the opposite case, the action value Q is decreased. In other words, the action value function Q (s, a) is updated in such a way that the action value Q of the action a at time t is close to the best action value at time t+1. In this way, the best action value in a certain environment is continuously propagated to the action value in its previous environment.

[0082] The reward calculation unit 26 calculates the reward based on the state variable. The function update unit 27 updates the function for determining the combination of control parameter values, that is, the machining conditions, according to the reward calculated by the reward calculation unit 26.

[0083] The reward calculation unit 26 calculates the reward "r" based on the evaluation result of the state of the discharge machining, that is, the evaluation point. For example, the value of the control parameter is changed, and as a result, when the evaluation point is improved, the reward calculation unit 26 increases the reward "r". The reward calculation unit 26 increases the reward "r" by assigning a value of "1" to the reward. In addition, the value of the reward is not limited to "1". In addition, the value of the control parameter is changed, and as a result, when the evaluation point is reduced, the reward calculation unit 26 reduces the reward "r". The reward calculation unit 26 reduces the reward "r" by assigning a value of "-1" to the reward. In addition, the value of the reward is not limited to "-1".

[0084] The function updating unit 27 updates the function used to determine the processing conditions according to the reward calculated by the reward calculating unit 26. The function can be updated according to the data set, for example, by updating the action value table. The action value table is a data set that associates any action with its action value and stores it in the form of a table. For example, in the case of Q learning, the action value function Q(s) represented by the above formula (1) is t , a t ) is used as a function for calculating combinations of values ​​of control parameters.

[0085] Figure 5 2 is a flowchart showing a learning procedure performed by the learning unit 22 of the processing condition search device 10 according to the first embodiment. Figure 5 The flowchart of the reinforcement learning method for updating the action value function Q(s, a) is explained.

[0086] In step S11, the learning unit 22 obtains a data set created based on the state variable. In step S12, the learning unit 22 calculates the reward based on the evaluation point. In step S13, the learning unit 22 updates the action value function Q(s, a) based on the reward. In step S14, the learning unit 22 determines whether the action value function Q(s, a) converges. The learning unit 22 determines that the action value function Q(s, a) converges by not updating the action value function Q(s, a) in step S13.

[0087] If it is determined that the action value function Q(s, a) has not converged (step S14, No), the learning unit 22 returns the sequence to step S11. If it is determined that the action value function Q(s, a) has converged (step S14, Yes), the learning unit 22 ends. Figure 5 The learning unit 22 may not perform the determination in step S14 but may continue the learning by returning the sequence from step S13 to step S11.

[0088] The learning unit 22 outputs the generated action value function Q(s, a), namely the learning model, to the processing condition adjustment unit 24. The processing condition adjustment unit 24 infers a combination of values ​​of each control parameter, which is a search target, based on the learning model, thereby adjusting the processing conditions.

[0089] In the first embodiment, the case where reinforcement learning is applied to the learning algorithm used by the learning unit 22 is described, but learning other than reinforcement learning may also be applied to the learning algorithm. The learning unit 22 may perform machine learning using a well-known learning algorithm other than reinforcement learning, such as deep learning, neural network, genetic programming, inductive logic programming, or a learning algorithm such as a support vector machine.

[0090] The learning unit 22 is not limited to being built in the processing condition exploration device 10. The learning unit 22 may be implemented by a device outside the processing condition exploration device 10. In this case, the device that functions as the learning unit 22 may be a device that can be connected to the processing condition exploration device 10 via a network. The device that functions as the learning unit 22 may also be a device that exists on a cloud server.

[0091] The learning unit 22 can learn the processing conditions according to the data sets created about the plurality of processing condition exploration devices 10. The learning unit 22 can create the data set based on the data obtained from the plurality of processing condition exploration devices 10 used in the same site, or can also create the data set based on the data obtained from the plurality of processing condition exploration devices 10 used in different sites. The data set can be collected from the plurality of processing condition exploration devices 10 operating independently of each other in the plurality of sites. After the collection of the data sets from the plurality of processing condition exploration devices 10 is started, a new processing condition exploration device 10 can be added to the objects for which the data sets are collected. In addition, after the collection of the data sets from the plurality of processing condition exploration devices 10 is started, a part of the plurality of processing condition exploration devices 10 can be excluded from the objects for which the data sets are collected.

[0092] The learning unit 22 that has performed learning on a certain processing condition exploration device 10 can perform learning on other processing condition exploration devices 10 other than the processing condition exploration device 10. The learning unit 22 that has performed learning on the other processing condition exploration device 10 can update the learning model by re-learning in the other processing condition exploration device 10.

[0093] Next, the hardware configuration of the processing condition searching device 10 will be described. Figure 6 It is a diagram showing a configuration example of hardware of the processing condition search device 10 according to the first embodiment. Figure 6The illustrated configuration example is a configuration example in which the main part of the processing condition search device 10 is realized by a processing circuit 30 including a processor 32 and a memory 33 . Figure 1 The processing condition creation unit 12 , the machine learning parameter determination unit 15 , the machine learning unit 19 , and the determination rule update unit 21 shown are main units of the processing condition search device 10 .

[0094] The processor 32 is a CPU (Central Processing Unit). The processor 32 may be a computing device, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor). The memory 33 may be, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory), or the like.

[0095] The memory 33 stores a processing condition search program, which is a program for operating as an essential part of the processing condition search device 10. The processor 32 reads out the processing condition search program and executes it, thereby realizing the essential part of the processing condition search device 10. In addition, the processing condition search program stored in the memory 33 may be provided in a state of being written to a storage medium such as a CD (Compact Disc)-ROM or a DVD (Digital Versatile Disc)-ROM, or may be provided via a communication line.

[0096] The main part of the processing condition exploration device 10 may be implemented by a dedicated processing circuit instead of the processor 32 and the memory 33. The dedicated processing circuit is a single circuit, a composite circuit, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a circuit that combines them. In addition, with respect to the main part of the processing condition exploration device 10, part of the functions may be implemented by the processor 32 and the memory 33, and the remaining functions may be implemented by the dedicated processing circuit.

[0097] The input unit 31 is a circuit that receives input signals from the outside to the machining condition search device 10. The state data from the electrical discharge machine 28 is input to the input unit 31. In addition, the input unit 31 includes an input device that receives input operations. The machining specification input unit 11 and the machine learning setting input unit 13 are implemented by the input device.

[0098] The output unit 35 is a circuit that outputs the signal generated by the machining condition search device 10 to the outside of the machining condition search device 10. The output unit 35 outputs the machining conditions adjusted by the machining condition search device 10 to the electrical discharge machine 28.

[0099] The storage device 34 stores various information. The storage device 34 is a HDD (Hard Disk Drive) or a SSD (Solid State Drive) etc. The determination rule storage unit 14 and the processing condition adjustment result storage unit 20 are realized by the storage device 34 .

[0100] According to the first embodiment, the processing condition exploration device 10 learns the processing conditions for electric discharge machining, and explores the processing conditions output to the electric discharge machining machine 28 based on the learning results. The processing condition exploration device 10 determines the machine learning parameters representing the control parameters set as the exploration object and the range of the values ​​of the control parameters set as the exploration object based on the machining specifications. The processing condition exploration device 10 determines the machine learning parameters, and explores the processing conditions by learning based on the determined machine learning parameters, thereby being able to efficiently explore the processing conditions suitable for the machining state. As described above, the processing condition exploration device 10 has the effect of being able to realize efficient exploration of the processing conditions for electric discharge machining.

[0101] The structure shown in the above embodiment is an example of the content of the present invention. The structure of the embodiment can be combined with other known technologies. Part of the structure of the embodiment can be omitted or changed within the scope of the present invention.

[0102] Description of the label

[0103] 10 machining condition exploration device, 11 machining specification input unit, 12 machining condition creation unit, 13 machine learning setting input unit, 14 determination rule storage unit, 15 machine learning parameter determination unit, 16 exploration parameter determination unit, 17 exploration range determination unit, 18 evaluation point calculation formula determination unit, 19 machine learning unit, 20 machining condition adjustment result storage unit, 21 determination rule updating unit, 22 learning unit, 23 state observation unit, 24 machining condition adjustment unit, 25 evaluation point calculation unit, 26 feedback calculation unit, 27 function updating unit, 28 electrical discharge machine, 30 processing circuit, 31 input unit, 32 processor, 33 memory, 34 storage device, 35 output unit.

Claims

1. A processing condition exploration device, It is characterized in that have: a machine learning unit that learns machining conditions for electric discharge machining performed by an electric discharge machining machine and searches for machining conditions to be output to the electric discharge machining machine based on the learning result; and a machine learning parameter determination unit that determines a machine learning parameter based on a machining specification specified regarding the method of the electric discharge machining, the machine learning parameter indicating a control parameter set as an exploration target by the machine learning unit among the control parameters constituting the machining conditions and a range of values ​​of the control parameter set as the exploration target, The machine learning department has: a state observation unit that observes, as state variables, information indicating a type of a control parameter to be explored and information indicating a range of values ​​of the control parameter to be explored among the machine learning parameters and information related to a state of the electrical discharge machining; a learning unit that learns an optimal combination of values ​​of control parameters according to a data set created based on the state variables; a machining condition adjustment unit that adjusts machining conditions output to the electrical discharge machine based on the learning result obtained by the learning unit; as well as an evaluation point calculation unit that calculates an evaluation point related to a machining condition output to the electrical discharge machining machine based on state data indicating a state of the electrical discharge machining, The state observation unit observes the evaluation point which is information on the state of the electric discharge machining as the state variable.

2. The processing condition exploration device according to claim 1, It is characterized in that The machine learning parameter determination unit determines the machine learning parameter including information of a calculation formula for calculating the evaluation point based on the processing specification.

3. The processing condition exploration device according to claim 1, It is characterized in that A decision rule storage unit is provided, which stores a decision rule for determining the machine learning parameter based on the processing specification.

4. The processing condition exploration device according to claim 2, It is characterized in that A decision rule storage unit is provided, which stores a decision rule for determining the machine learning parameter based on the processing specification.

5. The processing condition exploration device according to claim 3, It is characterized in that A decision rule updating unit is provided, the decision rule updating unit updating the decision rule based on the adjustment result of the processing condition obtained by the processing condition adjusting unit.

6. The processing condition searching device according to claim 4, It is characterized in that A decision rule updating unit is provided, the decision rule updating unit updating the decision rule based on the adjustment result of the processing condition obtained by the processing condition adjusting unit.

7. The processing condition searching device according to any one of claims 1 to 6, It is characterized in that A processing specification input unit is provided, into which the processing specification information is input.

8. The processing condition searching device according to claim 7, It is characterized in that A processing condition creation unit is provided, which creates a processing condition consisting of initial values ​​of control parameters, namely, a reference processing condition, based on the processing specification. The machine learning parameter determination unit determines the machine learning parameter based on the processing specification and the reference processing condition.

9. The processing condition searching device according to claim 7, It is characterized in that A machine learning setting input unit is provided to which machine learning setting information indicating a processing type to be explored as a processing condition is input, The machine learning parameter determination unit determines the machine learning parameter based on the processing specification and the machine learning setting information.

10. The processing condition searching device according to claim 9, It is characterized in that The machine learning setting information includes information for a user of the processing condition searching device to designate a type of a control parameter to be searched or a range of values ​​of a control parameter to be searched.

11. A processing condition searching method, comprising: searching, by a processing condition searching device, processing conditions for electric discharge machining performed by an electric discharge machining machine; The processing condition search method is characterized by comprising the following steps: determining a machine learning parameter representing a control parameter to be explored among control parameters constituting the machining conditions and a range of values ​​of the control parameter to be explored based on machining specifications specified for the method of the electrical discharge machining; learning processing conditions based on the machine learning parameters; and The machining conditions output to the electrical discharge machine are adjusted based on the learning result.

Citation Information

Patent Citations

  • Detecting reference frame changes in smart device-based radar system

    CN111812633A

  • Machine learning device, electric discharge machine, and machine learning method

    CN111954582A

  • Machine learning device, electric discharge machine, and machine learning method

    WO2019202672A1