Control Parameter Adjustment Device

By extracting the attentional parts from the machining path and adjusting the control parameters based on the actions of the relevant machining program, the problem of parameter adjustment in the prior art that is difficult to achieve consistent with the machining program is solved, and more efficient machining time is shortened and processing quality maintenance is achieved.

CN118401340BActive Publication Date: 2025-05-30MITSUBISHI ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202280083017.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-18
Publication Date
2025-05-30
Estimated Expiration
2042-05-18

AI Technical Summary

Technical Problem

When adjusting control parameters in the prior art, it is difficult to achieve parameter adjustments that match the contents shown in the processing program, especially in complex acceleration and deceleration situations, resulting in the inability to effectively shorten the processing time.

Method used

By extracting the attention part from the processing path, the control parameters used at the attention part are adjusted based on the processing procedure actions related to the attention part. The device includes a attention part extraction unit and a parameter adjustment unit. Through action analysis and allowable value judgment, the parameters are gradually adjusted until the allowable range is satisfied.

Benefits of technology

Parameter adjustments that are consistent with the contents shown in the processing program are realized, which can shorten the processing time and improve processing efficiency without damaging the processing quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118401340B_ABST
    Figure CN118401340B_ABST
Patent Text Reader

Abstract

The control parameter adjustment device (1A) includes an attention part extraction unit (11) that extracts, from a machining path, a part of the machining path of a machine tool (3) that operates according to a machining program and that corresponds to a part to be adjusted of the control parameters used in machining, i.e., the attention part. The control parameter adjustment device (1A) includes a parameter adjustment unit (15) that adjusts the control parameters used in machining at the attention part based on the operation of the machining program related to the attention part.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a control parameter adjustment device, a numerical control device, and a control parameter adjustment method for adjusting control parameters used in machining by a machine tool. Background Art

[0002] Regarding the adjustment of control parameters used in machining by a machine tool, for example, Patent Document 1 discloses a parameter adjustment device that automatically adjusts control parameters according to machining conditions. The parameter adjustment device according to Patent Document 1 sets respective weights for machining time and machining accuracy, which are evaluation criteria for adjusting control parameters, and evaluates the execution results of a test program according to the evaluation criteria. The parameter adjustment device according to Patent Document 1 performs an operation of changing control parameters multiple times and executing the test program, and obtains control parameters corresponding to an execution result with a high evaluation among multiple execution results.

[0003] Patent Document 1: Japanese Patent No. 5956619 Summary of the Invention

[0004] According to the prior art related to Patent Document 1, a test program, which is a representative example of a machining program, is executed, and control parameters are adjusted based on the execution result of the test program. In the case of the prior art, for example, even in the case of a simple and smooth path where acceleration and deceleration are not likely to occur, when a machining program that is likely to vibrate due to complex acceleration and deceleration is operated, a setting is made such that the time constant, which is the time for acceleration and deceleration, is slightly longer. By setting a slightly longer time constant, even if the control parameters are adjusted, there is room to shorten the machining time. That is, in the case of the prior art, the setting of control parameters that can be adjusted is a conservative setting when various machining programs are operated. A conservative setting means a setting that does not cause problems such as damage regardless of the content shown in the machining program. Therefore, according to the prior art, there is room for parameter adjustment due to the operating machining program, and there is a problem that parameter adjustment corresponding to the content shown in the machining program cannot be performed.

[0005] The present invention has been made in view of the above circumstances, and an object thereof is to obtain a control parameter adjustment device capable of performing parameter adjustment corresponding to the content shown in a machining program.

[0006] In order to solve the above problems and achieve the object, the control parameter adjustment device according to the present invention includes: a attention part extraction unit that extracts a part of the machining path of a machine tool that operates according to a machining program from the machining path and is a part corresponding to the adjustment object of the control parameter used in machining, that is, the attention part; and a parameter adjustment unit that adjusts the control parameter used in the machining at the attention part based on the operation of the machining program related to the attention part.

[0007] Effect of the Invention

[0008] The control parameter adjustment device according to the present invention has the effect of being able to perform parameter adjustment in accordance with the content shown in the machining program. Description of the Drawings

[0009] Figure 1 It is a diagram showing a structural example of the control parameter adjustment device according to Embodiment 1.

[0010] Figure 2 It is a flowchart showing the processing sequence implemented by the control parameter adjustment device according to Embodiment 1.

[0011] Figure 3 It is a diagram for explaining the attention part extracted from the machining path by the control parameter adjustment device according to Embodiment 1.

[0012] Figure 4 It is a diagram showing a structural example of a numerical control device having the same structure as the control parameter adjustment device according to Embodiment 1.

[0013] Figure 5 It is a diagram showing a structural example of the control parameter adjustment device according to Embodiment 2.

[0014] Figure 6 It is a flowchart showing the processing sequence implemented by the control parameter adjustment device according to Embodiment 2.

[0015] Figure 7 It is a diagram showing a structural example of the control parameter adjustment device according to Embodiment 3.

[0016] Figure 8 It is a flowchart showing the processing sequence implemented by the control parameter adjustment device according to Embodiment 3.

[0017] Figure 9 It is a diagram showing a structural example of the control parameter adjustment device according to Embodiment 4.

[0018] Figure 10 It is a diagram for explaining the processing in the learning stage implemented by the control parameter adjustment device according to Embodiment 4.

[0019] Figure 11 This is a diagram for explaining the processing in the effective use phase implemented by the control parameter adjustment device according to Embodiment 4.

[0020] Figure 12 This is a flowchart showing the processing sequence in the learning phase implemented by the control parameter adjustment device according to Embodiment 4.

[0021] Figure 13 This is a flowchart showing the processing sequence in the effective use phase implemented by the control parameter adjustment device according to Embodiment 4.

[0022] Figure 14 This is a diagram showing a structural example of the control parameter adjustment device according to Embodiment 5.

[0023] Figure 15 This is a flowchart showing the processing sequence in the learning phase implemented by the control parameter adjustment device according to Embodiment 5.

[0024] Figure 16 This is a flowchart showing the processing sequence in the effective use phase implemented by the control parameter adjustment device according to Embodiment 5.

[0025] Figure 17 This is a diagram showing a structural example of the control parameter adjustment device according to Embodiment 6.

[0026] Figure 18 This is a flowchart showing the processing sequence implemented by the control parameter adjustment device according to Embodiment 6.

[0027] Figure 19 This is a diagram showing a hardware structural example of the control parameter adjustment device according to Embodiments 1 to 6. Detailed Embodiments

[0028] Hereinafter, the control parameter adjustment device, the numerical control device, and the control parameter adjustment method according to the embodiments will be described in detail based on the accompanying drawings.

[0029] Embodiment 1.

[0030] Figure 1 This is a diagram showing a structural example of the control parameter adjustment device 1A according to Embodiment 1. The control parameter adjustment device 1A adjusts the control parameters used in the machining by the machine tool. In addition, in the following description, the control parameters will be simply referred to as parameters.

[0031] The machine tool processes a workpiece by a cutting tool while relatively moving the cutting tool with respect to the workpiece. The machine tool is, for example, a numerically controlled machine tool. The control parameter adjustment device 1A is connected to, for example, the numerical control device of the machine tool. The numerical control device controls the operation of the machine tool based on a machining program. The machine tool operates according to the machining program under the control of the numerical control device.

[0032] The control parameter adjustment device 1A includes an attention part extraction unit 11, a determination value storage unit 12, an additional section information storage unit 13, an attention part information storage unit 14, a parameter adjustment unit 15, a parameter storage unit 16, a machining program storage unit 17, an operation analysis unit 18, and a tolerance value storage unit 19. In Figure 1 , the input / output of information between the structural elements of the control parameter adjustment device 1A is indicated by arrows.

[0033] The attention part extraction unit 11 extracts attention parts from the machining path of the machine tool. The attention part is a part of the machining path and is a part to be adjusted for the control parameters used in machining. A part where problems such as damage or streak marks that deteriorate the quality of the machining surface may occur is an attention part. In addition, although problems are less likely to occur, a part where a shortening of the machining time is anticipated by adjusting parameters as in the case of an excessive acceleration / deceleration time constant is also an attention part. Hereinafter, the quality of the machining surface is referred to as machining quality.

[0034] In the determination value storage unit 12, determination values for determining parts that conform to the attention parts are stored. In the additional section information storage unit 13, information related to the additional sections included in the attention parts, that is, additional section information, is stored. The additional sections will be described later. In the attention part information storage unit 14, information indicating the attention parts, that is, attention part information, is stored. The parameter adjustment unit 15 adjusts the control parameters used in the machining of the attention parts. In the machining program storage unit 17, the machining program is stored. The operation analysis unit 18 analyzes the operation of the machining program. In the tolerance value storage unit 19, tolerance values are stored. The tolerance values will be described later.

[0035] The attention part extraction unit 11 obtains the machining program from the machining program storage unit 17. The attention part extraction unit 11 obtains the preset determination values from the determination value storage unit 12. The attention part extraction unit 11 obtains the additional section information from the additional section information storage unit 13. The attention part extraction unit 11 obtains the parameters from the parameter storage unit 16. That is, the machining program, the determination values, the additional section information, and the parameters are input to the attention part extraction unit 11.

[0036] The attention area extraction unit 11 outputs the machining program and parameters to the motion analysis unit 18. The motion analysis unit 18 performs motion analysis related to the overall machining program based on the machining program and parameters. The motion analysis unit 18 outputs the result of the motion analysis to the attention area extraction unit 11.

[0037] The attention area extraction unit 11 calculates machining point data based on the result of the motion analysis. The machining point data is data related to the motion of the machining point. The detailed content of the machining point data will be described later. The attention area extraction unit 11 determines an interval in which the value included in the machining point data deviates from the range indicated by a preset determination value. The preset determination value is stored in the determination value storage unit 12. The attention area extraction unit 11 determines the interval obtained by combining the interval determined based on the determination value with an additional interval as the interval corresponding to the attention area. The additional interval will be described later. The attention area extraction unit 11 outputs the attention area information indicating the interval determined as the attention area to the attention area information storage unit 14.

[0038] The parameter adjustment unit 15 acquires the attention area information from the attention area information storage unit 14. The parameter adjustment unit 15 acquires the parameters from the parameter storage unit 16. The parameter adjustment unit 15 acquires a preset allowable value from the allowable value storage unit 19. That is, the attention area information, parameters, and allowable value are input to the parameter adjustment unit 15.

[0039] The parameter adjustment unit 15 outputs the attention area information and parameters to the motion analysis unit 18. The motion analysis unit 18 analyzes the motion of the machining program when using the parameters with respect to the attention area based on the attention area information and parameters. The motion analysis unit 18 outputs the analysis result of the motion related to the attention area to the parameter adjustment unit 15.

[0040] The parameter adjustment unit 15 calculates machining point data based on the analysis result of the motion related to the attention area. The parameter adjustment unit 15 determines whether the value of the machining point data is included in the allowable range indicated by the preset allowable value. When the value of the machining point data is not included in the allowable range, the parameter adjustment unit 15 changes the parameters. The parameter adjustment unit 15 causes the motion analysis unit 18 to perform motion analysis based on the attention area information and the changed parameters.

[0041] The parameter change and the motion analysis related to the attention part are repeatedly performed, and thereby the parameters are adjusted. The parameter adjustment unit 15 adjusts the control parameters used in the machining of the attention part based on the motion of the machining program when the adjusted parameters are used until the value included in the machining point data becomes a value within the allowable range indicated by the preset allowable value. The control parameter adjustment device 1A ends the parameter adjustment when the value of the machining point data becomes a value included in the allowable range. If the parameter adjustment is ended, the parameter adjustment unit 15 outputs the adjusted parameters to the parameter storage unit 16. The adjusted parameters are stored in the parameter storage unit 16.

[0042] As described above, the parameter adjustment unit 15 calculates the machining point data for the attention part based on the result obtained by analyzing the motion of the machining program, and adjusts the control parameters based on the calculated machining point data. The parameter adjustment unit 15 adjusts the control parameters used in the machining of the attention part based on the motion of the machining program related to the attention part.

[0043] Next, the processing sequence implemented by the control parameter adjustment device 1A will be described. Figure 2 It is a flowchart showing the processing sequence implemented by the control parameter adjustment device 1A according to Embodiment 1.

[0044] In step S1, the attention part extraction unit 11 obtains the machining program from the machining program storage unit 17. In addition, the attention part extraction unit 11 reads the parameters from the parameter storage unit 16. The attention part extraction unit 11 outputs the machining program and the parameters to the motion analysis unit 18. The motion analysis unit 18 performs motion analysis related to the whole of the machining program based on the machining program and the parameters.

[0045] The motion analysis unit 18, for example, simulates the motion of the numerical control device on the computer that is the control parameter adjustment device 1A, and thereby performs motion analysis for estimating the output of the numerical control device. Alternatively, the motion analysis unit 18 can send the machining program and the parameters to the numerical control device and sample the output of the numerical control device. The motion analysis unit 18 can estimate the signal value output to the motor of the machine tool through simulation by a driver or an amplifier connected to the numerical control device. Alternatively, the motion analysis unit 18 can send the machining program and the parameters to the numerical control device and sample the output of the driver or the output of the amplifier. The analysis method performed by the motion analysis unit 18 is not limited to these methods and is an arbitrary method.

[0046] The motion analysis unit 18 outputs the result of the motion analysis to the attention part extraction unit 11. In step S2, the attention part extraction unit 11 calculates the machining point data based on the result of the motion analysis obtained by the motion analysis unit 18.

[0047] The machining point data includes, for example, at least one of the values representing the positions of the machining points on the machining path, the values of the speeds of the machining points, the values of the accelerations of the machining points, and the values of the jerk of the machining points. The machining point data may include the values of the frequency components of at least one of the values representing the positions of the machining points, the speeds of the machining points, the accelerations of the machining points, and the jerk of the machining points. The machining point data may include the change amounts of these values corresponding to the positions or time. The machining point data may include the differences of these values in adjacent paths. Here, the machining point data is data for each position command, i.e., command point, output by the numerical control device. For example, the accelerations of each command point within a certain interval including a certain command point are obtained, and the frequency components of the acceleration are calculated by performing a Fourier transform on the obtained acceleration. The method for calculating the frequency components is not limited to this method and can be any method.

[0048] The machining point data calculated by the attention part extraction unit 11 only needs to include at least one of the data such as the values, change amounts, or differences exemplified here. The machining point data calculated by the attention part extraction unit 11 may also include data other than the data exemplified here.

[0049] Adjacent paths are paths adjacent to each other in the lateral direction. The lateral direction is a direction on the machining surface and is perpendicular to the traveling direction of the machining points on the machining path. Here, two adjacent paths are set as the first path and the second path. The difference of the values in the adjacent paths is, for example, the difference between the value at the command point on the first path and the value at the command point at the position in the lateral direction starting from this command point among the second paths. Or, the difference of the values in the adjacent paths is the difference between the value at the command point on the first path and the average value of the values at each command point on two or more paths adjacent to the first path. In this case, the attention part extraction unit 11 can determine the path having a part with a speed different from that of other paths among multiple paths. Thus, the control parameter adjustment device 1A extracts, among multiple paths, the parts where the movement of the machining points is different from that of other paths and is likely to cause damage as attention parts.

[0050] In the above description, the machining point data is set as data for each command point output by the numerical control device, but the machining point data is not limited to data for each command point output by the numerical control device. The machining point data may be, for example, data for each block of the machining program. Or, it may also be data for each command point output to the motor by a driver or amplifier connected to the numerical control device. The machining point data is not limited to data related to all command points and may also be data for each command point separated by a certain interval. The machining point data may be data other than the data exemplified here.

[0051] In step S3, the attention area extraction unit 11 reads out the determination value from the determination value storage unit 12. The determination value is, for example, a value indicating a position, speed, acceleration, jerk, or upper limit value of a frequency component. The determination value may be an upper limit value of a change amount of these values corresponding to a position or time. The determination value may be an upper limit value of a difference between these values in adjacent paths. The determination value is not limited to the values exemplified here and may be any value.

[0052] In step S4, the attention area extraction unit 11 determines the first interval from the machining path. The first interval is an interval in which the value included in the machining point data deviates from the range indicated by the preset determination value.

[0053] The first interval is, for example, an interval in which the value included in the machining point data exceeds the upper limit value as the determination value. In addition, the determination value may be a lower limit value. In this case, the first interval is an interval in which the value included in the machining point data is lower than the lower limit value as the determination value. The difference of the machining point data may be either a signed value or an absolute value. By setting the difference as an absolute value, it is also possible to detect a portion where the speed significantly decreases. The method for determining the first interval is not limited to the method exemplified here and may be any method.

[0054] The attention area extraction unit 11 may determine whether it is the first interval based on a plurality of elements included in the machining point data instead of based on one element included in the machining point data. For example, the attention area extraction unit 11 may determine the first interval based on the difference in the value indicating the position in adjacent paths and the difference in speed in adjacent paths.

[0055] In step S5, the attention area extraction unit 11 extracts an interval obtained by combining the second interval and the third interval determined based on the additional interval information with the first interval from the machining path, and stores the attention area information. The second interval and the third interval are additional intervals added to the first interval. The additional interval information is, for example, information indicating the distance of the additional interval. The attention area extraction unit 11 reads out the additional interval information from the additional interval information storage unit 13.

[0056] Here, the attention area will be described. Figure 3 It is a diagram for explaining the attention area extracted from the machining path by the control parameter adjustment device 1A according to the first embodiment. The machining path is a path along which a machining point, which is a reference for machining performed by a machine tool, moves. The machining point is, for example, the position of the tip of a tool. Alternatively, the machining point may be the position of the root of the tool, i.e., the machine end. Figure 3 The shown path 10 is set as a part of the machining path. The direction D is set as the traveling direction of the machining point in the path 10.

[0057] InFigure 3 In the example shown, instruction points C1, C2, C3, and C4 are set to be 4 of the multiple instruction points existing on path 10. Interval 10a between instruction point C2 and instruction point C3 is the first interval. Interval 10c between instruction point C3 and instruction point C4 is the second interval. Interval 10b between instruction point C1 and instruction point C2 is the third interval. The second interval is an additional interval on the front side in direction D with respect to the first interval. The third interval is an additional interval on the rear side in direction D with respect to the first interval. The attention part extraction unit 11 determines the second interval and the third interval based on the additional interval information obtained from the additional interval information storage unit 13.

[0058] The additional interval is, for example, an interval corresponding to the distance required for acceleration and deceleration to set the speed in the first interval to the specified speed. Or, the additional interval is an interval corresponding to the distance between the current instruction point and the pre-read instruction point. Pre-reading means that in the analysis of the machining program by the numerical control device, analysis related to the process to be executed later than the currently executed process is performed. Hereinafter, the distance between the current instruction point and the pre-read instruction point will be referred to as the pre-read distance.

[0059] The distance required for acceleration and deceleration is obtained, for example, by multiplying the acceleration and deceleration time constant by the speed. The distance required for acceleration and deceleration can be obtained by multiplying the preset maximum speed by the acceleration and deceleration time constant as a parameter. The method for calculating the distance required for acceleration and deceleration is not limited to these methods and is an arbitrary method.

[0060] The pre-read distance is calculated, for example, based on the number of instruction points required for the numerical control device to calculate interpolation points through functions such as spline interpolation. Or, the pre-read distance is calculated based on the distance required for the numerical control device to calculate interpolation points through functions such as spline interpolation. That is, the pre-read distance is calculated according to the number of instruction points or the distance required for the internal processing of the numerical control device. The method for calculating the pre-read distance is not limited to this method and is an arbitrary method.

[0061] The attention part extraction unit 11 determines the interval obtained by combining the first interval, the second interval, and the third interval as the interval that meets the attention part. The attention part extraction unit 11 outputs the attention part information indicating the interval determined as the attention part to the attention part information storage unit 14, thereby storing the attention part information in the attention part information storage unit 14. In addition, when extracting the attention part, the attention part extraction unit 11 can ignore the intervals that are actually not machined in the machining path. The intervals that are actually not machined are, for example, the intervals for performing positioning operations before and after machining.

[0062] When the attention part extraction unit 11 calculates the frequency components, it can extract the section including the command point set as the calculation object of the frequency components and a plurality of command points before and after the object as the attention part. When the attention part extraction unit 11 calculates the difference between the values in adjacent paths, it can start from the section where the value included in the processing point data deviates from the range of the determination value, and travel forward or backward in the traveling direction, thereby determining the section as the attention part. That is, the attention part extraction unit 11 can set the path including the section where the value included in the processing point data deviates from the range of the determination value and the section including all the paths adjacent to the path as the first section, and set the section obtained by combining the first section, the second section, and the third section as the section conforming to the attention part.

[0063] In addition, in the above description, the additional sections included in the attention part are set as the second section and the third section, but the additional sections included in the attention part only need to be at least one of the second section and the third section. The attention part extraction unit 11 only needs to determine the section obtained by combining at least one of the second section and the third section with the first section as the section conforming to the attention part.

[0064] In step S6, the parameter adjustment unit 15 reads out the attention part information, the tolerance value, and the parameter. The parameter adjustment unit 15 reads out the attention part information from the attention part information storage unit 14. The parameter adjustment unit 15 reads out the parameter from the parameter storage unit 16. The parameter adjustment unit 15 reads out the tolerance value from the tolerance value storage unit 19.

[0065] The tolerance value is a value representing the allowable range of the value included in the processing point data. For example, the tolerance value is the upper limit value of the allowable range and the lower limit value of the allowable range. The tolerance value is, for example, the upper limit value of the value representing the position, speed, acceleration, jerk, or frequency component. In addition, the tolerance value is the lower limit value of the value representing the position, speed, acceleration, jerk, or frequency component. The tolerance value can be the upper limit value of the change amount of these values corresponding to the position or time and the lower limit value of the change amount. The tolerance value can be the upper limit value of the difference between these values in adjacent paths and the lower limit value of the difference. The tolerance value is not limited to the values exemplified here and is an arbitrary value.

[0066] In step S7, the parameter adjustment unit 15 determines whether the value of the processing point data at the attention part is less than the lower limit value. When the value of the processing point data is less than the lower limit value (step S7, Yes), the control parameter adjustment device 1A makes the sequence proceed to step S8. When the value of the processing point data is greater than or equal to the lower limit value (step S7, No), the control parameter adjustment device 1A makes the sequence proceed to step S9.

[0067] In step S8, the parameter adjustment unit 15 changes the parameters and calculates the machining point data. When the value of the machining point data at the attention part is less than the lower limit value, the parameter adjustment unit 15 determines that the attention part is the part where the machining time is expected to be shortened by adjusting the parameters. In step S8, the parameter adjustment unit 15 makes a parameter change to shorten the machining time of the attention part. For example, the parameter adjustment unit 15 makes a parameter change to reduce the acceleration / deceleration time constant, or makes a parameter change to increase the maximum speed of the machining point, etc.

[0068] The parameter change in step S8 is not limited to the change of the acceleration / deceleration time constant or the maximum speed. The parameter adjustment unit 15 can change parameters related to machining quality or machining time other than these parameters. For example, the parameter change can be a parameter change that switches the validity of a specific function related to machining quality, such as a function for smoothing the machining path. Or, the parameter adjustment unit 15 can also change the parameters used by this function.

[0069] The parameter adjustment unit 15 outputs the attention part information and the changed parameters to the motion analysis unit 18. Based on the attention part information and the changed parameters, the motion analysis unit 18 performs motion analysis related to the attention part. The motion analysis unit 18 outputs the result of the motion analysis to the parameter adjustment unit 15. The parameter adjustment unit 15 calculates the machining point data at the attention part based on the result of the motion analysis obtained by the motion analysis unit 18. If step S8 is completed, the parameter adjustment device 1A is controlled to return the sequence to step S7.

[0070] In addition, according to Figure 2 , the parameter adjustment device 1A repeats steps S7 and S8 until the value of the machining point data is greater than or equal to the lower limit value. When the change amount of the value of the machining point data generated by the parameter change in step S8 is less than or equal to a certain amount, the parameter adjustment device 1A ends steps S7 and S8 and makes the sequence enter step S9.

[0071] In step S9, the parameter adjustment unit 15 determines whether the value of the machining point data at the attention part is greater than the upper limit value. When the value of the machining point data is greater than the upper limit value (step S9, Yes), the parameter adjustment device 1A is controlled to make the sequence enter step S10. When the value of the machining point data is less than or equal to the upper limit value (step S9, No), the parameter adjustment device 1A is controlled to make the sequence enter step S11.

[0072] In step S10, the parameter adjustment unit 15 changes the parameters and calculates the machining point data. When the value of the machining point data at the attention part is greater than the upper limit value, the parameter adjustment unit 15 determines that the attention part is a part where a problem that may reduce the machining quality may occur. In step S10, the parameter adjustment unit 15 makes a parameter change to increase the machining time of the attention part. For example, the parameter adjustment unit 15 makes a parameter change to increase the acceleration / deceleration time constant, or makes a parameter change to reduce the maximum speed of the machining point, etc.

[0073] The parameter change in step S10 is not limited to the change of the acceleration / deceleration time constant or the change of the maximum speed. The parameter adjustment unit 15 can also change parameters related to machining quality or machining time other than these parameters. For example, the parameter change can be a parameter change that switches the validity and invalidity of a specific function related to machining quality, such as a function for smoothing the machining path. Or, the parameter adjustment unit 15 can change the parameters used by this function.

[0074] The parameter adjustment unit 15 outputs the attention part information and the changed parameters to the motion analysis unit 18. Based on the attention part information and the changed parameters, the motion analysis unit 18 performs motion analysis related to the attention part. The motion analysis unit 18 outputs the result of the motion analysis to the parameter adjustment unit 15. The parameter adjustment unit 15 calculates the machining point data based on the result of the motion analysis obtained by the motion analysis unit 18. If step S10 is completed, the control parameter adjustment device 1A returns the sequence to step S9.

[0075] In addition, according to Figure 2 , the control parameter adjustment device 1A repeats steps S9 and S10 until the value of the machining point data is less than the upper limit value. The control parameter adjustment device 1A can end steps S9 and S10 when the change amount of the value of the machining point data generated by the parameter change in step S10 is less than or equal to a certain amount, and make the sequence enter step S11.

[0076] In step S11, the parameter adjustment unit 15 outputs the parameters to the parameter storage unit 16, thereby storing the parameters in the parameter storage unit 16. Above, the control parameter adjustment device 1A ends the process implemented in the sequence shown by Figure 2 .

[0077] The attention part extraction unit 11 extracts attention parts where problems that may reduce the machining quality may occur, and attention parts where a shortening of the machining time is anticipated through parameter adjustment. The control parameter adjustment device 1A can achieve parameter adjustment that emphasizes machining accuracy for attention parts where problems that may reduce the machining quality may occur. The control parameter adjustment device 1A can achieve parameter adjustment that emphasizes machining time for attention parts where a shortening of the machining time is anticipated.

[0078] According to Embodiment 1, the control parameter adjustment device 1A has an attention part extraction unit 11. Thus, even when only the attention part is operated without operating the entire machining program, the machining point data related to the attention part can be accurately calculated to adjust the parameters. Thereby, the control parameter adjustment device 1A can perform accurate parameter adjustment for the attention part in accordance with the content shown in the machining program.

[0079] The attention part extraction unit 11 determines a first interval in which the value included in the machining point data deviates from the range indicated by the determination value, and determines an interval obtained by combining at least one of the second interval and the third interval with the first interval as an interval that conforms to the attention part. The control parameter adjustment device 1A includes at least one of the second interval and the third interval in the attention part, so that even when only the attention part is operated without operating the entire machining program, the machining point data related to the attention part can be accurately calculated.

[0080] In the above description, the parameter adjustment unit 15 changes the parameters when the value of the machining point data is less than the lower limit value in step S7 and when the value of the machining point data is greater than the upper limit value in step S9, respectively. The parameter adjustment unit 15 may also change the parameters only in one of the cases where the value of the machining point data is less than the lower limit value in step S7 and where the value of the machining point data is greater than the upper limit value in step S9. That is, the control parameter adjustment device 1A may omit one of the step groups of steps S7 and S8 and the step groups of steps S9 and S10.

[0081] For example, in the case of machining where the requirement for machining quality is small and the requirement for shortening the production cycle time is large, the control parameter adjustment device 1A may implement only the step group of steps S7 and S8 among the step groups of steps S7 and S8 and the step groups of steps S9 and S10. On the other hand, in the case of machining where the requirement for machining quality is large and the requirement for shortening the production cycle time is small, the control parameter adjustment device 1A may implement only the step group of steps S9 and S10 among the step groups of steps S7 and S8 and the step groups of steps S9 and S10. Thereby, the control parameter adjustment device 1A can perform parameter adjustment corresponding to the purpose or use of the machining.

[0082] In the above description, the control parameter adjustment device 1A is provided as a device external to the numerical control device and connected to the numerical control device. The control parameter adjustment device 1A is not limited to a device external to the numerical control device and may also be built into the numerical control device. The same structure as the control parameter adjustment device 1A according to Embodiment 1 may be provided in the numerical control device.

[0083] Figure 4FIG. 0 is a diagram showing a structural example of a numerical control device 2 having the same structure as the control parameter adjustment device 1A according to Embodiment 1. The numerical control device 2 generates commands based on a machining program stored in a machining program storage unit 17 and parameters stored in a parameter storage unit 16. The numerical control device 2 outputs the generated commands to a machine tool, thereby controlling the machine tool. In Figure 4 the input / output of information between the structural elements of the numerical control device 2 is indicated by arrows. In Figure 4 the illustration of the structural elements that generate commands and the structural elements that output commands to the machine tool is omitted.

[0084] Similar to the control parameter adjustment device 1A, the numerical control device 2 can accurately adjust parameters corresponding to the content shown in the machining program for the attention part.

[0085] Embodiment 2.

[0086] Figure 5 FIG. 14 is a diagram showing a structural example of the control parameter adjustment device 1B according to Embodiment 2. In the control parameter adjustment device 1B, instead of Figure 1 the attention part extraction unit 11, parameter adjustment unit 15, motion analysis unit 18, and tolerance value storage unit 19 shown, it has an attention part extraction unit 21, parameter adjustment unit 22, feedback (FB: FeedBack) analysis unit 23, and FB tolerance value storage unit 24. In Embodiment 2, the same reference numerals are assigned to the same structural elements as those in the above Embodiment 1, and mainly the structures different from those in Embodiment 1 are described. In Figure 5 the input / output of information between the structural elements of the control parameter adjustment device 1B is indicated by arrows.

[0087] The attention part extraction unit 21 obtains a machining program from the machining program storage unit 17. The attention part extraction unit 21 obtains a determination value from the determination value storage unit 12. The attention part extraction unit 21 obtains additional section information from the additional section information storage unit 13. The attention part extraction unit 21 obtains parameters from the parameter storage unit 16. That is, the machining program, determination value, additional section information, and parameters are input to the attention part extraction unit 21.

[0088] The attention part extraction unit 21 outputs the machining program and parameters to the machine tool 3. The machine tool 3 obtains the machining program and parameters from the attention part extraction unit 21 and operates the numerical control device 2 according to the machining program and parameters. The machine tool 3 outputs the result of operating the numerical control device 2, that is, the FB value, to the attention part extraction unit 21. Thus, the attention part extraction unit 21 obtains the FB value, which is the operation result related to the whole of the machining program, from the machine tool 3. In addition, in Figure 5 the illustration of the numerical control device 2 is omitted.

[0089] The attention area extraction unit 21 outputs the FB value to the FB analysis unit 23. The FB analysis unit 23 analyzes the FB value and outputs the analysis result to the attention area extraction unit 21. The attention area extraction unit 21 calculates the machining point data based on the analysis result. Hereinafter, the machining point data calculated based on the analysis result of the FB value is referred to as FB data.

[0090] The attention area extraction unit 21 determines an interval in which the value included in the FB data deviates from the range indicated by a preset determination value. The attention area extraction unit 21 determines the interval obtained by combining the interval determined based on the determination value with the additional interval as the interval that conforms to the attention area. The attention area extraction unit 21 outputs the attention area information indicating the interval determined as the attention area to the attention area information storage unit 14.

[0091] The parameter adjustment unit 22 acquires the attention area information from the attention area information storage unit 14. The parameter adjustment unit 22 acquires the parameters from the parameter storage unit 16. The parameter adjustment unit 22 acquires a preset allowable value, that is, the FB allowable value, from the FB allowable value storage unit 24. That is, the attention area information, the parameters, and the FB allowable value are input to the parameter adjustment unit 22. The FB allowable value is a value indicating the allowable range of the value included in the FB data.

[0092] The parameter adjustment unit 22 outputs the attention area information and the parameters to the machine tool 3. The machine tool 3 acquires the attention area information and the parameters from the parameter adjustment unit 22, and uses the parameters to operate the numerical control device 2 with respect to the attention area. The machine tool 3 outputs the FB value, which is the result of operating the numerical control device 2 with respect to the attention area, to the parameter adjustment unit 22. Thus, the parameter adjustment unit 22 acquires the operation result, that is, the FB value, related to the attention area from the machine tool 3.

[0093] The parameter adjustment unit 22 outputs the FB value to the FB analysis unit 23. The FB analysis unit 23 analyzes the FB value and outputs the analysis result to the parameter adjustment unit 22. The parameter adjustment unit 22 calculates the FB data based on the analysis result. The parameter adjustment unit 22 determines whether the allowable range indicated by the FB allowable value includes the value of the FB data. When the value of the FB data is not included in the allowable range, the parameter adjustment unit 22 changes the parameters and outputs the attention area information and the changed parameters to the machine tool 3. The parameter adjustment unit 22 acquires the FB value from the machine tool 3 and calculates the FB data through the analysis of the FB value performed by the FB analysis unit 23.

[0094] The parameter change is repeated, and the FB data is calculated based on the operation of the machining program for the attention part, thereby adjusting the parameters. The parameter adjustment unit 22 adjusts the control parameters used in the machining of the attention part based on the operation of the machining program when using the adjusted control parameters until the value included in the FB data becomes a value within the allowable range indicated by the preset FB allowable value. When the value of the FB data becomes a value included in the allowable range, the control parameter adjustment device 1B ends the parameter adjustment. If the parameter adjustment is ended, the parameter adjustment unit 22 outputs the adjusted parameters to the parameter storage unit 16. The adjusted parameters are stored in the parameter storage unit 16.

[0095] As described above, the parameter adjustment unit 22 calculates the FB data for the attention part based on the operation result of the machining program, and adjusts the parameters based on the calculated FB data. The parameter adjustment unit 22 adjusts the control parameters used in the machining of the attention part based on the operation of the machining program related to the attention part.

[0096] Next, the processing sequence implemented by the control parameter adjustment device 1B will be described. Figure 6 It is a flowchart showing the processing sequence implemented by the control parameter adjustment device 1B according to the second embodiment.

[0097] In step S21, the attention part extraction unit 21 obtains the machining program from the machining program storage unit 17. In addition, the attention part extraction unit 21 reads the parameters from the parameter storage unit 16. The attention part extraction unit 21 outputs the machining program and the parameters to the machine tool 3. The machine tool 3 operates the numerical control device 2 according to the machining program and the parameters. The machine tool 3 outputs the FB value to the attention part extraction unit 21. The attention part extraction unit 21 outputs the FB value to the FB analysis unit 23. The FB analysis unit 23 analyzes the FB value and outputs the analysis result to the attention part extraction unit 21. In addition, the operation of the machine tool 3 when the attention part extraction unit 21 obtains the FB value can be the operation when actually machining the workpiece or the dry run operation without actually machining.

[0098] The FB value is, for example, information indicating the position of the command point. The information indicating the position of the command point is output by the numerical control device 2. The attention part extraction unit 21 samples the position of the command point. In step S22, the attention part extraction unit 21 calculates the FB data based on the analysis result of the FB value.

[0099] The FB data contains, for example, at least one of a value representing the position of a machining point, a value representing the speed of the machining point, a value representing the acceleration of the machining point, and a value representing the jerk of the machining point. The FB data may contain a value of a frequency component of at least one of a value representing the position of the machining point, the speed of the machining point, the acceleration of the machining point, and the jerk of the machining point. The FB data may contain a change amount of these values corresponding to the position or time. The FB data may contain a difference between these values in adjacent paths. For example, the acceleration of each command point within a certain range including a certain command point is obtained, and the frequency component of the acceleration is calculated by performing a Fourier transform on the obtained acceleration. The method for calculating the frequency component is not limited to this method and can be any method.

[0100] In addition, in the above description, it is assumed that the attention part extraction unit 21 samples the position of the command point, but it is not limited thereto. The attention part extraction unit 21 may also sample the FB position. The FB position is, for example, the position of the machining point, that is, the position of the tip of the tool or the position of the machine end. In this case, the FB value is information on the position of the machining point. The FB value in the case of sampling the FB position may be information on the axis position. The axis position is the position of the axis that moves the machining point. The axis position is detected, for example, by an encoder of a motor that is the power source of the axis.

[0101] The attention part extraction unit 21 may sample both the position of the command point and the FB position. The FB data may be the difference, that is, the evaluation value, between the position of the command point and the FB position. That is, the FB data may be the difference between the position of the command point output by the numerical control device 2 of the machine tool 3 and the actual position of the machining point.

[0102] For example, when the attention part extraction unit 21 obtains each value of speed and acceleration as FB data, it samples the position of the command point or the FB position, and calculates each value of speed and acceleration based on the information on the position of the command point or the FB position. It is not limited thereto, and the attention part extraction unit 21 may also sample the position of the command point or the FB position, speed, and acceleration respectively, thereby obtaining each value of speed and acceleration.

[0103] In step S23, the attention part extraction unit 21 reads out the determination value from the determination value storage unit 12. The determination value is, for example, an upper limit value of a value representing the position, speed, acceleration, jerk, or frequency component. The determination value may be an upper limit value of a change amount of these values corresponding to the position or time. The determination value may also be an upper limit value of a difference between these values in adjacent paths. The determination value is not limited to the values exemplified here and can be any value.

[0104] In step S24, the attention area extraction unit 21 determines a first section from the machining path. The first section is, for example, a section where the value included in the machining point data exceeds the upper limit value as the determination value. Additionally, the determination value may also be a lower limit value. In this case, the first section is a section where the value included in the machining point data is lower than the lower limit value as the determination value.

[0105] In step S25, the attention area extraction unit 21 extracts, from the machining path, the section obtained by combining the second section and the third section determined based on the additional section information with the first section, and stores the attention area information. The attention area extraction unit 21 reads the additional section information from the additional section information storage unit 13. The attention area extraction unit 21 determines the second section and the third section based on the additional section information. The attention area extraction unit 21 determines the section obtained by combining the first section, the second section, and the third section as the section that meets the attention area. The attention area extraction unit 21 outputs the attention area information indicating the section determined as the attention area to the attention area information storage unit 14, thereby storing the attention area information in the attention area information storage unit 14.

[0106] In step S26, the parameter adjustment unit 22 reads the attention area information, the FB tolerance value, and the parameters. The parameter adjustment unit 22 reads the attention area information from the attention area information storage unit 14. The parameter adjustment unit 22 reads the parameters from the parameter storage unit 16. The parameter adjustment unit 22 reads the FB tolerance value from the FB tolerance value storage unit 24.

[0107] For example, the FB tolerance value is the upper limit value of the allowable range and the lower limit value of the allowable range. The FB tolerance value is, for example, the upper limit value of a value representing position, speed, acceleration, jerk, or frequency component. Additionally, the FB tolerance value is the lower limit value of a value representing position, speed, acceleration, jerk, or frequency component. The FB tolerance value may be the upper limit value of the change amount of these values corresponding to position or time and the lower limit value of the change amount. The FB tolerance value may be the upper limit value of the difference between these values in adjacent paths and the lower limit value of the difference. The FB tolerance value is not limited to the values exemplified here and is an arbitrary value.

[0108] In step S27, the parameter adjustment unit 22 determines whether the value of the FB data at the attention area is less than the lower limit value. If the value of the FB data is less than the lower limit value (step S27, Yes), the control parameter adjustment device 1B causes the sequence to proceed to step S28. If the value of the FB data is greater than or equal to the lower limit value (step S27, No), the control parameter adjustment device 1B causes the sequence to proceed to step S29.

[0109] In step S28, the parameter adjustment unit 22 changes the parameters and calculates the FB data. When the value of the FB data at the attention part is less than the lower limit value, the parameter adjustment unit 22 determines that the attention part is the part where the shortening of the processing time is foreseen by the adjustment of the parameters. In step S28, the parameter adjustment unit 22 makes a parameter change to shorten the processing time of the attention part. For example, the parameter adjustment unit 22 makes a parameter change to reduce the acceleration / deceleration time constant, or makes a parameter change to increase the maximum speed of the processing point, etc.

[0110] The parameter adjustment unit 22 outputs the attention part information and the changed parameters to the machine tool 3. Based on the attention part information and the changed parameters, the machine tool 3 uses these parameters to operate the numerical control device 2 for the attention part. The machine tool 3 outputs the FB value, which is the operation result related to the attention part, to the parameter adjustment unit 22. The parameter adjustment unit 22 outputs the FB value to the FB analysis unit 23. The FB analysis unit 23 analyzes the FB value and outputs the analysis result to the parameter adjustment unit 22. The parameter adjustment unit 22 calculates the FB data at the attention part based on the analysis result obtained through the FB analysis unit 23. If step S28 is completed, the control parameter adjustment device 1B returns the sequence to step S27.

[0111] In addition, according to Figure 6 , the control parameter adjustment device 1B repeats steps S27 and S28 until the value of the FB data is greater than or equal to the lower limit value. The control parameter adjustment device 1B can end steps S27 and S28 and enter step S29 when the change amount of the value of the FB data generated by the parameter change in step S28 is less than or equal to a certain amount.

[0112] In step S29, the parameter adjustment unit 22 determines whether the value of the FB data at the attention part is greater than the upper limit value. When the value of the FB data is greater than the upper limit value (step S29, Yes), the control parameter adjustment device 1B enters step S30 in the sequence. When the value of the FB data is less than or equal to the upper limit value (step S29, No), the control parameter adjustment device 1B enters step S31 in the sequence.

[0113] In step S30, the parameter adjustment unit 22 changes the parameters and calculates the FB data. When the value of the FB data at the attention part is greater than the upper limit value, the parameter adjustment unit 22 determines that the attention part is the part where there may be a problem of reducing the processing quality. In step S30, the parameter adjustment unit 22 makes a parameter change to increase the processing time of the attention part. For example, the parameter adjustment unit 22 makes a parameter change to increase the acceleration / deceleration time constant, or makes a parameter change to reduce the maximum speed of the processing point, etc.

[0114] In addition, the parameter change in step S30 is not limited to the change of the acceleration / deceleration time constant or the change of the maximum speed. The parameter adjustment unit 22 can also change parameters related to the machining quality or machining time other than these parameters.

[0115] The parameter adjustment unit 22 outputs the attention part information and the changed parameters to the machine tool 3. Based on the attention part information and the changed parameters, the machine tool 3 uses these parameters to operate the numerical control device 2 for the attention part. The machine tool 3 outputs the FB value, which is the operation result related to the attention part, to the parameter adjustment unit 22. The parameter adjustment unit 22 outputs the FB value to the FB analysis unit 23. The FB analysis unit 23 analyzes the FB value and outputs the analysis result to the parameter adjustment unit 22. The parameter adjustment unit 22 calculates the FB data at the attention part based on the analysis result obtained by the FB analysis unit 23. If step S30 is completed, the control parameter adjustment device 1B is controlled to return the sequence to step S29.

[0116] In addition, according to Figure 6 , the control parameter adjustment device 1B repeats steps S29 and S30 until the value of the FB data is less than the upper limit value. The control parameter adjustment device 1B ends steps S29 and S30 and proceeds to step S31 when the change amount of the value of the FB data generated by the parameter change in step S30 is less than or equal to a certain amount.

[0117] In step S31, the parameter adjustment unit 22 outputs the parameters to the parameter storage unit 16, thereby storing the parameters in the parameter storage unit 16. Thus, the control parameter adjustment device 1B ends the process implemented in the sequence shown by Figure 6 .

[0118] According to Embodiment 2, the attention part extraction unit 21 calculates the FB data based on the operation result of the machining program and extracts the attention part. The parameter adjustment unit 22 adjusts the parameters used in the machining at the attention part based on the FB data calculated according to the operation result of the machining program. By controlling the parameter adjustment device 1B to adjust the parameters based on the actual operation performed by the machine tool 3, it is possible to perform parameter adjustment based on the operation mode of the actual machining points such as acceleration or vibration.

[0119] When the control parameter adjustment device 1B calculates the difference between the position of the command point and the FB position, that is, the evaluation value, as the FB data, it is possible to perform parameter adjustment that reduces the error of the machining point relative to the command point.

[0120] In the above description, the parameter adjustment unit 22 changes the parameters when the value of the FB data is less than the lower limit value in step S27 and when the value of the FB data is greater than the upper limit value in step S29. The parameter adjustment unit 22 may also change the parameters only in one of the cases where the value of the FB data is less than the lower limit value in step S27 and where the value of the FB data is greater than the upper limit value in step S29. That is, the control parameter adjustment device 1B can omit one of the step groups of steps S27, S28 and the step groups of steps S29, S30. Thus, the control parameter adjustment device 1B can perform parameter adjustment corresponding to the purpose or use of the machining.

[0121] The control parameter adjustment device 1B is not limited to a device external to the numerical control device 2. The control parameter adjustment device 1B may also be built into the numerical control device 2. The same structure as the control parameter adjustment device 1B according to the second embodiment may be provided in the numerical control device 2.

[0122] Embodiment 3.

[0123] Figure 7 FIG. is a diagram showing a structural example of the control parameter adjustment device 1C according to Embodiment 3. In the control parameter adjustment device 1C, instead of Figure 1 the parameter adjustment unit 15 and the machining program storage unit 17 shown, it has a parameter adjustment unit 31 and a machining program storage unit 32. In Embodiment 3, the same reference numerals are given to the same structural elements as in the above Embodiment 1 or 2, and mainly the structures different from those in Embodiment 1 or 2 are described. In Figure 7 it, the input / output of information between the structural elements of the control parameter adjustment device 1C is indicated by arrows.

[0124] The parameter adjustment unit 31 acquires the attention part information from the attention part information storage unit 14. The parameter adjustment unit 31 acquires the parameters from the parameter storage unit 16. The parameter adjustment unit 31 acquires the preset allowable values from the allowable value storage unit 19. The parameter adjustment unit 31 acquires the machining program from the machining program storage unit 32. That is, the attention part information, parameters, allowable values, and machining program are input to the parameter adjustment unit 31.

[0125] The parameter adjustment unit 31 outputs the attention part information and the parameters to the motion analysis unit 18. The motion analysis unit 18 analyzes the motion of the machining program in the case of using the parameters with respect to the attention part based on the attention part information and the parameters. The motion analysis unit 18 outputs the analysis result of the motion related to the attention part to the parameter adjustment unit 31.

[0126] The parameter adjustment unit 31 calculates machining point data based on the analysis result of the motion related to the attention part. The parameter adjustment unit 31 determines whether the value of the machining point data is included in the allowable range indicated by a preset allowable value. When the value of the machining point data is not included in the allowable range, the parameter adjustment unit 31 changes the parameters. The parameter adjustment unit 31 causes the motion analysis unit 18 to perform motion analysis based on the attention part information and the changed parameters.

[0127] By repeating the change of parameters and the motion analysis related to the attention part, the parameters are adjusted. The parameter adjustment unit 31 adjusts the parameters used in the machining at the attention part based on the motion of the machining program when the adjusted control parameters are used until the value included in the machining point data becomes a value within the allowable range indicated by the preset allowable value. The control parameter adjustment device 1C ends the adjustment of the parameters when the value of the machining point data becomes a value included in the allowable range.

[0128] The parameter adjustment unit 31 adds an instruction for causing the machining program to operate with the parameters adjusted for the attention part to the machining program. The parameter adjustment unit 31 outputs the machining program with the added instruction to the machining program storage unit 32, thereby storing the machining program in the machining program storage unit 32.

[0129] Moreover, the parameter adjustment unit 31 obtains the analysis result of the motion of the machining program from the motion analysis unit 18 for parts other than the attention part in the machining path. Hereinafter, parts other than the attention part in the machining path are referred to as normal parts. The parameter adjustment unit 31 calculates machining point data related to the normal parts based on the analysis result.

