Next Article in Journal
Special Issue on Interdisciplinary Researches for Cultural Heritage Conservation
Previous Article in Journal
Gradient Agreement Hinders the Memorization of Noisy Labels
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dimensional Error Compensation Based on Data-Driven Sliding Mode Terminal Iterative Learning Control for CNC Batch Grinding

1
School of Information Science and Electrical Engineering, Shandong Jiaotong University, Jinan 250357, China
2
School of Control Science and Engineering, Shandong University, Jinan 250061, China
*
Author to whom correspondence should be addressed.
Submission received: 11 January 2023 / Revised: 29 January 2023 / Accepted: 29 January 2023 / Published: 31 January 2023

Abstract

:
Dimensional error of workpiece is an important index that indicts the grinding accuracy of machine tools. Conventional error compensation strategies focus on modeling one or several error factors for a particular CNC machining type, which are time consuming and costly. Based on data-driven sliding mode terminal iterative learning control, a new dimensional error compensation method is proposed in this paper. The compensation algorithm based on an iterative sliding surface and an objective function is established using the terminal experimental data. A modified NC program is fed to the machine tool to push the workpiece dimension towards desired. The theoretical analysis and experimental results show the proposed compensation method can effectively improve the batch grinding accuracy of the machine tool, which shows good perspective in manufacturing industry.

1. Introduction

As the manufacturing technology has continuously been developed, the accuracy requirements of computer numerical control (CNC) machining are becoming increasingly important. Error compensation has become a hot issue for actively improving the machining accuracy, which is influenced by error sources such as geometric error of machine tools, thermal error, cutting force, tool’s wear error, etc. [1,2,3]. Software compensating is a convenient solution to error compensation, which consists of three crucial steps, measurement strategy, identification approach, and compensation method. It improves machining accuracy and surface quality of workpiece through regenerating numerical control (NC) program for next compensation cycle, which is characterized by high efficiency and low cost.
There are many studies that have focused on one error source to compensate, which is the main cause of machine inaccuracy under certain machining. For example, the geometric error makes up a significant portion of the inaccuracy of a machine tool, accounting for more than 30% [4]. The authors of [5] presented a novel 13-line identification algorithm by employing a laser interferometer, and by correcting compensation parameters in NC instructions the linear axes are compensated. In [6], by using double ball bar (DBB), a comprehensive geometric error measurement and identification method is presented. However, for the experiments, on a tilt table of five-axis machine tool, the authors assumed that the geometric errors of the translational axes were abandoned. Wu et al. [7] presented an integrated error prediction and compensation method for the translational axes’ geometric errors. With this integrated approach, the positioning inaccuracy of tool ball for a double ball bar is greatly decreased in a multi-axis machine tool.
On the other hand, there are many studies reporting that the error caused by thermal error source constitutes another vital portion, up to 25–35% of total errors [8,9,10]. There are three categories of methods to eliminate thermal errors in current research, which are structural optimization of machine tool featured by thermal characteristics, temperature control, and thermal error compensation. The first two kinds are error prevention, which are high-cost. There is a large quantity of research focused on thermal error compensation for machining accuracy. On the basis of least square support vector machine (LS-SVM), a thermal error model of motorized spindle is proposed in [11]. The results showed that the predictive ability of this model was high. According to temperature variation, a thermal growth model of spindle is presented by Liu in [12], and a parameter identification method of the model is also given in this article. At present, almost all of the thermal error compensation method conducted on the machine tools is based on modeling error sources. On the contrary, the constructed various thermal error models are rarely applied to structural optimization or design of machine tools in no matter what manner [13].
Cutting force is another factor influencing machining accuracy of workpiece, which contributes about 10% of inaccuracy. Many researchers have focused on dealing with the reduction in tool deflection error induced by cutting force [14,15] and this kind compensation has widely been conducted in milling process.
Moreover, in practical application, after a long time machining, the tool’s wear increases, which is inevitable. Therefore, it is difficult to ensure that the precision of machine tools is still within acceptable limits.
From the above literature review and to our best knowledge of the research, it can be seen that most of the studies have concentrated on measuring and modeling of error sources, as well as parameter identification. As known to all, there are various error sources on a machine tool, not just one. In order to improve the machining precision more effectively, the error compensation system needs to possess the capability to deal with this combination of error sources rather than a single one [16]. It is obvious that the complexity of this work would be multiplied.
Apart from the above error compensation methods, there is another kind of method, which actively compensate errors from data analysis. For example, dimensional error of workpiece is the result of various error sources. The authors of [17] presented an intelligent pre-compensation method for dimensional error. A PD-type rule library is set up to compute the compensation of next workpiece according to the previous workpieces’ dimensions. Similarly, a P-type self-learning updating law is proposed to compute compensation according to the previous dimension error in [18]. Both methods have set up the iterative updating law with the previous three-dimensional errors or just the previous one. The form of the two updating laws is similar to proportion integration differentiation (PID) control law.
Our work focuses on the problem of dimensional error compensation in real CNC batch grinding, which is a meaningful and practical issue. For the data-driven methods, especially sliding mode terminal iterative learning methods, it is the first time they have been introduced in a CNC error compensation field. As the above mentioned, error sources are various and complex; furthermore, they are coupled to each other. Completely separating every error source is unrealistic. It is difficult to sense and model all error sources and model parameter identification is not easy. Its costs, including time and money, are very high. In CNC batch grinding, workpieces are grinded one by one, and terminal dimension data are easily obtained. With the data-driven compensation method, only one grating displacement sensor is used to measure the dimension, which does not need so many various sensors. Moreover, it does not need complex modeling and parameter identification. In practical application, the compensation is also easier to implement. Whether or not compensation is needed is determined before the workpiece machined. If it needs compensation, the compensation module is introduced and the compensated NC program is executed. Thus, it can be seen that compared with conventional compensation methods, data-driven compensation method has numerous advantages.
The terminal iterative learning control (TILC) as a data-driven algorithm can converge to the desired output. It does not need to track the entire output trajectory in the finite time, only the terminal output needs to be tracked [19,20]. Moreover, in view of its simple algorithm, strong robustness, and fast response, the sliding mode control (SMC) has received more and more attention [21,22]. Therefore, it is necessary to apply the two control strategies into batch grinding to improve dimension precision.
This paper presents a dimensional error compensation method based on sliding mode terminal ILC under the data-driven design framework. Different from the upper methods in [17,18], this method introduces a sliding surface, which is designed by the previous two-dimensional error. With the sliding surface, the dimensional error will quickly converge to zero after a number of iteration cycles. Consider the batch grinding system as a single input single output (SISO) nonlinear discrete-time system. Firstly, the nonlinear system is transferred into a linear system by using the dynamic linearization (DL) method [23]. Secondly, under the defined sliding surface, the terminal iterative learning law [24,25,26] is derived for the compensation system. Measurements of dimensions are used to compute compensation value according to the learning law. Finally, the NC program is modified to compensate the subsequent machining cycle. With this data-driven compensation method, the dimensional accuracy will be improved. The organization of the paper is shown as follows. Section 2 presents the grinding protocol and problem formulation. Section 3 presents the sliding mode terminal iterative learning compensation method. Simulation and experimental verification are drawn in Section 4. Finally, the paper is concluded in Section 5.

