1 Introduction

The industrial development of aerospace, national defense, and shipbuilding, as well as integrated circuit and semiconductor, applies increasingly higher requirements to the precision and quality of the processing of many key parts. As a typical machining method, ultrasonic vibration cutting is widely used in the precision machining of critical workpieces thanks to its advantages, such as lower cutting force [1] and temperature [2], improved surface quality [3], and prolonged tool life [4]. However, in the actual machining process, the natural frequency of cutting devices varies with loads, which leads to a substantial drop in the processing amplitude. Besides, there are some external disturbances during the ultrasonic vibration cutting process, which greatly affect the robustness of the machining process. Therefore, it has become a crucial issue in ultrasonic vibration machining to eliminate the influence of cutting loads and unpredictable disturbances and improve the robustness of the cutting system.

In previous studies, mechanical feedback is usually used as a means of measuring vibration fluctuations during ultrasonic vibration processing [5]. HUBBARD et al. [6] proposed a closed-loop monitoring system to improve the machining quality of the machining process. Chua et al. [7] developed a framework for the development of a monitoring and inspection system in the additive manufacturing process by establishing the correlation between the process parameters and process signatures. Woronko et al. [8] compensated the nonlinear error in the working process of the actuator by using the sliding film control algorithm. In summary, in these methods, additional high-precision sensors are often required, which inevitably leads to system redundancy and higher processing costs. In addition, during the machining process, the position of the sensor usually interferes with the machining by occupying the installation space of the cutting tool and the machining workpiece, which causes great inconvenience to the machining.

To solve these problems, more and more research is carried out for sensorless monitoring and control of the vibration of piezoelectric transducers. Shamoto et al. [9] used piezoelectric ceramics installed on the actuator of the vibration device as a feedback sensor to eliminate the crosstalks between the two directional vibrations of the stepped vibrator excited in the same bending mode in two directions. The experiment shows that an ultraprecise mirror surface with a shape accuracy of less than 0.2 pm is obtained by using the system. Yin et al. [10] designed a novel single-driven ultrasonic elliptical vibration cutting device with a complex beam horn. The experimental results show that, compared to conventional cutting (CC), the cutting force and surface roughness of the cutting process are reduced by this device. Bazghaleh et al. [11] proposed a new type of charge amplifier, which combines the grounded-load digital charge amplifier (GDCDE) and the artificial neural network (ANN) to estimate displacement over a wide bandwidth and overcome drift. According to the experimental results, the hysteresis effect of this charge amplifier is reduced by 91% compared with the traditional voltage amplifier. However, this charge amplifier has the problem of drift during long-term operation. In addition, some research showed that the relationship between charge and displacement of piezoelectric ceramics is more linear than the relationship between voltage and displacement [12]. By this theory, Minase et al. [13] developed a hardware-free charge control feedback controller by using the charge-driven method and estimated the displacement of the piezoelectric drive device based on the charge information. In this control method, the linear relation between charge and displacement is used to simplify the control system. Then, a compensation model for static parameters was established by Ryba et al. [14] based on polynomial equations, and the inverse model was directly simulated in this model. Finally, the experimental results for tracking both triangular and sinusoidal signals were presented to verify the static parameter model. Instead of measuring the velocity with a sensor, Tanaka et al. [15] utilized the electro-mechanical coupling effect of the piezoelectric device and fabricated a sensorless self-excitation system for a macrocantilever based on DSP. The validity was assessed through experiments. Chen et al. [16] proposed a high-precision driving method for a piezoelectric driving platform by using the electro-mechanical model of the piezoelectric transducer. The position or displacement sensors were not required in this method, and a built-up charge sensing circuit can be used to detect the amount of charge of the piezoelectric transducer.

To solve the problem that the vibration state of ultrasonic vibration devices changed with load in the actual cutting process, the relationship between the input electrical signal and the output displacement was studied. Liaw et al. [17] proposed an enhanced sliding mode motion tracking control methodology for piezoelectric actuators to track desired motion trajectories. This methodology was established to accommodate parametric uncertainties, nonlinearities including the hysteresis effect, and other disturbances. Zhu et al. [18] constructed an estimated model of the elliptical cutting device considering cutting load by using a displacement sensor. In this method, the cutting force was estimated by comparing the measured displacement with the estimated free displacement. Zhang et al. [19] developed a tool-workpiece thermocouple system for the temperature measurement of high-speed ultrasonic vibration cutting Ti-6Al-4 V alloys. Moreover, the robustness of ultrasonic vibration cutting devices in the process of machining has been widely concerned by researchers. Gao et al. [20] proposed a sensorless method to track and control the frequency and amplitude of the machining process. They designed a Kalman filter observer to estimate the velocity of vibration and the phase between the supply voltage and current, so as to achieve the stability of vibration in the cutting process. However, the hysteresis nonlinearity of the piezoelectric transducer was not considered in this linear model. A self-sensing method was proposed by Mansour et al. [21] for piezoelectric transducers, which can be used to estimate displacement and force by measuring voltage and charge. Zhang et al. [22] researched the influence of mechanical compliance of mounting clamps on the performance of the high-frequency piezoelectric ultrasonic transducer. The experiments showed that the electromechanical coupling coefficient and the quality factor of the transducer increase with the increment in the mechanical compliance of the clamp. Aiming at the difficult motion decoupling of ultrasonic vibration devices, Yang et al. [23] presented a new optimization design method of ultrasonic elliptical vibration cutting tool with dual longitudinal generators to create a well-decoupled elliptical trajectory. The precise control of vibration is significant to improve the machining quality in the process of ultrasonic vibration cutting. The Preisach model was utilized by Ge [24] to model the hysteresis and nonlinearity of the piezoelectric transducer, of which the numerical inverse model was used as the basis to establish the feedforward controller before proposing a composite control method to improve the tracking precision of the system. Viswamurthy et al. [25] used the Preisach model to characterize the hysteresis in a piezostack actuator for helicopter vibration control. However, the Preisach model is not analytically reversible; therefore, the approximate inverse model of the Preisach model can only be obtained through numerical methods, such as the look-up table method or iterative algorithm. After that, by considering the dynamic creep effect, the tracking error of the piezoelectric ceramic transducer was reduced by an order of magnitude. Due to the characteristics of the PI model, that is, the only existing analytical inverse model, it is also used by researchers in feedforward compensation research [26]. Rakotondrabe et al. [27] designed a hysteresis compensation controller based on the inverse multiplicative scheme. There are some advantages like simplicity and intuitiveness in this hysteresis model, but also some disadvantages, such as long calculated time, a complicated system structure, and the accuracy of the model depending on the initial state. Lin et al. [28] realized hysteresis compensation of biaxial piezoelectric driven stage by using generalized Duhem model in feedforward control mode. In addition, Xu [29] developed a model based on least squares support vector machines for the identification and compensation of the hysteresis effect. Although the complex calculation of the inverse model is avoided in this hysteresis model, the analytical inverse model cannot be obtained due to the complexity of the hysteresis model.

In conclusion, there are three vital problems that remain unresolved in the current control method for the ultrasonic vibration–assisted cutting process. First, the output displacement of the ultrasonic vibration cutting device is also measured by using a dedicated sensor, which greatly increases the processing cost and squeezes the available space in the processing. Second, due to the high-frequency fluctuation of displacement in ultrasonic vibration machining, the compensation of its hysteresis effect was always a difficult problem in the case of estimating the displacement of the ultrasonic vibration process. Third, because the ultrasonic vibration device is affected by the load during the working process, its actual natural frequency is different from the operating frequency. It affects the trajectory of vibration and reduces the machining quality.

Facing the problems above, there are three solutions proposed in this paper. First, a self-sensing circuit is established to monitor the real-time electrical signal of the device during the processing, which replaces the function of dedicated sensors. Second, considering the high-frequency characteristics of the ultrasonic device, a hysteresis model is established based on the PI (Prandtl-Ishlinskii) operator. Based on the reversible analytical solution of this model, a feedback compensation algorithm was proposed to track the rapid change of ultrasonic devices considering the hysteresis effect. Finally, with regards to the influence of processing load on cutting devices, a closed-loop control system is constructed to keep the device in the resonant state, which is not affected by the load during machining.

In this paper, a self-sensing monitoring and closed-loop control system of the ultrasonic vibration cutting process was proposed. What is more, a compensation method of the control system for the hysteresis effect based on the PI model is proposed. This paper is organized as follows: In Section 2, a method for fitting and compensating the hysteresis voltage based on the PI model is present. In Section 3, an electro-mechanical conversion model of the vibrating cutting device is discussed in combination with the piezoelectric hysteresis effect. Subsequently, the feasibility and accuracy of this model were verified through experiments. In Section 4, a self-sensing strategy and closed-loop control system considering the piezoelectric hysteresis effect of the ultrasonic device are proposed. In Section 5, a cutting experiment is carried out to verify the accuracy of this self-sensing monitoring and closed-loop control system proposed in this paper. In Section 6, the analysis of the experimental results for the self-sensing control system is summarized.

2 Hysteresis compensation of ultrasonic elliptical vibration cutting device

Due to the hysteresis effect of the piezoelectric transducer, the input signals and output trajectory present a nonlinear relationship, which has an adverse effect on the precise control of vibration. Moreover, there are higher requirements for real-time modeling of hysteresis effects affected by high frequencies in ultrasonic vibration machining. However, the hysteresis effect of the ultrasonic vibration device is usually ignored in the existing research. In this section, a method for modeling and compensating the hysteresis voltage is established based on the PI model. Then, by testing the ultrasonic elliptical vibration cutting device, the curve of hysteresis voltage is obtained. Finally, an experiment was performed to verify the accuracy of the model.

2.1 Electro-mechanical conversion model of piezoelectric transducer

The electro-mechanical equivalent method is effective for designing and analyzing piezoelectric transducers. In order to obtain the relationship between input and output of piezoelectric transducer, the electrical and mechanical properties of piezoelectric ceramics were analyzed. The equivalent circuit of a piezoelectric transducer can be described as shown in Fig. 1.

Fig. 1
figure 1

Nonlinear electromechanical conversion model of piezoelectric transducer

A simplified electromechanical model is shown in Fig. 1. The linear constitutive relationship of a piezoelectric transducer can be expressed as:

$${F}_{t}=\psi {V}_{t}$$
(1)
$${Q}_{t}=\psi x$$
(2)

where the constant ψ represents the electro-mechanical conversion coefficient, which represents the mapping relationship between the supply voltage V(t) and the driving force Ft, or the mapping relationship of the vibration velocity \(\dot{x}\) and transforming current It. Its unit can be N/V or C/m. x represents the output displacement, V(t) represents the supply voltage at time t, and Q(t) represents the charge from the beginning to the time t.

From this, the relationship of the displacement and the electrical signal can be expressed as:

$$x=\frac{1}{\psi }\left[Q\left(t\right)-{C}_{d}\left(V\left(t\right)-{V}_{H}\right)\right]$$
(3)

where VH stands for hysteresis voltage, which is the voltage loss due to hysteresis nonlinearity. Its value can be calculated by measuring the charge Q(t) through the piezoelectric ceramic. Cd represents the static equivalent capacitance of the piezoelectric ceramic. The specific calculation will be discussed in the next section.

2.2 Hysteresis effect of ultrasonic elliptical vibration cutting device

The core structure of transducers is piezoelectric ceramics. Research shows that piezoelectric material (such as lead zirconate titanate (PZT)) is a kind of polar material, and its electric dipole moment is caused by the arrangement of many electric dipoles inside the crystal. The polarization process can be divided into four stages, i.e., spontaneous polarization, polarization, residual polarization, and power up again. In the case that the piezoelectric ceramic is not affected by the external electric field, the vector sum of its electric dipole moment is zero, and the piezoelectric ceramic is spontaneously polarized at the same time. When piezoelectric ceramics are exposed to an electric field, the orientation of the electric dipoles will approach that of the applied electric field gradually. The result of this phenomenon is that a single crystal and all adjacent crystals expand in the direction of the applied electric field. This process is called polarization. When the electric field is removed, the electric dipole is in a state between nonpolarization and polarization, which is called remnant polarization. Then, it waits for power-up again. This polarization process is shown in Fig. 2.

Fig. 2
figure 2

Polarization principle of piezoelectric materials

It can be seen from Fig. 2 that the polarization process can be completed and displacement can be output when an external electric field is applied to the piezoelectric ceramic for a period of time. Due to this phenomenon, there is a time lag between the applied input voltage and the output displacement, which is the hysteresis effect, as shown in Fig. 3.

Fig. 3
figure 3

Hysteresis characteristic curve of piezoelectric transducer: a voltage-displacement characteristic curve and b charge-displacement characteristic curve

Affected by many factors (such as structure, material, and temperature), the hysteresis curves of piezoelectric transducers are different. In order to investigate the relationship between the electrical signal and the output displacement of the ultrasonic vibration device, a series of experiments are carried out in this paper. The experimental setup of the ultrasonic vibration device is shown in Fig. 4, and the experimental facilities are shown in Table 1.

Fig. 4
figure 4

Acquisition and analysis of electrical signal and displacement signal of ultrasonic vibration device

Table 1 Equipment information of signal acquisition experiment

According to the acquisition experiment, the supply voltage and output displacement of the ultrasonic elliptical vibration cutting device were measured. The voltage-displacement characteristic curve of the ultrasonic elliptical vibration cutting device is shown in Fig. 5, and the voltage-charge characteristic curve is shown in Fig. 6.

Fig. 5
figure 5

The voltage-displacement characteristic curve of ultrasonic device: a voltage amplitude 300 V, b voltage amplitude 400 V, c voltage amplitude 500 V, and d voltage amplitude 600 V

Fig. 6
figure 6

The voltage-charge characteristic curve of the ultrasonic device: a voltage amplitude 300 V, b voltage amplitude 400 V, c voltage amplitude 500 V, and d voltage amplitude 600 V

It can be seen from Fig. 5 that, when the AC voltage changes, the output displacement is related to the rise and fall of the voltage. If we connect the displacement point at extreme voltages with a dashed line in Fig. 5a, it represents the approximate average displacement over a period. When the amplitude of voltage rises, the displacement is lower than the average displacement. When the voltage drops, the displacement is higher than the approximate average displacement. This shows hysteresis between voltage and displacement. The charge curve also shows the same regularity in Fig. 6. So from Eq. (3), the formula of hysteresis voltage VH is as follows:

$${V}_{H}=\frac{\psi x+{C}_{d}V\left(t\right)-Q\left(t\right)}{{C}_{d}}$$
(4)

For the ultrasonic vibration–assisted cutting device, the mechanical and electrical conversion coefficient changes with the different structure arrangement compared with the single piezoelectric transducer unit. The detailed process of the identification of conversion coefficient k is shown in Section 3. The hysteresis voltage of the two-dimensional elliptical vibration cutting device can be expressed as:

$${V}_{H}=\frac{kx+{C}_{d}V\left(t\right)-Q\left(t\right)}{{C}_{d}}$$
(5)

The static capacitance Cd of the device can be obtained by impedance analysis. In this paper, Agilent 4294A impedance analyzer was used to test the ultrasonic vibration device, as shown in Fig. 7. After testing, the static capacitance Cd = 794 pF of the ultrasonic vibration device used in this paper is obtained.