[0130] The parameter adjustment unit 31 determines whether the value included in the machining point data is greater than or equal to the lower limit value as the allowable value. When the value included in the machining point data is less than the lower limit value, the parameter adjustment unit 31 changes the parameters. The motion analysis unit 18 performs motion analysis for the normal parts based on the changed parameters.

[0131] The parameter adjustment unit 31 adjusts the parameters used in the machining at the normal parts until the value included in the machining point data becomes greater than or equal to the lower limit value. Thus, the parameter adjustment unit 31 performs adjustment to shorten the machining time for the control parameters used in the machining at the normal parts until the value included in the machining point data becomes a value within the range indicated by the preset allowable value. If the adjustment of the parameters is completed, the parameter adjustment unit 31 outputs the adjusted parameters to the parameter storage unit 16. The adjusted parameters are stored in the parameter storage unit 16.

[0132] Next, the processing sequence implemented by the control parameter adjustment device 1C will be described.Figure 8 This is a flowchart showing the processing sequence implemented by the control parameter adjustment device 1C according to Embodiment 3. The processing from step S41 to step S50 is the same as the processing from step S1 to step S10 shown in Figure 2 If steps S49 and S50 are completed, the control parameter adjustment device 1C proceeds to step S51.

[0133] In step S51, the parameter adjustment unit 31 obtains the machining program from the machining program storage unit 32 and adds an instruction to the machining program. The parameter adjustment unit 31 adds an instruction to the machining program so that the parameter at the attention part becomes the parameter adjusted through the processing from step S47 to step S50. The parameter adjustment unit 31 stores the machining program with the added instruction in the machining program storage unit 32.

[0134] Regarding the normal part, the parameter adjustment unit 31 obtains the analysis result of the operation of the machining program from the motion analysis unit 18. In step S52, the parameter adjustment unit 31 calculates the machining point data at the normal part based on the analysis result.

[0135] In step S53, the parameter adjustment unit 31 determines whether the value of the machining point data at the normal part is less than the lower limit value. When the value of the machining point data is less than the lower limit value (step S53, Yes), the control parameter adjustment device 1C proceeds to step S54. When the value of the machining point data is greater than or equal to the lower limit value (step S53, No), the control parameter adjustment device 1C proceeds to step S55.

[0136] In step S54, the parameter adjustment unit 31 changes the parameter and calculates the machining point data. When there is an interval in the normal part where the value of the machining point data is less than the lower limit value, the parameter adjustment unit 31 determines that this interval is an interval where the machining time is expected to be shortened through parameter adjustment. In step S54, the parameter adjustment unit 31 makes a parameter change to shorten the machining time for this interval. For example, the parameter adjustment unit 31 makes a parameter change to reduce the acceleration / deceleration time constant, or a parameter change to increase the maximum speed of the machining point, etc.

[0137] The parameter change in step S54 is not limited to the change of the acceleration / deceleration time constant or the maximum speed. The parameter adjustment unit 31 can change parameters related to machining quality or machining time other than these parameters. For example, the parameter change can be a parameter change that switches the validity of a specific function related to machining quality, such as a function for smoothing the machining path. Or, the parameter adjustment unit 15 can also change the parameters used by this function.

[0138] The parameter adjustment unit 31 outputs information indicating the interval to be adjusted as a parameter and the changed parameter to the motion analysis unit 18. The motion analysis unit 18 performs motion analysis related to this interval. The motion analysis unit 18 outputs the result of the motion analysis to the parameter adjustment unit 31. The parameter adjustment unit 31 calculates the machining point data for this interval based on the result of the motion analysis obtained by the motion analysis unit 18. If step S54 is completed, the control parameter adjustment device 1C controls the sequence to return to step S53.

[0139] In addition, according to Figure 8 , the control parameter adjustment device 1C repeats steps S53 and S54 until the value of the machining point data becomes greater than or equal to the lower limit value. The control parameter adjustment device 1C can end steps S53 and S54 when the change amount of the value of the machining point data generated by the parameter change in step S54 is less than or equal to a certain amount, and make the sequence proceed to step S55.

[0140] In step S55, the parameter adjustment unit 31 outputs the parameter to the parameter storage unit 16, thereby storing the parameter in the parameter storage unit 16. Thus, the control parameter adjustment device 1C ends the process implemented in the sequence shown by Figure 8 .

[0141] According to Embodiment 3, the control parameter adjustment device 1C can perform accurate parameter adjustment in accordance with the content shown in the machining program for the attention part, similarly to the case of Embodiment 1. In addition, the control parameter adjustment device 1C performs adjustment to shorten the machining time for the normal part, thereby being able to shorten the machining time for the entire machining path.

[0142] In addition, in the above description, the control parameter adjustment device 1C divides the machining path into an attention part and a part other than the attention part, that is, a normal part, and performs parameter adjustment related to the attention part and parameter adjustment related to the normal part. In this case, the machining path is classified into two intervals with different attention levels, an interval as the attention part and an interval as the normal part, and parameter adjustment is performed for each interval. The control parameter adjustment device 1C can classify the machining path into three or more intervals with gradually different attention levels, and perform parameter adjustment for each interval. In this case, a plurality of determination values for extracting these three or more intervals are preset in the control parameter adjustment device 1C. The control parameter adjustment device 1C can classify the machining path into three or more intervals with gradually different attention levels based on the plurality of determination values.

[0143] The control parameter adjustment device 1C is not limited to a device external to the numerical control device 2. The control parameter adjustment device 1C may also be built into the numerical control device 2. The same structure as the control parameter adjustment device 1C according to the third embodiment may be provided in the numerical control device 2.

[0144] Embodiment 4.

[0145] Figure 9 FIG. is a diagram showing a structural example of the control parameter adjustment device 1D according to Embodiment 4. In the control parameter adjustment device 1D, instead of Figure 1 the attention part extraction unit 11, parameter adjustment unit 15, operation analysis unit 18, and allowable value storage unit 19 shown, there are provided an attention part extraction unit 41, parameter adjustment unit 42, operation analysis unit 43, FB analysis unit 44, learning unit 45, correspondence information storage unit 46, FB allowable value storage unit 47, and allowable value calculation unit 48. In Embodiment 4, the same reference numerals are given to the same structural elements as those in the above Embodiments 1 to 3, and mainly the structures different from those in Embodiments 1 to 3 will be described. In Figure 9 FIG., the input / output of information between the structural elements of the control parameter adjustment device 1D is indicated by arrows.

[0146] The processing performed by the control parameter adjustment device 1D is divided into a learning stage in which learning is performed by the learning unit 45 simultaneously with parameter adjustment, and an effective use stage in which parameter adjustment is performed by effectively using the learning results obtained by the learning unit 45. Hereinafter, the processing performed by the control parameter adjustment device 1D will be described by dividing it into a learning stage and an effective use stage.

[0147] Figure 10 FIG. is a diagram for explaining the processing in the learning stage performed by the control parameter adjustment device 1D according to Embodiment 4. In Figure 10 FIG., there are shown the structural elements that perform the processing in the learning stage among the structural elements shown in Figure 9 FIG. In Figure 10 FIG., illustration is omitted for the structural elements other than the structural elements that perform the processing in the learning stage among the structural elements shown in Figure 9 FIG. In Figure 10 FIG., the input / output of information between the structural elements of the control parameter adjustment device 1D that perform the processing in the learning stage is indicated by arrows.

[0148] In the learning stage, the attention part extraction unit 41 acquires the machining program from the machining program storage unit 17. The attention part extraction unit 41 acquires the determination value from the determination value storage unit 12. The attention part extraction unit 41 acquires the additional section information from the additional section information storage unit 13. The attention part extraction unit 41 acquires the parameters from the parameter storage unit 16. That is, the machining program, the determination value, the additional section information, and the parameters are input to the attention part extraction unit 41.

[0149] In the learning stage, the attention part extraction unit 41 outputs the machining program and the parameters to the machine tool 3. The machine tool 3 acquires the machining program and the parameters from the attention part extraction unit 41 and operates the numerical control device 2 according to the machining program and the parameters. The machine tool 3 outputs the result obtained by operating the numerical control device 2, that is, the FB value, to the attention part extraction unit 41. Thus, the attention part extraction unit 41 acquires the operation result related to the whole of the machining program, that is, the FB value, from the machine tool 3. In addition, Figure 9 and Figure 10 the illustration of the numerical control device 2 is omitted.

[0150] In the learning stage, the attention part extraction unit 41 outputs the FB value to the FB analysis unit 44. The FB analysis unit 44 analyzes the FB value and outputs the analysis result to the attention part extraction unit 41. The attention part extraction unit 41 calculates the machining point data based on the analysis result. Hereinafter, the machining point data calculated based on the analysis result of the FB value is referred to as FB data or second machining point data.

[0151] In the learning stage, the attention part extraction unit 41 determines an interval in which the value included in the FB data deviates from the range indicated by the preset determination value. The attention part extraction unit 41 determines the interval obtained by combining the interval determined based on the determination value and the additional interval as the interval conforming to the attention part. The attention part extraction unit 41 outputs the attention part information indicating the interval determined as the attention part to the attention part information storage unit 14.

[0152] In addition, the attention part extraction unit 41 outputs the path information of the attention part to the learning unit 45. The path information is information indicating the path mode in the interval as the attention part among the machining paths indicated by the machining program. The FB analysis unit 44 outputs the FB value indicating the operation result of the machining program at the time of attention part extraction to the learning unit 45.

[0153] In the learning stage, the parameter adjustment unit 42 acquires the attention part information from the attention part information storage unit 14. The parameter adjustment unit 42 acquires the parameters from the parameter storage unit 16. The parameter adjustment unit 42 acquires the preset allowable value, i.e., the FB allowable value, from the FB allowable value storage unit 47. That is, the attention part information, the parameters, and the FB allowable value are input to the parameter adjustment unit 42. The FB allowable value is the second allowable value indicating the allowable range of the values included in the second machining point data.

[0154] In the learning stage, the parameter adjustment unit 42 outputs the attention part information and the parameters to the machine tool 3. The machine tool 3 acquires the attention part information and the parameters from the parameter adjustment unit 42, and uses the parameters to operate the numerical control device 2 for the attention part. The machine tool 3 outputs the result of operating the numerical control device 2, i.e., the FB value, to the parameter adjustment unit 42 for the attention part. Thus, the parameter adjustment unit 42 acquires the operation result related to the attention part, i.e., the FB value, from the machine tool 3.

[0155] In the learning stage, the parameter adjustment unit 42 outputs the FB value to the FB analysis unit 44. The FB analysis unit 44 analyzes the FB value and outputs the analysis result to the parameter adjustment unit 42. The parameter adjustment unit 42 calculates the FB data based on the analysis result. The parameter adjustment unit 42 determines whether the value of the FB data is included in the allowable range indicated by the FB allowable value. When the value of the FB data is not included in the allowable range, the parameter adjustment unit 42 changes the parameters and outputs the attention part information and the changed parameters to the machine tool 3. The parameter adjustment unit 42 acquires the FB value from the machine tool 3 and calculates the FB data through the analysis of the FB value by the FB analysis unit 44.

[0156] In the learning stage, the change of the parameters and the calculation of the FB data by the operation of the machining program for the attention part are repeated, thereby adjusting the parameters. The parameter adjustment unit 42 adjusts the control parameters used in the machining of the attention part based on the operation of the machining program under the condition of using the adjusted control parameters until the value included in the FB data becomes a value within the allowable range indicated by the preset FB allowable value. The control parameter adjustment device 1D ends the adjustment of the parameters when the value of the FB data becomes a value included in the allowable range. If the adjustment of the parameters is ended, the parameter adjustment unit 42 outputs the adjusted parameters to the parameter storage unit 16. The adjusted parameters are stored in the parameter storage unit 16.

[0157] In the learning stage, the attention part extraction unit 41 outputs the machining program and parameters to the motion analysis unit 43. The motion analysis unit 43 obtains the machining program and parameters from the attention part extraction unit 41 and performs motion analysis of the machining program. Through the motion analysis of the machining program, the motion analysis unit 43 calculates the machining point data corresponding to the command points output by the numerical control device 2, that is, the first machining point data. The motion analysis unit 43 outputs the first machining point data to the learning unit 45. The FB analysis unit 44 outputs the FB value representing the motion result of the machining program during parameter adjustment to the learning unit 45.

