Control parameter adjustment device
Patent Information
- Application Number
- DE112022005227
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2025-07-17
- Estimated Expiration
- 2042-05-18
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Area
[0001] The present disclosure relates to a control parameter adjusting device, a numerical control device, and a control parameter adjusting method for adjusting a control parameter for use in machining with a machine tool. background
[0002] For example, regarding the adjustment of control parameters for use in machining with a machine tool, Patent Literature 1 discloses a parameter adjustment device that automatically adjusts control parameters in accordance with machining conditions. The parameter adjustment device according to Patent Literature 1 sets a weight for machining time and machining accuracy, which are evaluation criteria for adjusting control parameters, and evaluates the execution result of a test program in accordance with the evaluation criteria. The parameter adjustment device according to Patent Literature 1 performs an operation for changing control parameters and executes the executions of the test program a plurality of times, and obtains control parameters corresponding to the execution result that received the highest evaluation among a plurality of execution results. Citation listPatent literature
[0003] Patent Literature 1: Japanese Patent JP 5 956 619 B2 OverviewTechnical Problem
[0004] According to the conventional technique of Patent Literature 1, a test program, which is a representative example of a machining program, is executed, and control parameters are set based on the execution result of the test program. In the case of the conventional example, for example, even for a simple and smooth path where acceleration / deceleration is unlikely to occur, the time constant, which is the time used for acceleration / deceleration, is set relatively long in preparation for executing a machining program that is complicated and likely to generate vibrations due to acceleration / deceleration. By setting a relatively long time constant, there is room to shorten the machining time after the control parameters are set.In the case of conventional technology, the adjustment of adjustable control parameters is thus a conservative adjustment in preparation for the execution of various machining programs. Conservative adjustment refers to an adjustment that does not cause defects, such as manufacturing defects, regardless of the machining program contents. For this reason, the conventional technology is problematic in that there is room for parameter adjustment depending on the machining program to be executed, and parameter adjustment that conforms to the machining program contents cannot be performed.
[0005] The present disclosure has been made in view of the above, and an object thereof is to provide a control parameter adjustment device that enables parameter adjustment corresponding to the content of a machining program. Solution to the problem
[0006] To achieve this goal, a control parameter adjustment device having the features of appended claim 1 is provided. Preferred embodiments are set forth in the appended subclaims. A control parameter adjustment device according to the present disclosure includes: a gentle range extraction unit for extracting a gentle range from a machining path of a machine tool operating in accordance with a machining program, the gentle range being a region of the machining path that corresponds to a target range for adjustment of a control parameter for machining use; and a parameter adjustment unit for setting the control parameter for machining use in the gentle range based on execution of the machining program in the gentle range. Advantageous effects of the invention
[0007] The control parameter adjustment device according to the present disclosure can achieve an effect of enabling parameter adjustment that conforms to the content of a machining program. Short description of the drawing Fig. 1 is a diagram showing an exemplary configuration of a control parameter adjusting device according to the first embodiment. Fig. 2 is a flowchart showing a procedure for processing by the control parameter adjusting device according to the first embodiment. Fig. 3 is a diagram for explaining a careful range extracted from the machining path by the control parameter adjusting device according to the first embodiment. Fig. 4 is a program showing an exemplary configuration of a numerical control device having a configuration similar to that of the control parameter adjusting device according to the first embodiment. Fig. 5 is a diagram showing an exemplary configuration of a control parameter adjusting device according to the second embodiment. Fig. 6 is a flowchart showing a procedure for processing by the control parameter adjusting device according to the second embodiment. Fig. 7 is a diagram showing an exemplary configuration of a control parameter adjusting device according to the third embodiment. Fig. 8 is a flowchart showing a procedure for processing by the control parameter adjusting device according to the third embodiment. Fig. 9 is a diagram showing an exemplary configuration of a control parameter adjusting device according to the fourth embodiment. Fig. 10 is a diagram for explaining processing in the learning phase by the control parameter adjusting device according to the fourth embodiment. Fig. 11 is a diagram for explaining processing in the use phase by the control parameter adjusting device according to the fourth embodiment. Fig. 12 is a flowchart showing a procedure for processing in the learning phase by the control parameter adjusting device according to the fourth embodiment. Fig. 13 is a flowchart showing a procedure for processing in the use phase by the control parameter adjusting device according to the fourth embodiment. Fig. 14 is a diagram showing an exemplary configuration of a control parameter adjusting device according to the fifth embodiment. Fig. 15 is a flowchart showing a procedure for processing in the learning phase by the control parameter adjusting device according to the fifth embodiment. Fig. 16 is a flowchart showing a procedure for processing in the use phase by the control parameter adjusting device according to the fifth embodiment. Fig. 17 is a diagram showing an exemplary configuration of a control parameter adjusting device according to the sixth embodiment. Fig. 18 is a flowchart showing a procedure for processing by the control parameter adjusting device according to the sixth embodiment. Fig. 19 is a diagram showing an exemplary hardware configuration of the control parameter adjustment device according to Embodiments 1 to 6. Description of embodiments
[0008] Hereinafter, a control parameter adjusting device, a numerical control device, and a control parameter adjusting method according to embodiments will be described in detail with reference to the drawings. First embodiment.
[0009] Fig. 1 is a diagram showing an exemplary configuration of a control parameter adjustment device 1A according to the first embodiment. The control parameter adjustment device 1A adjusts a control parameter for use in machining with a machine tool. In the following description, control parameters are simply referred to as parameters.
[0010] The machine tool machines a workpiece with a tool while moving the tool relative to the workpiece. The machine tool is, for example, a numerically controlled machine tool. The control parameter adjustment device 1A is connected, for example, to the numerical control device of the machine tool. The numerical control device controls the operation of the machine tool based on the machining program. The machine tool operates in accordance with the machining program under the control of the numerical control device.
[0011] The control parameter adjustment device 1A includes a cautious range extraction unit 11, a determination value storage unit 12, an additional section information storage unit 13, a cautious range information storage unit 14, a parameter adjustment unit 15, a parameter storage unit 16, a machining program storage unit 17, a processing analysis unit 18, and an allowable value storage unit 19. In Fig. 1, the input and output of information between components of the control parameter adjusting device 1A are indicated by arrows.
[0012] The gentle range extraction unit 11 extracts a gentle range from the machining path of the machine tool. The gentle range is a range of the machining path, and it is a range corresponding to a target range for adjusting a control parameter to be used in machining. A range where a defect, such as a blemish or a streak, is likely to occur and impair the quality of the machined surface corresponds to the gentle range. In cases where a defect is unlikely to occur but the acceleration / deceleration time constant is excessively large, a range where the machining time is expected to be shortened by parameter adjustment also corresponds to the gentle range. Hereinafter, the quality of the machined surface is referred to as machining quality.
[0013] The determination value storage unit 12 stores a determination value for determining a range corresponding to the gentle range. The additional section information storage unit 13 stores additional section information, which is information about an additional section included in the gentle range. The additional section will be described below. The gentle range information storage unit 14 stores gentle range information, which is information indicating the gentle range. The parameter adjustment unit 15 sets a control parameter for use in machining in the gentle range. The machining program storage unit 17 stores a machining program. The execution analysis unit 18 analyzes the execution of the machining program. The allowable value storage unit 19 stores an allowable value. The allowable value will be described below.
[0014] The careful area extraction unit 11 receives a machining program from the machining program storage unit 17. The careful area extraction unit 11 receives a preset determination value from the determination value storage unit 12. The careful area extraction unit 11 receives additional section information from the additional section information storage unit 13. The additional section extraction unit 11 receives a parameter from the parameter storage unit 16. The machining program, the determination value, the additional section information, and the parameter are thus input to the careful area extraction unit 11.
[0015] The sensitive area extraction unit 11 outputs the machining program and the parameter to the execution analysis unit 18. The execution analysis unit 18 performs execution analysis of the entire machining program based on the machining program and the parameter. The execution analysis unit 18 outputs the result of the execution analysis to the sensitive area extraction unit 11.
[0016] The gentle range extraction unit 11 calculates machining point data based on the result of the machining analysis. The machining point data is data for machining the machining point. Details of the machining point data will be described later. The gentle range extraction unit 11 identifies a section in which the value included in the machining point data is outside the range specified by the preset determination value. The determination value storage unit 12 stores the preset determination value. The gentle range extraction unit 11 determines a section obtained by combining the section identified based on the determination value with the additional section as a section corresponding to the gentle range. The additional section will be described later.The gentle area extraction unit 11 outputs to the gentle area information storage unit 14 gentle area information indicating the portion determined as the gentle area.
[0017] The parameter adjustment unit 15 receives the caution range information from the caution range information storage unit 14. The parameter adjustment unit 15 receives a parameter from the parameter storage unit 16. The parameter storage unit 15 receives a preset allowable value from the allowable value storage unit 19. The caution range information, the parameter, and the allowable value are thus input to the parameter adjustment unit 15.
[0018] The parameter adjustment unit 15 outputs the sensitive area information and the parameter to the execution analysis unit 18. Based on the sensitive area information and the parameter, the execution analysis unit 18 analyzes the execution of the machining program in a case of using the parameter with respect to the sensitive area. The execution analysis unit 18 outputs the analysis result of the sensitive area execution to the parameter adjustment unit 15.
[0019] The parameter adjustment unit 15 calculates machining point data based on the analysis result of the processing within the cautious range. The parameter adjustment unit 15 determines whether the value of the machining point data is included in the allowable range specified by the preset allowable value. If it is determined that the value of the machining point data is not included in the allowable range, the parameter adjustment unit 15 changes the parameter. The parameter adjustment unit 15 causes the processing analysis unit 18 to perform the processing analysis using the cautious range information and the changed parameter.
[0020] The parameter is adjusted by repeating the parameter change and processing analysis within the cautious range. The parameter adjusting unit 15 sets the control parameter for use in machining within the cautious range based on the machining program execution using the set parameter until the value included in the machining point data reaches the value within the allowable range specified by the preset allowable value. Once the value of the machining point data reaches a value within the allowable range, the control parameter adjusting unit 1A terminates the parameter adjustment. After completing the parameter adjustment, the parameter adjusting unit 5 outputs the set parameter to the parameter storage unit 16. The parameter storage unit 16 stores the set parameter.
[0021] In this way, the parameter adjustment unit 15 calculates machining point data for the gentle area based on the result of analyzing the machining program execution, and sets the control parameter based on the calculated machining point data. The parameter adjustment unit 15 sets the control parameter for use in machining on the gentle area based on the execution of the machining program in the gentle area.
[0022] Now, a procedure for processing by the control parameter adjusting device 1A will be described. Fig. 2 is a flowchart showing a procedure for processing by the control parameter adjusting device 1A according to the first embodiment.
[0023] In step S1, the careful area extraction unit 11 obtains a machining program from the machining program storage unit 17. The careful area extraction unit 11 also reads a parameter from the parameter storage unit 16. The careful area extraction unit 11 outputs the machining program and the parameter to the execution analysis unit 18. The execution analysis unit 18 performs execution analysis of the entire machining program based on the machining program and the parameter.
[0024] For example, the processing analysis unit 18 evaluates the output of the numerical control device by simulating the operation of the numerical control device on a computer, which is the control parameter adjustment device 1A. Alternatively, the processing analysis unit 18 may send the machining program and the parameter to the numerical control device and sample the output of the numerical control device. The processing analysis unit 18 may evaluate, by simulation, a signal value output to the motor of the machine tool by a driver or an amplifier connected to the numerical control device. Alternatively, the processing analysis unit 18 may send the machining program and the parameter to the numerical control device and sample the output of the driver or the amplifier.In addition to these methods, any other method can be used by the processing analysis unit 18.
[0025] The processing analysis unit 18 outputs the result of the processing analysis to the sensitive area extraction unit 11. In step S2, the sensitive area extraction unit 11 calculates processing point data based on the result of the processing analysis by the processing analysis unit 18.
[0026] The machining point data includes, for example, the value indicating the position of the machining point on the machining path, the value of the speed of the machining point, the value of the acceleration of the machining point, and / or the value of a jerk (that is, the rate of change of acceleration with respect to time) of the machining point. The machining point data may indicate the frequency component value of the value indicating the position of the machining point, the speed of the machining point, the acceleration of the machining point, and / or the jerk of the machining point. The machining point data may include the magnitude of change of these values with respect to position or time. The machining point data may include the difference of these values between adjacent paths. Here, the machining point data is data for each command point, which is a position command issued by the numerical control device.For example, the frequency component of acceleration is calculated by calculating the acceleration of each command within a specific section containing a specific command point and applying the Fourier transform to the resulting acceleration. In addition to these methods, any other method can be used to calculate the frequency component.
[0027] The edit point data calculated by the sensitive area extraction unit 11 only needs to include at least one element of the data described herein, such as the values, the amounts of change, or the differences. The edit point data calculated by the sensitive area extraction unit 11 may also include data other than those described herein.
[0028] Adjacent paths are paths that are adjacent to each other in the transverse direction. The transverse direction is a direction that lies on the machined surface and is oriented perpendicular to the direction of movement of the machining point on the machining path. Here, two paths that are adjacent to each other are referred to as a first path and a second path. The difference in value between adjacent paths is, for example, the difference between the value at a command point on the first path and the value at a command point on the second path located at a position transversely adjacent to the command point. Alternatively, the difference in value between adjacent paths may be the difference between the value at a command point on the first path and the average of the values at command points on two or more paths adjacent to the first path.In this case, the gentle area extraction unit 11 can identify a path including a portion different in speed from the other paths among the plurality of paths. Consequently, the control parameter adjustment device 1A can extract, as a gentle area, an area where a defect may occur due to the difference in machining the machining point from the other paths among the plurality of paths.
[0029] In the above description, the machining point data is data for each command point output by the numerical control device, but the machining point data is not limited to the data for each command point output by the numerical control device. For example, the machining point data may be data for each block of the machining program. Alternatively, the machining point data may 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 for all command points, and may be data for command points extracted at regular intervals. The machining point data may be data other than the data described here.
[0030] In step S3, the cautious area extraction unit 11 reads a determination value from the determination value storage unit 12. The determination value is, for example, an upper limit value for the value indicating the position, velocity, acceleration, jerk, or frequency component. The determination value may be the upper limit value of the magnitude of change of these values with respect to position or time. The determination value may be the upper limit value of the difference of these values between adjacent paths. In addition to the values described here, any other value may be used for the determination value.
[0031] In step S4, the careful area extraction unit 11 identifies a first section from the machining path. The first section is a section where the value included in the machining point data is outside the range specified by the preset determination value.
[0032] For example, the first section is a section where the value contained in the machining point data exceeds the upper limit, which is the determination value. The determination value may be a lower limit. In this case, the first section is a section where the value contained in the machining point data is below the lower limit, which is the determination value. The difference is that the machining point data may be signed values or absolute values. Thus, it is possible to detect an area with a significantly reduced speed. In addition to the methods described here, any other methods can be used to identify the first section.
[0033] Instead of determining the first section based on one element included in the machining point data, the careful area extraction unit 11 may determine the first section based on a plurality of elements included in the machining point data. For example, the careful area extraction unit 11 may determine the first section based on a difference in the values indicating the position between adjacent paths and the difference in speed between adjacent paths.
[0034] In step S5, the gentle area extraction unit 11 extracts from the machining path a section obtained by combining the first section with a second section and a third section identified based on additional section information, and stores the gentle area information. The second section and the third section are each additional sections added to the first section. The additional section information is, for example, information indicating the distance of the additional section. The gentle area extraction unit 11 reads the additional section information from the additional section information storage unit 13.
[0035] Now areas of caution are described. Fig. 3 is a diagram for explaining a careful range extracted from a machining path by the control parameter adjustment device 1A according to the first embodiment. The machining path is a path for moving the machining point, which is the reference of machining with the machine tool. The machining point is, for example, the position of the tip of the tool. Alternatively, the machining point may be the position of the machine end, which is the base of the tool. Fig. Path 10 shown in Figure 3 is part of the machining path. Direction D is the direction of movement of the machining point on path 10.
[0036] In the Fig. 3, command points C1, C2, C3, and C4 are four points of a plurality of command points present on the path 10. A section 10a between the command point C2 and the command point C3 is a first section. A section 10c between the command point C3 and the command point C4 is a second section. A section 10b between the command point C1 and the command point C2 is a third section. The second section is the additional section at the front of the first section in the direction D. The third section is the additional section at the rear of the first section in the direction D. The cautious area extraction unit 11 identifies the second section and the third section based on the additional section information acquired by the additional section information storage unit 13.
[0037] For example, the additional section is a section corresponding to the distance required for acceleration / deceleration to adjust the speed in the first section to a specific speed. Alternatively, the additional section is a section corresponding to the distance between the current command point and the command point up to which look-ahead is operated. Look-ahead means that the numerical control device analyzes a process to be executed after the currently executed process when analyzing the machining program. Hereinafter, the distance between the current command point and the command point up to which look-ahead is operated is referred to as the look-ahead distance.
[0038] For example, the distance required for acceleration / deceleration is obtained by multiplying the acceleration / deceleration time constant by the speed. The distance required for acceleration / deceleration can be obtained by multiplying the acceleration / deceleration time constant by the maximum speed, which is preset as a parameter. In addition to this method, any other method can be used to calculate the distance required for acceleration / deceleration.
[0039] For example, the look-ahead distance is calculated based on the number of command points required for the numerical control device to calculate interpolation points using a function such as spline interpolation. Alternatively, the look-ahead distance is calculated based on the distance required for the numerical control device to calculate interpolation points using a function such as spline interpolation. The look-ahead distance is thus calculated from the number of command points or the distance required for internal processing in the numerical control device. Besides this method, any other method for calculating the look-ahead distance can be used.
[0040] The gentle area extraction unit 11 determines the portion obtained by combining the first portion, the second portion, and the third portion as a portion corresponding to the gentle area. The gentle area extraction unit 11 outputs gentle area information indicating the portion determined as the gentle area to the gentle area information storage unit 14 to store the gentle area information in the gentle area information storage unit 14. Note that, when extracting the gentle area, the gentle area extraction unit 11 may ignore a portion of the machining path where machining is not actually performed. The portion where machining is not actually performed is, for example, a portion where a positioning operation is performed before and after machining.
[0041] When calculating the frequency component, the gentle range extraction unit 11 may extract, as the gentle range, a section including a command point that is a target of the frequency component calculation, as well as a plurality of command points before and after the target. In the case of calculating the difference in value between adjacent paths, the gentle range extraction unit 11 may identify the section that is the gentle range by tracing the forward or backward movement direction from the section where the value included in the edit point data is outside the range of the determination value.The cautious area extraction unit 11 can thus set a section including a path including a section in which the value included in the edit point data is outside the range of the determination value and paths adjacent to this path as the first section, and set a section obtained by combining the first section, the second section, and the third section as a section corresponding to the cautious area.
[0042] In the above description, the gentleness range includes the second portion and the third portion as the additional portion, but the gentleness range may include only the second portion and / or the third portion as the additional portion. The gentleness range extraction unit 11 may determine the portion obtained by combining the first portion with the second portion and / or the third portion as a portion corresponding to the gentleness range.
[0043] In step S6, the parameter adjustment unit 15 reads the cautiousness range information, an allowable value, and a parameter. The parameter adjustment unit 15 reads the cautiousness range information from the cautiousness range information storage unit 14. The parameter adjustment unit 15 reads the parameter from the parameter storage unit 16. The parameter adjustment unit 15 reads the allowable value from the allowable value storage unit 19.
[0044] The allowable value is a value that represents the allowable range of the value contained in the machining data. For example, the allowable value is the upper limit of the allowable range and the lower limit of the allowable range. For example, the allowable value is the upper limit of the value indicating the position, velocity, acceleration, jerk, or frequency component. The allowable value can be the upper limit of the amount of change of these values corresponding to position or time and the lower limit of the amount of change. The allowable value can be the upper limit of the difference of these values between adjacent paths and the lower limit of the difference. In addition to the values described here, any other value can be used for the allowable value.
[0045] In step S7, the parameter adjustment unit 15 determines whether the value of the machining point data at the gentleness range is less than the lower limit value. In response to the determination that the value of the machining point data is less than the lower limit value (step S7, Yes), the control parameter adjustment unit 1A proceeds to the procedure of step S8. In response to a determination that the value of the machining point data is equal to or greater than the lower limit value (step S7, No), the control parameter adjustment unit 1A proceeds to the procedure of step S9.
[0046] In step S8, the parameter adjustment unit 15 changes the parameter and calculates the machining point data. If the value of the machining point data at the gentle range is smaller than the lower limit value, the parameter adjustment unit 15 determines that the gentle range is a range where the machining time is likely to be shortened by parameter adjustment. In step S8, the parameter adjustment unit 15 performs a parameter change to shorten the machining time of the gentle range. For example, the parameter adjustment unit 15 performs a parameter change to reduce the acceleration / deceleration time constant, a parameter change to increase the maximum speed of the machining point, or the like.
[0047] The parameter change in step S8 is not limited to changing the acceleration / deceleration time constant or changing the maximum speed. The parameter adjustment unit 15 may change a parameter related to the machining quality or the machining time that is different from these parameters. For example, the parameter change may be a parameter change that switches between the validity and invalidity of a specific function related to the machining quality, such as a function for smoothing the machining path. Alternatively, the parameter adjustment unit 15 may change a parameter used in the function.
[0048] The parameter adjustment unit 15 outputs the gentle range information and the changed parameter to the processing analysis unit 18. The processing analysis unit 18 performs processing analysis on the gentle range based on the gentle range information and the changed parameter. The processing analysis unit 18 outputs the result of the processing analysis to the parameter adjustment unit 15. The parameter adjustment unit 15 calculates processing point data on the gentle range based on the result of the processing analysis by the processing analysis unit 18. After completion of step S8, the control parameter adjustment device 1A returns to the procedure of step S7.
[0049] According to Fig. 2, the control parameter adjusting device 1A repeats steps S7 and S8 until the value of the machining point data becomes equal to or greater than the lower limit value. The control parameter adjusting device 1A may terminate steps S7 and S8 and proceed to the procedure of step S9 once the change in the value of the machining point data due to the parameter change in step S8 becomes equal to or less than a certain amount.
[0050] In step S9, the parameter adjustment unit 15 determines whether the value of the machining point data in the cautious range is greater than the upper limit value. In response to a determination that the value of the machining point data is greater than the upper limit value (step S9, Yes), the control parameter adjustment device 1A proceeds to the procedure of step S10. In response to a determination that the value of the machining point data is equal to or less than the upper limit value (step S9, No), the control parameter adjustment device 1A proceeds to the procedure of step S11.
[0051] In step S10, the parameter adjustment unit 15 changes the parameter and calculates machining point data. If the value of the machining point data at the gentle range is greater than the upper limit value, the parameter adjustment unit 15 determines that the gentle range is an area where a defect affecting machining quality may occur. In step S10, the parameter adjustment unit 15 performs a parameter change to increase the machining time of the gentle range. For example, the parameter adjustment unit 15 performs a parameter change to increase the acceleration / deceleration time constant, a parameter change to reduce the maximum speed of the machining point, or the like.
[0052] The parameter change in step S10 is not limited to changing the acceleration / deceleration time constant or changing the maximum speed. The parameter adjustment unit 15 may change a parameter other than these parameters, which affects the machining quality or the machining time. For example, the parameter change may be a parameter change that switches between the validity and invalidity of a specific function affecting the machining quality, such as a function for smoothing the machining path. Alternatively, the parameter adjustment unit 15 may change a parameter used in this function.
[0053] The parameter adjustment unit 15 outputs the gentle range information and the changed parameter to the processing analysis unit 18. The processing analysis unit 18 performs processing analysis on the gentle range based on the gentle range information and the changed parameter. The processing analysis unit 18 outputs the result of the processing analysis to the parameter adjustment unit 15. The parameter adjustment unit 15 calculates processing point data based on the result of the processing analysis by the processing analysis unit 18. After completion of step S10, the control parameter adjustment device 1A returns to the procedure of step S9.
[0054] According to Fig. 2, the control parameter adjusting device 1A repeats steps S9 and S10 until the value of the machining point data becomes smaller than the upper limit value. The control parameter adjusting device 1A may terminate steps S9 and S10 and proceed to the procedure of step S11 once the amount of change in the value of the machining point data due to the parameter change in step S10 becomes equal to or smaller than a certain amount.
[0055] In step S11, the parameter adjustment unit 15 outputs the parameter to the parameter storage unit 16 to store the parameter in the parameter storage unit 16. The control parameter adjustment device 1A then ends the processing according to the Fig. 2 shown procedure.
[0056] The careful area extraction unit 11 extracts a careful area where a defect affecting machining quality may occur, and a careful area where machining time is likely to be shortened by parameter adjustment. The control parameter adjustment device 1A can focus parameter adjustment on machining accuracy for a careful area where a defect affecting machining quality may occur. The control parameter adjustment device 1A can focus parameter adjustment on machining time for a careful area where machining time is likely to be shortened.
[0057] According to the first embodiment, the control parameter adjustment device 1A including the gentle region extraction unit 11 can accurately calculate machining point data for the gentle region and adjust the parameter even when only the gentle region is operated without operating the entire machining program. Consequently, the control parameter adjustment device 1A can perform accurate parameter adjustment on the gentle region that corresponds to the contents specified in the machining program.
[0058] The gentle range extraction unit 11 identifies the first section in which the value included in the machining point data is outside the range specified by the determination value, and determines, as a section corresponding to the gentle range, a section obtained by combining the first section with the second section and / or the third section. By including the second section and / or the third section in the gentle range, the gentle range control parameter adjustment device 1A can accurately calculate machining point data even when examining only the gentle range and not the entire machining program.
[0059] In the above description, the parameter adjusting unit 15 changes the parameter in the two cases where the value of the machining point data is smaller 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. The parameter adjusting unit 15 may also change the parameter only in one of these cases, where the value of the machining point data is smaller 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. The control parameter adjusting device 1A may thus skip the group of steps S7 and S8 or the group of steps S9 and S10.
[0060] For example, in the case of machining with low machining quality requirements and high cycle time reduction requirements, the control parameter adjustment device 1A can execute only the group of steps S7 and S8 among the groups of steps S7 and S8 and the group of steps S9 and S10. On the other hand, in the case of machining with high machining quality requirements and low cycle time reduction requirements, the control parameter adjustment device 1A can execute only the group of steps S9 and S10 among the groups of steps S7 and S8 and steps S9 and S10. Consequently, the control parameter adjustment device 1A can execute the parameter adjustment in accordance with the purpose or use of the machining.
[0061] In the above description, the control parameter adjustment device 1A is an external device outside the numerical control device and is connected to the numerical control device. The control parameter adjustment device 1A is not limited to an external device outside the numerical control device and may be included in the numerical control device. A configuration similar to that of the control parameter adjustment device 1A according to the first embodiment may be provided in the numerical control device.
[0062] Fig. 4 is a diagram showing an exemplary configuration of a numerical control device 2 having a configuration similar to that of the control parameter adjustment device 1A according to the first embodiment. The numerical control device 2 generates a command based on the machining program stored in the machining program storage unit 17 and the parameter stored in the parameter storage unit 16. The numerical control device 2 controls the machining tool by outputting the generated command to the machine tool. Fig. 4, the input and output of information between the components of the numerical control device 2 are indicated by arrows. In Fig. 4, components that generate commands and components that issue commands to the machine tool are not shown.
[0063] Similar to the control parameter adjusting device 1A, the numerical control device 2 can perform accurate parameter adjustment on the careful area corresponding to the contents specified in the machining program. Second embodiment.
[0064] Fig. 5 is a diagram showing an exemplary configuration of a control parameter adjustment device 1B according to the second embodiment. The control parameter adjustment device 1B includes a cautious range extraction unit 21, a parameter adjustment unit 22, a feedback analysis unit 23 (FB analysis unit), and an FB allowable value storage unit 24, instead of the cautious range extraction unit 11, the parameter adjustment unit 15, the processing analysis unit 18, and the allowable value storage unit 19 shown in Fig. 1. In the second embodiment, components similar to those of the first embodiment are denoted by the same reference numerals, and configuration differences from the first embodiment will be mainly described. Fig. 5, inputs and outputs of information between components of the control parameter adjustment device 1B are indicated by arrows.
[0065] The careful area extraction unit 21 receives a machining program from the machining program storage unit 17. The careful area extraction unit 21 receives a determination value from the determination value storage unit 12. The careful area extraction unit 21 receives additional section information from the additional section information storage unit 13. The careful area extraction unit 21 receives a parameter from the parameter storage unit 16. The machining program, the determination value, the additional section information and the parameter are thus input to the careful area extraction unit 21.
[0066] The careful area extraction unit 21 outputs the machining program and the parameter to a machine tool 3. The machine tool 3 receives the machining program and the parameter from the careful area extraction unit 21 and operates the numerical control device 2 in accordance with the machining program and the parameter. The machine tool 3 outputs an FB value, which is a result of the operation of the numerical control device 2, to the careful area extraction unit 21. The careful area extraction unit 21 thus receives the FB value, which is an operation result for the entire machining program, from the machine tool 3. Fig. 5, the numerical control device 2 is not shown.
[0067] The sensitive 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 sensitive area extraction unit 21. The sensitive area extraction unit 21 calculates 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.
[0068] The cautious area extraction unit 21 identifies a section in which the value included in the FB data is outside the range specified by the preset determination value. The cautious area extraction unit 21 determines a section obtained by combining the section identified based on the determination value with the additional section as a section corresponding to the cautious area. The cautious area extraction unit 21 outputs cautious area information indicating the section determined as the cautious area to the cautious area information storage unit 14.
[0069] The parameter adjustment unit 22 receives caution range information from the caution range information storage unit 14. The parameter adjustment unit 22 receives a parameter from the parameter storage unit 16. The parameter adjustment unit 22 receives an FB allowable value, which is a preset allowable value, from the FB allowable value storage unit 24. The caution range information, the parameter, and the FB allowable value are thus 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.
[0070] The parameter adjustment unit 22 outputs the gentle range information and the parameter to the machine tool 3. The machine tool 3 receives the gentle range information and the parameter from the parameter adjustment unit 22 and operates the numerical control device 2 using the parameter at the gentle range. The machine tool 3 outputs an FB value, which is a result of the operation of the numerical control device 2 at the gentle range, to the parameter adjustment unit 22. The parameter adjustment unit 22 thus receives the FB value, which is the processing result at the gentle range, from the machine tool 3.
[0071] 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 FB data based on the analysis result. The parameter adjustment unit 22 determines whether the value of the FB data is included in the allowable range specified by the FB allowable value. In response to the determination that the value of the FB data is not included in the allowable range, the parameter adjustment unit 22 changes the parameter and outputs the caution range information and the changed parameter to the machine tool 3. The parameter adjustment unit 22 receives the FB value from the machine tool 3 and calculates the FB data by analyzing the FB value by the FB analysis unit 23.
[0072] The parameter is adjusted by repeating the parameter change and the calculation of the FB data by executing the machining program at the careful range. The parameter adjusting unit 22 sets the control parameter for use in machining at the careful range based on the execution of the machining program using the set control parameters until the value included in the FB data reaches a value within the allowable range specified by the preset FB allowable value. Once the value of the FB data reaches the value included in the allowable range, the control parameter adjusting device 1B terminates the parameter adjustment. After completing the parameter adjustment, the parameter adjusting unit 22 outputs the adjusted parameter to the parameter storage unit 16. The parameter storage unit 16 stores the adjusted parameter.
[0073] In this way, the parameter adjustment unit 22 calculates FB data of the gentle range based on the execution result of the machining program and adjusts the parameter based on the calculated FB data. The parameter adjustment unit 22 adjusts the control parameter for use in machining to the gentle range based on the execution of the machining program to the gentle range.
[0074] A procedure for processing by the control parameter adjusting device 1B will now be described. Fig. 6 is a flowchart showing a procedure for processing by the control parameter adjusting device 1B according to the second embodiment.
[0075] In step S21, the careful area extraction unit 21 obtains a machining program from the machining program storage unit 17. The careful area extraction unit 21 also reads a parameter from the parameter storage unit 16. The careful area extraction unit 21 outputs the machining program and the parameter to the machine tool 3. The machine tool 3 operates the numerical control device 2 in accordance with the machining program and the parameter. The machine tool 3 outputs the FB value to the careful area extraction unit 21. The careful 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 careful area extraction unit 21.It should be noted that the operation of the machine tool 3 when the gentle range extraction unit 21 obtains the FB value may be an operation of actually machining the workpiece or an operation of idle turning in which the machining is not actually performed.
[0076] 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 cautious area extraction unit 21 samples the position of the command point. In step S22, the cautious area extraction unit 21 calculates the FB data based on the analysis result of the FB value.
[0077] The FB data includes, for example, the value indicating the position of the edit point, the value of the velocity of the edit point, the value of the acceleration of the edit point, and / or the value of the jerk of the edit point. The FB data may include a frequency component value of the value indicating the position of the edit point, the velocity of the edit point, the acceleration of the edit point, and / or the jerk of the edit point. The FB data may include the amount of change of these values with respect to position or time. The FB data may include the difference of these values between adjacent paths. For example, the frequency component of the acceleration is calculated by obtaining the acceleration of each command point within a certain section including a certain command point and applying the Fourier transform to the obtained acceleration.In addition to this method, any other method can be used to calculate the frequency component.
[0078] In the above description, the careful area extraction unit 21 samples the position of the command point, but the present disclosure is not limited to this. The careful area extraction unit 21 may sample the FB position. The FB position is, for example, the position of the machining point, that is, the position of the tool tip or the position of the machine end. In this case, the FB value is information about the position of the machining point. In the case of sampling the FB position, the FB value may be information about the axis position. The axis position is the position of the axis that drives the machining point. The axis position is detected by, for example, the encoder of the motor, which is the power source for the axis.
[0079] The careful area extraction unit 21 can sample both the position of the command point and the FB position. The FB data can be an evaluation value that is the difference between the position of the command point and the FB position. The FB data can thus 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.
[0080] For example, in the case of obtaining the speed and acceleration values as the FB data, the cautious area extraction unit 21 samples the position of the command point or the FB position and calculates the speed and acceleration values based on the information on the position of the command point or the information on the FB position. Alternatively, the cautious area extraction unit 21 may obtain the speed and acceleration values by sampling the position of the command point or the FB position, the speed, and the acceleration.
[0081] In step S23, the cautious range extraction unit 21 reads a determination value from the determination value storage unit 12. The determination value is, for example, the upper limit of the value indicating the position, velocity, acceleration, jerk, or frequency component. The determination value may be the upper limit of the amount of change of these values with respect to position or time. The determination value may be the upper limit of the difference of these values between adjacent paths. Any value other than the values described here may be used for the determination value.
[0082] In step S24, the careful area extraction unit 21 identifies 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, which is the determination value. The determination value may be the lower limit value. In this case, the first section is a section where the value included in the machining point data is below the lower limit value, which is the determination value.
[0083] In step S25, the gentle area extraction unit 21 extracts from the machining path a section obtained by combining the first section with a second section and a third section identified based on the additional section information, and stores the gentle area information. The gentle area extraction unit 21 reads the additional section information from the additional section information storage unit 13. The gentle area extraction unit 21 identifies the second section and the third section based on the additional section information. The gentle area extraction unit 21 determines the section obtained by combining the first section, the second section, and the third section as a section corresponding to the gentle area.The gentle area extraction unit 21 outputs the gentle area information indicating the portion determined as the gentle area to the gentle area information storage unit 14 to store the gentle area information in the gentle area information storage unit 14.
[0084] In step S26, the parameter adjustment unit 22 reads the cautious range information, an FB permissible value, and a parameter. The parameter adjustment unit 22 reads the cautious range information from the cautious range information storage unit 14. The parameter adjustment unit 22 reads the parameter from the parameter storage unit 16. The parameter adjustment unit 22 reads the FB permissible value from the FB permissible value storage unit 24.
[0085] The FB allowable value is, for example, the upper limit of the allowable range and the lower limit of the allowable range. The FB allowable value is, for example, the upper limit of the value indicating the position, velocity, acceleration, jerk, or frequency component. In addition, the FB allowable value is the lower limit of the value indicating the position, velocity, acceleration, jerk, or frequency component. The FB allowable value can be the upper limit of the amount of change of these values with respect to position or time and the lower limit of the amount of change. The FB allowable value can be the upper limit of the difference of these values between adjacent paths and the lower limit of the difference. In addition to the values described here, any value can be used for the FB allowable value.
[0086] In step S27, the parameter adjustment unit 22 determines whether the value of the FB data at the cautious range is less than the lower limit value. In response to a determination that the value of the FB data is less than the lower limit value (step S27, Yes), the control parameter adjustment device 1B proceeds to step S28. In response to a determination that the value of the FB data is equal to or greater than the lower limit value (step S27, No), the control parameter adjustment device 1B proceeds to step S29.
[0087] In step S28, the parameter adjustment unit 22 changes the parameter and calculates FB data. If the value of the FB data at the gentle range is less than the lower limit value, the parameter adjustment unit 22 determines that the gentle range is a range where the machining time is expected to be shortened by parameter adjustment. In step S28, the parameter adjustment unit 22 performs parameter adjustment to shorten the machining time of the gentle range. For example, the parameter adjustment unit 22 performs a parameter change to reduce the acceleration / deceleration time constant, a parameter change to increase the maximum speed at the machining point, or the like.
[0088] The parameter adjustment unit 22 outputs the gentle range information and the changed parameter to the machine tool 3. Based on the gentle range information and the changed parameter, the machine tool 3 operates the numerical control device 2 using the parameter at the gentle range. The machine tool 3 outputs the FB value, which is an operation result at the gentle range, 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 FB data at the gentle range based on the analysis result from the FB analysis unit 23. After completing step S28, the control parameter adjustment device 1B returns to step S27.
[0089] According to Fig. 6, the control parameter adjusting device 1B repeats steps S27 and S28 until the value of the FB data becomes equal to or greater than the lower limit value. The control parameter adjusting device 1B may terminate S27 and S28 and continue the procedure at step S29 once the amount of change in the value of the FB data due to the parameter change in step S28 becomes equal to or less than a certain amount.
[0090] In step S29, the parameter adjustment unit 22 determines whether the value of the FB data at the cautious range is greater than the upper limit value. In response to a determination that the value of the FB data is greater than the upper limit value (step S29, Yes), the control parameter adjustment device 1B proceeds to step S30. In response to a determination that the value of the FB data is equal to or less than the upper limit value (step S29, No), the control parameter adjustment device 1B proceeds to step S31.
[0091] In step S30, the parameter adjustment unit 22 changes the parameter and calculates FB data. If the value of the FB data at the gentle range is greater than the upper limit, the parameter adjustment unit 22 determines that the gentle range is an area where a defect that may affect machining quality may occur. In step S30, the parameter adjustment unit 22 performs a parameter change to increase the machining time at the gentle range. For example, the parameter adjustment unit 22 performs a parameter change to increase the acceleration / deceleration time constant, a parameter change to reduce the maximum speed of the machining point, or the like.
[0092] Note that the parameter change in step S30 is not limited to changing the acceleration / deceleration time constant or changing the maximum speed. The parameter adjustment unit 22 may change a parameter other than these parameters, which is related to the machining quality or machining time.
[0093] The parameter adjustment unit 22 outputs the gentle range information and the changed parameter to the machine tool 3. Based on the gentle range information and the changed parameter, the machine tool 3 operates the numerical control device 2 using the parameter at the gentle range. The machine tool 3 outputs the FB value, which is a work result at the gentle range, 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 FB data at the gentle range based on the analysis result from the FB analysis unit 23. Upon completion of step S30, the control parameter adjustment device 1B returns to the processing at step S29.
[0094] According to Fig. 6, the control parameter adjustment device 1B repeats steps S29 and S30 until the value of the FB data becomes smaller than the upper limit value. The control parameter adjustment device 1B may terminate steps S29 and S30 and proceed to step S31 once the amount of change in the value of the FB data due to the parameter adjustment in step S30 becomes equal to or smaller than a certain value.
[0095] In step S31, the parameter adjustment unit 22 outputs the parameter to the parameter storage unit 16 to store the parameter in the parameter storage unit 16. The control parameter adjustment device 1B then ends the processing according to the Fig. 6 shown procedure.
[0096] According to the second embodiment, the gentle range extraction unit 21 calculates FB data based on the execution result of the machining program and extracts a gentle range. The parameter adjustment unit 22 adjusts the parameter for use in machining to the gentle range based on the FB data calculated based on the execution result of the machining program. The control parameter adjustment device 1B can perform parameter adjustment based on the actual operating state of the machining point, such as acceleration or vibration, by adjusting the parameter based on the actual operation with the machine tool 3.
[0097] In the case of calculating an evaluation value which is the difference between the position of the command point and the FB position as FB data, the control parameter adjusting device 1B can perform the parameter adjustment which reduces the error of the machining point with respect to the command point.
[0098] In the above description, the parameter adjusting unit 22 changes the parameter in the two cases where the value of the FB data is smaller 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. The parameter adjusting unit 22 may also change the parameter only in one of the two cases where the value of the FB data is smaller 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 adjusting device 1B may skip the group of steps S27 and S28 or the group of steps S29 and S30. Consequently, the control parameter adjusting device 1B can perform the parameter adjustment in accordance with the purpose or use of the processing.
[0099] The control parameter adjustment device 1B is not limited to an external device outside the numerical control device 2. The control parameter adjustment device 1B may be included in the numerical control device 2. A configuration similar to that of the control parameter adjustment device 1B according to the second embodiment may be provided in the numerical control device 2. Third embodiment.
[0100] Fig. Fig. 7 is a diagram showing an exemplary configuration of a control parameter adjustment device 1C according to the third embodiment. The control parameter adjustment device 1C includes a parameter adjustment unit 31 and a machining program storage unit 32 instead of the parameter adjustment unit 15 and the machining program storage unit 17 shown in Fig. 1. In the third embodiment, components similar to those of the first or second embodiment are denoted by the same reference numerals, and configuration differences from the first or second embodiment will be substantially described. Fig. 7, inputs and outputs of information between components of the control parameter adjusting device 1C are indicated by arrows.
[0101] The parameter adjustment unit 31 receives careful range information from the careful range information storage unit 14. The parameter adjustment unit 31 receives a parameter from the parameter storage unit 16. The parameter adjustment unit 31 receives a preset allowable value from the allowable value storage unit 19. The parameter adjustment unit 31 receives a machining program from the machining program storage unit 32. The careful range information, the parameter, the allowable value, and the machining program are thus input to the parameter adjustment unit 31.
[0102] The parameter adjustment unit 31 outputs the sensitive area information and the parameter to the execution analysis unit 18. Based on the sensitive area information and the parameter, the execution analysis unit 18 analyzes the execution of the machining program by applying the parameter to the sensitive area. The execution analysis unit 18 outputs the analysis result of the sensitive area execution to the parameter adjustment unit 31.
[0103] The parameter adjustment unit 31 calculates machining point data based on the analysis result of the processing on the careful range. The parameter adjustment unit 31 determines whether the value of the machining point data is included in the allowable range specified by the preset allowable value. If it is determined that the value of the machining point data is not included in the allowable range, the parameter adjustment unit 31 changes the parameter. The parameter adjustment unit 31 causes the processing analysis unit 18 to execute the processing analysis using the careful range information and the changed parameter.
[0104] The parameter is adjusted by repeating the parameter change and processing analysis to the careful range. The parameter adjustment unit 31 adjusts the parameter for use in machining to the careful range based on the execution of the machining program using the adjusted control parameter until the value included in the machining point data reaches a value within the allowable range specified by the preset allowable value. Once the value of the machining point data reaches a value included in the allowable value, the control parameter adjustment device 1C terminates the parameter adjustment.
[0105] The parameter adjustment unit 31 adds a command to the machining program to execute the machining program with the adjusted parameter at the sensitive area. The parameter adjustment unit 31 outputs the machining program to which the command has been added to the machining program storage unit 32 to store the machining program in the machining program storage unit 32.
[0106] The parameter adjustment unit 31 further receives from the execution analysis unit 18 the analysis result of the execution of the machining program at a portion of the machining path other than the careful area. Hereinafter, a portion of the machining path other than the careful area is referred to as a normal area. The parameter adjustment unit 31 calculates machining point data for the normal area based on the analysis result.
[0107] The parameter adjustment unit 31 determines whether the value included in the machining point data is a value equal to or greater than the lower limit value, which is the allowable value. If it is determined that the value included in the machining point data is less than the lower limit value, the parameter adjustment unit 31 changes the parameter. The processing analysis unit 18 performs processing analysis with the changed parameters on the normal range.
[0108] The parameter adjustment unit 31 adjusts the parameter for use in machining at the normal range until the value included in the machining point data of the normal range reaches a value equal to or greater than the lower limit value. Therefore, for the control parameter for use in machining at the normal range, the parameter adjustment unit 31 performs adjustment to reduce the machining time until the value included in the machining point data reaches a value within the range specified by the preset allowable value. After completing the parameter adjustment, the parameter adjustment unit 31 outputs the adjusted parameter to the parameter storage unit 16. The parameter storage unit 16 stores the adjusted parameter.
[0109] A procedure for processing by the control parameter adjusting device 1C will now be described. Fig. Fig. 8 is a flowchart showing a procedure for processing by the control parameter adjustment device 1C according to the third embodiment. The processes of steps S41 to S50 are similar to the processes of Fig. 2. After completing steps S49 and S50, the control parameter adjusting device 1C proceeds to step S51.
[0110] In step S51, the parameter adjustment unit 31 obtains a machining program from the machining program storage unit 32 and adds a command to the machining program. The parameter adjustment unit 31 adds a command to the machining program so that the parameter becomes within the parameter sensitivity range adjusted through the processes of steps S47 to S50. The parameter adjustment unit 31 stores the machining program to which the command was added in the machining program storage unit 32.
[0111] The parameter adjustment unit 31 receives the analysis result of the execution of the machining program at the normal area from the execution analysis unit 18. In step S52, the parameter adjustment unit 31 calculates machining point data at the normal area based on the analysis result.
[0112] In step S53, the parameter adjustment unit 31 determines whether the value of the machining point data at the normal range is less than the lower limit value. In response to a determination that 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. In response to a determination that the value of the machining point data is equal to or greater than the lower limit value (step S53, No), the control parameter adjustment device 1C proceeds to step S55.
[0113] In step S54, the parameter adjustment unit 31 changes the parameter and calculates the machining point data. If the normal range includes a section where the value of the machining point data is less than the lower limit value, the parameter adjustment unit 31 determines that the section is a section where the machining time can be expected to be shortened by the parameter adjustment. In step S54, the parameter adjustment unit 31 performs a parameter change to reduce the machining time at the section. For example, the parameter adjustment unit 31 performs a parameter change to reduce the acceleration / deceleration time constant, a parameter change to increase the maximum speed of the machining point, or the like.
[0114] The parameter change in step S54 is not limited to changing the acceleration / deceleration time constant or changing the maximum speed. The parameter adjustment unit 31 may change a parameter other than these parameters that is related to the machining quality or the machining time. For example, the parameter change may be a parameter change that switches between the validity and invalidity of a specific function related to the machining quality, such as a function for smoothing the machining path. Alternatively, the parameter adjustment unit 31 may change a parameter used in this function.
[0115] The parameter adjustment unit 31 outputs information indicating the section that is the target of parameter adjustment and the changed parameter to the processing analysis unit 18. The processing analysis unit 18 performs processing analysis on the section. The processing analysis unit 18 outputs the result of the processing analysis to the parameter adjustment unit 31. The parameter adjustment unit 31 calculates machining point data in the section based on the result of the processing analysis by the processing analysis unit 18. After completion of step S54, the control parameter adjustment device 1C returns the processing to step S53.
[0116] According to Fig. 8, the control parameter adjustment device 1C repeats steps S53 and S54 until the value of the machining point data becomes equal to or greater than the lower limit value. The control parameter adjustment device 1C may terminate steps S53 and S54 and proceed to step S55 once the amount of change in the value of the machining point data due to the parameter change in step S54 becomes equal to or less than a certain amount.
[0117] In step S55, the parameter adjustment unit 31 outputs the parameter to the parameter storage unit 16 to store the parameter in the parameter storage unit 16. The control parameter adjustment device 1C then ends the processing according to the Fig. Procedure shown in Figure 8.
[0118] According to the third embodiment, similar to the first embodiment, the control parameter adjustment device 1C can perform accurate parameter adjustment in the gentle range that conforms to the contents specified in the machining program. The control parameter adjustment device 1C can also shorten the machining time for the entire machining path by performing adjustment to shorten the machining time in the normal range.
[0119] In the above description, the control parameter adjustment device 1C divides the machining path into a gentle range and a normal range, which is a range different from the gentle range, and performs parameter adjustment for the gentle range and parameter adjustment for the normal range. In this case, the machining path is classified into two sections having different gentleness levels, that is, a section that is a gentle range and a section that is a normal range, and parameter adjustment is performed for each section. The control parameter adjustment device 1C can classify the machining path into three or more graded sections having different gentleness levels and perform parameter adjustment for each section.In this case, a plurality of determination values for extracting the three or more sections are preset in the control parameter adjustment device 1C. The control parameter adjustment device 1C can classify the machining path into three or more sections having different graded carefulness levels based on the plurality of determination values.
[0120] The control parameter adjustment device 1C is not limited to an external device outside the numerical control device 2. The control parameter adjustment device 1C may be included in the numerical control device 2. A configuration similar to that of the control parameter adjustment device 1C according to the third embodiment may be provided in the numerical control device 2. Fourth embodiment.
[0121] Fig. 9 is a diagram showing an exemplary configuration of a control parameter adjustment device 1D according to the fourth embodiment. The control parameter adjustment device 1D includes a cautious range extraction unit 41, a parameter adjustment unit 42, a processing analysis unit 43, an FB analysis unit 44, a learning unit 45, a correspondence relationship information storage unit 46, an FB permissible value storage unit 47, and a permissible value calculation unit 48, instead of the cautious range extraction unit 11, the parameter adjustment unit 15, the processing analysis unit 18, and the permissible value storage unit 19 shown in Fig. 1. In the fourth embodiment, components that are the same as those in Embodiments 1 to 3 are denoted by the same reference numerals, and the configuration differences from Embodiments 1 to 3 will be described. In Fig. 9, inputs and outputs of information between components of the control parameter adjustment device 1D are indicated by arrows.
[0122] The processing by the control parameter adjustment device 1D is divided into a learning phase in which learning is performed by the learning unit 45 simultaneously with the parameter adjustment, and a use phase in which the parameter adjustment is performed using the result of the learning by the learning unit 45. The following describes the processing by the control parameter adjustment device 1D separately for the learning phase and the use phase.
[0123] Fig. 10 is a diagram for explaining the processing in the learning phase by the control parameter adjusting device 1D according to the fourth embodiment. Fig. 10 shows components under the Fig. 4 shown components that perform processing during the learning phase. Of the Fig. 9 components are shown in Fig. 10 Components that are different from components that perform processing in the learning phase are not shown. In Fig. 10, inputs and outputs of information between components of the control parameter adjusting device 1D that perform processing in the learning phase are indicated by arrows.
[0124] During the learning phase, the careful area extraction unit 41 receives a machining program from the machining program storage unit 17. The careful area extraction unit 41 receives a determination value from the determination value storage unit 12. The careful area extraction unit 41 receives additional section information from the additional section information storage unit 13. The careful area extraction unit 41 receives a parameter from the parameter storage unit 16. The machining program, the determination value, the additional section information, and the parameter are thus input to the careful area extraction unit 41.
[0125] In the learning phase, the careful area extraction unit 41 outputs the machining program and the parameter to the machine tool 3. The machine tool 3 receives the machining program and the parameter from the careful area extraction unit 41 and operates the numerical control device 2 in accordance with the machining program and the parameter. The machine tool 3 outputs an FB value, which is a result of the operation of the numerical control device 2, to the careful area extraction unit 41. The careful area extraction unit 41 thus receives the FB value, which is the execution result of the entire machining program, from the machine tool. Fig. 9 and Fig. 10, the numerical control device 2 is not shown.
[0126] In the learning phase, the sensitive area 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 sensitive area extraction unit 41. The sensitive area extraction unit 41 calculates editing point data based on the analysis result. Hereinafter, the editing point data calculated based on the analysis result of the FB value is referred to as FB data or second editing point data.
[0127] In the learning phase, the gentle range extraction unit 41 identifies a section where the value included in the FB data is outside the range specified by the preset determination value. The gentle range extraction unit 41 determines a section obtained by combining the section obtained based on the determination value with the additional section as a section corresponding to the gentle range. The gentle range extraction unit 41 outputs gentle range information indicating the determined section to the gentle range information storage unit 14.
[0128] The gentle area extraction unit 41 further outputs the path information of the gentle area to the learning unit 45. The path information is information indicating the state of the path in an area that is a gentle area on the machining path specified in the machining program. The FB analysis unit 44 outputs to the learning unit 45 the FB value indicating the execution result of the machining program at the time of extracting the gentle area.
[0129] In the learning phase, the parameter adjustment unit 42 receives gentle range information from the gentle range information storage unit 14. The parameter adjustment unit 42 receives a parameter from the parameter storage unit 16. The parameter adjustment unit 42 receives an FB allowable value, which is a preset allowable value, from the FB allowable value storage unit 47. The gentle range information, the parameter, and the FB allowable value are thus input to the parameter adjustment unit 42. The FB allowable value is a second allowable value indicating the allowable range of the value included in the second edit point data.
[0130] During the learning phase, the parameter adjustment unit 42 outputs the gentle range information and the parameter to the machine tool 3. The machine tool 3 receives the gentle range information and the parameter from the parameter adjustment unit 42 and operates the numerical control device 2 using the parameter at the gentle range. The machine tool 3 outputs an FB value, which is a result of the operation of the numerical control device 2 at the gentle range, to the parameter adjustment unit 42. The parameter adjustment unit 42 thus receives the FB value, which is the operation result at the gentle range, from the machine tool 3.
[0131] In the learning phase, 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 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 specified by the FB allowable value. In response to the determination that the value of the FB data is not included in the allowable range, the parameter adjustment unit 42 changes the parameter and outputs the caution range information and the changed parameter to the machine tool 3. The parameter adjustment unit 42 receives the FB value from the machine tool 3 and calculates the FB data by analyzing the FB value by the FB analysis unit 44.
[0132] In the learning phase, the parameter is adjusted by repeating the parameter change and calculating the FB data by executing the machining program at the careful range. The parameter adjusting unit 42 adjusts the control parameter for use in machining at the careful range based on the execution of the machining program using the adjusted control parameter until the value included in the FB data reaches a value within the allowable range specified by the preset FB allowable value. Once the value of the FB data reaches a value included in the allowable range, the control parameter adjusting device 1D terminates the parameter adjustment. After completing the parameter adjustment, the parameter adjusting unit 42 outputs the adjusted parameter to the parameter storage unit 16. The parameter storage unit 16 stores the adjusted parameter.
[0133] In the learning phase, the careful area extraction unit 41 outputs the machining program and the parameter to the execution analysis unit 43. The execution analysis unit 43 receives the machining program and the parameter from the careful area extraction unit 41 and performs execution analysis of the machining program. The execution analysis unit 43 calculates first machining point data, which is machining point data corresponding to the machining point output from the numerical control device 2, through execution analysis of the machining program. The execution analysis unit 43 outputs the first machining point data to the learning unit 45. The FB analysis unit 44 outputs to the learning unit 45 the FB value indicating the execution result of the machining program at the time of parameter adjustment.
[0134] In the learning phase, the learning unit 45 receives path information from the careful area extraction unit 41. The learning unit 45 receives first edit point data from the processing analysis unit 43. The learning unit 45 receives an FB value from the FB analysis unit 44. The path information, the first edit point data, and the FB value are thus input to the learning unit 45. The learning unit 45 learns the correspondence relationship between the path information, the first edit point data, and the FB value. The learning unit 45 outputs correspondence relationship information, which is information indicating the correspondence relationship, to the correspondence relationship information storage unit 46. The learning unit 45 thus stores the correspondence relationship information in the correspondence relationship information storage unit 46.
[0135] Fig. 11 is a diagram for explaining the processing in the use phase by the control parameter adjusting device 1D according to the fourth embodiment. Fig. 11 shows from the Fig. 9 are the components that perform processing in the usage phase. Among the components shown in Fig. 9 components are shown in Fig. 11 Components other than the components that perform processing in the use phase are not shown. In Fig. 11, inputs and outputs of information between components of the control parameter adjusting device 1D that perform processing in the use phase are indicated by arrows.
[0136] In the use phase, the careful area extraction unit 41 receives a machining program from the machining program storage unit 17. The careful area extraction unit 41 receives a predetermined determination value from the determination value storage unit 12. The careful area extraction unit 41 receives additional section information from the additional section information storage unit 13. The careful area extraction unit 41 receives a parameter from the parameter storage unit 16. The machining program, the determination value, the additional section information, and the parameter are thus input to the careful area extraction unit 41.
[0137] In the use phase, the sensitive area extraction unit 41 outputs the machining program and the parameter to the execution analysis unit 43. The execution analysis unit 43 performs execution analysis on the entire machining program based on the machining program and the parameter. The execution analysis unit 43 outputs the result of the execution analysis to the sensitive area extraction unit 41.
[0138] In the use phase, the gentle range extraction unit 41 calculates first machining point data. The gentle range extraction unit 41 identifies a section in which the value included in the first machining point data is outside the range specified by the preset determination value. The gentle range extraction unit 41 determines a section obtained by combining the section identified based on the determination value with the additional section as a section corresponding to the gentle range. The gentle range extraction unit 41 outputs gentle range information indicating the section determined as the gentle range to the gentle range information storage unit 14. The gentle range extraction unit 41 further outputs the path information of the gentle range to the allowable value calculation unit 48.
[0139] In the use phase, the allowable value calculation unit 48 obtains correspondence relationship information from the correspondence relationship information storage unit 46. The allowable value calculation unit 48 obtains an FB allowable value, which is a second allowable value, from the FB allowable value storage unit 47. The allowable value calculation unit 48 obtains the path information of the cautious range from the cautious range extraction unit 41. The allowable value calculation unit 48 calculates a command allowable value, which is a first allowable value, from the FB allowable value based on the correspondence relationship indicated in the correspondence relationship information. The command allowable value is an allowable value indicating the allowable range of the value included in the first edit point data.The allowable value calculation unit 48 outputs the calculated command allowable value to the parameter adjustment unit 42.
[0140] In the use phase, the parameter adjustment unit 42 receives caution range information from the caution range information storage unit 14. The parameter adjustment unit 42 receives a parameter from the parameter storage unit 16. The parameter adjustment unit 42 receives a command permissible value from the permissible value calculation unit 48. The caution range information, the parameter, and the command permissible value are thus input to the parameter adjustment unit 42.
[0141] In the use phase, the parameter adjustment unit 42 outputs the sensitive area information and the parameter to the execution analysis unit 43. Based on the sensitive area information and the parameter, the execution analysis unit 43 analyzes the execution of the machining program using the parameter at the sensitive area. The execution analysis unit 43 outputs the analysis result of the processing at the sensitive area to the parameter adjustment unit 42.
[0142] In the use phase, the parameter adjustment unit 42 calculates first processing point data based on the analysis result of the processing on the careful range. The parameter adjustment unit 42 determines whether the value of the first processing point data is included in the allowable range specified by the command allowable value. If it is determined that the value of the first processing point data is not included in the allowable range, the parameter adjustment unit 42 changes the parameter. The parameter adjustment unit 42 causes the processing analysis unit 43 to perform processing analysis using the careful range information and the changed parameter.
[0143] In the use phase, the parameter is adjusted by repeating the parameter change and processing analysis on the careful area. The parameter adjusting unit 42 adjusts the control parameter for use in machining on the careful area based on the execution of the machining program using the adjusted parameter until the value included in the first machining point data reaches a value within the allowable range specified by the command allowable value. Once the value of the first machining point data reaches a value included in the allowable range, the control parameter adjusting device 1D terminates the parameter adjustment. After completing the parameter adjustment, the parameter adjusting unit 42 outputs the adjusted parameter to the parameter storage unit 16. The parameter storage unit 16 stores the adjusted parameter.
[0144] Now, a procedure for processing in the learning phase by the control parameter adjusting device 1D will be described. Fig. Fig. 12 is a flowchart showing a procedure for processing in the learning phase by the control parameter adjusting device 1D according to the fourth embodiment. The processes of steps S61 to S66 are similar to the processes of Fig. 6. After completing step S66, the control parameter adjusting device 1D proceeds to step S67.
[0145] In step S67, the learning unit 45 learns the correspondence relationship between the path information of the cautious area, the first edit point data, and the FB value. The first edit point data includes, for example, the value indicating the position of the edit point, the value of the speed of the edit point, the value of the acceleration of the edit point, and / or the value of the jerk of the edit point. The first edit point data may include the frequency component value of the value indicating the position of the edit point, the speed of the edit point, the acceleration of the edit point, and / or the jerk of the edit point. The first edit point data may include the amount of change of these values with respect to position or time. The first edit point data may include the difference of these values between adjacent paths.The machining point data is data for each machining point, which is a position command output by the numerical control device 2.
[0146] The FB value is, for example, the value indicating the position, the value of the velocity, the value of the acceleration, or the value of the thrust. The FB value can be the frequency component value of the value indicating the position, the velocity, the acceleration, and / or the thrust. These values, which are FB values, are required as values for each of the sampled command points obtained by sampling the position of the command point in the cautious region. Alternatively, these values, which are FB values, are required as values for each of the sampled FB positions obtained by sampling the FB positions at the cautious region. The FB value can be a value indicating the amount of change of these values with respect to time. The FB value can be a value indicating the difference of these values between adjacent paths.The FB value can be an evaluation value that indicates the difference between the position of the command point and the FB position.
[0147] An example of the path information included in the correspondence relationship is the curvature of the path. An example of the first edit 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 indicating the difference between the position of the command point and the FB position. The learning unit 45 obtains a relational expression based on the input data, namely the curvature, the acceleration, and the evaluation value. The learning unit 45 outputs the correspondence relationship information indicating the relational expression between the curvature, the acceleration, and the evaluation value. Note that the path information included in the correspondence relationship may be an element other than the curvature.The first machining point data included in the correspondence relationship may be an element other than the acceleration. The FB value included in the correspondence relationship may be an element other than the evaluation value.
[0148] The learning method for the learning unit 45 to obtain the correspondence relationship is not limited to the above method. The learning unit 45 may obtain the correspondence relationship by, for example, machine learning using a learning algorithm such as a neural network, deep learning, genetic programming, inductive logic programming, or a support vector machine.
[0149] The processes of steps S86 to S71 are similar to those in Fig. 6. After completing step S71, the control parameter adjusting device 1D proceeds to step S72.
[0150] In step S72, the learning unit 45 learns the correspondence relationship between the path information of the cautious area, the first machining point data, and the FB value. After completing step S72, the control parameter adjusting device 1D proceeds to step S70.
[0151] In step S70, if the value of the FB data is less than the upper limit value (step S70, No), the control parameter adjusting device 1D proceeds to step S73. In step S73, the parameter adjusting unit 42 outputs the parameter to the parameter storage unit 16 to store the parameter in the parameter storage unit 16.
[0152] In step S74, the learning unit 45 outputs the correspondence relationship information to the correspondence relationship information storage unit 46 to store the correspondence relationship information in the correspondence relationship information storage unit 46. Then, the control parameter adjusting device 1D ends the processing according to the Fig. Procedure shown in Figure 12.
[0153] Now, the procedure for processing in the use phase by the control parameter adjusting device 1D will be described. Fig. Fig. 13 is a flowchart showing a procedure for processing in the use phase by the control parameter adjusting device 1D according to the fourth embodiment. The processes of steps S81 to S85 are similar to those shown in Fig. 2. After completion of step S85, the control parameter adjusting device 1D continues the process to step S86.
[0154] In step S86, the parameter adjustment unit 42 reads the cautious area information and a parameter. The parameter adjustment unit 42 reads the cautious area information from the cautious area information storage unit 14. The parameter adjustment unit 42 reads the parameter from the parameter storage unit 16.
[0155] The allowable value calculation unit 48 obtains the correspondence relationship information from the correspondence relationship information storage unit 46. The allowable value calculation unit 48 obtains an FB allowable value from the FB allowable value storage unit 47. The allowable value calculation unit 48 obtains the path information of the cautious area from the cautious area extraction unit 41. In step S87, the allowable value calculation unit 48 calculates a command allowable value from the FB allowable value based on the correspondence relationship information. The allowable value calculation unit 48 outputs the calculated command allowable value to the parameter adjustment unit 42.
[0156] The processes of steps S88 to S92 are similar to those in Fig. 2. After completion of step S92, the control parameter adjusting device 1D ends the processing according to the process shown in Fig. Procedure shown in Figure 13.
[0157] According to the fourth embodiment, when the numerical control device 2 executes various machining programs, the control parameter adjustment device 1D learns the correspondence relationship based on the operation of the actual machine using the learning unit 45. Furthermore, when learning the correspondence relationship, the control parameter adjustment device 1D can perform accurate parameter adjustment based on the operation of the actual machine by parameter adjustment based on the FB data, which is the second machining point data. After the correspondence relationship is obtained, the control parameter adjustment device 1D performs parameter adjustment based on the correspondence relationship and the first machining point data.Since the parameter adjustment based on the correspondence relationship and the first machining point data can be performed, the control parameter adjustment device 1D can perform the parameter adjustment at high speed without operating the actual machine.
[0158] The machining program executed in the fourth embodiment may be a machining program for use in actual machining or a machining program prepared for learning. The control parameter adjustment device 1D can learn the correspondence relationship regardless of which machining program is executed.
[0159] In the fourth embodiment, the learning unit 45 is included in the control parameter adjustment device 1D, but the learning unit 45 may also be implemented by a learning unit that is an external device outside the control parameter adjustment device 1D. The learning device is a device connected to the control parameter adjustment device 1D. The learning device may be a device connected to the control parameter adjustment device 1D via a network such as the Internet. The learning device may be a device located on a cloud server.
[0160] The control parameter adjustment device 1D is not limited to an external device outside the numerical control device 2. The control parameter adjustment device 1D may be included in the numerical control device 2. A configuration similar to that of the control parameter adjustment device 1D according to the fourth embodiment may be provided in the numerical control device 2. Fifth embodiment.
[0161] Fig. 14 is a diagram showing an exemplary configuration of a control parameter adjustment device 1E according to the fifth embodiment. The control parameter adjustment device 1E includes a cautious area extraction unit 51, a defect information storage unit 52, a waveform information storage unit 53, and a color map storage unit 54 instead of the cautious area extraction unit 11 and the determination value storage unit 12 shown in Fig. 1. In the fifth embodiment, components common to those of Embodiments 1 to 4 are denoted by the same reference numerals, and configuration differences from Embodiments 1 to 4 will be mainly described. In Fig. 4, inputs and outputs of information between components of the control parameter adjustment device 1E are indicated by arrows.
[0162] The processing by the control parameter adjustment device 1E is divided into a learning phase in which learning is performed in advance and a use phase in which parameter adjustment is performed using the learning result. The processing by each component of the control parameter adjustment device 1E may differ between the learning phase and the use phase. Information inputs and outputs between components of the control parameter adjustment device 1E may differ between the learning phase and the use phase.
[0163] In the learning phase, the careful area extraction unit 51 obtains a machining program from the machining program storage unit 17. The careful area extraction unit 51 calculates machining point data based on the result of machining analysis by the machining analysis unit 18. The careful area extraction unit 51 obtains a waveform representing a change in the machining point data based on the machining data. The careful area extraction unit 51 outputs waveform information indicating the obtained waveform to the waveform information storage unit 53 to store the waveform information in the waveform information storage unit 53. The careful area extraction unit 51 obtains a color map indicating the distribution of the value of the machining point data based on the machining point data.The caution area extraction unit 51 outputs the obtained color map to the color map storage unit 54 to store the color map in the color map storage unit 54.
[0164] The defect information storage unit 52 stores defect information indicating a defect area. The defect area is an area where a defect, such as a blemish or a mark, has occurred on the machined surface due to machining. The defect information is information about the defect actually caused by machining. In the learning phase, the gentle area extraction unit 51 obtains defect information from the defect information storage unit 52. The gentle area extraction unit 51 obtains waveform information from the waveform information storage unit 53. The gentle area extraction unit 51 obtains a color map from the color map storage unit 54. The waveform information, the color map, and the defect information are thus input to the gentle area extraction unit 51.The sensitive area extraction unit 51 learns the correspondence relationship between the curve shape, the color map, and the defect area. The sensitive area extraction unit 51 maintains correspondence relationship information, which is information indicating the correspondence relationship.
[0165] In the use phase, the careful area extraction unit 51 obtains a machining program from the machining program storage unit 17. The careful area extraction unit 51 calculates machining point data based on the result of machining analysis by the machining analysis unit 18. The careful area extraction unit 51 obtains a waveform indicating a 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 careful area extraction unit 51 obtains a color map indicating 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.
[0166] In the use phase, the gentle area extraction unit 51 obtains waveform information from the waveform information storage unit 53. The gentle area extraction unit 51 obtains a color map from the color map storage unit 54. The waveform information and the color map are thus input to the gentle area extraction unit 51. Based on the correspondence relationship indicated in the correspondence relationship information, the gentle area extraction unit 51 determines a region where a defect may occur based on the waveform indicated in the waveform information and the color map. The gentle area extraction unit 51 thus determines the first portion, which is a region corresponding to a gentle area, from the waveform and the color map based on the correspondence relationship indicated in the correspondence relationship information.
[0167] In the use phase, the gentle area extraction unit 51 obtains additional section information from the additional section information storage unit 13. The gentle area extraction unit 51 identifies the second section and the third section based on the additional section information. The gentle area extraction unit 51 determines the section obtained by combining the first section, the second section, and the third section as a section corresponding to the gentle area. The gentle area extraction unit 51 outputs gentle area information indicating the area determined as the gentle area to the gentle area information storage unit 14 to store the gentle area information in the gentle area information storage unit 14.
[0168] Now, a procedure for processing in the learning phase by the control parameter adjusting device 1E will be described. Fig. 15 is a flowchart showing a procedure for processing in the learning phase by the control parameter adjusting device 1E according to the fifth embodiment.
[0169] In step S101, the careful area extraction unit 51 obtains a machining program from the machining program storage unit 17. The careful area extraction unit 51 also reads a parameter from the parameter storage unit 16. The careful area extraction unit 51 outputs the machining program and the parameter to the execution analysis unit 18. The execution analysis unit 18 performs execution analysis on the entire machining program based on the machining program and the parameter.
[0170] The processing analysis unit 18 outputs the result of the processing analysis to the sensitive area extraction unit 51. In step S102, the sensitive area extraction unit 51 calculates processing point data based on the result of the processing analysis by the processing analysis unit 18.
[0171] In step S103, the gentle range extraction unit 51 generates waveform information and a color map, and stores the waveform information and the color map. The gentle range extraction unit 51 obtains a waveform indicating a change in the value of the edit point data based on the edit point data and stores the waveform information in the waveform information storage unit 53. The gentle range extraction unit 51 obtains a color map indicating the distribution of the value of the edit point data based on the edit point data and stores the color map in the color map storage unit 54.
[0172] The waveform obtained by the gentle range extraction unit 51 is, for example, a waveform of a graph representing a change in the position, speed, acceleration, or jerk on the machining path, or a waveform of a graph representing a change in the frequency component values thereof. Alternatively, the waveform may be the waveform of a graph representing a change in the amount of change of these values with respect to position or time. The waveform may be the waveform of a graph representing a change in the difference of these values between adjacent paths. The waveform obtained by the gentle range extraction unit 51 may be a waveform on data different from the data described here.
[0173] The color map obtained by the gentle range extraction unit 51 is a map in which the display color changes according to the magnitude of the value. The color map obtained by the gentle range extraction unit 51 is, for example, a color map representing a distribution of the position, velocity, acceleration, or jerk on the machining path, or a color map representing the distribution of the frequency component values thereof. Alternatively, the color map may be a color map representing the distribution of the amount of change of these values with respect to position or time. The color map may be a color map representing the distribution of the difference of these values between adjacent paths. The color map obtained by the gentle range extraction unit 51 may be a color map to data different from the data described here.
[0174] Similar to the learning phase of the fourth embodiment, the careful area extraction unit 51 may learn the correspondence relationship between the path information, the first machining point data, and the FB value, and calculate an evaluation value that is the difference between the position of the command point and the FB position to obtain the curve shape or the color map at the evaluation value.
[0175] In step S104, the careful area extraction unit 51 reads defect information from the defect information storage unit 52. In step S105, the careful area extraction unit 51 learns the correspondence relationship between the waveform, the color map, and the defect area based on the input data, namely the waveform information, the color map, and the defect information. The control parameter adjustment device 1E thus ends the processing according to the Fig. Procedure shown in Figure 15.
[0176] The sensitive area extraction unit 51 obtains, for example, image data of an image indicating a curve shape and image data of a color map, and learns the correspondence relationship between the curve shape, the color map, and the defect area through image recognition using machine learning. The sensitive area extraction unit 51 can learn the correspondence relationship through, for example, machine learning using a learning algorithm such as a neural network, deep learning, genetic programming, inductive logic programming, and a support vector machine.
[0177] The curve shape in the correspondence relationship obtained by the gentle area extraction unit 51 is not limited to the curve shape of one element and may be the curve shape of each of a plurality of elements. The color map in the correspondence relationship obtained by the gentle area extraction unit 51 is not limited to the color map of one element and may be the color map of each of a plurality of elements. For example, the gentle area extraction unit 51 can obtain the correspondence relationship between a curve shape indicating a change in position, a curve shape indicating a change in speed, and a defect area. The gentle area extraction unit 51 can obtain the correspondence relationship between a color map indicating a change in position, a color map indicating a change in speed, and the defect area.In this case, the careful region extraction unit 51 can learn a feature, such as a high probability of a defect in an area where neighboring paths have different positions and different speeds. In addition to the correspondence relationships described here, any correspondence relationship can be learned by the careful region extraction unit 51.
[0178] A procedure for processing in the use phase by the control parameter adjusting device 1E will now be described. Fig. Fig. 16 is a flowchart showing a procedure for processing in the use phase by the control parameter adjustment device 1E according to the fifth embodiment. The processes of steps S111 to S113 are similar to those in Fig. 15. After completing step S113, the control parameter adjusting device 1E proceeds to step S114.
[0179] The gentle range extraction unit 51 obtains waveform information from the waveform information storage unit 53. The gentle range extraction unit 51 obtains a color map from the color map storage unit 54. In step S114, the gentle range extraction unit 51 identifies the first portion from the waveform and the color map based on the correspondence relationship indicated in the correspondence relationship information.
[0180] The processes of steps S115 to S121 are similar to those in Fig. 2. After completion of step S121, the control parameter adjusting device 1E ends the processing according to the steps S5 to S11 shown in Fig. Procedure shown in Figure 16.
[0181] In the above description, the correspondence relationship between the waveform, the color map, and the defect region is learned, but the correspondence relationship only needs to be the correspondence relationship between the defect region and only one of the waveform or the color map. The gentle region extraction unit 51 thus receives input of the defect information and the waveform information and / or the color map, and learns the correspondence relationship between the defect region and the waveform and / or the color map. Furthermore, the gentle region extraction unit 51 determines the first portion corresponding to the gentle region from the waveform and / or the color map based on the correspondence relationship. The gentle region extraction unit 51 can learn the correspondence relationship between the waveform and the defect region and identify the first portion from the waveform based on the correspondence relationship.Alternatively, the careful area extraction unit 51 may learn the correspondence relationship between the color map and the defect area and identify the first portion from the color map based on the correspondence relationship.
[0182] The processing performed by the control parameter adjustment device 1E in the fifth embodiment may be performed in combination with the processing described in any one of Embodiments 1 to 4. In the foregoing description, the correspondence relationship is learned through pre-training, but the present disclosure is not limited to this. The control parameter adjustment device 1E may execute the processing of the learning phase in the fifth embodiment in parallel with the processing described in any one of Embodiments 1 to 4.
[0183] In the fifth embodiment, the learning of the correspondence relationship is performed by the careful area extraction unit 51 within the control parameter adjustment device 1E, but the learning of the correspondence relationship may be performed by a learning device that is an external device outside the control parameter adjustment device 1E. The learning device is a device connected to the control parameter adjustment device 1E. The learning device may be a device connected to the control parameter adjustment device 1E via a network such as the Internet. The learning device may be a device located on a cloud server.
[0184] According to the fifth embodiment, the control parameter adjustment device 1E determines an area corresponding to a gentleness area from the waveform and / or the color map based on the correspondence relationship between the defect area and the waveform or the color map. The control parameter adjustment device 1E can extract an area where a defect may occur on a machined surface as a gentleness area. Consequently, the control parameter adjustment device 1E can extract the gentleness area more accurately. Sixth embodiment.
[0185] Fig. 17 is a diagram showing an exemplary configuration of a control parameter adjustment device 1F according to the sixth embodiment. The control parameter adjustment device 1F includes a careful area extraction unit 61, a command point adjustment unit 62, and a machining program storage unit 63 instead of the careful area extraction unit 11 and the machining program storage unit 17 shown in Fig. 1. In the sixth embodiment, components similar to those of Embodiments 1 to 5 are denoted by the same reference numerals, and configuration differences from Embodiments 1 to 5 will be described. In Fig. 17, inputs and outputs of information between components of the control parameter adjusting device 1F are indicated by arrows.
[0186] The careful area extraction unit 61 receives a machining program from the machining program storage unit 63. The careful area extraction unit 61 receives a preset determination value from the determination value storage unit 12. The careful area extraction unit 61 receives additional section information from the additional section information storage unit 13. The careful area extraction unit 61 receives a parameter from the parameter storage unit 16. The machining program, the determination value, the additional section information, and the parameter are thus input to the careful area extraction unit 61. The careful area extraction unit 61 calculates machining point data based on the result of the machining analysis by the machining analysis unit 18.
[0187] The gentle area extraction unit 61 determines a portion obtained by combining the portion identified based on the determination value with the additional portion as a portion corresponding to the gentle area. The gentle area extraction unit 61 outputs the gentle area information indicating the portion determined as the gentle area to the gentle area information storage unit 14.
[0188] The gentle range extraction unit 61 further extracts from the machining path a range where at least one of the difference in position, the difference in speed, the difference in acceleration, and the difference in jerk between adjacent paths is equal to or greater than the determination value. The gentle range extraction unit 61 thus extracts a range where the value included in the machining point data is outside the range specified by the preset determination value. The gentle range extraction unit 61 outputs information indicating the extracted range and the machining program to the command point adjustment unit 62.
[0189] 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 range. The command point adjustment unit 62 thus adjusts the position of the command point to a range where the value included in the machining point data is outside the range specified by the preset determination value. The command point adjustment unit 62 adjusts the position of the command point specified in the machining program for the extracted range to smooth the change in position, speed, acceleration, or jerk between adjacent paths. The command point adjustment unit 62 outputs the machining program in which the position of the command point has been adjusted to the machining program storage unit 63.The machining program storage unit 63 stores the machining program in which the position of the command point has been adjusted.
[0190] Now, the procedure of processing by the control parameter adjusting device 1F will be described. Fig. 18 is a flowchart showing a procedure for processing by the control parameter adjusting device 1F according to the sixth embodiment.
[0191] In step S131, the careful area extraction unit 61 obtains a machining program from the machining program storage unit 63. The careful area extraction unit 61 also reads a parameter from the parameter storage unit 16. The careful area extraction unit 61 outputs the machining program and the parameter to the execution analysis unit 18. The execution analysis unit 18 performs execution analysis on the entire machining program based on the machining program and the parameter.
[0192] The processing analysis unit 18 outputs the result of the processing analysis to the careful area extraction unit 61. In step S131, the careful area extraction unit 61 calculates processing point data based on the result of the processing analysis by the processing analysis unit 18. In step S133, the careful area extraction unit 61 reads a determination value from the determination value storage unit 12.
[0193] In step S134, the careful area extraction unit 61 extracts from the machining path an area where the difference in the value of the machining point data between adjacent paths is equal to or greater than the determination value. The careful area extraction unit 61 outputs information indicating the extracted area and the machining program to the command point adjustment unit 62.
[0194] In step S135, the command point adjustment unit 62 corrects the command point to smooth the change of the command point between adjacent paths for the area extracted in step S134 and saves the machining program in which the command point was corrected. For example, the command point adjustment unit 62 corrects the position of the command point in the extracted area to smooth the change in the position of the command point.
[0195] As a method for smoothing the change in the position of the command point, the command point adjustment unit 62 generates, for example, a spline curve using the command point of each adjacent path for a plurality of transversely adjacent paths. The command point adjustment unit 62 corrects the position of the command point at the extracted area to a position on the spline curve. In addition to this method, any other method may be used to smooth the change in the position of the command point. The command point adjustment unit 62 stores the machining program adjusted by correcting the command point in the machining program storage unit 63.
[0196] The careful area extraction unit 61 obtains the adjusted machining program from the machining program storage unit 63. In step S136, the careful area extraction unit 61 calculates machining point data based on the result of machining analysis by the machining analysis unit 18 with respect to the adjusted machining program.
[0197] The processes of steps S137 to S144 are similar to those in Fig. 2. After completion of step S144, the control parameter adjusting device 1F terminates the processing according to the Fig. 18 shown procedure.
[0198] According to the sixth embodiment, the control parameter adjustment device 1F adjusts the position of the command point in a range where the value included in the machining point data is outside the range specified by the determination value. By adjusting the position of the command point along with the parameter adjustment, the control parameter adjustment device 1F can reduce the occurrence of defects even in a case where it is difficult to prevent the occurrence of defects only by parameter adjustment.
[0199] The control parameter adjustment device 1F is not limited to an external device outside the numerical control device 2. The control parameter adjustment device 1F may be included in the numerical control device 2. A configuration similar to that of the control parameter adjustment device 1F according to the sixth embodiment may be provided in the numerical control device 2. The processing performed by the control parameter adjustment device 1F in the sixth embodiment may be executed in combination with the processing described in any one of Embodiments 1 to 5.
[0200] Now, a hardware configuration of the control parameter adjusting devices 1A, 1B, 1C, 1D, 1E and 1F according to Embodiments 1 to 6 will be described. Fig. 19 is a diagram showing an exemplary hardware configuration of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F according to Embodiments 1 to 6. The control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F are implemented by a computer system including processing circuits 70 and a communication device 71. The processing circuits 70 include a processor 72 and a memory 73. The processing circuits 70 are circuits in which the processor 72 executes software.
[0201] The caution area extraction units 11, 21, 41, 51, and 61, the parameter adjustment units 15, 22, 31, and 42, the execution analysis units 18 and 43, the FB analysis units 23 and 44, the learning unit 45, the allowable value calculation unit 48, and the command point adjustment unit 62, which are processing units of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F, are implemented by software, firmware, or a combination of software and firmware. The software or firmware is described as a program stored in the memory 73. In the processing circuits 70, the processor reads and executes the program stored in the memory 73, thereby implementing the function of the processing units. The processing circuits 70 thus comprise the memory 73 for storing a program leading to the processing of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E and 1F.It can also be said that the program stored in the memory 73 causes the computer to execute the procedures and methods for the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 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, and 1F.
[0202] The processor 72 is a central processing unit (CPU, hereinafter also referred to as a processing device, an arithmetic device, a microprocessor, a microcomputer, a processor, or a digital signal processor (DSP)). Examples of the memory 73 include a non-volatile or volatile semiconductor memory, a magnetic disk, a flexible disk, an optical disk, a compact disc, a mini disc, a digital versatile disc (DVD), or the like. Examples of the non-volatile or volatile semiconductor memory include a random access memory (RAM), a read-only memory (ROM), a flash memory, an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM, registered trademark), and the like.The determination value storage unit 12, the additional section information storage unit 13, the cautious area information storage unit 14, the parameter storage unit 16, the machining program storage units 17, 32, and 63, the allowable value storage unit 19, the FB allowable value storage units 24 and 47, the correspondence relationship information storage unit 46, the defect information storage unit 52, the waveform information storage unit 53, and the color map storage unit 54, which are the storage units of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F, are implemented by the memory 73. The communication device 71 communicates with devices outside the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F.
[0203] The numerical control device 2 according to Embodiments 1 to 6 is implemented by a hardware configuration similar to that shown in Fig.19 shown hardware configuration.
[0204] Each of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F and the numerical control device 2 may comprise an integrated circuit such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA). Each of the control parameter adjustment devices 1A, 1B, 1C, 1D, 1E, and 1F and the numerical control device 2 may comprise two or more devices. The control parameter adjustment program may be stored in a recording medium such as a compact disc (CD)-ROM or a DVD-ROM, and the recording medium may be provided to implement each embodiment.
[0205] The configurations described in the above embodiments represent examples of the contents of the present disclosure. The configurations of the embodiments can be combined with other known techniques. The configurations of the embodiments can be combined with each other as needed. Some of the configurations of the embodiments may be omitted or modified without departing from the spirit of the present embodiment. List of reference symbols 1A, 1B, 1C, 1D, 1E, 1F control parameter adjustment device; 2 numerical control device; 3 machine tool; 10 path; Section 10a, 10b, 10c; 11, 21, 41, 51, 61 Caution area extraction unit; 12 Determination value storage unit; 13 Additional section information storage unit; 14 Caution area information storage unit; 15, 22, 31, 42 parameter adjustment unit; 16 parameter storage unit; 17, 32, 63 machining program storage unit; 18, 43 processing analysis unit; 19 Storage unit for permissible values; 23, 44 FB analysis unit; 24, 47 Storage unit for FB permissible values; 45 learning units; 46 Correspondence relationship information storage unit; 48 Calculation unit for permissible values; 52 defect information storage unit; 53 Waveform information storage unit; 54 color card storage unit; 62 Command Point Adjustment Unit; 70 processing circuits; 71 communication device; 72 processor, 73 storage
Claims
[1] Control parameter adjustment device (1A; 1B; 1C; 1D; 1F), comprising: a gentle area extraction unit (11) for extracting a gentle area from a machining path of a machine tool (3) operating in accordance with a machining program, the gentle area being a part of the machining path and being an area corresponding to a target for adjustment of a control parameter for use in machining; and a parameter adjustment unit (15; 31) for adjusting the control parameter for use in machining at the sensitive area based on an execution of the machining program at the sensitive area, wherein the careful area extraction unit (11) determines an area corresponding to the careful area on the basis of machining point data, which is data for machining at a machining point that is a reference of machining with the machine tool (3), and wherein the gentleness area extraction unit (11): receives input of defect information and of waveform information and / or a color map, wherein the waveform information indicates a waveform representing a change in a value of the machining point data, the color map representing a distribution of a value of the machining point data, the defect information indicating a defect area, which is an area where a defect has occurred on a machined surface due to machining; learns a correspondence relationship between the defect area and the waveform and / or the color map; and determines an area corresponding to the gentleness area from the waveform or the color map based on the correspondence relationship. [2] The control parameter adjusting device (1A) according to claim 1, wherein the gentle range extraction unit (11) identifies a first portion which is a portion in which a value included in the machining point data is outside a range indicated by a preset determination value, and determines, as a portion corresponding to the gentle range, a portion obtained by combining the first portion with at least one of a second portion and a third portion, the second portion being a portion at a front side of the first portion in the moving direction of the machining point, and the third portion being a portion at a rear side of the first portion in the moving direction. [3] The control parameter adjusting device (1A) according to claim 1 or 2, wherein the parameter adjusting unit (15) adjusts the control parameter for use in machining at the careful area based on the execution of the machining program using the adjusted control parameter until a value obtained in the machining point data reaches a value within a range specified by a preset allowable value. [4] The control parameter adjusting device (1C) according to any one of claims 1 to 3, wherein the parameter adjusting unit (31) performs adjustment for shortening the machining time for the control parameter for use in machining at a normal region which is a region of the machining path other than the gentle region until a value included in the machining point data reaches a value within a range specified by a preset allowable value. [5] Control parameter adjustment device (1A) according to one of claims 1 to 4, comprising: a processing analysis unit (18) for analyzing processing of the machining program using the control parameter at the cautious area, wherein the parameter adjustment unit (15) adjusts the control parameter based on the machining point data calculated based on an analysis result by the processing analysis unit (18). [6] Control parameter adjustment device (1B) according to claim 1 or 2, wherein the careful area extraction unit (21) calculates the machining point data based on a feedback value indicating a processing result of the machining program in the machine tool (3), and the parameter adjusting unit (22) adjusts the control parameter for use in machining at the gentle range based on the execution of the machining program using the adjusted control parameter until a value included in the machining point data calculated based on the feedback value reaches a numerical value within a range specified by a preset allowable value. [7] The control parameter adjusting device (1B) according to claim 6, wherein the machining point data calculated based on the machining result is a difference between a position of a command point output by a numerical control device (2) of the machine tool (3) and an actual position of the machining point. [8] Control parameter adjustment device (1D) according to claim 1 or 2, comprising: a learning unit (45) for learning a correspondence relationship between path information representing a state of a path in a portion that is the careful area on the machining path specified in the machining program, first machining point data that is machining point data corresponding to a command point output by a numerical control device (2) of the machine tool (3), and a feedback value indicating an execution result of the machining program in the machine tool (3); a feedback allowable value storage unit (47) for storing a second allowable value indicating an allowable range of a value included in the second machining point data, which is the machining point data calculated based on the feedback value; and a permissible value calculation unit (48) for calculating, on the basis of the correspondence relationship, from the second permissible value, a first permissible value indicating an allowable range of a value included in the first machining point data, wherein the parameter adjustment unit (42) adjusts the control parameter for use in machining at the careful area based on the execution of the machining program using the adjusted control parameter until a value included in the first machining point data reaches a value within a range specified by the first allowable value. [9] The control parameter adjusting device (1F) according to claim 1, further comprising a command point adjusting unit (62) for adjusting a position of a command point output by a numerical control device (2) of the machine tool (3) with respect to a range where a value included in the machining point data is outside a range specified by a preset determination value.
Citation Information
Patent Citations
Numerical control device
DE102017219841A1
Magnetic head
JP1984056619U
JP0000S5956619U