Fig. 7
figure 7

Impedance measurement of ultrasonic elliptical vibration turning device

By substituting the measured voltage-charge data of Fig. 6 into Eq. (5) for calculation, the hysteresis voltage and charge characteristic curve of this device can be obtained as shown in Fig. 8.

Fig. 8
figure 8

Hysteresis voltage-charge characteristic curve of ultrasonic device: a voltage amplitude 300 V, b voltage amplitude 400 V, c voltage amplitude 500 V, and d voltage amplitude 600 V

It can be seen from Fig. 8 that there is also a hysteresis relationship between the hysteresis voltage and the charge. The hysteresis relationship in Fig. 8 is similar to that of the voltage-displacement hysteresis curve. Therefore, it is possible that there is a linear relationship between charge and displacement. So, in order to obtain the relationship between charge and output displacement in the device, the hysteresis model between voltage and charge is established first.

2.3 Hysteresis modeling based on PI model

Although the voltage of a device can be acquired during the actual machining process, the relationship between voltage and charge is difficult to obtain due to hysteresis effects. Since the PI (Prandtl-Ishlinskii) operator is a numerical model with explicit reversible solutions, this operator is used to model the hysteresis effect of the piezoelectric transducer. The PI model is a phenomenological hysteresis model based on hysteresis operators, which can be seen as a superposition of several operators with different thresholds. Each operator has the basic characteristics of hysteresis. Theoretically, a hysteresis curve of arbitrary shape can be fitted by weighting the operator appropriately, as shown in Fig. 9.

Fig. 9
figure 9

Schematic diagram of PI

The formula of the PI model can be expressed as:

$$Q\left(t\right)=\sum_{i=1}^{n}{\omega }_{i}\cdot {P}_{i}\left(t\right)=\sum_{i-1}^{n}{\omega }_{i}\cdot max\left\{U\left(t\right)-{r}_{i},\left.min\left\{U\left(t\right)+{r}_{i},{P}_{i}\left(t-T\right)\right\}\right\}\left(i=1,2,\cdots ,n\right)\right.$$
(6)

where Q(t) is the output charge of the PI model at time t, U(t) is the input voltage of the PI model at time t, ωi is the weight of the PI model, and ri is the threshold of the PI model. And \({r}_{i}={\left[{r}_{0},\cdots ,{r}_{n}\right]}^{T}\), n are the number of Play operators, and T is the time interval.

For the PI operator, the weight ω and threshold r can affect the shape and size of the hysteresis model. The accuracy of this model can be measured by using the sum variance, so the parameters of this hysteresis model can be identified as shown in Table 2.

Table 2 Parameters of PI model

To test the accuracy of this model, the data of Table 1 was substituted into the model; the measured data and simulated data of charge-hysteresis voltage are shown in Fig. 10.

Fig. 10
figure 10

The measured data and simulated data of charge-hysteresis voltage: a voltage amplitude 300 V, b voltage amplitude 400 V, c voltage amplitude 500 V, and d voltage amplitude 600 V

In order to evaluate the accuracy of this hysteresis model quantitatively, the root mean square error (ermse), maximum error (em), and maximum relative error (δm) were calculated. The results are shown in Table 3.

Table 3 Error comparison of hysteresis models with different excitation voltage amplitude

It can be seen from Table 3 that within the range of the excitation voltage amplitude from 300 to 500 V, the error of the hysteresis model is relatively small and stable. With the increase of the excitation voltage amplitude, the deviation increases. At the excitation voltage amplitude of 600 V, the deviation between the measured data and the model simulation experiences a large change, and the error curve appears to drift significantly. From the perspective of the maximum relative error, when the excitation voltage is below 500 V, the maximum relative error remains below 10%. Only when the maximum relative error is 600 V, there is a significant increase. Therefore, it can be explained that the hysteresis model has a better modeling effect at a relatively low voltage.

Based on the inversion of the PI model, hysteresis voltage can be expressed as:

$$U\left(Q\left(t\right)\right)=\sum_{i=1}^{n}{\omega }_{i}^{^{\prime}}\cdot max\left\{q\left(t\right)-{r}_{i}^{^{\prime}},min\left\{q\left(t\right)+{r}_{i}^{^{\prime}},U\left(t-T\right)\right\}\right\}$$
(7)

where U(Q(t)) is the hysteresis voltage after hysteresis compensation, \({\omega }_{i}^{^{\prime}}\) is the weight of the hysteresis inverse model, and \({r}_{i}^{^{\prime}}\) is the threshold of the hysteresis inverse model.

3 Electro-mechanical conversion model and self-sensing strategy for the ultrasonic vibration–assisted cutting device

In ultrasonic elliptical vibration-assisted processing, the real-time physical state of an ultrasonic vibration device (such as tool displacement, device amplitude, and vibration frequency) has a direct impact on the processing quality of the workpiece. Therefore, in precision engineering, it is necessary to monitor the physical state of the machining process. Although common monitoring methods are simple, including force sensors, displacement sensors, and laser vibrometers, they are expensive and require a special installation location, which will increase the complexity of the system to a certain extent. In this section, the electro-mechanical conversion model of the vibrating cutting device is established, considering the piezoelectric hysteresis effect described in the previous section. Furthermore, a self-sensing system for acquiring real-time current and voltage of devices is designed to verify the accuracy of this model.