[0158] In the learning stage, the learning unit 45 obtains the path information from the attention part extraction unit 41. The learning unit 45 obtains the first machining point data from the motion analysis unit 43. The learning unit 45 obtains the FB value from the FB analysis unit 44. That is, the path information, the first machining point data, and the FB value are input to the learning unit 45. The learning unit 45 learns the correspondence relationship among the path information, the first machining point data, and the FB value. The learning unit 45 outputs the information representing the correspondence relationship, that is, the correspondence relationship information, to the correspondence relationship information storage unit 46. Thus, the learning unit 45 stores the correspondence relationship information in the correspondence relationship information storage unit 46.

[0159] Figure 11 FIG. is for explaining the processing in the effective use stage implemented by the control parameter adjustment device 1D according to Embodiment 4. In Figure 11 shows Figure 9 Among the structural elements shown, the structural elements that perform the processing in the effective use stage. In Figure 11 Regarding Figure 9 Among the structural elements shown, those other than the structural elements that perform the processing in the effective use stage are omitted from the illustration. In Figure 11 The input and output of information between the structural elements that perform the processing in the effective use stage in the control parameter adjustment device 1D are indicated by arrows.

[0160] In the effective use stage, the attention part extraction unit 41 obtains the machining program from the machining program storage unit 17. The attention part extraction unit 41 obtains the preset determination value from the determination value storage unit 12. The attention part extraction unit 41 obtains the additional interval information from the additional interval information storage unit 13. The attention part extraction unit 41 obtains the parameters from the parameter storage unit 16. That is, the machining program, the determination value, the additional interval information, and the parameters are input to the attention part extraction unit 41.

[0161] In the effective use stage, the attention part extraction unit 41 outputs the machining program and parameters to the motion analysis unit 43. Based on the machining program and parameters, the motion analysis unit 43 performs motion analysis related to the whole of the machining program. The motion analysis unit 43 outputs the result of the motion analysis to the attention part extraction unit 41.

[0162] During the effective use phase, the attention area extraction unit 41 calculates the first machining point data. The attention area extraction unit 41 determines an interval in which the value included in the first machining point data deviates from the range indicated by a preset determination value. The attention area extraction unit 41 determines the interval obtained by merging the interval determined based on the determination value with an additional interval as the interval that conforms to the attention area. The attention area extraction unit 41 outputs the attention area information indicating the interval determined as the attention area to the attention area information storage unit 14. Further, the attention area extraction unit 41 outputs the path information of the attention area to the allowable value calculation unit 48.

[0163] During the effective use phase, the allowable value calculation unit 48 acquires the correspondence information from the correspondence information storage unit 46. The allowable value calculation unit 48 acquires the FB allowable value as the second allowable value from the FB allowable value storage unit 47. The allowable value calculation unit 48 acquires the path information of the attention area from the attention area extraction unit 41. The allowable value calculation unit 48 calculates the command allowable value as the first allowable value based on the correspondence indicated by the correspondence information and according to the FB allowable value. The command allowable value is an allowable value indicating the allowable range of the value included in the first machining point data. The allowable value calculation unit 48 outputs the calculated command allowable value to the parameter adjustment unit 42.

[0164] During the effective use phase, the parameter adjustment unit 42 acquires the attention area information from the attention area information storage unit 14. The parameter adjustment unit 42 acquires the parameters from the parameter storage unit 16. The parameter adjustment unit 42 acquires the command allowable value from the allowable value calculation unit 48. That is, the attention area information, the parameters, and the command allowable value are input to the parameter adjustment unit 42.

[0165] During the effective use phase, the parameter adjustment unit 42 outputs the attention area information and the parameters to the motion analysis unit 43. Based on the attention area information and the parameters, the motion analysis unit 43 analyzes the motion of the machining program when using the parameters with respect to the attention area. The motion analysis unit 43 outputs the analysis result of the motion related to the attention area to the parameter adjustment unit 42.

[0166] During the effective use phase, the parameter adjustment unit 42 calculates the first machining point data based on the analysis result of the motion related to the attention area. The parameter adjustment unit 42 determines whether the value of the first machining point data is included in the allowable range indicated by the command allowable value. When the value of the first machining point data is not included in the allowable range, the parameter adjustment unit 42 changes the parameters. The parameter adjustment unit 42 causes the motion analysis unit 43 to perform motion analysis based on the attention area information and the changed parameters.

[0167] During the effective use phase, the change of repetitive parameters and the motion analysis related to the attention part are repeated, and the parameters are adjusted accordingly. The parameter adjustment unit 42 adjusts the control parameters used in the machining of the attention part based on the motion of the machining program when the adjusted parameters are used until the value included in the first machining point data becomes a value within the allowable range indicated by the instruction allowable value. The control parameter adjustment device 1D ends the parameter adjustment when the value of the first machining point data becomes a value included in the allowable range. If the parameter adjustment is ended, the parameter adjustment unit 42 outputs the adjusted parameters to the parameter storage unit 16. The adjusted parameters are stored in the parameter storage unit 16.

[0168] Next, the processing sequence of the learning phase implemented by the control parameter adjustment device 1D will be described. Figure 12 It is a flowchart showing the processing sequence of the learning phase implemented by the control parameter adjustment device 1D according to the fourth embodiment. The processing from step S61 to step S66 is the same as Figure 6 the processing shown from step S21 to step S26. If step S66 is ended, the control parameter adjustment device 1D proceeds to step S67.

[0169] In step S67, the learning unit 45 learns the correspondence relationship among the path information of the attention part, the first machining point data, and the FB value. The first machining point data includes, for example, at least one of the value representing the position of the machining point, the value of the speed of the machining point, the value of the acceleration of the machining point, and the value of the jerk of the machining point. The first machining point data may include the value of the frequency component of at least one of the value representing the position of the machining point, the speed of the machining point, the acceleration of the machining point, and the jerk of the machining point. The first machining point data may include the change amount of these values corresponding to the position or time. The first machining point data may include the difference of these values in adjacent paths. The first machining point data is data for each position command (i.e., command point) output by the numerical control device 2.

[0170] The FB value is, for example, a value representing the position, a value of the speed, a value of the acceleration, or a value of the jerk. The FB value may be a value of the frequency component of the position, the speed, the acceleration, or the jerk. These values as the FB value are sampled from the position of the command point at the attention part and obtained as the value for each sampled command point. Alternatively, these values as the FB value are sampled from the FB position at the attention part and obtained as the value for each sampled FB position. The FB value may be a value representing the change amount of these values corresponding to the time of these values. The FB value may be a value representing the difference of these values in adjacent paths. The FB value may be an evaluation value representing the difference between the position of the command point and the FB position.

[0171] An example of the path information included in the correspondence relationship is the curvature of the path. An example of the first machining point data included in the correspondence relationship is the acceleration. An example of the FB value included in the correspondence relationship is an evaluation value representing the difference between the position of the command point and the FB position. The learning unit 45 obtains a relational expression based on the curvature, acceleration, and evaluation value as input data. The learning unit 45 outputs correspondence relationship information representing the relational expression among the curvature, acceleration, and evaluation value. In addition, the path information included in the correspondence relationship may also be an element other than the curvature. The first machining point data included in the correspondence relationship may also be an element other than the acceleration. The FB value included in the correspondence relationship may also be an element other than the evaluation value.

[0172] In addition, the method used by the learning unit 45 to learn the correspondence relationship is not limited to the above method. The learning unit 45 can obtain the correspondence relationship through machine learning using learning algorithms such as neural networks, deep learning, genetic programming, inductive logic programming, or support vector machines.

[0173] The processing from step S68 to step S71 is the same as Figure 6 the processing shown from step S27 to step S30. If step S71 ends, the control parameter adjustment device 1D proceeds to step S72 in sequence.

[0174] In step S72, the learning unit 45 learns the correspondence relationship among the path information, the first machining point data, and the FB value of the attention part. If step S72 ends, the control parameter adjustment device 1D returns to step S70 in sequence.

[0175] When the value of the FB data in step S70 is less than the upper limit value (step S70, No), the control parameter adjustment device 1D proceeds to step S73 in sequence. In step S73, the parameter adjustment unit 42 outputs a parameter to the parameter storage unit 16, and thus the parameter is stored in the parameter storage unit 16.

[0176] In step S74, the learning unit 45 outputs the correspondence relationship information to the correspondence relationship information storage unit 46, and thus the correspondence relationship information is stored in the correspondence relationship information storage unit 46. Thus, the control parameter adjustment device 1D ends the processing implemented in the Figure 12 shown sequence.

[0177] Next, the processing sequence in the effective use phase implemented by the control parameter adjustment device 1D will be described. Figure 13 is a flowchart showing the processing sequence in the effective use phase implemented by the control parameter adjustment device 1D according to Embodiment 4. The processing from step S81 to step S85 is the same as Figure 2The processing from step S1 to step S5 shown is the same. If step S85 ends, the control parameter adjustment device 1D advances the sequence to step S86.

[0178] In step S86, the parameter adjustment unit 42 reads out the attention part information and parameters. The parameter adjustment unit 42 reads out the attention part information from the attention part information storage unit 14. The parameter adjustment unit 42 reads out the parameters from the parameter storage unit 16.

[0179] The allowable value calculation unit 48 obtains the correspondence information from the correspondence information storage unit 46. The allowable value calculation unit 48 obtains the FB allowable value from the FB allowable value storage unit 47. The allowable value calculation unit 48 obtains the path information of the attention part from the attention part extraction unit 41. In step S87, the allowable value calculation unit 48 calculates the command allowable value based on the correspondence information according to the FB allowable value. The allowable value calculation unit 48 outputs the calculated command allowable value to the parameter adjustment unit 42.

[0180] The processing from step S88 to step S92 is the same as Figure 2 the processing from step S7 to step S11 shown. If step S92 ends, the control parameter adjustment device 1D ends the processing implemented in the Figure 13 shown sequence.

[0181] According to Embodiment 4, when the control parameter adjustment device 1D operates various machining programs in the numerical control device 2, the learning unit 45 learns the correspondence based on the actual machine operation. In addition, during the stage of learning the correspondence, the control parameter adjustment device 1D can perform accurate parameter adjustment based on the actual machine operation by adjusting the parameters based on the FB data as the second machining point data. After the control parameter adjustment device 1D obtains the correspondence, it performs parameter adjustment based on the correspondence and the first machining point data. The control parameter adjustment device 1D can perform parameter adjustment based on the correspondence and the first machining point data, thereby enabling high-speed parameter adjustment without actual machine operation.

[0182] In addition, in Embodiment 4, the machining program in operation can be a machining program used in actual machining or a machining program prepared for learning. The control parameter adjustment device 1D can learn the correspondence in the case of operating any machining program.

[0183] In Embodiment 4, it is assumed that the learning unit 45 is built into the control parameter adjustment device 1D, but the learning unit 45 can also be implemented by a learning device which is a device external to the control parameter adjustment device 1D. The learning device is a device connected to the control parameter adjustment device 1D. The learning device can be a device connected to the control parameter adjustment device 1D via a network such as the Internet. The learning device can be a device existing on a cloud server.

[0184] The control parameter adjustment device 1D is not limited to a device external to the numerical control device 2. The control parameter adjustment device 1D may also be built into the numerical control device 2. The same structure as the control parameter adjustment device 1D according to the fourth embodiment may be provided in the numerical control device 2.

[0185] Embodiment 5.

[0186] Figure 14 FIG. is a diagram showing a structural example of the control parameter adjustment device 1E according to Embodiment 5. In the control parameter adjustment device 1E, instead of Figure 1 the shown attention part extraction unit 11 and determination value storage unit 12, there are an attention part extraction unit 51, a problem information storage unit 52, a waveform information storage unit 53, and a color map storage unit 54. In Embodiment 5, the same reference numerals are given to the same structural elements as those in the above-described Embodiments 1 to 4, and mainly the structures different from those in Embodiments 1 to 4 will be described. In Figure 14 the figure, the input / output of information between the structural elements of the control parameter adjustment device 1E is indicated by arrows.

[0187] The processing performed by the control parameter adjustment device 1E is divided into a learning stage in which learning is performed in advance, and an effective use stage in which the results of learning are effectively used to perform parameter adjustment. In the learning stage and the effective use stage, sometimes the processing performed by each structural element of the control parameter adjustment device 1E is different. In the learning stage and the effective use stage, sometimes the input / output of information between the structural elements of the control parameter adjustment device 1E is different.