2. Grinding Protocol and Problem Formulation

2.1. Grinding Model

The structure of the CNC batch grinding machine tool is shown in Figure 1. As shown, the spindle drives the grinding wheel to rotate. The C axis is the rotation axis, which controls the workpiece to rotate. The B axis drives the workbench to rotate. The X axis is the linear axis, which is the feed shaft of the grinding wheel carriage. The Y axis is also the linear axis, which drives the grinding wheel carriage side to side. The peripheral surface of workpiece is machined through the combination of rotation axis and linear axis.
The motion model is shown in Equation (1):
{ ω = l ( θ ) X = h ( θ )
where θ is the rotation angle of workpiece; ω is the angular speed of workpiece rotation; and X is linear displacement of feed movement for grinding wheel carriage.
In the point of processing technology, grinding amount and grinding force are key factors influencing grinding quality. The grinding amount is indicated in terms of equivalent grinding thickness a eq . It is shown in Equation (2):
{ a eq = a p v ω v s F t = k a p α 1 ( v ω v s ) α 2
Here, a p is the grinding depth, which is in positive proportion to grinding wheel feed rate v r ; v ω is speed of grinding point on the workpiece; v s is the speed of grinding point on the grinding wheel; and k ,   α 1 ,   α 2 are parameters.
In order to improve the grinding quality, the linear speed of grinding point kept constant is introduced into processing technology. With the constant linear speed, the stock removal rate of workpiece and the grinding force would change stably. Therefore, the contour accuracy of workpiece is improved. On the other hand, with the constant linear speed, the linear speed of the grinding point on the machined peripheral surface is identical, so the consistency of the surface grinding quality can be ensured.
Take the square workpiece for example, the constant linear speed grinding model shown in Figure 2 is established. In Figure 2, point O1 is the rotation center of grinding wheel, and point O is the rotation center of workpiece. Set up the coordinate system X-Y with O as the origin. Point P is the grinding point, at which the workpiece and the grinding wheel are tangent. The angel between PO and X axis is τ . The radius of grinding wheel is R s . Point N is an intersection point of the tangent line and X axis, and point M is an intersection point of the vertical line and X axis. When the angular speed of grinding wheel is 0, the linear speed at grinding point P is equal to the relative speed of point P on the workpiece to point P on the grinding wheel. To discuss the relation between the instantaneous linear speed of grinding point and rotation speed of workpiece, the following calculations are made.
tan γ = PM MN
Here, γ is the acute angel between the tangent line and X axis; PM is the vertical line, and MN is line from vertical point to intersection point N. From the triangular relation shown in Figure 2, the following Equation (4) can be easily obtained:
{ γ = τ + δ σ = π 2 δ
Here, δ is the angle between PO and PA. Note that V1 is the linear speed at grinding point P, V2 is the linear speed of point P on the workpiece, and V3 is the speed of grinding wheel carriage. σ is the angle between V1 and V2, and σ = τ + π 2 γ .
The relation between V1, V2, and V3 satisfies the following Equation (5):
{ V 2 ( t ) = V 1 ( t ) · cos σ + V 3 ( t ) · sin τ V 1 ( t ) · sin σ V 3 ( t ) · cos τ = 0
Then the instantaneous rotation speed of the workpiece is derived, which is shown in Equation (6),
ω ( t ) = V 1 ( t ) · ( cos σ + sin σ · tan τ ) OP
Here, OP is the rotation diameter of workpiece.
With Equation (6), the function h ( · ) described the relationship between the rotation angle and the displacement of grinding wheel carriage can be deduced as following.
{ θ ( t ) = 0 t ω ( t ) dt X ( t ) = h ( θ )
As mentioned above, the workpiece rotates with varying speed to keep the linear speed of grinding point constant.

2.2. Dimensional Error Analysis

For the indexable insert grinding process, it is complex and particular. Therefore, the error sources for dimensional precision decrease are much more complex, and many of them are coupled. Moreover, it is difficult to separate them from each other. For example, after long time grinding, the grinding wheel becomes blunt and the cutting reaction force increases, so the elastic deformation of feed system increases and the grinding wheel diameter decreases. Both of these increase the dimensional error. Dressing the grinding wheel further decreases the grinding wheel diameter. On the other hand, the feed system elastic deformation decreases. The influence of the grinding wheel diameter decrease on dimensional error is shown in Figure 3.
As it is shown in Figure 3, the solid circle is the real grinding wheel, and the dotted circle is the theoretical grinding wheel. O and O are the circle centers, respectively.   O 1 is the rotation center of the workpiece. Rs and Rs represent the actual value and theoretical value of the grinding wheel radii, respectively. Point P is the theoretical tangent point. In fact, the workpiece is not tangent to the grinding wheel at point P. In the triangle O PO , with cosine law, Equation (8) can be derived.
( Rs + e ) 2 = ( Rs Rs ) 2 + Rs 2 2 · ( Rs Rs ) · Rs · cos ϑ
Here, e is the machining error. In this situation, the dimension of the workpiece will be large than the desired dimension.
Moreover, the spindle axis, ball screw, grinding wheel, and other parts generate much quantity of heat during grinding process, which result in thermal deformation of drive system. Finally, the dimensional precision decreases. In addition to, the static error of the machine tool, such as assembly error, also decreases the dimensional precision.

2.3. Problem Formulation

Consider the batch grinding system as a SISO nonlinear discrete-time system, which can be shown in Equation (9):
D k ( t + 1 ) = f ( D k ( t ) , u k )
where t = 0 , 1 , 2 , , N is the sampling time index and N is the finite time interval of batch grinding system; k indicates the system repetition number and D k ( t ) R is the system output; u k R denotes the system input, which is constant at all sampling time in the same iteration; and f ( · ) is an unknown function and continuously differentiable.
In the batch grinding system, only the terminal dimension D k ( N ) is measurable at the end of each run. Over iterations, the Equation (9) can be rewritten as a continuously differential function g ( · ) [25]. It is shown in Equation (10):
D k ( N ) = f ( D k ( N 1 ) , u k ) = f ( f ( D k ( N 2 ) , u k ) , u k ) = f ( f ( f ( D k ( 0 ) , u k ) , u k ) , , u k ) = g ( D k ( 0 ) , u k )
Here, D k ( 0 ) is the initial value of Equation (9). The system is controllable and the initial value D k ( 0 ) is identical for every iteration, D k ( 0 ) = D k 1 ( 0 ) = c . c is a constant for the batch grinding system, which is the dimension of workpiece before grinding discussed in Section 4.
Assumption 1. 
The partial derivative of f ( ) with respect to control input u k is continuous.
Assumption 2. 
The Equation (9) satisfies the generalized Lipschitz condition. That is,   | Δ D k ( N ) | b | Δ u k 1 | , here Δ D k ( N ) = D k ( N ) D k 1 ( N ) , Δ u k 1 = u k 1 u k 2 and b is positive.
Applying the mean value theorem into Equation (10), Equation (10) can be transformed to Equation (11),
Δ D k ( N ) = g D Δ D k ( 0 ) + g u Δ u k
Since D k ( 0 ) = D k 1 ( 0 ) , then Δ D k ( 0 ) is 0. Therefore, Equation (11) can be simplified as Equation (12),
Δ D k ( N ) = g u Δ u k = φ k Δ u k
Here, φ k = g u . According to Assumption 2, | φ k | b . It is called pseudo-partial-derivative (PPD), which is a DL parameter. For more details, please see [23].
Then Equation (10) can be transformed to Equation (13),
D k ( N ) = D k 1 ( N ) + φ k Δ u k
Remark 1. 
From a practical point, these assumptions imposed on the industrial system are reasonable and acceptable. Assumption 1 is a typical condition of control system design for general nonlinear systems. Assumption 2 imposes an upper bound limitation on the change rate of the system output driven by the changes in the control inputs. From the energy conservation point, the energy change rate in an industrial system is not infinite [24].
Remark 2. 
  φ k is a differential signal and bounded to any k, which is unknown and iteratively changes.
An index function J = | | D k ( N ) D k 1 ( N ) | | 2 + μ | | D k ( N ) | | 2 [23] is introduced to estimate the value of φ k . By optimal condition, an estimation algorithm for φ k is derived as Equation (14):
φ ^ k = φ ^ k 1 + ρ ( Δ D k 1 φ ^ k 1 Δ u k 1 ) Δ u k 1 μ + | | Δ u k 1 | | 2
Here it is bounded. The weighting factor μ > 0 ,   0 < ρ < 2 .

3. Sliding Mode Terminal Iterative Learning Compensation Method

1.
Define E k as the terminal dimensional error of the k th workpiece, which is shown as Equation (15):
E k = D desired D k
Here,   D k is the terminal dimension of the k th workpiece, which is measurable by laser sensor. D desired is the desired dimension of the workpiece. If E k is within the accepted error limit E lim , the error compensation is ignored; otherwise, the compensation is operated.
Substituting Equation (13) into Equation (15) yields Equation (16). Equation (16) is transformed as follows:
E k = D desired D k 1 φ k Δ u k
2.
Introduce an iteration-dependent slide surface function and an index function [26], which are two common functions in sliding mode control. The Equations are shown as follows:
S k = ( E k E k 1 ) + α E k
J = | | S k S k 1 | | 2 + β | | S k | | 2
where α > 0 , β > 0 . They are weighting factors.
Substituting Equation (16) and Equation (17) into Equation (18), the Equation (18) is transformed into Equation (19). The Equation (19) is shown as follows:
J = | | ( 1 + α ) φ k ( u k u k 1 ) E k 1 + E k 2 | | 2 + β | | α E k 1 ( 1 + α ) φ k ( u k u k 1 ) | | 2
In optimal conditions, the control input can be obtained in Equation (20), which is shown as follows:
u k = u k 1 + φ k ( D desired D k 1 ) | | φ k | | 2 ( 2 + α + β ) φ k E k 1 φ k E k 2 ( 1 + α ) ( 1 + β ) | | φ k | | 2
3.
In the upper part, the compensation control input u k is deduced, which is the function of the previous two-dimensional errors, the previous dimension, and the estimation parameter. In this part, the convergence analysis of the grinding system with the control input is derived.
In combination with Equation (20) and Equation (13), in virtue of Equation (16), then Equation (21) can be deduced. It is shown as follows [26]:
φ k T E k = ( 2 + α + β ) φ k T E k 1 ( 1 + α ) ( 1 + β ) φ k T E k 2 ( 1 + α ) ( 1 + β )
According to the above Equation (21), it is easy to derive the Equation (22),
( 1 + α ) φ k T E k φ k T E k 1 = ( 1 + α ) φ k T E k 1 1 + β φ k T E k 2 1 + β
Therefore, for the sliding surface Equation (17), it can be derived Equation (23),
φ k T S k = φ k T S k 1 1 + β
Since β > 0 , | | φ k T S k | | < | | φ k T S k 1 | | .
Then lim k | | φ k T S k | | =0. Since φ k is bounded, φ k T is bounded. Therefore, the following Equation (24) can be derived.
lim k | | S k | | = 0
Therefore, the sliding surface will converge to 0.
Substituting Equation (17) into Equation (24), lim k | | ( E k E k 1 ) + α E k | | =0. Then, Equation (25) can be deduced.
lim k | | E k | | = lim k | | E k 1 1 + α | | = lim k | | E 0 ( 1 + α ) k | |
Since α > 0 , the following Equation (26) can be derived.
lim k | | E k | | = 0
Therefore, the terminal error will converge to 0.
As mentioned above, the convergence analysis is made.
4.
As it is mentioned in Section 2, the system input is constant of every cycle at an arbitrary sampling time for one batch and it is executed by X axis. The compensation is executed by the compensation module if it is necessary; the compensation input for the ( k + 1 ) th workpiece is computed as follows.
com k + 1 = com k + φ k + 1 E k | | φ k + 1 | | 2 ( 2 + α + β ) φ k + 1 E k φ k + 1 E k 1 ( 1 + α ) ( 1 + β ) | | φ k + 1 | | 2
Here, the compensation is computed by the previous two-dimensional errors, and φ k is computed in Equation (14).
The flowchart of the compensation method is shown in Figure 4. Note that in the judgment module, the compensation direction needs to be defined. If E k is less than ( E lim ) , that is to say, the dimension of this machined workpiece is less than the desired dimension, the compensation input will be positive. If E k is greater than positive error limit ( + E lim ) , that is to say, the dimension of this machined workpiece is greater than the desired dimension, the compensation will be negative.
For the machine tool, stability and safe operation are of great importance. Under this premise, if the compensation value is very large, the compensation axis may result in irreversible fault. In order to ensure the safety of the machine tool, a compensation limit com max is introduced to avoid excessive fluctuation. If the computed com k is in an accepted range ( com max , com max ), com k is executed; otherwise, the compensation value is set to com max .

4. Simulation and Verification

4.1. Simulation

To verify the effectiveness of the upper error compensation algorithm, the step signal and impulse signal simulating dimensional errors is respectively introduced into the error compensation module. The desired value can be any value in the simulation. Here, it is defined as 9.435 mm, which is consistent with the desired dimension of experiment. Since the error acceptance of A level indexable insert is 0.005 mm, in order to increase dimensional precision, the error limit E lim is set to 0.003 mm for the simulation. Moreover, in order to operate steadily, the maximum compensation value C max is chosen as 0.015 mm. For the compensation module, the initial value of updated index φ 1 = 1 . Values of weighting factors are defined according to the established conditions of Equations (14), (17), (18) and historical data analyzing, which have great influence on simulation results. Here, values of weighting factors are: ρ = 1 ,   μ = 0.5 ,   β = 10 ,   α = 10 .
The step error is 0.01 mm, which is imposed on the 15th and subsequent workpieces. The simulation result is shown in Figure 5. It is evident that the compensation method works effectively. The dimension recovers to the desired value only in two operation cycles. That is, the dimensions from the 16th workpiece are all converged to the desired value. For the second simulation, the desired dimension and the impulse error are the same to the first simulation. The impulse error is imposed on the 15th workpiece. The simulation result is shown in Figure 6. The dimension returns to the desired value in three operation cycles. The simulation results show that this algorithm can quickly converge to the desired value.

4.2. Experimental Investigation

A group of indexable inserts is grinded on Agathon 400combi shown in Figure 7. Figure 8 shows the geometry of this batch 35 ° diamond indexable insert, and the material is YT15, a kind of tungsten–cobalt–titanium hard alloy. The diameter of the inscribed circle for the indexable insert is the controlled dimension (D in Figure 8), which is measured by a grating displacement sensor. The displacement sensor used in experiment is HEIDENHAIN MT60K. Its measurement range is 60 mm, and the system accuracy is up to ± 0.5   um . The measurement diagram is shown in Figure 9. After the indexable insert is grinded, the displacement sensor measured the diameter of inscribed circle and transmitted it to the controller to decide whether the compensation is needed or not. The grinding conditions for the experiments are shown in Table 1. For the experiment, first, the machine tool runs without grinding any workpiece for half an hour. Next, it begins to grind indexable inserts.
For this group experiment, the desired dimension of indexable insert is 9.435 mm. For the compensation module, the error limit E lim is set to 0.003 mm also in consideration of the error acceptance of A level. The maximum compensation value C max is chosen as 0.01 mm in order to ensure the safety. Furthermore, the initial value of updated index φ 1 = 1 . For the experiment, under the grinding conditions shown in Table 1, a group of indexable inserts have been grinded on the machine tool without compensation. The dimension data are listed in columns 2 of Table 2, which are the baseline data.
Figure 10 shows the comparison of dimensional variation with different sets of compensation parameters, which is a group of compensation experiment. The first set compensation parameters are: ρ = 1 ,   μ = 0.5 ,   β = 1 ,   α = 1 . The second set compensation parameters are: ρ = 1 ,   μ = 0.5 ,   β = 10 ,   α = 10 . The third set compensation parameters are: ρ = 1 ,   μ = 0.5 ,   β = 10 ,   α = 20 . It is evident that under the first set compensation parameters, the dimensions fluctuated largely compared with the other two sets. The compensation effectiveness of the second set of compensation parameters is much better.
Figure 11 shows the comparison of dimensional variation before and after compensation. The blue line represents the baseline data without compensation. It is shown that the dimensional error is non monotonic. At the beginning of batch grinding, the dimensional error is relatively large. Then the dimensional error tends to within error tolerance. After a certain time grinding, the dimensional error increases largely again. Column 3 of Table 2 shows the data of the dimensions using this compensation method, which is indicated by the black line. The compensation parameters for this group experiment are: ρ = 1 ,   μ = 0.5 ,   β = 10 ,   α = 10 . It can be seen from Figure 11 that the dimensions fluctuate around the desired value after error compensation, and the compensation effectiveness is really good. From Figure 11 and Table 2, it is evident that there are only 33 workpieces out of 68 within the error tolerance (−0.005, 0.005) before error compensation, while after error compensation, the amount increases to 65. The qualified rate increases from 48.5% to 95.6% and the maximum error decreases from 0.019 to 0.007 mm. From the experiment results, it can be seen that this sliding mode terminal iterative learning compensation method performs well.

5. Conclusions

This paper focuses on the dimensional error compensation in CNC batch grinding. A data-driven sliding mode terminal iterative learning error compensation method is proposed to solve the problem. Through the above research, the following conclusions can be achieved:
(1)
Based on the theory of sliding mode terminal iterative learning control, the compensation method is presented. This method only needs to measure the terminal dimension using a touch probe, without using other sensors to detect all kinds of error sources. Moreover, there is no need of model information, which is data-driven;
(2)
Step and impulse input were introduced into the compensation module to simulate errors. Through many simulations, the values of compensation parameters were defined, and the simulation results showed that the compensation effectiveness was obvious;
(3)
In order to verify the compensation performance in an actual industrial environment, two groups of experiment were carried out on the machine tool. Based on the comparisons, the compensation parameters defined by simulation performed well and the performance effectiveness of this proposed compensation method was obvious. In the experiment, for 68 pieces of indexable inserts, the qualified rate increased from 48.5% to 95%.
Using this compensation method, the machined indexable inserts will remain within tolerance in successive machining. This method is appropriate for batch manufacturing, which is much more economical and universality.

Author Contributions

Conceptualization, T.C. and X.T.; methodology, T.C.; software, T.C.; validation, T.C.; formal analysis, T.C.; investigation, T.C. and X.T.; resources, X.T.; data curation, T.C.; writing—original draft preparation, T.C.; writing—review and editing, T.C.; visualization, T.C.; supervision, X.T.; project administration, X.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nojedeh, M.V.; Habibi, M.; Arezoo, B. Tool path accuracy enhancement through geometric error compensation. Int. J. Mach. Tools Manu. 2011, 51, 471–482. [Google Scholar] [CrossRef]
  2. Schmitz, T.L.; Ziegert, J.C.; Canning, J.S.; Raul, Z. Case study: A comparison of error sources in high-speed milling. Prec. Eng. 2008, 32, 126–133. [Google Scholar] [CrossRef]
  3. Yin, S.H.; Ohmori, H.; Dai, Y.T.; Uehara, Y.; Chen, F.J.; Tang, H.N. ELID grinding characteristics of glass—Ceramic materials. Int. J. Mach. Tools Manu. 2009, 49, 333–338. [Google Scholar] [CrossRef]
  4. Khan, A.W.; Chen, W.Y. A methodology for systematic geometric error compensation in five-axis machine tools. Int. J. Adv. Manuf. Technol. 2011, 53, 615–628. [Google Scholar] [CrossRef]
  5. Li, J.; Xie, F.G.; Liu, X.J.; Li, W.D.; Zhu, S.W. Geometric error identification and compensation of linear axes based on a novel 13-line method. Int. J. Adv. Manuf. Technol. 2016, 87, 2269–2283. [Google Scholar] [CrossRef]
  6. Chen, J.; Lin, S.; Zhou, X.; Gu, T. A ballbar test for measurement and identification the comprehensive error of tilt table. Int. J. Mach. Tools Manu. 2016, 103, 1–12. [Google Scholar] [CrossRef]
  7. Wu, C.J.; Fan, J.W.; Wang, Q.H.; Pan, R.; Tang, Y.H.; Li, Z.S. Prediction and compensation of geometric error for translational axes in multi-axis machine tools. Int. J. Adv. Manuf. Technol. 2018, 95, 3413–3435. [Google Scholar] [CrossRef]
  8. Li, Y.; Zhao, W.; Lan, S.; Ni, J.; Wu, W.; Lu, B. A review on spindle thermal error compensation in machine tools. Int. J. Mach. Tools Manu. 2015, 95, 25–38. [Google Scholar] [CrossRef]
  9. Wu, C.W.; Tang, C.H.; Chang, C.F.; Shao, Y.S. Thermal error compensation method for machine center. Int. J. Adv. Manuf. Technol. 2012, 59, 681–689. [Google Scholar] [CrossRef]
  10. Wang, H.T.; Wang, L.P.; Li, T.M.; Han, J. Thermal sensor selection for the thermal error modeling of machine tool based on the fuzzy clustering method. Int. J. Adv. Manuf. Technol. 2013, 69, 121–126. [Google Scholar] [CrossRef]
  11. Yang, J.; Shi, H.; Feng, B.; Zhao, L.; Ma, C.; Mei, X.S. Thermal error modeling and compensation for a high-speed motorized spindle. Int. J. Adv. Manuf. Technol. 2015, 77, 1005–1017. [Google Scholar] [CrossRef]
  12. Liu, K.; Liu, Y.; Sun, M.J.; Wu, Y.L.; Zhu, T.J. Comprehensive thermal growth compensation method of spindle and servo axis error on a vertical drilling center. Int. J. Adv. Manuf. Technol. 2017, 88, 2507–2516. [Google Scholar] [CrossRef]
  13. Zhang, Z.L.; Cai, L.G.; Cheng, Q.; Liu, Z.F.; Gu, P.H. A geometric error budget method to improve machining accuracy reliability of multi-axis machine tools. J. Intell. Manuf. 2019, 30, 495–519. [Google Scholar] [CrossRef]
  14. He, G.; Ma, W.; Yu, G.; Lang, A. Modeling and experimental validation of cutting forces in five-axis ball-end milling based on true tooth trajectory. Int. J. Adv. Manuf. Technol. 2015, 78, 189–197. [Google Scholar] [CrossRef]
  15. Ma, W.K.; He, G.Y.; Zhu, L.M.; Guo, L.Z. Tool deflection error compensation in five-axis ball-end milling of sculptured surface. Int. J. Adv. Manuf. Technol. 2016, 84, 1421–1430. [Google Scholar] [CrossRef]
  16. Manna, M.A.; Ramesh, R.; Poo, A.N. Error compensation in machine tools-a review part I: Geometric, cutting-force induced and fixture-dependent errors. Int. J. Mach. Tools Manu. 2007, 40, 1235–1256. [Google Scholar]
  17. Chen, T.T.; Tian, X.C.; Yan, L. Intelligent dimensional error pre-compensation in CNC grinding using iterative learning approach. Int. J. Adv. Manuf. Technol. 2013, 67, 1825–1835. [Google Scholar] [CrossRef]
  18. Chen, T.T.; Tian, X.C. An intelligent self-learning method for dimensional error pre-compensation in CNC grinding. Int. J. Adv. Manuf. Technol. 2014, 75, 1349–1356. [Google Scholar] [CrossRef]
  19. Xu, J.X.; Chen, Y.Q.; Heng, L.T.; Yamamoto, S. Terminal iterative learning control with an application to RTPCVD thickness control. Automatic 1999, 35, 1535–1542. [Google Scholar] [CrossRef]
  20. Chi, R.H.; Liang, H.; Lin, N.; Zhang, R.K.; Huang, B. Constraint data driven optimal terminal ILC of end product quality for a class of I/O constrained batch processes. Can. J. Chem. Eng. 2018, 96, 215–222. [Google Scholar] [CrossRef]
  21. Knight, J.; Shirsavar, S.; Holderbaum, W. An improved reliability cuk based solar inverter with sliding mode control. IEEE Trans. Power Electron. 2017, 21, 1107–1115. [Google Scholar] [CrossRef]
  22. Li, S.; Du, H.; Yu, X. Discrete-time terminal sliding mode control systems based on Euler’s discretization. IEEE Trans. Autom. Control 2014, 59, 546–552. [Google Scholar] [CrossRef]
  23. Wang, W.H.; Hou, Z.S. New adaptive quasi-sliding mode control for nonlinear discrete-time systems. J. Syst. Eng. Electron. 2008, 19, 154–160. [Google Scholar]
  24. Hou, Z.S.; Jin, S.T. A novel data-driven control approach for a class of discrete-time nonlinear systems. IEEE T. Contr. Syst. T. 2011, 19, 1549–1558. [Google Scholar] [CrossRef]
  25. Chi, R.H.; Wang, D.W.; Hou, Z.S.; Jin, S.T. Data-driven optimal terminal iterative learning control. J. Process Control 2012, 22, 2026–2037. [Google Scholar] [CrossRef]
  26. Chi, R.H.; Wei, Y.C.; Wang, R.R. SMC-based data-driven terminal ILC for nonlinear discrete-time systems with unavailable intermediate measurements. In Proceedings of the 31st Chinese Control and Decision Conference, Nanchang, China, 3–5 June 2019. [Google Scholar]
Figure 1. Structure of CNC batch grinding machine tool.
Figure 1. Structure of CNC batch grinding machine tool.
Applsci 13 01822 g001
Figure 2. Diagram of grinding model.
Figure 2. Diagram of grinding model.
Applsci 13 01822 g002
Figure 3. Diagram of influence of grinding wheel diameter decrease on dimensional error.
Figure 3. Diagram of influence of grinding wheel diameter decrease on dimensional error.
Applsci 13 01822 g003
Figure 4. Flowchart of dimensional error compensation method.
Figure 4. Flowchart of dimensional error compensation method.
Applsci 13 01822 g004
Figure 5. Step response of dimension compensation system.
Figure 5. Step response of dimension compensation system.
Applsci 13 01822 g005
Figure 6. Impulse response of dimension compensation system.
Figure 6. Impulse response of dimension compensation system.
Applsci 13 01822 g006
Figure 7. Agathon 400combi grinding machine tool.
Figure 7. Agathon 400combi grinding machine tool.
Applsci 13 01822 g007
Figure 8. Geometry diagram of the indexable insert.
Figure 8. Geometry diagram of the indexable insert.
Applsci 13 01822 g008
Figure 9. Dimension measurement diagram. (a) The displacement sensor. (b) Actual measurement diagram.
Figure 9. Dimension measurement diagram. (a) The displacement sensor. (b) Actual measurement diagram.
Applsci 13 01822 g009
Figure 10. Dimensional variation with three sets of compensation parameters for the compensation experiment.
Figure 10. Dimensional variation with three sets of compensation parameters for the compensation experiment.
Applsci 13 01822 g010
Figure 11. Dimensional variation before and after error compensation.
Figure 11. Dimensional variation before and after error compensation.
Applsci 13 01822 g011
Table 1. Grinding conditions for workpiece.
Table 1. Grinding conditions for workpiece.
ParametersValue
diamond wheelresin bonded, mesh #220, concentration 100%
wheel diameter (mm)350
wheel rotation (mm/s)18
feed rate (mm/s)0.03–0.05
no spark time(s)3
coolantwater soluble
temperature of coolant (°C)12–13
Table 2. Dimensions of the machined workpieces before and after compensation.
Table 2. Dimensions of the machined workpieces before and after compensation.
No.Dimensions of the Group Workpieces without Compensation (mm)Dimensions of the Group Workpieces with Compensation (mm)
19.4229.422
29.4249.434
39.4289.438
49.4289.434
59.439.436
69.439.436
79.4289.434
89.4289.434
99.4289.434
109.4289.434
119.4329.438
129.4329.434
139.4369.438
149.4349.432
159.4329.431
169.4329.436
179.4289.432
189.4289.436
199.439.438
209.4349.442
219.4369.436
229.4349.434
239.4389.438
249.4349.434
259.4349.434
269.4349.434
279.4349.434
289.4349.434
299.4349.434
309.4349.434
319.4349.434
329.4349.434
339.4389.438
349.4369.436
359.4369.436
369.4369.436
379.4369.436
389.4369.436
399.4369.436
409.4349.434
419.4369.436
429.4389.438
439.449.439
449.4469.440
459.4489.436
469.4469.434
479.4469.434
489.4489.436
499.459.438
509.4529.436
519.4489.432
529.459.434
539.4549.438
549.4529.432
559.459.431
569.4529.438
579.4529.438
589.459.436
599.459.436
609.4469.432
619.4469.436
629.4449.434
639.4429.432
649.4449.438
659.4449.438
669.4449.438
679.4449.438
689.449.434
Number of workpieces within the dimensional error tolerance 0.005 mm3365
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chen, T.; Tian, X. Dimensional Error Compensation Based on Data-Driven Sliding Mode Terminal Iterative Learning Control for CNC Batch Grinding. Appl. Sci. 2023, 13, 1822. https://0-doi-org.brum.beds.ac.uk/10.3390/app13031822

AMA Style

Chen T, Tian X. Dimensional Error Compensation Based on Data-Driven Sliding Mode Terminal Iterative Learning Control for CNC Batch Grinding. Applied Sciences. 2023; 13(3):1822. https://0-doi-org.brum.beds.ac.uk/10.3390/app13031822

Chicago/Turabian Style

Chen, Tiantian, and Xincheng Tian. 2023. "Dimensional Error Compensation Based on Data-Driven Sliding Mode Terminal Iterative Learning Control for CNC Batch Grinding" Applied Sciences 13, no. 3: 1822. https://0-doi-org.brum.beds.ac.uk/10.3390/app13031822

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop