Method of accurately predicting energy consumption of automatic tool change for multi-position rotary tool holder of numerical control machine

10691098 ยท 2020-06-23

Assignee

Inventors

Cpc classification

International classification

Abstract

A method of accurately predicting energy consumption of an automatic tool change process is described. Automatic tool change durations at a plurality of groups of rotary tool position numbers are measured and a calculation model of the automatic tool change duration is obtained. A basic module power of machine is obtained. A basic module energy consumption of machine is obtained by calculation based on the basic module power of machine and the automatic tool change duration. A steady state power of tool changer is obtained. A steady state energy consumption of tool changer is calculated. A transient state energy consumption of tool changer is obtained by accumulating energy consumptions. An energy consumption prediction model of the automatic tool change process is obtained using the obtained basic module energy consumption of machine, the obtained steady state energy consumption of tool changer, and the obtained transient state energy consumption of tool changer.

Claims

1. A method of accurately predicting energy consumption of an automatic tool change process of a multi-position rotary tool holder of a numerical control machine, comprising: at step 1, determining a rotary tool position number according to a current tool position number and a target tool position number of the multi-position rotary tool holder of the numerical control machine, wherein the multi-position rotary tool holder of the numerical control machine adopts a unidirectional sequential rotation manner and therefore the rotary tool position number is calculated according to a formula expressed by: = { T t - T i , T t T i T p - .Math. T t - T i .Math. , T t < T i in the formula, refers to the rotary tool position number of the rotary tool holder, T.sub.t refers to the target tool position number of the rotary tool holder, T.sub.i refers to the current tool position number of the rotary tool holder and T.sub.p refers to the total tool position number of the rotary tool holder; at step 2, measuring automatic tool change duration values t.sub.tc1, t.sub.tc2, . . . t.sub.tcN at different rotary tool position numbers .sub.1, .sub.2, . . . .sub.N of the numerical control machine, wherein, .sub.1 refers to a 1-st rotary tool position number, .sub.2 refers to a 2-nd rotary tool position number, .sub.N refers to an N-th rotary tool position number, t.sub.tc1 refers to the automatic tool change duration value at the 1-st rotary tool position number, t.sub.tc2 refers to the automatic tool change duration value at the 2-nd rotary tool position number, t.sub.tcN refers to the automatic tool change duration value at the N-th rotary tool position number; at step 3, performing data fitting with the rotary tool position number as an independent variable and the automatic tool change duration values t.sub.tc as a response variable according to the obtained automatic tool change duration values at a plurality of groups of different rotary tool position numbers and establishing a calculation model formula of the automatic tool change duration values with the calculation model formula expressed as: t tc = 1 + wherein t.sub.tc refers to the automatic tool change duration, refers to the rotary tool position number of the rotary tool holder and and refer to coefficients of the calculation model formula; at step 4, obtaining a basic module power of machine by collecting a plurality of basic module powers of machine and obtaining an average value, wherein a power calculation formula is expressed as: P basic = .Math. i = 1 N b P basic_i / N b wherein P.sub.basic refers to basic module power of machine, P.sub.basic_i refers to an i-th measured value of the basic module power of machine, and N.sub.b refers to a total number of the measured values of the basic module power of machine; at step 5, a basic module energy consumption of machine in the automatic tool change process of the numerical control machine is calculated according to the obtained basic module power of machine and the obtained automatic tool change duration, wherein a calculation formula is expressed as:
E.sub.basic=P.sub.basict.sub.tc wherein E.sub.basic refers to the basic module energy consumption of machine in automatic tool change process of the numerical control machine, P.sub.basic refers to the basic module power of machine and t.sub.tc refers to the automatic tool change duration; at step 6, obtaining a steady state power of tool changer in the automatic tool change process of the numerical control machine by collecting a plurality of steady state powers of tool changer and obtaining an average value, wherein a calculation formula is expressed as: P m s = .Math. j = 1 N s P m s , _ j / N s wherein P.sub.ms refers to the steady state power of tool changer, P.sub.ms,_j refers to a j-th measured value of the steady state power of tool changer when the rotary tool position number of the rotary tool holder is and N.sub.s refers to a total number of the measured values of the steady state powers of tool changer when the rotary tool position number of the rotary tool holder is ; at step 7, obtaining a steady state energy consumption of tool changer in the automatic tool change process of the numerical control machine according to the obtained steady state power of tool changer and the obtained automatic tool change duration, wherein a calculation formula is expressed as:
E.sub.ms=P.sub.mst.sub.tc wherein E.sub.ms refers to the steady state energy consumption of tool changer in the automatic tool change process of the numerical control machine, P.sub.ms refers to the steady state power of tool changer, and t.sub.tc refers to the automatic tool change duration values; at step 8, obtaining a transient state energy consumption of tool changer by accumulating energy consumptions caused by all power peaks in the automatic tool change process of the numerical control machine, wherein a calculation formula is expressed as: E mt = .Math. u = 1 N E mt , _ u wherein E.sub.mt refers to the transient state energy consumption of tool changer in the automatic tool change process of the numerical control machine, A refers to the rotary tool position number of the rotary tool holder, E.sub.mt,_u refers to the energy consumption caused by a u-th power peak when the rotary tool position number of the rotary tool holder is and N.sub. refers to a total number of the power peaks when the rotary tool position number of the rotary tool holder is ; at step 9, calculating the energy consumption of the automatic tool change process according to the obtained basic module energy consumption of machine, the obtained steady state energy consumption of tool changer, and the obtained transient state energy consumption of tool changer in the automatic tool change process of the numerical control machine, wherein a calculation formula is expressed as:
E.sub.tc=E.sub.basic+E.sub.ms+E.sub.mt wherein E.sub.tc refers to energy consumption of the automatic tool change process of the multi-position rotary tool holder of the numerical control machine, E.sub.basic refers to the basic module energy consumption of machine in the automatic tool change process of the numerical control machine, E.sub.ms refers to the steady state energy consumption of tool changer in the automatic tool change process of the numerical control machine and E.sub.mt refers to the transient state energy consumption of tool changer in the automatic tool change process of the numerical control machine.

2. The method of accurately predicting energy consumption of the automatic tool change process of the multi-position rotary tool holder of the numerical control machine according to claim 1, wherein at step 6, the j-th measured value of the steady state power of tool changer when the rotary tool position number of the rotary tool holder is is collected as follows: collecting the j-th steady state power of machine P.sub.mst,_j in the automatic tool change process when rotary tool position number is , and obtaining a rotational power of a main shaft at the rotation speed by further subtracting the basic module power of machine P.sub.basic, where the rotational power is expressed as P.sub.ms,_j=P.sub.mst,_jP.sub.basic.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a flowchart illustrating a method of the present disclosure.

(2) FIG. 2 is a fitting diagram for an automatic tool change duration.

(3) FIG. 3 is a schematic diagram illustrating a power-energy consumption collecting apparatus according to some examples of the present disclosure.

(4) FIG. 4 is a diagram illustrating a power curve of an automatic tool process of a numerical control machine.

(5) FIG. 5 is a schematic diagram illustrating composition of a transient state energy consumption of tool changer.

DETAILED DESCRIPTION OF THE EMBODIMENTS

(6) The present disclosure will be detailed below in combination with examples and drawings.

(7) The present disclosure provides a method of accurately predicting energy consumption of an automatic tool change process of a multi-position rotary tool holder of a numerical control machine. FIG. 1 illustrates a flowchart of a method according to some examples of the present disclosure. Firstly, a rotary tool position number is obtained by calculating a current tool position number and a target tool position number of a rotary tool holder, automatic tool change durations at several groups of rotary tool position numbers are measured, and a calculation model of the automatic tool change duration is obtained by fitting. A basic module power of machine is obtained by collection and calculation. A basic module energy consumption of machine is obtained by calculation according to the obtained basic module power of machine and the obtained automatic tool change duration. A steady state power of tool changer is obtained by collection and calculation and a steady state energy consumption of tool changer is obtained by calculation according to the obtained the steady state power of tool changer and the obtained automatic tool change duration. A transient state energy consumption of tool changer is obtained by accumulating energy consumptions caused by all power peaks in the automatic tool change process of the numerical control machine. An energy consumption prediction model of the automatic tool change process is obtained based on the obtained basic module energy consumption of machine, the obtained steady state energy consumption of tool changer, and the obtained transient state energy consumption of tool changer, thereby accurately predicting energy consumption of the automatic tool change process of the numerical control machine and providing basic model support to the energy-saving optimization of the machine.

(8) In the examples of the present disclosure, an automatic tool change process of a numerical control machine CK6153i is taken as an example, a rotary tool holder used by the numerical control machine is a four-position rotary tool holder and a rotation manner is a unidirectional sequential rotation. The energy consumptions of automatic tool change at different rotary tool position numbers are predicted accurately in advance by establishing an energy consumption prediction model of the automatic tool change process according to the method of the present disclosure.

(9) 1. The rotary tool position number is determined.

(10) The rotary tool position number is determined according to a current tool position number and a target tool position number of the multi-position rotary tool holder of the numerical control machine. The numerical control machine CK6153i adopts the four-position rotary tool holder, therefore, the total tool position number of the rotary tool holder is T.sub.p=4. The rotary tool position number is calculated based on the following formula:

(11) = { T t - T i , T t T i T p - .Math. T t - T i .Math. , T t < T i .
In the formula, refers to the rotary tool position number of the rotary tool holder, T.sub.t refers to the target tool position number of the rotary tool holder, T.sub.t refers to the current tool position number of the rotary tool holder, T.sub.p refers to the total tool position number of the rotary tool holder. It is assumed that the current tool position number T.sub.i=1 and the target tool position number T.sub.t=4 and T.sub.tT.sub.i is satisfied. Thus, the rotary tool position number is =T.sub.tT.sub.i=41=3. It is assumed that current tool position number T.sub.i=4, the target tool position number T.sub.t=2 and T.sub.t<T.sub.i is satisfied. Thus, the rotary tool position number is =T.sub.p|T.sub.tT.sub.i|=4|24=2. A rotary tool position number at any current tool position number and any target tool position number may be obtained by the above method.

(12) 2. The automatic tool change durations at a plurality of different rotary tool position numbers are obtained.

(13) When the rotary tool position numbers are =0, =1, =2 and =3, the automatic tool change durations t.sub.tc are measured with a stopwatch respectively. The obtained automatic tool change durations at different rotary tool position numbers are indicated as in Table 1.

(14) TABLE-US-00001 TABLE 1 Rotary tool position Automatic tool change SN number duration (s) 1 .sub.1 = 0 t.sub.tc1 = 0 2 .sub.2 = 1 t.sub.tc2 = 3.0 3 .sub.3 = 2 t.sub.tc3 = 3.5 4 .sub.4 = 3 t.sub.tc4 = 4.1

(15) 3. The calculation model of automatic tool change duration is established by fitting.

(16) The above obtained automatic tool change durations at a plurality of groups of rotary tool position numbers satisfy the following formula:

(17) { t tc 1 = 1 1 + 1 t tc 2 = 2 1 + 2 .Math. t tc 4 = 4 1 + 4

(18) Data fitting is performed by Sigmaplot 13 software with the rotary tool position number as an independent variable and the automatic tool change duration t.sub.tc as a response variable. The coefficients =7.3766 and =1.5127 may be obtained. As shown in FIG. 2, a fitting result shows that a correlation coefficient R-sqr is 0.9958 which is very approximate to 1, which indicates that the fitting formula can represent the automatic tool change duration values at different rotary tool position numbers in a better way. The automatic tool change duration of the numerical control machine CK6153i can be obtained by taking three places after the decimal point of the coefficient value based on the formula:

(19) t tc = 7.377 1 + 1.513 .
In the formula, t.sub.tc is the automatic tool change duration in the unit of second (s) and is the rotary tool position number.

(20) 4. Basic module power of machine is obtained.

(21) The basic module power of machine P.sub.basic is obtained by collecting a plurality of basic module powers of machine and obtaining an average value. The power-energy consumption collecting apparatus for collecting powers is as shown in FIG. 3. Three voltage clamps are connected with three phase lines at an output end of an air switch of the numerical control machine respectively to measure a three-phase voltage signal of the automatic tool change process of the numerical control machine. Three current clamps are sleeved on the three phase lines at the output end of the air switch respectively to measure a three-phase current signal of the automatic tool change process of the numerical control machine. Information of the power and the energy consumption of the automatic tool change process of the numerical control machine is obtained by transmitting the voltage and current signals to a power analyzer for analysis and stored in an SQL database in a computer. The apparatus is connected with the numerical control machine CK6153i. The numerical control machine CK6153i is started to only allow the basic module of machine to be in a running state without performing any other operations and 50 groups of basic module power values of machine are measured as shown in Table 2.

(22) TABLE-US-00002 TABLE 2 Basic module power Power measured SN of machine value (W) 1 P.sub.basic.sub..sub.1 335.6 2 P.sub.basic.sub..sub.2 331.9 3 P.sub.basic.sub..sub.3 333.7 . . . . . . . . . 49 P.sub.basic.sub..sub.49 331.5 50 P.sub.basic.sub..sub.50 332.2

(23) The basic module power of machine is calculated based on the formula:

(24) P basic = .Math. i = 1 N b P basic_i / N b ,
where P.sub.basic refers to the basic module power of machine in the unit of Watt(W); P.sub.basic_i refers to the i-th basic module power value of machine collected in the unit of W; N.sub.b refers to a total number of basic module powers of machine collected. Since 50 groups of basic module power values of machine are collected in total as above, N.sub.b=50. The basic module power of machine of the numerical control machine CK6153i is obtained by substituting the 50 groups of data collected above into the formula

(25) 0 P basic = .Math. i = 1 50 P basic_i / 50 = 332.1 ( W ) .

(26) 5. The basic module energy consumption of machine is calculated.

(27) The basic module energy consumption of machine in the automatic tool change process of the numerical control machine is obtained by performing calculation based on the obtained basic module power of machine and the obtained automatic tool change duration, where the calculation formula is E.sub.basic=P.sub.basict.sub.tc. In the formula, E.sub.basic refers to the basic module energy consumption of machine in the automatic tool change process of the numerical control machine in the unit of Joule (J); P.sub.basic refers to the basic module power of machine in the unit of W; t.sub.tc refers to the automatic tool change duration in the unit of s. For the numerical control machine CK6153i, the basic module power of machine is obtained as P.sub.basic=332.1 (W) and the automatic tool change duration is obtained as

(28) t tc = 7.377 1 1 + 1.513 1 = 2.9 ( s ) .
Further, the basic module energy consumption of machine in the automatic tool change process of the numerical control machine is obtained as E.sub.basic=332.12.9=963.1 (J).

(29) 6. The steady state power of tool changer is obtained.

(30) The steady state power of tool changer in the automatic tool change process of the numerical control machine is obtained by collecting a plurality of steady state powers of tool changer and obtaining an average value. As shown in FIG. 4, the steady state power of tool changer is collected as follows: when the rotary tool position number is , the steady state power of machine P.sub.mst in the automatic tool change process is collected, the steady state power value of tool changer P.sub.ms is obtained by subtracting the basic module power of machine P.sub.basic from the collected steady state power of machine P.sub.mst in the automatic tool change process. For example, for the numerical control machine CK6153i, when the rotary tool position number is =1, the first steady state power value of machine P.sub.mst,1_1=395.6 (W) in the automatic tool change process is collected and the basic module power of machine P.sub.basic=332.1 (W) of the numerical control machine CK6153i is obtained. Thus, the first measured value of the steady state power of tool changer when the rotary tool position number is =1 may be obtained as P.sub.ms,1_1=P.sub.mst,1_1P.sub.basic=395.6332.1=63.5 (W). By the same method, 20 groups of steady state power values of tool changer when the rotary tool position number is =1 are collected as shown in Table 3.

(31) TABLE-US-00003 TABLE 3 Steady state power Power measured SN of tool changer value (W) 1 P.sub.ms,1.sub..sub.1 63.5 2 P.sub.ms,1.sub..sub.2 63.6 3 P.sub.ms,1.sub..sub.3 62.9 . . . . . . . . . 19 P.sub.ms,1.sub..sub.19 62.0 20 P.sub.ms,1.sub..sub.20 63.3

(32) The steady state power of tool changer is calculated based on the formula:

(33) P m s = .Math. j = 1 N s P m s , _ j / N s ,
where P.sub.ms refers to the steady state power of tool changer in the unit of W; P.sub.ms,_j refers to the j-th measured value of steady state power of tool changer in the unit of W when the rotary tool position number of the rotary tool holder is ; N.sub.s refers to the total number of the measured values of steady state power of tool changer when the rotary tool position number of the rotary tool holder is . As above, 20 groups of steady state power values of tool changer when the rotary tool position number is =1 are collected in total. Therefore, N.sub.s1=20 and the steady state power of tool changer in the automatic tool change process of the numerical control machine CK6153i when the rotary tool position number is =1 is calculated by substituting the above 20 groups of data into the formula

(34) P m s = .Math. j = 1 20 P m s , 1 _ j / 20 = 63.1 ( W ) .
For the numerical control machine CK6153i, by the same method, the steady state power of tool changer when the rotary tool position number is =2 may be obtained as 66.5 W and the steady state power of tool changer when the rotary tool position number =3 may be obtained as 62.8 W.

(35) 7. The steady state energy consumption of tool changer is calculated.

(36) The steady state energy consumption of tool changer in the automatic tool change process of the numerical control machine is obtained by calculation according to the obtained steady state power of tool changer and the obtained automatic tool change duration, where the calculation formula is E.sub.ms=P.sub.mst.sub.tc. In the formula, E.sub.ms refers to the steady state energy consumption of tool changer in the automatic tool change process of the numerical control machine in the unit of J; P.sub.ms refers to the steady state power of tool changer in the unit of W; t.sub.tc refers to the automatic tool change duration in the unit of S. For the numerical control machine CK6153i, when the rotary tool position number is =1, the steady state power of tool changer is obtained as P.sub.ms=63.1 (W) and the automatic tool change duration is obtained as t.sub.tc2.9 (S). Further, the steady state energy consumption of tool changer of the automatic tool change process of the numerical control machine CK6153i when the rotary tool position number =1 is obtained as E.sub.ms=63.12.9=183.0 (J).

(37) 8. The transient state energy consumption of tool changer is calculated.

(38) A plurality of power peaks will be generated in the automatic tool change process of the numerical control machine and a sum of all energy consumptions caused by all power peaks is calculated as the transient state energy consumption of tool changer according to the formula:

(39) E mt = .Math. u = 1 N E mt , _ u .
In the formula, E.sub.mt refers to the transient state energy consumption of tool changer in the automatic tool change process of the numerical control machine in the unit of J; refers to the rotary tool position number of the rotary tool holder; E.sub.mt,_u refers to the energy consumption (in the unit of J) caused by the u-th power peak when the rotary tool position number of the rotary tool holder is ; N.sub. refers to the total number of power peaks when the rotary tool position number of the rotary tool holder is . For the numerical control machine CK6153i, when the rotary tool position number is =1, the power curve of the automatic tool change process is as shown in FIG. 5. There are three power peaks in the automatic tool change process. Therefore, N.sub.1=3 and at this time, the transient state energy consumption value of tool changer is a sum of energy consumptions caused by the three power peaks. The energy consumptions caused by the three power peaks when the rotary tool position number is =1 are obtained as E.sub.mt,1_1=4.6 (J), E.sub.mt,1_2=23.9 (J), and E.sub.mt,1_2=88.3 (J) respectively according to energy consumption collection data. The transient state energy consumption of tool changer when the rotary tool position number of the numerical control machine CK6153i is 1 is calculated as

(40) E mt = .Math. u = 1 3 E mt , 1 _ u = 4.6 + 23.9 + 88.3 = 116.8 ( J )
based on the formula

(41) E mt = .Math. u = 1 N E mt , _ u .

(42) 9. The energy consumption of the automatic tool change process is calculated.

(43) As shown in FIG. 4, the energy consumption of the automatic tool change process of the numerical control machine includes the basic module energy consumption of machine, the steady state energy consumption of tool changer and the transient state energy consumption of tool changer in the process. Therefore, the energy consumption of the automatic tool change process may be calculated according to the obtained basic module energy consumption of machine, the obtained steady state energy consumption of tool changer and the obtained transient state energy consumption of tool changer in the automatic tool change process of the numerical control machine, where the calculation formula is E.sub.tc=E.sub.basic+E.sub.ms+E.sub.mt. In the formula, E.sub.tc refers to the energy consumption of the automatic tool change process of the multi-position rotary tool holder of the numerical control machine in the unit of J; E.sub.basic refers to the basic module energy consumption of machine in the automatic tool change process of the numerical control machine in unit of J; E.sub.ms refers to the steady state energy consumption of tool changer in the automatic tool change process of the numerical control machine in the unit of J; E.sub.mt refers to the transient state energy consumption of tool changer in the automatic tool change process of the numerical control machine in the unit of J. when the rotary tool position number of the numerical control machine CK6153i is =1, the basic module energy consumption of machine is E.sub.basic=963.1 (J); the steady state energy consumption of tool changer is E.sub.ms=183.0 (J); the transient state energy consumption of tool changer is E.sub.mt=116.8 (J). Therefore, the energy consumption of the automatic tool change process of the numerical control machine is calculated as E.sub.tc=963.1+183.0+116.8=1262.9 (J). By the same method, the energy consumption prediction values of the automatic tool change process when the rotary tool position number of the numerical control machine CK6153i is =2 and =3 respectively are obtained as shown in Table 4. At the same time, the measured values of energy consumptions of the automatic tool change process when the rotary tool position number of the numerical control machine CK6153i is 1, 2 and 3 respectively are collected by the power-energy consumption collecting apparatus shown in FIG. 3 and the effectiveness of the present disclosure is verified by the accuracy calculation formula: Accuracy=(1|Etc predictionEtc measurement|/Etc measurement)100%, with accuracy results shown in Table 4.

(44) TABLE-US-00004 TABLE 4 Rotary tool Rotary tool Rotary tool position position position number number number Item ( = 1) ( = 2) ( = 3) E.sub.basic (J) 963.1 1228.8 1328.4 E.sub.ms (J) 183.0 246.1 251.2 E.sub.mt (J) 116.8 109.7 137.4 E.sub.tc prediction (J) 1262.9 1584.6 1717.0 E.sub.tc measure (J) 1306.8 1516.6 1740.4 Accuracy (%) 96.64 95.52 98.66

(45) Through the above comparison results, it is found that the accuracy of predicting the energy consumption of the automatic tool change process of the multi-position rotary tool holder of the numerical control machine by the method of the present disclosure is above 95%, which indicates that the method of the present disclosure can accurately predict the energy consumption of the automatic tool change process of the multi-position rotary tool holder of the numerical control machine.

(46) The method of the present disclosure may be applied to prior accurate prediction of energy consumption of the automatic tool change process of the multi-position rotary tool holder of the numerical control machine and the calculation result may be applied to energy prediction of the entire machining process of the numerical control machine. In this way, the prediction accuracy is improved and a support is provided for energy optimization of the numerical control machine.

(47) Finally, it is noted that the above examples are merely used for describing the technical solutions of the present disclosure rather than limiting the present disclosure. Any modification or equivalent substitutions made to the technical solutions of the present disclosure without departing from the tenet and scope of the present disclosure shall all fall in the scope of protection of the claims of the present disclosure.