[0188] In the learning stage, the attention part extraction unit 51 obtains a machining program from the machining program storage unit 17. The attention part extraction unit 51 calculates machining point data based on the result of motion analysis obtained by the motion analysis unit 18. The attention part extraction unit 51 obtains a waveform representing the change in the value of the machining point data based on the machining point data. The attention part extraction unit 51 outputs the waveform information representing the obtained waveform to the waveform information storage unit 53, thereby storing the waveform information in the waveform information storage unit 53. The attention part extraction unit 51 obtains a color map representing the distribution of the value of the machining point data based on the machining point data. The attention part extraction unit 51 outputs the obtained color map to the color map storage unit 54, thereby storing the color map in the color map storage unit 54.

[0189] The problem information indicating the problem area is stored in the problem information storage unit 52. The problem area is the area where problems such as damage or streak marks occur on the processed surface due to processing. The problem information is set to be information related to the problems actually occurring due to processing. In the learning phase, the attention area extraction unit 51 obtains the problem information from the problem information storage unit 52. The attention area extraction unit 51 obtains the waveform information from the waveform information storage unit 53. The attention area extraction unit 51 obtains the color map from the color map storage unit 54. That is, the waveform information, the color map, and the problem information are input to the attention area extraction unit 51. The attention area extraction unit 51 learns the correspondence relationship between the waveform, the color map, and the problem area. The attention area extraction unit 51 holds the correspondence relationship information indicating the correspondence relationship.

[0190] In the effective use phase, the attention area extraction unit 51 obtains the processing program from the processing program storage unit 17. The attention area extraction unit 51 calculates the processing point data based on the result of the motion analysis obtained by the motion analysis unit 18. The attention area extraction unit 51 obtains the waveform indicating the change in the value of the processing point data based on the processing point data, and stores the waveform information in the waveform information storage unit 53. The attention area extraction unit 51 obtains the color map indicating the distribution of the values of the processing point data based on the processing point data, and stores the color map in the color map storage unit 54.

[0191] In the effective use phase, the attention area extraction unit 51 obtains the waveform information from the waveform information storage unit 53. The attention area extraction unit 51 obtains the color map from the color map storage unit 54. That is, the waveform information and the color map are input to the attention area extraction unit 51. The attention area extraction unit 51 determines the area where problems may occur based on the waveform indicated by the waveform information and the color map according to the correspondence relationship indicated by the correspondence relationship information. Thus, the attention area extraction unit 51 determines the first interval, which is the area that conforms to the attention area, based on the waveform and the color map according to the correspondence relationship indicated by the correspondence relationship information.

[0192] In the effective use phase, the attention area extraction unit 51 obtains the additional interval information from the additional interval information storage unit 13. The attention area extraction unit 51 determines the second interval and the third interval based on the additional interval information. The attention area extraction unit 51 determines the interval obtained by combining the first interval, the second interval, and the third interval as the interval that conforms to the attention area. The attention area extraction unit 51 outputs the attention area information indicating the interval determined as the attention area to the attention area information storage unit 14, and thus stores the attention area information in the attention area information storage unit 14.

[0193] Next, the processing sequence of the learning phase implemented by the control parameter adjustment device 1E will be described. Figure 15It is a flowchart showing the processing sequence of the learning stage implemented by the control parameter adjustment device 1E according to Embodiment 5.

[0194] In step S101, the attention part extraction unit 51 acquires the machining program from the machining program storage unit 17. In addition, the attention part extraction unit 51 reads out the parameters from the parameter storage unit 16. The attention part extraction unit 51 outputs the machining program and the parameters to the motion analysis unit 18. The motion analysis unit 18 performs motion analysis related to the whole of the machining program based on the machining program and the parameters.

[0195] The motion analysis unit 18 outputs the result of the motion analysis to the attention part extraction unit 51. In step S102, the attention part extraction unit 51 calculates the machining point data based on the result of the motion analysis obtained by the motion analysis unit 18.

[0196] In step S103, the attention part extraction unit 51 creates waveform information and a color map, and stores the waveform information and the color map. The attention part extraction unit 51 obtains a waveform representing the change in the value of the machining point data based on the machining point data, and stores the waveform information in the waveform information storage unit 53. The attention part extraction unit 51 obtains a color map representing the distribution of the value of the machining point data based on the machining point data, and stores the color map in the color map storage unit 54.

[0197] The waveform obtained by the attention part extraction unit 51 is, for example, a waveform of a graph representing the change in position, speed, acceleration, or jerk on the machining path, or a waveform of a graph representing the change in the value of these frequency components. Alternatively, the waveform can also be a waveform of a graph representing the change in the change amount of these values corresponding to the position or time. The waveform can also be a waveform of a graph representing the change in the difference of these values in adjacent paths. The waveform obtained by the attention part extraction unit 51 can be a waveform related to data other than the data exemplified here.

[0198] The color map obtained by the attention part extraction unit 51 is a mapping diagram that changes the display color according to the magnitude of the value. The color map obtained by the attention part extraction unit 51 is, for example, a color map representing the distribution of position, speed, acceleration, or jerk on the machining path, or a color map representing the distribution of the value of these frequency components. Alternatively, the color map can be a color map representing the distribution of the change amount of these values corresponding to the position or time. The color map can be a color map representing the distribution of the difference of these values in adjacent paths. The color map obtained by the attention part extraction unit 51 can be a color map related to data other than the data exemplified here.

[0199] The attention area extraction unit 51 can learn the correspondence relationship between the path information, the first processing point data, and the FB value, and calculate the evaluation value, which is the difference between the position of the command point and the FB position, in the same manner as in the learning stage of the fourth embodiment. Thus, a waveform or color mapping related to the evaluation value is obtained.

[0200] In step S104, the attention area extraction unit 51 reads the problem information from the problem information storage unit 52. In step S105, the attention area extraction unit 51 learns the correspondence relationship between the waveform, the color mapping, and the problem area based on the waveform information, the color mapping, and the problem information as input data. Thus, the control parameter adjustment device 1E ends the processing performed in the Figure 15 order shown.

[0201] For example, the attention area extraction unit 51 acquires the image data of the image representing the waveform and the image data of the color mapping, and learns the correspondence relationship between the waveform, the color mapping, and the problem area through image recognition using machine learning. The attention area extraction unit 51 can obtain the correspondence relationship, for example, through machine learning using a learning algorithm such as a neural network, deep learning, genetic programming, inductive logic programming, or support vector machine.

[0202] The waveform in the correspondence relationship obtained by the attention area extraction unit 51 is not limited to the waveform related to one element, and may also be waveforms related to multiple elements respectively. The color mapping in the correspondence relationship obtained by the attention area extraction unit 51 is not limited to the color mapping related to one element, and may also be color mappings related to multiple elements respectively. For example, the attention area extraction unit 51 can obtain the correspondence relationship between the waveform representing the change in position, the waveform representing the change in speed, and the problem area. The attention area extraction unit 51 can obtain the correspondence relationship between the color mapping representing the change in position, the color mapping representing the change in speed, and the problem area. In this case, the attention area extraction unit 51 can learn the feature that damage is likely to occur at parts where the position and speed are different in adjacent paths. The correspondence relationship learned by the attention area extraction unit 51 is not limited to the correspondence relationship described here, and is an arbitrary correspondence relationship.

[0203] Next, the processing sequence in the effective use stage performed by the control parameter adjustment device 1E will be described. Figure 16 is a flowchart showing the processing sequence in the effective use stage performed by the control parameter adjustment device 1E according to the fifth embodiment. The processing from step S111 to step S113 is the same as the Figure 15 processing from step S101 to step S103 shown. If step S113 is completed, the control parameter adjustment device 1E proceeds to step S114.

[0204] The attention area extraction unit 51 acquires waveform information from the waveform information storage unit 53. The attention area extraction unit 51 acquires a color map from the color map storage unit 54. In step S114, the attention area extraction unit 51 determines the first interval based on the correspondence shown in the correspondence information, according to the waveform and the color map.

[0205] The processing from step S115 to step S121 is the same as Figure 2 the processing shown from step S5 to step S11. If step S121 is ended, the control parameter adjustment device 1E ends the processing implemented in the Figure 16 shown order.

[0206] In addition, in the above description, it is assumed that the correspondence between the waveform, the color map, and the problem area is learned. However, the correspondence only needs to be the correspondence between at least one of the waveform and the color map and the problem area. That is, the attention area extraction unit 51 is input with at least one of the waveform information and the color map and the problem information, and learns the correspondence between at least one of the waveform and the color map and the problem area. In addition, the attention area extraction unit 51 determines the first interval corresponding to the attention area based on this correspondence, according to at least one of the waveform and the color map. The attention area extraction unit 51 can learn the correspondence between the waveform and the problem area, and determine the first interval based on the correspondence, according to the waveform. Alternatively, the attention area extraction unit 51 can learn the correspondence between the color map and the problem area, and determine the first interval based on the correspondence, according to the color map.

[0207] The processing implemented by the control parameter adjustment device 1E in Embodiment 5 can be implemented in combination with the processing described in Embodiments 1 to 4. In addition, in the above description, it is assumed that the correspondence is learned through prior learning, but it is not limited thereto. The control parameter adjustment device 1E can also implement the processing in the learning stage in Embodiment 5 in parallel with the processing described in Embodiments 1 to 4.

[0208] In Embodiment 5, it is assumed that the correspondence is learned by the attention area extraction unit 51 inside the control parameter adjustment device 1E. However, the learning of the correspondence can also be implemented by a device external to the control parameter adjustment device 1E, that is, a learning device. The learning device is a device connected to the control parameter adjustment device 1E. The learning device can be a device connected to the control parameter adjustment device 1E via a network such as the Internet. The learning device can also be a device existing on a cloud server.

[0209] According to Embodiment 5, the control parameter adjustment device 1E determines a part that conforms to an attention part based on at least one of a waveform and a color map and the correspondence relationship between the at least one of the waveform and the color map and the problem part. The control parameter adjustment device 1E can extract a part where a problem may occur on the machining surface as an attention part. Thus, the control parameter adjustment device 1E can extract attention parts more accurately.

[0210] Embodiment 6.

[0211] Figure 17 is a diagram showing a structural example of the control parameter adjustment device 1F according to Embodiment 6. In the control parameter adjustment device 1F, instead of Figure 1 the shown attention part extraction unit 11 and the machining program storage unit 17, there are an attention part extraction unit 61, an instruction point adjustment unit 62, and a machining program storage unit 63. In Embodiment 6, the same reference numerals are given to the same structural elements as in the above Embodiments 1 to 5, and mainly the structures different from those in Embodiments 1 to 5 are described. In Figure 17 it, the input / output of information between the structural elements of the control parameter adjustment device 1F is indicated by arrows.

[0212] The attention part extraction unit 61 obtains a machining program from the machining program storage unit 63. The attention part extraction unit 61 obtains a preset determination value from the determination value storage unit 12. The attention part extraction unit 61 obtains additional interval information from the additional interval information storage unit 13. The attention part extraction unit 61 obtains parameters from the parameter storage unit 16. That is, a machining program, a determination value, additional interval information, and parameters are input to the attention part extraction unit 61. The attention part extraction unit 61 calculates machining point data based on the result of motion analysis obtained by the motion analysis unit 18.

[0213] The attention part extraction unit 61 determines an interval obtained by merging an interval determined based on the determination value and an additional interval as an interval that conforms to an attention part. The attention part extraction unit 61 outputs attention part information indicating the interval determined as an attention part to the attention part information storage unit 14.

[0214] Moreover, the attention part extraction unit 61 extracts a part where the difference in position, the difference in speed, the difference in acceleration, or the difference in jerk between adjacent paths in the machining path is greater than or equal to the determination value. That is, the attention part extraction unit 61 extracts a part where the value included in the machining point data deviates from the range indicated by the preset determination value. The attention part extraction unit 61 outputs information indicating the extracted part and the machining program to the instruction point adjustment unit 62.

