Simulation apparatus of wire electric discharge machine having function of determining welding positions of core using machine learning
First Claim
1. A simulation apparatus of a wire electric discharge machine that performs machining to cut out a core from a workpiece based on machining preconditions including a program, the simulation apparatus comprising:
- a processor configured to;
calculate and output, when the core is cut out from the workpiece, a position and a length of a welding part on a machining path for the machining to weld the core to the workpiece,calculate an evaluation value to evaluate the position and the length of the welding part,acquire the position and the length of the welding part and the evaluation value as state data on the welding part,set reward conditions,calculate a reward based on the state data and the reward conditions,perform machine learning of an adjustment of the position and the length of the welding part,determine and output (i) an adjustment target including at least one of the position and the length of the welding part and (ii) adjustment amounts of the adjustment target as an adjustment action, based on the state data and a result of the machine learning,recalculate and output the position and the length of the welding part based on the adjustment action,perform the machine learning of the adjustment of the position and the length of the welding part based on(a) the adjustment action,(b) the state data acquired based on the recalculated position and the recalculated length of the welding part, and(c) the reward calculated based on the state data acquired based on the recalculated position and the recalculated length of the welding part,complete the machine learning in response to the calculated evaluation value being converged, andupon completion of the machine learning, output an optimum position of the welding part,whereinthe reward conditions are setsuch that the processor is configured to calculate a positive reward(a) when a number of the welding parts is small, or(b) when a position for supporting the core is well balanced, and such that the processor is configured to calculate a negative reward(c) when the number of the welding parts is large, or(d) when the length of the welding part is shorter than a previously-set welding-parts minimum distance, or(e) when a magnitude of a force by which the core is supported is smaller than a previously-set prescribed threshold, or(f) when a magnitude of a force for dropping the core is large, or(g) when the position for supporting the core is poorly balanced.
1 Assignment
0 Petitions
Accused Products
Abstract
A simulation apparatus of a wire electric discharge machine that performs machining to cut out a core from a workpiece calculates a position and a length of a welding part used to weld the core to the workpiece, calculates an evaluation value of the position and the length, and performs machine learning of the adjustment of the position and the length. In the machine learning, the position and the length of the welding part and the evaluation value are acquired as state data, a reward is calculated based on the state data and calculated reward conditions, and the machine learning of the adjustment of the position and the length of the welding part is performed using the calculated reward.
-
Citations
4 Claims
-
1. A simulation apparatus of a wire electric discharge machine that performs machining to cut out a core from a workpiece based on machining preconditions including a program, the simulation apparatus comprising:
-
a processor configured to; calculate and output, when the core is cut out from the workpiece, a position and a length of a welding part on a machining path for the machining to weld the core to the workpiece, calculate an evaluation value to evaluate the position and the length of the welding part, acquire the position and the length of the welding part and the evaluation value as state data on the welding part, set reward conditions, calculate a reward based on the state data and the reward conditions, perform machine learning of an adjustment of the position and the length of the welding part, determine and output (i) an adjustment target including at least one of the position and the length of the welding part and (ii) adjustment amounts of the adjustment target as an adjustment action, based on the state data and a result of the machine learning, recalculate and output the position and the length of the welding part based on the adjustment action, perform the machine learning of the adjustment of the position and the length of the welding part based on (a) the adjustment action, (b) the state data acquired based on the recalculated position and the recalculated length of the welding part, and (c) the reward calculated based on the state data acquired based on the recalculated position and the recalculated length of the welding part, complete the machine learning in response to the calculated evaluation value being converged, and upon completion of the machine learning, output an optimum position of the welding part, wherein the reward conditions are set such that the processor is configured to calculate a positive reward (a) when a number of the welding parts is small, or (b) when a position for supporting the core is well balanced, and such that the processor is configured to calculate a negative reward (c) when the number of the welding parts is large, or (d) when the length of the welding part is shorter than a previously-set welding-parts minimum distance, or (e) when a magnitude of a force by which the core is supported is smaller than a previously-set prescribed threshold, or (f) when a magnitude of a force for dropping the core is large, or (g) when the position for supporting the core is poorly balanced.
-
-
2. The simulation apparatus according to claim 1, wherein
the evaluation value includes at least any of the force by which the core is supported calculated from the position and the length of the welding part, the force for dropping the core calculated from the position and the length of the welding part, and balance of positions for supporting the core calculated from the position and the length of the welding part.
-
3. The simulation apparatus according to claim 1, further comprising:
a memory configured to store the result of the machine learning, and the stored result of the machine learning to the processor when the processor uses the result of the machine learning again.
-
4. The simulation apparatus according to claim 1, wherein
the simulation apparatus is connected to at least one further simulation apparatus and the processor is further configured to mutually exchange or share the result of the machine learning with the at least one further simulation apparatus.
Specification