3.1 Electro-mechanical conversion model of ultrasonic elliptical vibration cutting device

In this paper, the two-dimensional ultrasonic elliptical vibration-assisted cutting device is our research object. The structure of this device is shown in Fig. 11. Other devices can be specifically analyzed based on their own structure.

Fig. 11
figure 11

Two-dimensional ultrasonic elliptical vibration cutting device

The schematic diagram of the two-dimensional ultrasonic elliptical vibration cutting device is shown in Fig. 11, which includes two sets of piezoelectric transducers. By applying excitation voltage, the two sets of piezoelectric ceramics can vibrate in two directions, so an elliptical trajectory is formed at the tooltip finally. The kinematic model of a two-dimensional ultrasonic elliptical vibration cutting device is shown in Fig. 12.

Fig. 12
figure 12

Kinematic model of two-dimensional ultrasonic elliptical vibration cutting device

In Fig. 12, assuming the displacement of piezoelectric transducers 1 and 2 are xA and xB, respectively, the vibration frequency of two sets of piezoelectric transducers is f. Then, the kinematic model of tool vibration can be expressed as:

$$\left\{\begin{array}{c}{x}_{t}=\frac{\mathrm{sin}\frac{\theta }{2}}{2\psi }[{Q}_{A}\left(t\right)-{Q}_{B}\left(t\right)-{C}_{d}\left({V}_{A}\left(t\right)-{V}_{HA}\right)\\ +{C}_{d}({V}_{B}\left(t\right)-{V}_{HB})]-\sqrt{{a}^{2}+{b}^{2}}\mathrm{sin} ({\theta }_{t}-{\theta }_{t0})\\ \begin{array}{c}{y}_{t}=\frac{\mathrm{cos}\frac{\theta }{2}}{2\psi }[{Q}_{A}\left(t\right)+{Q}_{B}\left(t\right)-{C}_{d}({V}_{A}\left(t\right)-{V}_{HA})\\ -{C}_{d}({V}_{B}\left(t\right)-{V}_{HB})]-\sqrt{{a}^{2}+{b}^{2}}\mathrm{cos} ({\theta }_{t}-{\theta }_{t0})\end{array}\end{array}\right.$$
(8)
$${\theta }_{t}=\frac{\pi }{2}+arctan\left\{\frac{cos\frac{\theta }{2}\left[{Q}_{B}\left(t\right)-{Q}_{A}\left(t\right)\left.+{C}_{d}\left({V}_{A}\left(t\right)-{V}_{HA}\right)-{C}_{d}\left({V}_{B}\left(t\right)-{V}_{HB}\right)\right]\right.}{2c-sin\frac{\theta }{2}\left[{Q}_{A}\left(t\right)+{Q}_{B}\left(t\right)\left.-{C}_{d}\left({V}_{A}\left(t\right)-{V}_{HA}\right)-{C}_{d}\left({V}_{B}\left(t\right)-{V}_{HB}\right)\right]\right.}\right\}$$
(9)

In this research, transducer 1 and transducer 2 are driven with the same supply voltage, so \({Q}_{A}\left(t\right)={Q}_{B}\left(t\right)\), \({V}_{HA}={V}_{HB}\), \({V}_{A}\left(t\right)={V}_{B}\left(t\right)\). The coordinates Pt(xt, yt) of tool point Pt can be simplified as:

$$\left\{\begin{array}{c}{x}_{t}=b\\ {y}_{t}=\frac{1}{\psi }\left[Q\left(t\right)-{C}_{d}\left(V\left(t\right)-{V}_{H}\right)\right]cos\frac{\theta }{2}+a\end{array}\right.$$
(10)

Therefore, in this paper, the displacement x of tooltip for a vibration-assisted cutting device can be expressed as:

$$y={y}_{2}-{y}_{1}=\frac{1}{\psi }\left[Q\left(\Delta t\right)-{C}_{d}\left(V\left(\Delta t\right)-{V}_{H}\right)\right]cos\frac{\theta }{2}=k\left[Q\left(\Delta t\right)-{C}_{d}\left(V\left(\Delta t\right)-{V}_{H}\right)\right]$$
(11)

Based on the established electromechanical conversion model, it is a crucial issue to obtain the total charge Q(t) and total voltage V(t) of a piezoelectric transducer. However, these signals required cannot be obtained directly during the processing. Therefore, an acquisition system should be designed to collect the voltage and current signals of piezoelectric ceramic in the vibrating process. The acquisition circuit shown in Fig. 13 was designed to measure the current and voltage in real time.

Fig. 13
figure 13

The acquisition circuit of ultrasonic vibration devices

During the vibration process, the electrical information of piezoelectric ceramics changes with loads in real time. Since the internal electrical parameters of piezoelectric ceramics are not convenient for direct measurement, the electrical signals of piezoelectric ceramics are collected according to the acquisition circuit designed in Fig. 13. Then, the electrical information of piezoelectric ceramics can be calculated according to the voltage relation.

3.2 Parameter identification of acquisition system and analysis of results

The two-dimensional ultrasonic elliptical vibration cutting device was taken as the object of this research. After pre-calibration, the resonance frequency of this cutting device used was 18.4 kHz. The equipment information is shown in Table 4, and the acquisition and processing of self-sensing signals are shown in Fig. 14.

Table 4 Experimental equipment for signal acquisition
Fig. 14
figure 14

Schematic diagram of self-sensing processing for ultrasonic-assisted cutting devices

During the vibrating process, according to the self-sensing processing shown in Fig. 14, the voltage and current of piezoelectric transducers were collected by the acquisition system. While collecting the voltage and current signals, the Microsense 5504 capacitive displacement sensor was used to measure the actual displacement of a tooltip. By calculating the self-sensing current, the charge Qt of piezoelectric transducers in time t can be obtained. Therefore, based on the self-sensing acquisition system and the hysteresis model established in the previous section, the real-time signals of piezoelectric ceramics are monitored and calculated. The charge-displacement characteristic curve is shown in Fig. 15.

Fig. 15
figure 15

Charge-displacement characteristic curves: a voltage amplitude 300 V, b voltage amplitude 400 V, c voltage amplitude 500 V, and d voltage amplitude 600 V

It is not difficult to see from Fig. 15 that there is a linear relationship between the charge and the output displacement of piezoelectric ceramics. So finally, the nonlinear relation between electrical signal and displacement of a piezoelectric transducer is transformed into a linear relationship based on the electromechanical transformation model and hysteresis model established above. Furthermore, the conversion coefficient k of piezo-electric transducers represents a conversion relationship of charge and displacement. For different excitation voltages, the response time of electric dipole in piezoelectric materials is also different due to the electric field intensity. Therefore, the conversion coefficients of different supply voltages are slightly different. According to the linear relationship shown in Fig. 14, the identification results of conversion coefficients for different voltage amplitudes are shown in Table 5.

Table 5 Conversion factor for different voltage amplitudes

Substituting the coefficient k into Eq. (11) and combining it with the hysteresis model in Section 2, the system parameters in this electromechanical conversion model are calibrated. By monitoring the electrical signal of a piezoelectric transducer in real time, the estimated value of displacement was calculated. The comparison of measured and estimated displacement is shown in Fig. 16.

Fig. 16
figure 16

Comparison of measured and estimated displacement values of different voltage amplitude: a voltage amplitude 300 V, b voltage amplitude 400 V, c voltage amplitude 500 V, and d voltage amplitude 600 V

In order to evaluate the accuracy of this model quantitatively, the errors of actual displacement and estimated displacement were selected as evaluation indexes. The calculation results are shown in Table 6.

Table 6 Comparison of actual and estimated displacements

It can be seen from Table 6 that although the actual and estimated displacement increase with the excitation voltage amplitude, their displacement amplitudes are very close. The maximum error of this estimated displacement is only 1.47%. Therefore, it can be determined that the electro-mechanical model established in this paper is accurate.

4 Frequency and amplitude control system effect of ultrasonic vibration cutting devices

Considering the hysteresis effect, the electro-mechanical conversion model established above is used to model the relationship between the state parameters (displacement) and internal signals (voltage and current signals) of ultrasonic elliptical vibration cutting devices. In this section, based on the model established above, a frequency and amplitude control system for ultrasonic elliptical vibration cutting is designed to stabilize the amplitude and frequency of devices. Furthermore, a self-sensing method to estimate the displacement, frequency, and other information of ultrasonic elliptical vibration cutting devices is designed, which solves the problem of monitoring the state of ultrasonic vibration devices.

It was discovered that there is a mapping relationship between electric signal and working state during the working process of piezoelectric transducers. Many models were proposed to describe the relationship of piezoelectric. At present, the linear constitutive relation of piezoelectric ceramics proposed by the Institute of Electrical and Electronics Engineers (IEEE) in 1987 is widely recognized:

$$S={s}^{E}T+dE$$
(12)
$$D=dT+{\varepsilon }^{T}E$$
(13)

where S is mechanical strain, D is electric displacement vector, T is mechanical stress, E is electric field strength, s is flexibility constant, d is piezoelectric strain constant, and ɛ is dielectric constant. Therefore, ɛE and ɛT represent the flexible matrix and the dielectric constant, respectively. Therefore, based on this piezoelectric relationship, the self-sensing and control module for resonance was designed as shown in Fig. 17. In this mothed, to ensure the real-time resonance of ultrasonic vibration device during processing, in this paper, a kind of acquisition circuit for electric signals of piezoelectric ceramics is designed. It is simplified as a self-sensing module in Fig. 17.

Fig. 17
figure 17

Schematic diagram of self-sensing-based ultrasonic vibration cutting device’s frequency and amplitude stable control method

It can be seen from Fig. 16 that the current and voltage collected by this self-sensing module is input to the control module, which monitors the vibration and controls the supply voltage of devices in real time according to the control algorithm. Since the vibration of an ultrasonic cutting device affects the machining quality of workpieces directly. To improve the vibration robustness of the device, the excitation voltage must be controlled according to closed-loop feedback. Based on the model established in the previous section, a system for self-sensing stability control of ultrasonic elliptical vibration cutting is designed. In the control module of this system, the input is the self-sensing electrical signal and the output is excitation voltage after adjustment. The schematic diagram is shown in Fig. 18.

Fig. 18
figure 18

Schematic diagram of state stability control process in ultrasonic elliptical vibration cutting

In Fig. 18, the key of this control method lies in the acquisition and processing of voltage signal V(t) and current signal I(t). Using these two signals, the applied charge Q(t) and the hysteresis voltage VH can be calculated according to the electromechanical conversion model. First of all, the excitation voltage V(t) and the total current I(t) of this device are extracted by the induction of resistances, which are used as the input of this controller then. Based on the hysteresis model established in Section 2, the hysteresis voltage VH of a piezoelectric transducer can be calculated by the total current I(t). Therefore, according to the corresponding conversion coefficient k, the displacement of this device is estimated, and the real-time amplitude deviation ΔA of the device is obtained. Using the amplitude deviation ΔA as input, the amplitude of devices can be tracked by the PID control algorithm.

Due to the structural characteristics of piezoelectric transducers, the maximum amplitude of a resonant device can be reached at the resonant frequency. In the actual cutting process, the vibration frequency deviates from its resonant frequency due to cutting load and other reasons. This causes the actual displacement of devices to be less than the predetermined value, which leads to the machining error. In this paper, a self-sensing monitor and control system of ultrasonic elliptical vibration cutting devices is established. According to the kinetic relationship in Fig. 1:

$$m\ddot{x}+b\dot{x}+kx={F}_{t}+{F}_{ext}$$
(14)

By combining Eq. (1) to Eq. (2), the transfer function between the current It and the supply voltage Vt is

$$G\left(s\right)=\frac{{I}_{t}\left(s\right)}{{V}_{t}\left(s\right)}=\frac{{\psi }^{2}s}{{ms}^{2}+bs+k}.$$
(15)

When the frequency of input voltage matches the natural frequency of working mode, the real part of s in this transfer function G(s) is 0. Given the resonance frequency \({\omega }_{n}=\sqrt{k/m}\) and the damping coefficient \(\zeta =b/\left(2\sqrt{mk}\right)\), the transfer function is:

$${G}_{a}\left(s\right)=\frac{{I}_{t}\left(s\right)}{{V}_{t}\left(s\right)}=\frac{1}{k}\frac{{\psi }^{2}{\omega }_{n}^{2}\omega }{2{\zeta \omega \omega }_{n}+j\left({\omega }^{2}-{\omega }_{n}^{2}\right)}.$$
(16)

It can be seen from Eq. (16) that when the piezoelectric transducer is in resonance, that is, when ω = ωn, the phase of the frequency response function is \(\phi =\angle {G}_{a}\left(j{\omega }_{n}\right)=0\). Therefore, by detecting the phase of the frequency response function \(\phi =\angle {G}_{a}\left(j\omega \right)\), the deviation between the current vibration frequency and the resonance frequency of piezoelectric transducers is judged. The resonance control system of ultrasonic vibration cutting devices consists of two loops. One of the control loops is the amplitude control, which changes the voltage to achieve a specific displacement according to the estimated displacement. Another loop is the frequency control loop, which calculates the phase difference of self-sensing signals (such as self-sensing voltage and current) and controls the supply voltage to achieve resonance. The PID algorithm is used as an adjustment algorithm to control the frequency and amplitude of vibration. The PID controller is defined as follows:

$$\left\{\begin{array}{c}\Delta f\left(k\right)=\Delta {f}_{P}\left(k\right)+\Delta {f}_{I}\left(k\right)+\Delta {f}_{D}\left(k\right)\\ \Delta {f}_{P}\left(k\right)={k}_{fp}{e}_{\theta }\left(k\right)\\ \Delta {f}_{I}\left(k\right)={k}_{fi}\sum\limits_{i=0}^{k}{e}_{\theta }\left(i\right)T\\ \Delta {f}_{D}\left(k\right)={k}_{fd}\frac{{e}_{\theta }\left(k\right)-{e}_{\theta }\left(k-1\right)}{T}\end{array}\right.\left(k=1,\cdots ,n\right)$$
(17)

where Δf(k) is the output of PID controller, that is, the adjusted frequency parameters, e(k) is the input of PID controller, which represents deviation signal of this control system and k represents the number of sampling points, T is sampling period, and kp, ki, and kd represent proportional link coefficient, integral link coefficient, and differential link coefficient of PID controller, respectively.

In the same way, the amplitude stability controller was established based on the PID control algorithm, and it is defined as follows:

$$\left\{\begin{array}{c}\Delta V\left(k\right)=\Delta {V}_{P}\left(k\right)+\Delta {V}_{I}\left(k\right)+\Delta {V}_{D}\left(k\right)\\ \Delta {V}_{P}\left(k\right)={k}_{Vp}{e}_{A}\left(k\right)\\ \Delta {V}_{I}\left(k\right)={k}_{Vi}\sum_{i=0}^{k}{e}_{A}\left(i\right)T\\ \Delta {V}_{D}\left(k\right)={k}_{Vd}\frac{{e}_{A}\left(k\right)-{e}_{A}\left(k-1\right)}{T}\end{array}\right.\left(k=1,\cdots ,n\right).$$
(18)

Generally, the parameters of these PID controllers need to be identified in parameter identification experiments. In this paper, a series of PID controller parameter identification experiments were performed to obtain the necessary control parameters.

5 Validation experiments

In this paper, a comparison experiment with and without the self-sensing control system was carried out to verify the accuracy of this system. This experiment was tested in JDGR 400 T A13S machining center. The machining object is cylindrical rods of aluminum alloy. The tool parameters are shown in Table 7.

Table 7 Parameters of carbide turning tools

The cutting experiment of micro-pit structure is a kind of machining process that can fully reflect vibration error. It is used as a method to evaluate the quality of the ultrasonic vibration process. Before cutting the micro-pit structure, a pre-machining was performed to obtain a smooth cylindrical surface (the machine speed was 5000 r/min, the feed speed was 20 mm/min). Subsequently, the experiment of ultrasonic elliptical-vibration cutting of micro-pits on the cylindrical surface was performed. The processing parameters are shown in Table 8.

Table 8 Machining parameters of cylindrical micro-pits in ultrasonic elliptical vibration cutting

After processing, the micro-structure of these workpiece surfaces was measured with the HIROX KH-7700 three-dimensional digital microscope. The measurement results are shown in Fig. 19.

Fig. 19
figure 19

Comparison of micro-texture topography with or without self-sensing control: a without self-sensing control, b circumferential topography without self-sensing, c axial topography without self-sensing, d with self-sensing control, e circumferential topography with self-sensing, and f axial topography with self-sensing

It is not difficult to see from Fig. 18 that the surface quality of ultrasonic vibration processing with self-sensing monitoring and control system is much better than that without the system. The geometry of machined micro-pit structures with this system is closer to the theoretical value and smoother. While the cutting processing of micro-pits is a compound movement, the arrangement of micro-pits on the surface was offset in the axial direction. To evaluate the machining quality with or without the system quantitatively, the errors of morphology and position were measured as shown in Table 9.

Table 9 The comparison between the corresponding micro-pit measurement data and calculated theoretical values

In Table 9, we set the distance between the lowest point of two micro-pits to represent its position, and the distance between the highest point of two micro-pits represents its morphology. Table 9 shows the comparison between the measurement data and theoretical values of micro-pit in the experiments of 1–5 and 1–6. It can be easily seen from the table that without this self-sensing monitoring and control system, the error of shape size and distribution size are relatively large; in particular, the error of the circumferential length reaches 23.48%. By using the self-resonant control proposed in this paper, the circumferential length error of morphology is reduced by 11.47%. The other errors show varying degrees of reduction except for the axial error of position. Although the error of the axial distance is relatively small, it could not be used as an evaluation index of control results. Because the axial distance is only related to the feed speed of the machine tool and the spindle speed. However, in the case that the micro-pits were processed by using the self-sensing monitoring and control system proposed in this paper, the error of shape size and distribution size are significantly reduced. The improvement in circumferential length and depth is the most obvious, and the amplitude and frequency of vibration are stabilized at the predetermined value. Therefore, the self-sensing monitoring and control system for ultrasonic cutting devices considering the hysteresis effect proposed in this paper is effective.

6 Conclusion

The resonance robustness in ultrasonic vibration cutting is the focus of this paper. Due to the contact between the tool and the workpiece during machining, the actual resonance frequency does not match the frequency of the excitation voltage. To solve this problem, a self-sensing monitoring and control system considering the hysteresis effect is designed. After model comparison and actual processing experiments, the conclusion is as follows:

  1. 1.

    To monitor the vibration of ultrasonic vibration devices in real time, a self-sensing monitoring system was developed to monitor real-time electrical signals of piezoelectric ceramics in the cutting process. A monitor experiment of piezoelectric ceramics showed that the self-sensing voltage and measured displacement conformed to the laws of piezoelectric characteristics in piezoelectric ceramics. It proved that the signal collected and processed by the self-sensing monitoring system can reflect the real-time vibration of piezoelectric ceramics.

  2. 2.

    Aiming to solve the problem that the hysteresis error of the ultrasonic elliptical vibration cutting device is difficult to compensate, the PI model was used to model the hysteresis effect. By comparing simulated data and measured data of charge-hysteresis voltage, the experimental results show that the PI model could properly describe the piezoelectric hysteresis effect of ultrasonic vibration devices. When the voltage is 400 V, the error of the PI model reached the peak value, and the maximum relative error was 16%.

  3. 3.

    Based on the piezoelectric effect of piezoelectric ceramics, the electro-mechanical conversion model of ultrasonic elliptical vibration devices was established. The comparison between model simulation and experimental measurement showed that within the range of voltage amplitude measured in this paper, the electro-mechanical model established showed a maximum error of 1.47%, showing quite high accuracy.

  4. 4.

    According to the actual displacement estimation model of this ultrasonic vibration cutting system established in this paper, a real-time self-sensing monitoring and control system of ultrasonic vibration cutting devices was developed. Through the micro-structure cutting experiment, it was found that when the micro-pits were processed by using the self-sensing monitoring and control system established in this paper, the robustness of vibration is significantly improved and the errors of vibration with cutting load were significantly reduced.