[0215] The command point adjustment unit 62 adjusts the position of the command point output from the numerical control device 2 of the machine tool 3 based on the information indicating the extracted part. That is, the command point adjustment unit 62 adjusts the position of the command point for the part where the value included in the machining point data deviates from the range indicated by the preset determination value. The command point adjustment unit 62 adjusts the position of the command point shown in the machining program for the extracted part so that the changes in position, speed, acceleration, or jerk in adjacent paths become smooth. The command point adjustment unit 62 outputs the machining program with the adjusted command point position to the machining program storage unit 63. The machining program with the adjusted command point position is stored in the machining program storage unit 63.

[0216] Next, the processing sequence implemented by the control parameter adjustment device 1F will be described. Figure 18 It is a flowchart showing the processing sequence implemented by the control parameter adjustment device 1F according to Embodiment 6.

[0217] In step S131, the attention part extraction unit 61 acquires the machining program from the machining program storage unit 63. In addition, the attention part extraction unit 61 reads out the parameters from the parameter storage unit 16. The attention part extraction unit 61 outputs the machining program and the parameters to the motion analysis unit 18. The motion analysis unit 18 performs motion analysis related to the whole of the machining program based on the machining program and the parameters.

[0218] The motion analysis unit 18 outputs the result of the motion analysis to the attention part extraction unit 61. In step S132, the attention part extraction unit 61 calculates the machining point data based on the result of the motion analysis obtained by the motion analysis unit 18. In step S133, the attention part extraction unit 61 reads out the determination value from the determination value storage unit 12.

[0219] In step S134, the attention part extraction unit 61 extracts from the machining path the part where the difference in the value of the machining point data in adjacent paths is greater than or equal to the determination value. The attention part extraction unit 61 outputs the information indicating the extracted part and the machining program to the command point adjustment unit 62.

[0220] In step S135, the command point adjustment unit 62 corrects the command point for the part extracted in step S134 so that the change in the command point in adjacent paths becomes smooth, and stores the machining program with the corrected command point. For example, the command point adjustment unit 62 corrects the position of the command point at the extracted part so that the change in the position of the command point becomes smooth.

[0221] As a method for smoothing changes in the position of instruction points, for example, the instruction point adjustment unit 62 generates a spline curve using the instruction points of a plurality of adjacent paths adjacent to each other in the horizontal direction. The instruction point adjustment unit 62 corrects the position of the instruction points at the extracted part to the position on the spline curve. The method for smoothing changes in the position of instruction points is not limited to this method and can be any method. The instruction point adjustment unit 62 stores the processed program adjusted by correcting the instruction points in the processed program storage unit 63.

[0222] The attention part extraction unit 61 obtains the adjusted processed program from the processed program storage unit 63. In step S136, the attention part extraction unit 61 calculates the machining point data based on the result of the motion analysis obtained by the motion analysis unit 18 related to the adjusted processed program.

[0223] The processing from step S137 to step S144 is the same as Figure 2 the processing shown from step S4 to step S11. If step S144 is completed, the control parameter adjustment device 1F ends the processing implemented in the Figure 18 shown order.

[0224] According to Embodiment 6, the control parameter adjustment device 1F adjusts the position of the instruction points for the part where the value included in the machining point data deviates from the range indicated by the determination value. The control parameter adjustment device 1F adjusts the position of the instruction points simultaneously with parameter adjustment, so that even in cases where it is difficult to avoid problems only through parameter adjustment, the occurrence of problems can be reduced.

[0225] The control parameter adjustment device 1F is not limited to a device external to the numerical control device 2. The control parameter adjustment device 1F can also be built into the numerical control device 2. The same structure as the control parameter adjustment device 1F related to Embodiment 6 can be provided in the numerical control device 2. The processing implemented by the control parameter adjustment device 1F in Embodiment 6 can be combined with the processing described in Embodiments 1 to 5.

[0226] Next, the hardware structures of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F related to Embodiments 1 to 6 will be described. Figure 19 This is a diagram showing an example of the hardware structure of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F related to Embodiments 1 to 6. The control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F are implemented by a computer system having a processing circuit 70 and a communication device 71. The processing circuit 70 has a processor 72 and a memory 73. The processing circuit 70 is a circuit in which the processor 72 executes software.

[0227] The attention part extraction units 11, 21, 41, 51, 61, the parameter adjustment units 15, 22, 31, 42, the motion analysis units 18, 43, the FB analysis units 23, 44, the learning unit 45, the allowable value calculation unit 48, and the command point adjustment unit 62 of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F are implemented by software, firmware, or a combination of software and firmware. The software or firmware is described as a program and stored in the memory 73. In the processing circuit 70, the program stored in the memory 73 is read out and executed by the processor 72, thereby implementing the functions of the processing units. That is, the processing circuit 70 has a memory 73 that stores the program for finally executing the processing of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F. In addition, the program stored in the memory 73 can be said to cause the computer to execute the sequence and method of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F. The program stored in the memory 73 is a control parameter adjustment program for implementing the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F.

[0228] The processor 72 is a CPU (also known as Central Processing Unit, central processing device, processing device, arithmetic device, microprocessor, microcomputer, processor, or DSP (Digital Signal Processor)). The memory 73 is, for example, a non-volatile or volatile semiconductor memory such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory), a magnetic disk, a floppy disk, an optical disk, a compact disc, a mini disc, or a DVD (Digital Versatile Disc). The determination value storage unit 12, the additional section information storage unit 13, the attention part information storage unit 14, the parameter storage unit 16, the machining program storage unit 17, 32, 63, the allowable value storage unit 19, the FB allowable value storage unit 24, 47, the correspondence information storage unit 46, the problem information storage unit 52, the waveform information storage unit 53, and the color mapping storage unit 54 of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F are implemented by the memory 73. The communication device 71 performs communication with an external device of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F.

[0229] The numerical control device 2 according to Embodiments 1 to 6, byFigure 19 implemented with the same hardware structure as the shown hardware structure.

[0230] The control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F and the numerical control device 2 may each include integrated circuits such as ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array). The control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, 1F and the numerical control device 2 may each be composed of two or more devices. The control parameter adjustment program may be stored in a recording medium such as a CD (Compact Disc)-ROM or a DVD-ROM, and the recording medium is provided to implement each embodiment.

[0231] The structures shown in the above embodiments show an example of the content of the present invention. The structures of the embodiments can be combined with other known technologies. The structures of the embodiments can also be appropriately combined with each other. A part of the structure of each embodiment can be omitted or changed without departing from the gist of the present invention.

[0232] Description of reference numerals

[0233] 1A, 1B, 1C, 1D, 1E, 1F control parameter adjustment devices, 2 numerical control device, 3 machine tool, 10 path, 10a, 10b, 10c intervals, 11, 21, 41, 51, 61 attention part extraction units, 12 determination value storage unit, 13 additional interval information storage unit, 14 attention part information storage unit, 15, 22, 31, 42 parameter adjustment units, 16 parameter storage unit, 17, 32, 63 machining program storage unit, 18, 43 motion analysis unit, 19 allowable value storage unit, 23, 44 FB analysis unit, 24, 47 FB allowable value storage unit, 45 learning unit, 46 correspondence information storage unit, 48 allowable value calculation unit, 52 problem information storage unit, 53 waveform information storage unit, 54 color mapping storage unit, 62 command point adjustment unit, 70 processing circuit, 71 communication device, 72 processor, 73 memory.

Claims

1. A control parameter adjustment device, characterized in that, it has: a attention part extraction unit that extracts an attention part from a machining path, the attention part being a part of the machining path of a machine tool that operates according to a machining program and being a part corresponding to an adjustment object of a control parameter used in machining; and a parameter adjustment unit that adjusts the control parameter used in machining at the attention part based on the operation of the machining program related to the attention part, the attention part extraction unit determines a part that conforms to the attention part based on data related to the operation of a machining point, which is a reference for machining performed by the machine tool, i.e., machining point data, the attention part extraction unit is input with at least one of waveform information representing a waveform showing a change in the value of the machining point data, a color map representing the distribution of the value of the machining point data, and problem information representing a part where a problem has occurred on a machining surface during machining, i.e., a problem part, learns the correspondence between at least one of the waveform and the color map and the problem part, and determines a part that conforms to the attention part based on the correspondence and at least one of the waveform and the color map.

2. The control parameter adjustment device according to claim 1, characterized in that, the attention part extraction unit determines an interval, i.e., a first interval, in which the value included in the machining point data deviates from a range indicated by a preset determination value, and determines an interval obtained by combining at least one of an interval on the front side in the traveling direction of the machining point with respect to the first interval, i.e., a second interval, and an interval on the rear side in the traveling direction with respect to the first interval, i.e., a third interval, and the first interval, as an interval that conforms to the attention part.

3. The control parameter adjustment device according to claim 1 or 2, characterized in that, the parameter adjustment unit adjusts the control parameter used in machining at the attention part based on the operation of the machining program in the case of using the adjusted control parameter until the value included in the machining point data falls within a range indicated by a preset allowable value.

4. The control parameter adjustment device according to claim 1 or 2, characterized in that, the parameter adjustment unit performs an adjustment to shorten the machining time for the control parameter used in machining at a part other than the attention part in the machining path, i.e., a normal part, until the value included in the machining point data falls within a range indicated by a preset allowable value.

5. The control parameter adjustment device according to claim 3, characterized in that, the parameter adjustment unit performs an adjustment to shorten the machining time for the control parameter used in machining at a part other than the attention part in the machining path, i.e., a normal part, until the value included in the machining point data falls within a range indicated by a preset allowable value.

6. The control parameter adjustment device according to claim 1 or 2, characterized in that, It has an operation analysis unit that analyzes the operation of the machining program when using the control parameters with respect to the attention part. The parameter adjustment unit adjusts the control parameters based on the machining point data calculated according to the analysis result obtained by the operation analysis unit.

7. The control parameter adjustment device according to claim 3, characterized in that it has an operation analysis unit that analyzes the operation of the machining program when using the control parameters with respect to the attention part. The parameter adjustment unit adjusts the control parameters based on the machining point data calculated according to the analysis result obtained by the operation analysis unit.

8. The control parameter adjustment device according to claim 4, characterized in that it has an operation analysis unit that analyzes the operation of the machining program when using the control parameters with respect to the attention part. The parameter adjustment unit adjusts the control parameters based on the machining point data calculated according to the analysis result obtained by the operation analysis unit.

9. The control parameter adjustment device according to claim 5, characterized in that it has an operation analysis unit that analyzes the operation of the machining program when using the control parameters with respect to the attention part. The parameter adjustment unit adjusts the control parameters based on the machining point data calculated according to the analysis result obtained by the operation analysis unit.

10. The control parameter adjustment device according to claim 1 or 2, characterized in that the attention part extraction unit calculates the machining point data based on a feedback value indicating the operation result of the machining program in the machine tool, and the parameter adjustment unit adjusts the control parameters used in the machining at the attention part based on the operation of the machining program when using the adjusted control parameters until the value included in the machining point data calculated based on the feedback value becomes a value within the range indicated by a preset allowable value.

11. The control parameter adjustment device according to claim 10, characterized in that the machining point data calculated based on the operation result is the difference between the position of the command point output by the numerical control device of the machine tool and the actual position of the machining point.

12. The control parameter adjustment device according to claim 1 or 2, characterized in that it has: a learning unit that learns the correspondence relationship between path information indicating the path pattern in the interval of the attention part among the machining paths shown by the machining program, the first machining point data which is the machining point data corresponding to the command point output by the numerical control device of the machine tool, and the feedback value indicating the operation result of the machining program in the machine tool; a feedback allowable value storage unit that stores a second allowable value indicating the allowable range of the value included in the second machining point data which is the machining point data calculated based on the feedback value; and An allowable value calculation unit that calculates a first allowable value indicating an allowable range of values included in the first machining point data based on the correspondence relationship and according to the second allowable value. The parameter adjustment unit adjusts the control parameters used in the machining at the attention part based on the operation of the machining program when the adjusted control parameters are used until the values included in the first machining point data become within the range indicated by the first allowable value.

13. The control parameter adjustment device according to claim 1, characterized in that it has an instruction point adjustment unit that adjusts the position of the instruction point output by the numerical control device of the machine tool for a part where the value included in the machining point data deviates from the range indicated by a preset determination value.

Citation Information

Patent Citations

  • cooker

    JP1984056619A

  • Automatic Parameter Adjustment Device For Adjusting Parameter Corresponding To Processing Condition

    CN105785918A

  • Numerical controller

    CN106919143A