NUMERICAL CONTROL SYSTEM
20200225638 ยท 2020-07-16
Assignee
Inventors
Cpc classification
G05B2219/37258
PHYSICS
G05B19/404
PHYSICS
G05B2219/49201
PHYSICS
G05B19/4155
PHYSICS
B23Q15/12
PERFORMING OPERATIONS; TRANSPORTING
International classification
G05B19/404
PHYSICS
B23Q15/12
PERFORMING OPERATIONS; TRANSPORTING
G05B19/4155
PHYSICS
Abstract
The numerical control system includes: detecting circuitry to obtain cutting force generated in a machine tool; controlling circuitry to calculate a control amount according to a cutting condition and to control a feed drive mechanism of the machine tool; countermeasure determining circuitry to, when it is detected from the cutting force or a state of the feed drive mechanism of the machine tool that a machining defect has occurred, calculate a plurality of deviation degrees for possible causes of the machining defect, and compare the calculated deviation degrees and to thereby determine a cause of the machining defect whose occurrence has been detected; and correction-amount calculating circuitry to calculate, according to the cause of the machining defect determined by the countermeasure determining circuitry, a correction amount with respect to the control amount, and then output the correction amount to the controlling circuitry.
Claims
1. A numerical control system comprising: detecting circuitry to obtain cutting force generated in a machine tool; controlling circuitry to calculate a control amount according to a cutting condition and to control a feed drive mechanism of the machine tool; a dynamic-characteristics-information storage to store dynamic characteristics information of a tool or a workpiece, in relation to the cutting condition; a machining-process-information storage to store information representing a machining process to occur between the tool and the workpiece, in relation to the cutting condition; countermeasure determining circuitry to, when it is detected from the cutting force or a state of the feed drive mechanism of the machine tool that a machining defect has occurred, calculate a plurality of deviation degrees for possible causes of the machining defect, and compare the calculated deviation degrees and to thereby determine a cause of the machining defect whose occurrence has been detected; and correction-amount calculating circuitry to calculate, according to the cause of the machining defect determined by the countermeasure determining circuitry, a correction amount with respect to the control amount, and then output the correction amount to the controlling circuitry.
2. The numerical control system according to claim 1, wherein, when it is detected that a machining defect has occurred, the countermeasure determining circuitry obtains machining state variables corresponding to the possible causes of the machining defect on the basis of at least one among the dynamic characteristics information, the machining process information, the cutting force, the cutting condition and the feed drive mechanism state and calculates respective deviation degrees for the possible causes of the machining defect using the cutting condition amounts corresponding to the possible causes of the machining defect.
3. The numerical control system according to claim 1, wherein the countermeasure determining circuitry chooses N deviation degrees in descending order of magnitude out of the deviation degrees (N<M (N is an integer equal to one or larger, and M is the number of the deviation degrees)), and determines that N possible causes of the machining defect corresponding to the chosen N deviation degrees are each a cause of the machining defect detected.
4. The numerical control system according to claim 1, wherein the correction-amount calculating circuitry has a control law for calculating a correction amount for the cause of the machining defect.
5. The numerical control system according to claim 1, further comprising an input device capable of entering priorities for the possible causes of the machining defect, wherein the countermeasure determining circuitry modifies the deviation degrees on the basis of the received priorities.
6. The numerical control system according to claim 1, further comprising a machining history storage to store machining history, wherein the countermeasure determining circuitry modifies the deviation degrees on the basis of the machining history.
7. The numerical control system according to claim 1, wherein the plurality of the possible causes of the machining defect includes one of self-excited chatter vibration, forced chatter vibration, tool deflection, tool wear and friction in feed drive mechanism.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
EMBODIMENTS
Embodiment 1
[0035] In the description of the present invention, causes of machining defects detected are called as machining defect causes. To be concrete, the machining defect causes include chatter vibrations, tool deflections, tool wear, and friction in feed drive mechanism, which will be described below.
[0036] The chatter vibrations here are vibrations which occur during cutting machining. The chatter vibrations may lower the machining accuracy and harm the life span of the tool. The chatter vibration is classified into self-excited chatter vibrations and forced chatter vibrations. The self-excited chatter vibrations are exponentially amplified by a cutting process itself. The forced chatter vibrations are generated by vibrating the machine structure with the cutting force.
[0037] The tool deflections are phenomena in which the tool edge is bent by receiving a cutting force, lowering the machining accuracy.
[0038] The tool wear is a phenomenon that the cutting edge of the tool repeatedly touches the workpiece to be worn out. The tool wear lowers the quality of the machined surface and requires an increase of the cutting force.
[0039] The friction in feed drive mechanism is a friction at the sliding portion of the machine tool's feed drive mechanism. When the characteristics of the friction in feed drive mechanism change due to the feed drive mechanism's movements or aging, this produces a phenomenon that the relative position between the tool and the workpiece deviates from the commanded position.
[0040] The numerical control system according to Embodiment 1 detects the occurrence of a machining defect in a machine tool; when detecting the occurrence of a machining defect, the numerical control system calculates respective deviation degrees for machining defect causes. Then, the numerical control system compares the deviation degrees, to determine a machining defect cause that gives the largest deviation degree, and to add a correction to the control amount corresponding to the determined machining defect cause.
[0041]
[0042] In the machine tool 1, a sensor 3 is provided to one or both of the feed drive mechanism and the table. The sensor 3 outputs a sensor signal to the numerical control system 2. Sensors 3 may be provided for a plurality of feed drive mechanisms. Here, the feed drive mechanisms include a servo shaft and the spindle.
[0043] The sensor 3 measures a force generated in the machine tool 1, an acceleration, a speed, a position or the like. A force sensor, an acceleration sensor, a speed sensor or a displacement sensor is used for the sensor 3 according to a measurement target. The sensor 3 may be an encoder provided to a feed drive mechanism motor of the machine tool 1 or a linear scale provided to a guide mechanism of the machine tool 1. The sensor 3 may measure the angular acceleration, angular speed or angle of a rotary feed drive mechanism.
[0044] The sensor 3 may be a combination of a plurality of sensors described above. Measurement means may be provided along the directions of a plurality of feed drive mechanisms to measure the position, speed and acceleration with respect to each mechanism movement.
[0045] According to a cutting condition having been set internally, the numerical control system 2 controls feed drive mechanism states of the machine tool 1 such as the feed drive mechanism's position, speed and current, to machine a workpiece. Here, the cutting condition is a combination of conditions such as tool shape, tool material, workpiece shape, workpiece material, machining path, cutting speed for each path, feeding speed therefor, axial depth of cut therefor, and radial depth of cut therefor.
[0046] The numerical control system 2 includes a detection unit 4, a dynamic-characteristics-information storage unit 5, a machining-process-information storage unit 6, a countermeasure determination unit 7, a correction-amount calculation unit 8 and a control unit 9. The detection unit 4 receives signals from the sensors 3. The dynamic-characteristics-information storage unit 5 stores dynamic characteristics information and outputs the dynamic characteristics information to the countermeasure determination unit 7. The machining-process-information storage unit 6 stores machining process information and outputs the machining process information to the countermeasure determination unit 7.
[0047] The countermeasure determination unit 7 determines a cause of a machining defect having occurred. The correction-amount calculation unit 8 calculates a correction amount according to the machining defect cause. The control unit 9 updates a control amount on the basis of the correction amount received from the correction-amount calculation unit 8.
[0048]
[0049] The command generation unit 14 also generates the position command on the basis of a cutting condition 12 and outputs the position command to a position control unit 15. The position control unit 15 controls the position of the motor 19 on the basis of the position command and outputs a speed command to a speed control unit 16. On the basis of the speed command, the speed control unit 16 generates a torque command for controlling the speed of the motor 19 and outputs the torque command to a current control unit 18.
[0050] The friction compensation unit 17 estimates a friction force produced at the feed drive mechanism, generates a correction torque command from the estimated friction force, and outputs the correction torque command to the current control unit 18. The current control unit 18 generates a current command on the basis of the torque command and the correction torque command, to output the generated current command to the motor 19. The motor 19 is driven by the current command.
[0051] The cutting condition 12 here is a combination of conditions such as the shape of the tool 10, the material of the tool 10, the shape of the workpiece 11, the material of the workpiece 11, and machining paths, a cutting speed for each machining path, a feeding speed therefor, an axial depth ap of cut therefor and a radial depth of cut therefor. The cutting condition 12 may include a condition other than listed above. The cutting condition 12 may be a part of the conditions listed above.
[0052] The detection unit 4 will be described. The machine tool 1 outputs the feed drive mechanism state and sensor signals to the detection unit 4. To the control unit 9 and the countermeasure determination unit 7, the detection unit 4 outputs the feed drive mechanism state of the machine tool 1 and measurement signals which include information on the cutting force generated in the machine tool 1.
[0053] In a case where the sensor 3 is a force sensor, the detection unit 4 outputs time-series waveform signals, as its measurement signals. In a case where the sensor 3 is an acceleration sensor, a speed sensor or a displacement sensor, the detection unit 4 may include a cutting force observer, to output a cutting force estimated by the cutting force observer as the measurement signal. For example, the cutting force observer is expressed as Formula (1).
[Formula 1]
F.sub.cut=rK1MF.sub.fric(1)
[0054] In Formula (1), F.sub.cut is an estimated cutting force; r is a conversion coefficient for converting a force from a rotation direction to a linear motion direction; K is a torque constant; I is a current; M is a feed drive mechanism mass; a is a feed drive mechanism acceleration; and F.sub.fric is a friction force. The friction force F.sub.fric is a friction force generated at a sliding portion of the mechanical component.
[0055] The mechanical component is a bearing, for example. In Formula (1), an example of an observer for a single inertial mass is shown. In a case where the feed drive mechanism includes a plurality of inertial masses, an observer for the plurality of inertial masses may be used.
[0056] Next, the dynamic-characteristics-information storage unit 5 will be described. The dynamic-characteristics-information storage unit 5 internally stores dynamic characteristics information corresponding to the cutting condition 12 and outputs the dynamic characteristics information to the countermeasure determination unit 7. The dynamic characteristics information is information used for calculating a relative displacement amount between the tool 10 in a cutting process and the workpiece 11. The dynamic characteristics information changes, depending on the cutting condition 12 and the feed drive mechanism state that are obtained at the time of acquiring the dynamic characteristics information.
[0057] To be more specific, the dynamic characteristics information includes dynamic compliance of the system consisting of the tool 10 and the workpiece 11. The dynamic characteristics information possibly includes a combination of mass equivalent to the tool 10 and the workpiece 11, a damping factor equivalent thereto, and a spring constant equivalent thereto. The dynamic characteristics information may be obtained by an experiment in advance or calculated by a finite element analysis or the like.
[0058] Next, the machining-process-information storage unit 6 will be described. The machining-process-information storage unit 6 internally stores machining process information in association with the cutting condition 12 and outputs the information to the countermeasure determination unit 7. The machining process information is information used for calculating a cutting force generated between the tool 10 and the workpiece 11 when the tool 10 cuts the workpiece 11. The machining process information may be a measured value obtained in an experiment or a calculated value by using a finite element analysis or the like.
[0059] An example of the machining process information will be described below. The machining process information is a combination of specific cutting forces and edge forces that are used for calculating cutting forces by using Formula (2) to Formula (4). The edge forces are cutting forces when the tool cutting amount is zero.
[Formula 2]
F.sub.t=K.sub.ctA.sub.c+K.sub.et(2)
[Formula 3]
F.sub.rK.sub.crA.sub.c+K.sub.er(3)
[Formula 4]
F.sub.z=K.sub.czA.sub.c+K.sub.ez(4)
[0060] In Formula (2) to Formula (4), F.sub.t, F.sub.r and F.sub.z are a cutting force in the tool rotation direction, a cutting force in the tool radius direction, and a cutting force in the tool axial direction, respectively. K.sub.ct, K.sub.cr and K.sub.cz are a specific cutting force in the tool rotation direction, a specific cutting force in the tool radius direction, and a specific cutting force in the tool axial direction, respectively. K.sub.et, K.sub.er and K.sub.ez are an edge force in the tool rotation direction, an edge force in the tool radius direction, and an edge force in the tool axial direction, respectively. Ac is a cutting cross sectional area. The cutting cross sectional area Ac changes from moment to moment depending on the tool rotation angle.
[0061] Next, the countermeasure determination unit 7 will be described. The countermeasure determination unit 7 obtains dynamic characteristics information outputted from the dynamic-characteristics-information storage unit 5, machining process information outputted from the machining-process-information storage unit 6, cutting conditions 12 outputted from the control unit 9, measurement signals outputted from the detection unit 4, and a feed drive mechanism state outputted therefrom.
[0062] From the cutting forces and the feed drive mechanism state, the countermeasure determination unit 7 determines whether a machining defect has occurred. In order to determine the occurrence of a machining defect, the countermeasure determination unit 7 has set a vibration threshold or a trajectory error threshold in advance. The countermeasure determination unit 7 compares the threshold and the measurement signal, and determines that a machining defect has occurred when the measurement signal exceeds the threshold.
[0063] The countermeasure determination unit 7 may convert the measurement signals being time-series waveforms into components of the frequency domain; and in a case where a vibration component exceeding the threshold exists in the frequency domain, the countermeasure determination unit may determine that a machining defect has occurred. The threshold may be changed according to the type of the cutting condition 12.
[0064] The following are concrete examples. The countermeasure determination unit 7, for example, compares the vibration amplitude of the measurement signal with the vibration threshold. For another example, the countermeasure determination unit 7 may compare a trajectory error obtained from the feed drive mechanism state with the trajectory error threshold.
[0065] Also, the countermeasure determination unit 7 may calculate the actual machining path from the feed drive mechanism; and in a case where the trajectory error between the commanded machining path specified by a cutting condition and the actual machining path exceeds the trajectory error threshold, the countermeasure determination unit may determine that a machining defect has occurred. The actual machining path is a trajectory along which the tool actually moved. The commanded machining path is a trajectory specified for the tool in the cutting condition.
[0066] In a case where on the basis of the measurement signal or the feed drive mechanism state the countermeasure determination unit determines that a machining defect has occurred, the countermeasure determination unit 7 calculates respective deviation degrees for the machining defect causes. Specifically, the countermeasure determination unit 7 calculates a deviation degree D1 for self-excited-chatter-vibration, a deviation degree D2 for forced chatter vibration, a deviation degree D3 for tool deflection, a deviation degree D4 for tool wear, and a deviation degree D5 for friction in feed drive mechanism.
[0067] It is suitable that the deviation degree expresses a difference between a reference machining state and a machining state at the time when detecting a machining defect and expresses the degree of deviation from the reference machining state. Formula (5) is an example of the deviation degree.
[0068] Indexes n correspond to individual machining defect causes; n=1 indicates self-excited chatter vibration; n=2, forced chatter vibration; n=3, tool deflection; n=4, tool wear; and n=5, friction in feed drive mechanism.
[0069] Machining state variables Xn represent different kind of quantities corresponding to the machining defect causes. The machining state variables Xn are a spindle rotation speed for self-excited chatter vibration, a spindle rotation speed for forced chatter vibration, a radial depth of cut for tool deflection, a feeding speed for tool wear, and a friction correction amount for friction in feed drive mechanism. Note, however, machining state variables corresponding to the respective machining defect causes are not limited to those listed above.
[0070] An is a machining state variable reference which represents a reference value of machining state variable for performing stable machining without a machining defect. Bn is a machining state variable limit which represents a machining state variable at which it is impossible to realize a machining operation specified in the cutting condition. Machining state variable references An and machining state variable limits Bn represent different kinds of quantities corresponding to the machining defect-cause indexes n. The machining state variable references An and the machining state variable limits Bn each are a spindle rotation speed for self-excited chatter vibration, a spindle rotation speed for forced chatter vibration, a radial depth of cut for tool deflection, a feeding speed for tool wear, and a friction correction amount for friction in feed drive mechanism. Note that machining state variables corresponding to machining defect causes are not limited to those listed above.
[0071] The countermeasure determination unit 7 chooses the largest deviation degree from among the self-excited-chatter-vibration deviation degree D1 to the friction deviation degree D5 in feed drive mechanism and chooses a machining defect cause corresponding to the chosen largest deviation degree, thereby determining the machining defect cause as a countermeasure signal.
[0072] Next, the correction-amount calculation unit 8 will be described. The correction-amount calculation unit 8 receives the countermeasure signal outputted from the countermeasure determination unit 7, to calculate a correction amount according to the machining defect cause determined by the countermeasure determination unit 7, and then outputs the correction amount to the control unit 9. The correction amount is an amount for correcting the control amount calculated by the control unit 9. The control amount is a state amount of the machine tool 1 that is controlled by the control unit 9 to perform machining on the basis of the cutting condition.
[0073] For example, in a case where the countermeasure determination unit 7 outputs a countermeasure signal indicating that a machining defect is caused by self-excited chatter vibration or forced chatter vibration, a correction amount for the spindle rotation speed is calculated.
[0074] Because self-excited chatter vibration and forced chatter vibration are different machining defect defects, the correction amount of the spindle rotation speed for self-excited chatter vibration does not necessarily agree with that for forced chatter vibration.
[0075] In a case where the countermeasure determination unit 7 outputs a countermeasure signal indicating that a machining defect is caused by tool deflection, the correction-amount calculation unit 8 calculates a correction amount for the radial depth of cut.
[0076] In a case where the countermeasure determination unit 7 outputs a countermeasure signal indicating that a machining defect is caused by tool wear, the correction-amount calculation unit 8 calculates a correction amount for the feeding speed being a control amount, or generates a tool replacement command. In a case where the countermeasure determination unit 7 outputs a countermeasure signal indicating that a machining defect is caused by friction in feed drive mechanism, the correction-amount calculation unit 8 calculates a correction amount for the correction torque command.
[0077] Next, the control unit 9 will be described. The control unit 9 obtains the feed drive mechanism state from the detection unit 4 and controls, according to a cutting condition set in advance within the control unit 9, the operation of the motor 19 provided to the feed drive mechanism of the machine tool 1. When a correction amount is received from the correction-amount calculation unit 8, the control unit 9 corrects the control amount.
[0078] Also, the control unit 9 outputs the internally-set cutting condition 12 to the countermeasure determination unit 7.
[0079]
[0080] In step S11, on the basis of the measurement signal and feed drive mechanism state which are obtained from the detection unit 4 and the cutting condition 12, the countermeasure determination unit 7 determines whether or not a machining defect has occurred.
[0081] In a case where it is determined that a machining defect has occurred (determined as YES in S11), the countermeasure determination unit 7 proceeds to step S12. In a case where it is determined that a machining defect has not occurred (determined as NO in S11), the countermeasure determination unit 7 performs step S11 again.
[0082] In step S12, the countermeasure determination unit 7 obtains the measurement signal, the feed drive mechanism state, and the cutting condition 12 from the control unit 9. Also, the countermeasure determination unit 7 obtains dynamic characteristics information from the dynamic-characteristics-information storage unit 5. Furthermore, the countermeasure determination unit 7 obtains machining process information from the machining-process-information storage unit 6.
[0083] In steps S13 and steps S14, the countermeasure determination unit 7 calculates deviation degrees for all the machining defect causes. Note here that step S13-1 to step S13-5 are collectively called as steps S13, and step S14-1 to step S14-5 are collectively called as steps S14.
[0084] The numerical control system 2 according to Embodiment 1 calculates all the deviation degrees in series. All the deviation degrees may be calculated in parallel. Also, the order of calculating the deviation degrees is not limited to the order shown in
[0085] In step S13-1, the countermeasure determination unit 7 uses the measurement signal, the feed drive mechanism state, the cutting condition 12, the dynamic characteristics information, and the machining process information to calculate a stability boundary of self-excited chatter vibration. Next, description will be made about a stability boundary which is known by the technical document below.
[0086] The vertical axis in
[0087] On the other hand, self-excited chatter vibration occurs within the unstable area AUP. In other words, if the axial depth ap of cut exceeds the axial depth limit ap.sub.lim of cut, self-excited chatter vibration occurs.
[0088] The axial depth limit ap.sub.lim of cut can be calculated by using a publicly-known method disclosed in Non-Patent Document 1. An example method for calculating the axial depth limit ap.sub.lim of cut is shown below. According to Non-Patent Document 1, the axial depth limit ap.sub.lim of cut can be calculated by using Formula (6), Formula (7) and Formula (8).
[0089] In Formula (8), .sub.c is a chatter vibration frequency and N is the number of tool edges. .sub.R and .sub.I included in Formula (6) and Formula (7) are the real part and the imaginary part of , respectively. can be obtained by solving the equation of Formula (9).
[Formula 9]
det[[I]+[A.sub.0][G(i.sub.c)]]=0*(9)
[0090] In Formula (9), [I] is a unit matrix and i is an imaginary unit. [A.sub.0] is a cutting coefficient matrix. The cutting coefficient matrix [A.sub.0] is determined from the radial depth of cut, the tool rotation angle and the machining process information. The radial depth of cut, the tool rotation angle and the machining process information can be calculated from the cutting condition 12.
[0091] [G(i.sub.c)] is a dynamic characteristics matrix at a chatter vibration frequency .sub.e, which is the dynamic compliance obtained from its dynamic characteristics information and is expressed in a transfer function. The dynamic characteristics matrix [G(i.sub.c)] may be calculated as a transfer function of a secondary vibration system by using an equivalent mass, equivalent damping factor, and equivalent spring constant included in the dynamic characteristics information.
[0092] The axial depth limit ap.sub.lim of cut varies unevenly as the spindle rotation speed S changes; upwardly convex portions are called as stable pockets sp. In the stable pockets sp, the spindle rotation speed S is stable compared with that in areas outside the stable pockets.
[0093] Each of
[0094] A method for calculating a deviation degree D.sub.1 for self-excited chatter vibration will be described using
[0095] When the spindle rotation speed obtained in step S12 is S.sub.2 shown in
[0096] Next, description will be made about a method for calculating a deviation degree in a case where the stability limit and the spindle rotation speed at the time when a machining defect is detected are in a state shown in
[0097] In such a case, as shown in
[0098] That is, in a situation shown in
[0099] In a case of
[0100] In step S13-2, the countermeasure determination unit 7 calculates a force-displacement response of the machine structure by using the measurement signal and the dynamic characteristics information. To be more specific, the countermeasure determination unit 7 calculates displacements in the machine structure in the frequency domain from the product of the cutting force obtained from the measurement signal and the dynamic compliance obtained from the dynamic characteristics information, to calculate displacements in the machine structure in the frequency domain.
[0101] In step S14-2, the countermeasure determination unit 7 calculates a forced-chatter-vibration deviation degree D.sub.2 on the basis of Formula (5). In Formula (5), the countermeasure determination unit 7 sets the machine structure displacement (calculated in step S13-2) at the time when detecting a machining defect into the machining state variable X.sub.2 of forced chatter vibration at the time when detecting a machining defect. Here, the machining state variable reference A.sub.2 is zero and the machining state variable limit B.sub.2 is the displacement limit of the machine structure. The displacement limit of the machine structure is a limitation value up to which displacement of the machine structure is allowed.
[0102] In a case where the machining state variable X.sub.2 of forced chatter vibration at the time when defecting a machining defect equals the machining state variable reference A.sub.2 of forced chatter vibration, the forced-chatter-vibration deviation degree D.sub.2 becomes zero. In a case where the machining state variable X.sub.2 of forced chatter vibration at the time when detecting a machining defect equals the machining state variable limit B.sub.2, the forced-chatter-vibration deviation degree D.sub.2 becomes one. The larger the difference between the machining state variable X.sub.2 of forced chatter vibration at the time when detecting a machining defect and the machining state variable reference A.sub.2 is, the larger the forced-chatter-vibration deviation degree D.sub.2 becomes. The larger the difference between the machining state variable limit B.sub.2 and the machining state variable reference A.sub.2 is, the smaller the forced-chatter-vibration deviation degree D.sub.2 becomes. The forced-chatter-vibration deviation degree D.sub.2 is calculated using, as a reference, the difference between the machining state variable reference A.sub.2 and the machining state variable limit B.sub.2, so as to indicate an amount of the machine structure displacement at the time when detecting a machining defect.
[0103] In step S13-3, from the cutting condition 12, the feed drive mechanism state, the dynamic characteristics information and the machining process information, the countermeasure determination unit 7 calculates a relationship of a radial depth of cut and a tool deflection amount. The countermeasure determination unit 7 calculates tool deflection amounts at moments during one rotation of the tool 10 by using Formula (10) and obtains the maximum tool deflection amount during the one rotation of the tool 10 as a tool deflection amount corresponding to the radial depth of cut. Formula (10) is a calculation formula for the tool deflection amount .
[0104] In Formula (10), is a tool deflection amount; F.sub.r is a cutting force in the tool radius direction; l is a tool projection length; E is the Young's modulus of the tool; and I.sub.t is the secondary moment of the tool's cross section. The cutting force in the tool radius direction F.sub.r can be calculated from Formula (3), using the machining process information and the cutting condition 12. While the tool makes one rotation, the cutting force in the tool radius direction F.sub.r changes according to the cutting cross sectional area A.sub.c.
[0105] The tool projection length l and the Young's modulus E of the tool can be obtained from the cutting condition 12. The secondary moment I.sub.t of the tool's cross section can be calculated from the tool shape. The secondary moment I.sub.t of the tool's cross section may be calculated from Formula (11) by assuming the tool's cross section to be a circle with its diameter d. Also, the secondary moment I.sub.t of the tool's cross section may be calculated by performing finite element analysis on the shape of the tool 10.
[0106] Without using Formula (11) in step S13-3, the countermeasure determination unit 7 may calculate dynamic deflections of the tool, using a motion equation of a cantilever under an assumption that the tool 10 is a continuum. In this case, the countermeasure determination unit 7 adopts, for the tool deflection amount , a solution having the maximum value among those of the solutions obtained from the motion equation for a period during which the tool 10 rotates a predetermined number of times.
[0107] In step S14-3, the countermeasure determination unit 7 calculates a tool-deflection deviation degree D.sub.3 on the basis of Formula (5). When calculating a tool-deflection deviation degree D.sub.3, the countermeasure determination unit 7 sets in Formula (5), the tool deflection amount in the radial depth of cut at the time when detecting a machining defect, to the machining state variable X.sub.3 of the tool deflection at the time when detecting a machining defect; also, for the calculation, the countermeasure determination unit 7 sets in Formula (5), zero (indicating a state of no tool deflection) and a tool-deflection amount limit .sub.lim, to the machining state variable reference A.sub.3 and the machining state variable limit B.sub.3, respectively. Here, the tool-deflection amount limit .sub.lim is the maximum tool deflection amount with which the workpiece 11 can be machined into dimensions within desired accuracies.
[0108] When calculating a tool-deflection deviation degree D.sub.3 by the calculation method described above, the tool-deflection deviation degree D.sub.3 has following characteristics. In a case where the machining state variable X.sub.3 of tool deflection at the time when defecting a machining defect equals the machining state variable reference A.sub.3, the tool-deflection deviation degree D.sub.3 becomes zero. In a case where the machining state variable X.sub.3 of tool deflection at the time when detecting a machining defect equals the machining state variable limit B.sub.3 of tool deflection, the tool-deflection deviation degree D.sub.3 becomes one.
[0109] The larger the difference between the machining state variable X.sub.3 of tool deflection at the time when detecting a machining defect and the machining state variable reference A.sub.3 of tool deflection is, the larger the tool-deflection deviation degree D.sub.3 becomes. The larger the difference between the machining state variable limit B.sub.3 of tool deflection and the machining state variable reference A.sub.3 of tool deflection is, the smaller the tool-deflection deviation degree D.sub.3 becomes.
[0110] In other words, the tool-deflection deviation degree D.sub.3 expresses the difference between the machining state variable X.sub.3 of tool deflection at the time when detecting a machining defect and the machining state variable reference A.sub.3 of tool deflection, with reference to the difference between the machining state variable limit B.sub.3 of tool deflection and the machining state variable reference A.sub.3 of tool deflection.
[0111] In step S13-4, the countermeasure determination unit 7 obtains the specific cutting force K.sub.ct in the tool rotation direction at the time when detecting a machining defect or the edge force K.sub.et in the tool rotation direction at the time when detecting a machining defect, from the machining process information. For another example to obtain K.sub.ct and K.sub.et, the countermeasure determination unit 7 may store in advance a specific cutting force K.sub.ct in the tool rotation direction and an edge force K.sub.et in the tool rotation direction, the forces being in a condition of no tool wear, and then use Formula (12) and Formula (13) to calculate the specific cutting force K.sub.ct in the tool rotation direction and the edge force K.sub.et in the tool rotation direction according to the tool usage time.
[Formula 12]
K.sub.ct=t.sup.nK.sub.ct0(12)
[Formula 13]
K.sub.et=t.sup.nK.sub.et0(13)
[0112] In Formula (12) and Formula (13), and are weighting coefficients; t is a tool usage time; n is order representing a wear progression level; K.sub.ct0 is a specific cutting force in the tool rotation direction in a state where the tool does not wear; and K.sub.et0 is an edge force in the tool rotation direction in a state where the tool does not wear. The countermeasure determination unit 7 obtains or calculates specific cutting forces and edge forces in the tool radius direction and the tool axial direction by using the same method as described above.
[0113] In step S14-4, the countermeasure determination unit 7 calculates a tool-wear deviation degree D.sub.4 on the basis of Formula (5). To be specific, the countermeasure determination unit 7 perform calculation of Formula (5) with respect to each of the specific cutting force K.sub.ct in the tool rotation direction, the specific cutting force K.sub.cr in the tool radius direction and the specific cutting force K.sub.cz in the tool axial direction, to adopt the largest degree out of those in all directions for the tool-wear deviation degree D4.
[0114] Instead, the countermeasure determination unit 7 may perform calculation of Formula (5) with respect to each of the edge force K.sub.et in the tool rotation direction, the edge force K.sub.er in the tool radius direction and the edge force K.sub.ez in the tool axial direction, to adopt the largest degree out of those in all directions as the tool-wear deviation degree D.sub.4. For example, in the case where the specific cutting force K.sub.ct in the tool rotation direction is the largest specific cutting force among those in all directions, in Formula (5) the countermeasure determination unit 7 sets the specific cutting force K.sub.ct in the tool rotation direction, the specific cutting force K.sub.ct0 in the tool rotation direction in a state without tool wear, and the specific cutting force limit K.sub.ct in the tool rotation direction, into X.sub.4, the machining state variable reference A.sub.4 of tool wear, and the machining state variable limit B.sub.4 of tool wear, respectively, to calculate the tool-wear deviation degree D.sub.4.
[0115] For another example, in a case where the edge force K.sub.et in the tool rotation direction is the largest edge force among those in all directions, in Formula (5) the countermeasure determination unit 7 sets the edge force K.sub.et in the tool rotation direction, the edge force K.sub.et in the tool rotation direction in a state without tool wear, and the edge force limit K.sub.et in the tool rotation direction, into the machining state variable X.sub.4 of tool wear at the time when detecting a machining defect, the machining state variable reference A.sub.4 of tool wear, and the machining state variable limit B.sub.4 of tool wear, respectively, to calculate the tool-wear deviation degree D.sub.4.
[0116] Because the countermeasure determination unit 7 calculates the tool-wear deviation degree D.sub.4 as described above, in a case where the machining state variable X.sub.4 of tool wear at the time when detecting a machining defect equals the machining state variable reference A.sub.4 of tool wear, the tool-wear deviation degree D.sub.4 becomes zero. Also, in a case where the machining state variable X.sub.4 of tool wear at the time when detecting a machining defect equals the machining state variable limit B.sub.4, the tool-wear deviation degree D.sub.4 becomes one.
[0117] Also, the larger the difference between the machining state variable X.sub.4 of tool wear at the time when detecting a machining defect and the machining state variable reference A.sub.4 of tool wear is, the larger the tool-wear deviation degree D.sub.4 becomes. Also, the larger the difference between the machining state variable limit B.sub.4 of tool wear and the machining state variable reference A.sub.4 of tool wear is, the larger the tool-wear deviation degree D.sub.4 becomes. In step S13-5, the countermeasure determination unit 7 calculates a machining position of the machine tool 1 from the feed drive mechanism state.
[0118] In step S14-5, the countermeasure determination unit 7 calculates a friction deviation degree D.sub.5 in feed drive mechanism on the basis of Formula (5). In Formula (5), the countermeasure determination unit 7 sets the machining position at the time when detecting a machining defect (calculated in step S13-5), the machining position specified in the cutting condition, and the machining position limit, into the machining state variable X.sub.5 of the friction in feed drive mechanism at the time when detecting a machining defect, the machining state variable reference A.sub.5 of the friction in feed drive mechanism, and the machining state variable limit B.sub.5 of the friction in feed drive mechanism, respectively. Here, the machining position limit is a machining position at which the trajectory error becomes its maximum.
[0119] Because the friction deviation degree D.sub.5 in feed drive mechanism is calculated as described above, in a case where the machining state variable X.sub.5 of the friction in feed drive mechanism at the time when detecting a machining defect equals the machining state variable reference A.sub.5 of the friction in feed drive mechanism, the friction deviation degree D.sub.5 in feed drive mechanism becomes zero. Also, in a case where the machining state variable X.sub.5 of the friction in feed drive mechanism at the time when detecting a machining defect equals the machining state variable limit B.sub.5 of the friction in feed drive mechanism, the friction deviation degree D.sub.5 in feed drive mechanism becomes one.
[0120] Also, the larger the difference between the machining state variable X.sub.5 of the friction in feed drive mechanism at the time when detecting a machining defect and the machining state variable reference A.sub.5 of the friction in feed drive mechanism is, the larger the friction deviation degree D.sub.5 in feed drive mechanism becomes. Further, the larger the difference between the machining state variable limit B.sub.5 of the friction in feed drive mechanism and the machining state variable reference A.sub.5 of the friction in feed drive mechanism is, the larger the friction deviation degree D.sub.5 in feed drive mechanism becomes.
[0121] In step S15, the countermeasure determination unit 7 compares the degrees from the self-excited-chatter-vibration deviation degree D.sub.1 to the friction deviation degree D5 in feed drive mechanism, which have been calculated in step S14-1 to step S14-5, and chooses the largest deviation degree thereamong. The countermeasure determination unit 7 outputs a machining defect cause corresponding to the largest deviation degree, as a countermeasure signal, to the correction-amount calculation unit 8.
[0122] In steps S16, the correction-amount calculation unit 8 calculates a correction amount for avoiding the machining defect.
[0123] In the case where the countermeasure determination unit 7 outputs self-excited chatter vibration as the machining defect cause, the correction-amount calculation unit 8 calculates in step S16-1 a correction amount obtained by multiplying the spindle rotation speed S.sub.2 by a first coefficient. In step S18-1, the control unit 9 updates the spindle rotation speed according to the correction amount calculated in step S16-1.
[0124] In the case where the countermeasure determination unit 7 outputs forced chatter vibration as the machining defect cause, the correction-amount calculation unit 8 calculates in step S16-2 a correction amount obtained by multiplying the spindle rotation speed S.sub.2 by a second coefficient. In step S18-2, the control unit 9 updates the spindle rotation speed according to the correction amount calculated in step S16-2.
[0125] In the case where the countermeasure determination unit 7 outputs tool deflection, the correction-amount calculation unit 8 calculates in step S16-3 a correction amount obtained by multiplying the radial depth of cut at the time when detecting a machining defect by a third coefficient. In step S18-3, the control unit 9 updates the radial depth of cut according to the correction amount calculated in step S16-3.
[0126] In the case where the countermeasure determination unit 7 outputs tool wear, the correction-amount calculation unit 8 determines in step S16-4 whether the tool-wear deviation degree D.sub.4 is smaller than one. In the case when the tool-wear deviation degree D.sub.4 is one or larger, the machining defect cause cannot be removed even if the feeding speed is changed. Therefore, the correction-amount calculation unit 8 outputs at step S17-2 a tool replacement command instead of the correction amount.
[0127] If the tool-wear deviation degree D.sub.4 is smaller than one in step S16-4, the correction-amount calculation unit 8 calculates in step S17-1 a correction amount obtained by multiplying the feeding speed at the time when detecting a machining defect by a fourth coefficient. In step S18-4, the control unit 9 changes the feeding speed according to the correction amount calculated in step S17-1.
[0128] In the case where the countermeasure determination unit 7 outputs friction in feed drive mechanism, the correction-amount calculation unit 8 calculates in step S16-5 a correction amount obtained by multiplying the correction torque command at the time when a machining defect is detected by a fifth coefficient. In step S18-5, the control unit 9 changes the correction torque command according to the correction amount calculated in step S16-5.
[0129] The first coefficient to the fifth coefficient used by the correction-amount calculation unit for calculating correction amounts can be determined by conducting machining experiments in advance. It is also possible to use a first coefficient to a fifth coefficient that are calculated from a cutting condition where no machining defect occurs.
[0130] Step S18-1 through step S18-5 are collectively referred to as steps S18. As so far described, in steps S18, the control unit 9 changes a control amount having been set therein, using the correction amount received from the correction-amount calculation unit 8. When the tool replacement command is outputted as a correction amount in step S17-2, a tool replacement instruction may be displayed for the worker.
[0131] As described above, in the numerical control system 2 according to Embodiment 1, the countermeasure determination unit 7 calculates the deviation degree D.sub.n (n is an integer of 1 to 5) when it determines that a machining defect has occurred. The cutting conditions, the feed drive mechanism state, the dynamic characteristics information, the machining process information and the feed drive mechanism are used for calculating the deviation degrees. Then, on the basis of the calculated deviation degrees, the cause of a machining defect having occurred is determined and the correction amount is calculated with respect to the determined machining defect cause.
[0132] Note, however, that the calculation formula used for the deviation degrees is not limited to Formula (5). For example, Formula (14) or Formula (15) may be used.
[0133] The absolute value of the difference between the machining state variable X.sub.n at the time when detecting a machining defect and the machining state variable reference A.sub.n indicates how far the machining state variable X.sub.n at the time when detecting a machining defect deviates from the machining state variable reference A.sub.n being a reference value. Therefore, it is suitable that a formula for calculating the deviation degrees gives a larger deviation degree as the absolute value of the difference between the machining state variable X.sub.n at the time when detecting a machining defect and the machining state variable reference A.sub.n becomes larger. It is also suitable that, in the characteristics of the calculation formula of the deviation degree, a larger difference between the machining state variable limit B.sub.n and the machining state variable reference A.sub.n gives a smaller deviation degree D.sub.n.
[0134] In Embodiment 1, the machining defect cause is determined by choosing the largest of all the deviation degrees calculated. A deviation calculation formula such as Formula (16) may be used so that the smallest D.sub.n of all the deviation degrees will be chosen to determine the machining defect cause.
[0135] In a case where a machining defect occurs, the numerical control system 2 according to Embodiment 1 can determine, more accurately than conventional numerical control systems, which cause is the main cause or which type of machining defect has occurred, out of the five types of machining defect including self-excited chatter vibration, forced chatter vibration, tool deflection, tool wear and friction in feed drive mechanism.
[0136] Also, because the numerical control system 2 according to Embodiment 1 is able to identify which machining defect has occurred, the kind of control for correction can be changed according to the kind of the machining defect cause. This makes it possible to avoid or reduce machining defects with respect to a plurality of kinds of machining defect cause.
[0137] The deviation degrees according to Embodiment 1 have the following characteristics in common. With respect to all of the deviation degree D.sub.n from n=1 to n=5, the deviation degree D.sub.n becomes zero in a case where the machining state variable X.sub.n at the time when detecting a machining defect equals the machining state variable reference A.sub.n, and the deviation degree D.sub.n becomes one in a case where the machining state variable X.sub.n at the time when detecting a machining defect equals the machining state variable limit B.sub.n.
[0138] Thus, using the difference between the machining state variable limit B.sub.n and the machining state variable reference A.sub.n as a reference scale, the deviation degree D.sub.n serves as a measurement value indicating quantitatively the deviation degree of the machining state variable X.sub.n at the time when detecting a machining defect from the machining state variable reference A.sub.n.
[0139] By calculating the deviation degrees D.sub.n as described above, the difference between a machining state variable at the time when detecting a kind of machining defect and the machining state variable reference A.sub.n corresponding to the normal and possible operation can be compared quantitatively with the differences made in other kinds of machining defect. This makes it possible to determine more accurately which machining defect has occurred.
[0140] In the numerical control system 2 according to Embodiment 1, the countermeasure determination unit 7 chooses a machining defect cause from among self-excited chatter vibration, forced chatter vibration, tool deflection, tool wear and friction in feed drive mechanism. However, machining defect causes are not limited to these five kinds. Also, machining defect causes are not fixed to the five kinds, and the causes may be four or less, or six or more.
[0141] In the present embodiment 1, the machining defect cause is chosen based on the largest deviation degree; however, a plurality of machining defect causes may be chosen. For example, in addition to the machining defect cause corresponding to the largest deviation degree, the countermeasure determination unit 7 may also choose a machining defect cause corresponding to the second largest deviation degree, to make corrections for the plurality of machining defect causes.
[0142] The numerical control system 2 according to Embodiment 1 is configured to internally store the dynamic characteristics information and the machining process information; however, the dynamic characteristics information and the machining process information which are to be inputted to the countermeasure determination unit 7 may be stored outside the numerical control system 2. For example, the dynamic characteristics information, the machining process information, and the cutting condition may be stored in a database outside the numerical control system 2 so that the countermeasure determination unit 7 will obtain, via a communication means such as a telecommunication network, the dynamic characteristics information, the machining process information, and the cutting condition.
[0143] In Embodiment 1, description has been made about the numerical control system 2 that controls the machine tool 1 for cut machining; however, the application of the present invention is not limited to machine tools for cutting. The present invention can be applied to other kinds of machining such as cutting off, drilling, grinding, polishing, rolling, forging and bending. That is, in other kinds of machining, it is also possible to obtain a machining state variable and a deviation degree for each of their machining defect causes and compare the deviation amounts, to determine a machining defect cause.
Embodiment 2
[0144] In Embodiment 1, it has been described that after choosing a machining defect cause, the correction amount is calculated by multiplying the control amount corresponding to the machining defect cause by a coefficient. In the present embodiment 2, description will be made about a configuration in which the correction-amount calculation unit switches rules for changing the control according to the determination results on a machining defect cause.
[0145]
[0146] In the same way as the countermeasure determination unit 7 according to Embodiment 1 does, a countermeasure determination unit 7a receives the feed drive mechanism state, the dynamic characteristics information and the machining process information to perform internal processing in the same way as the countermeasure determination unit 7 in Embodiment 1 does. The countermeasure determination unit 7a outputs a machining defect cause that is chosen internally by the countermeasure determination unit 7a, as a countermeasure signal, to a correction-amount calculation unit 8a, which will be described later.
[0147] In addition to the countermeasure signal, the countermeasure determination unit 7a outputs the dynamic characteristics information, the machining process information, the cutting condition, a feed drive mechanism state signal and the measurement signal to the correction-amount calculation unit 8a. The correction-amount calculation unit 8a receives the countermeasure signal from the countermeasure determination unit 7a, and then chooses a control rule according to the kind of the machining defect cause chosen by the countermeasure determination unit 7a, to output to the control unit 9 a correction amount calculated according to the chosen control rule.
[0148]
[0149] The signal acquisition unit 20 receives the countermeasure signal and determines the machining defect cause chosen by the countermeasure determination unit 7a. In a case where it is determined that self-excited chatter vibration is the machining defect cause, the signal acquisition unit 20 outputs a countermeasure signal to the self-excited-chatter-vibration control unit 21.
[0150] In a case where it is determined that forced chatter vibration is the machining defect cause, the signal acquisition unit 20 outputs a countermeasure signal to the forced-chatter-vibration control unit 22. In a case where it is determined that tool deflection is the machining defect cause, the signal acquisition unit 20 outputs a countermeasure signal to the tool-deflection control unit 23.
[0151] In a case where it is determined that tool wear is the machining defect cause, the signal acquisition unit 20 outputs a countermeasure signal to the tool-wear control unit 24. In a case where it is determined that friction in feed drive mechanism is the machining defect cause, the signal acquisition unit 20 outputs a countermeasure signal to the friction control unit 25.
[0152] The self-excited-chatter-vibration control unit 21 uses the measurement signal, feed drive mechanism state signal, cutting condition, dynamic characteristics information and machining process information, to calculate a spindle rotation speed S and an axial depth ap of cut for suppressing self-excited chatter vibration.
[0153] To be more specific, the self-excited-chatter-vibration control unit 21 calculates a stability boundary of self-excited chatter vibration by using the method described in step S13-1 of Embodiment 1 and chooses a stable pocket sp which is the closest to the spindle rotation speed at the time when detecting a machining defect. Then, in the chosen stable pocket, the self-excited-chatter-vibration control unit 21 calculates, for correction amounts, the maximum axial depth ap of cut and the spindle rotation speed S corresponding to the calculated maximum axial depth ap of cut.
[0154] The forced-chatter-vibration control unit 22 uses the measurement signal, feed drive mechanism state signal, cutting condition, dynamic characteristics information and machining process information, to calculate a spindle rotation speed S for suppressing forced chatter vibration. To be more specific, the forced-chatter-vibration control unit calculates a machine-structure vibration displacement |[G(i)].Math.[F(i)]| from a dynamic characteristics matrix [G(i)] and a cutting vector [F(i)] at an arbitrary frequency .
[0155] Then, the forced-chatter-vibration control unit 22 chooses a frequency W6 at which the vibration displacement becomes smaller than the displacement limit, calculates the spindle rotation speed S.sub.6 by using Formula (17), and outputs the calculated spindle rotation speed S.sub.6 as the correction amount.
[0156] The tool-deflection control unit 23 uses the cutting condition, feed drive mechanism state signal, dynamic characteristics information and machining process information, to calculate a spindle rotation speed S and a radial depth ae of cut for suppressing tool deflection. To be more specific, by using the method described in step S13-3 of Embodiment 1, the tool-deflection control unit 23 calculates tool deflections each corresponding to a combination of a spindle rotation speed Sand a radial depth ae of cut. Then, for the spindle rotation speed S.sub.7 and the radial depth ae.sub.1 of cut, the tool-deflection control unit 23 chooses combinations of the spindle rotation speed Sand the radial depth ae of cut, the combinations each giving a tool deflection amount smaller than the tool-deflection amount limit.
[0157] From among the chosen combinations, the tool-deflection control unit 23 finds out a combination which gives a maximum material removal rate MMR obtained from Formula (18), to output the combination as the correction amounts.
[Formula 18]
MMR=fNS.sub.7apae.sub.1(18)
[0158] In the formula above, f is a feed amount per one cutting edge, N is the number of tool edges, S.sub.7 is a spindle rotation speed, ap is an axial depth of cut, and ae.sub.1 is a radial depth of cut. Note that the combination of the spindle rotation speed S and the radial depth ae of cut that give the maximum material removal rate may be searched by numerical simulations.
[0159] The tool-wear control unit 24 uses the machining process information and a tool-wear control model being internally preset, to calculate a feeding speed for suppressing a machining defect caused by tool wear.
[0160] The tool-wear control unit 24 uses the tool-wear control model shown in
[0161] The friction control unit 25 includes friction models corresponding to acceleration/deceleration positions of the feed drive mechanism and turning-around positions thereof. The friction control unit 25 uses the feed drive mechanism state signal to choose a friction model corresponding to the current feed drive mechanism position and output it as a correction amount.
[0162] The correction-amount output unit 26 outputs, to the control unit, the correction amount calculated by one unit out of the self-excited-chatter-vibration control unit 21, the forced-chatter-vibration control unit 22, the tool-deflection control unit 23, the tool-wear control unit 24 and the friction control unit 25.
[0163] As so far described, in the present embodiment 2, the correction-amount calculation unit 8a switches control rules according to the machining defect cause determined by the countermeasure determination unit 7a. That is, instead of directly choosing a correction amount according to the machining defect cause, the numerical control system 2a chooses a control rule, to thereby calculate a correction amount according to the machining state variable.
[0164] Thus, in a case where a machining defect has occurred, the numerical control system 2a according to the present embodiment 2 chooses one control rule out of those corresponding to self-excited chatter vibration, forced chatter vibration, tool deflection, tool wear, and friction in feed drive mechanism, to thereby reduce machining defects with high accuracy.
Embodiment 3
[0165] In the description of Embodiment 1 and 2, a machining defect cause is determined on the basis of deviation degrees. In the present embodiment 3, description will be made about a configuration in which selection of a machining defect cause is corrected on the basis of the worker's input in addition to deviation degrees.
[0166]
[0167] The numerical control system 2b includes the detection unit 4, the dynamic-characteristics-information storage unit 5, the machining-process-information storage unit 6, a countermeasure determination unit 7b, the correction-amount calculation unit 8, the control unit 9 and an input unit 27. The machine tool 1 includes the sensor 3 and the tool 10, and the workpiece 11 is disposed on the tool.
[0168] The input unit 27 receives the worker's inputs, to output choice modification coefficients Q.sub.1 to Q.sub.5 to the countermeasure determination unit 7b, which will be described later. The worker inputs into the input unit 27, priority degrees P.sub.1 to P.sub.5 for self-excited chatter vibration, forced chatter vibration, tool deflection, tool wear and friction in feed drive mechanism, respectively.
[0169] According to the priority degrees P.sub.1 to P.sub.5 inputted by the worker, the input unit 27 outputs the choice modification coefficients Q.sub.1 to Q.sub.5 corresponding to self-excited chatter vibration, forced chatter vibration, tool deflection, tool wear and friction in feed drive mechanism, respectively. For example, the worker inputs an integer of one or larger as the priority degrees P.sub.1 to P.sub.5; the choice modification coefficients Q.sub.1 to Q.sub.5 may be determined by, for example, using Formula (19). In Formula (19), n=1 to 5.
[0170] Note, however, that the setting range of the priority degrees P.sub.1 to P.sub.5 is not limited to the above. Furthermore, the priority degrees P.sub.1 to P.sub.5 inputted directly by the worker may be used as the choice modification coefficients Q.sub.1 to Q.sub.5.
[0171] The countermeasure determination unit 7b receives the dynamic characteristics information outputted from the dynamic-characteristics-information storage unit 5, the machining process information outputted from the machining-process-information storage unit 6, and the cutting condition outputted from the control unit 9. Also, the countermeasure determination unit 7b receives the measurement signal from the detection unit 4, the feed drive mechanism state signal outputted therefrom, and the choice modification coefficients Q.sub.1 to Q.sub.5 outputted from the input unit 27. In a case where it is determined from the measurement signal or the feed drive mechanism state that a machining defect has occurred, the countermeasure determination unit 7b chooses a machining defect cause and outputs the chosen result, as the countermeasure signal, to the correction-amount calculation unit 8.
[0172] In addition to the countermeasure signal, the countermeasure determination unit 7b outputs the dynamic characteristics information, the machining process information, the cutting condition, the feed drive mechanism state signal and the measurement signal. In the process of choosing a machining defect cause, the countermeasure determination unit 7b uses the same method as used by the countermeasure determination unit 7a for calculating the deviation degree D.sub.n, to calculate deviation degrees L.sub.1 to L.sub.5 that are degrees before priority adjustment and which correspond to machining defect causes. Then, the countermeasure determination unit multiplies the pre-priority-adjustment deviation degrees L.sub.1 to L.sub.5 with the choice modification coefficients Q.sub.1 to Q.sub.5, respectively, to get deviation degrees D.sub.n=L.sub.nQ.sub.n (n=1 to 5); and then, the countermeasure determination unit chooses a machining defect cause corresponding to the largest deviation degree.
[0173] As described above, in the present embodiment 3, the countermeasure 40 determination unit 7b obtains deviation degrees D.sub.n=L.sub.nQ.sub.n (n=1 to 5) modified on the basis of inputs from the worker. Thus, the numerical control system 2b according to the present embodiment 3 is capable of preferentially taking effective measures on the basis of the worker's determination.
Embodiment 4
[0174] Embodiment 3 has described how the choice of a machining defect cause is modified on the basis of the worker's inputs. In the present embodiment 4, description will be made about a configuration in which selection of a machining defect cause is corrected on the basis of machining history.
[0175]
[0176] The numerical control system 2c includes the detection unit 4, the dynamic-characteristics-information storage unit 5, the machining-process-information storage unit 6, a countermeasure determination unit 7c, the correction-amount calculation unit 8, the control unit 9 and a machining history storage unit 28. The machine tool 1 includes the sensor 3 and the tool 10, and the workpiece 11 is disposed on the tool.
[0177] The machining history storage unit 28 records the results of machining defect causes chosen by the countermeasure determination unit 7c, which is described later, and outputs a choice modification coefficient from the internally-recorded history of the chosen machining defect causes to the countermeasure determination unit 7c. To be more specific, the machining history storage unit 28 stores the numbers of times H.sub.1 to H.sub.5 by which numbers the countermeasure determination unit 7c chose, in the past, self-excited chatter vibration, forced chatter vibration, tool deflection, tool wear, and friction in feed drive mechanism, respectively, and calculates machining-history-based choice modification coefficients R.sub.n from Formula (20).
[0178] The countermeasure determination unit 7c receives the dynamic characteristics information, the machining process information, and the cutting condition which are outputted from the dynamic-characteristics-information storage unit 5, the machining-process-information storage unit 6, and the control unit 9, respectively. Also, the countermeasure determination unit receives the measurement signal outputted from the detection unit 4, the feed drive mechanism state signal outputted therefrom and the machining-history-based choice modification coefficients R.sub.n outputted from the machining history storage unit 28. In a case where it is determined from the measurement signal or the feed drive mechanism state signal that a machining defect has occurred, the countermeasure determination unit chooses a machining defect cause and outputs the chosen result to the correction-amount calculation unit 8 as a countermeasure signal.
[0179] In addition to the countermeasure signal, the countermeasure determination unit 7c outputs the dynamic characteristics information, the machining process information, the cutting condition, the feed drive mechanism state signal and the measurement signal to the correction-amount calculation unit 8. Furthermore, the countermeasure determination unit 7c outputs the countermeasure signal to the machining history storage unit 28.
[0180] In the process of choosing a machining defect cause, the countermeasure determination unit 7c uses the same method as used by the countermeasure determination unit 7a for calculating the deviation degree D.sub.n, to calculate pre-history-based-modification deviation degrees J.sub.1 to J.sub.5 for machining defect causes. Then, the countermeasure determination unit 7c multiplies the pre-history-based-modification deviation degrees with the machining-history-based choice modification coefficients R.sub.1 to R.sub.5, respectively, to get the deviation degrees D.sub.n=J.sub.nR.sub.n (n=1 to 5); and then, the countermeasure determination unit chooses a machining defect cause corresponding to the largest deviation degree.
[0181] As so far described, in the present embodiment 4, the countermeasure determination unit 7c obtains deviation degrees modified on the basis of the machining history. Thus, the numerical control system 2c according to the present embodiment 4 is capable of taking effective measures on the basis of priorities indicated by the machining history of the machine tool 1.
[0182] Description has been made for Embodiments 1 to 4; however, the scope of the present invention is not limited to the embodiments. The embodiments can be appropriately modified within the scope of the present invention. Also, the embodiments having been described above can be combined into any practical form when necessary.
DESCRIPTION OF SYMBOLS
[0183]
TABLE-US-00001 1: machine tool, 2, 2a, 2b, 2c: numerical control system, 4: detection unit, 5: dynamic-characteristics-information storage unit, 6: machining-process-information storage unit, 7, 7a, 7b, 7c: countermeasure determination unit, 8, 8a: correction-amount calculation unit, 9: control unit, 10: tool, 11: workpiece, 12: cutting condition, 27: input unit, 28: machining history storage unit, D.sub.1: deviation degree for self-excited chatter vibration, D.sub.2: deviation degree for forced chatter vibration, D.sub.3: deviation degree for tool deflection, D.sub.4: deviation degree for tool wear, D.sub.5: friction deviation degree in feed drive mechanism, X.sub.n: machining state variable