1. Introduction
In recent years, with the widespread use of hard and brittle composite materials, the performance requirements of rotary ultrasonic machining equipment have increased [
1,
2,
3]. Although electro-discharged machining (EDM) can machine various kinds of work-pieces, the machining efficiency is low and the accuracy is not satisfying. Electro-chemical machining (ECM) is a non-contact machining method without residual stress or deformation in the material being machined, but electrolytic machining is more complicated in terms of manufacturing cathode tools and has great difficulty in replacing electrolytes due to the difficulty of discharging electrolytic products. Laser beam machining (LBM) is also used as a non-contact machining method, but the surface roughness of the machined workpiece is not good enough with poor dimensional and positioning accuracy; the equipment is also expensive. Ultrasonic machining (USM) can obviously improve the machining efficiency compared with the above mentioned machining methods, but the electrode loss of ultrasonic machining tools is higher, and it is difficult to compensate online. Due to their higher hardness, higher wear resistance and other mechanical proper-ties, stainless steel, cemented carbide, metal matrix composites, etc., usually call for a combination of a variety of machining processes with a single processing method has its advantages and shortcomings [
4,
5].
UCEM is a hybrid process of rotary ultrasonic machining and electro-machining that can reduce micro-cracks, surface stress and other defects, and is the preferred solution for the efficient machining of high hardness and high toughness products [
6,
7,
8]. In the process of combined electro-machining, the tool electrode vibrates in the axial direction under the action of ultrasonic frequency, the pole is connected to DC or pulse power, the machining area is immersed in working fluid mixed with a certain electrolyte, and the material is removed by ultrasonic combined electric spark or ultrasonic combined electrolysis, or by ultrasonic combined electrochemical discharge machining between the poles.
When a one-dimensional ultrasonic vibration-assisted electrochemical discharge is used to process tiny deep holes in glass [
9], copper [
10], or titanium alloys [
11], vibration at a high or low frequency with a low concentration of electrolytes is able to increase the micro-hole depth and improve the material removal rate [
12,
13,
14].
Natsu found in his experiments on ultrasonic vibration-assisted electrolytic machining that a combined, high frequency ultrasonic vibration was more favorable than a single, low frequency one in terms of material removal rate [
15]. Pei modeled the material removal rate of ceramics processed by rotational ultrasonic face milling [
16], while some scholars have developed mathematical models of material removal rates for one-dimensional rotational ultrasonic machining based on experiments [
17,
18].
UCEM organically compounds the vortex, cavitation, and electro-machining in the ultrasonic vibration process to promote the elimination of products from the machining process and the circulation of the working fluid, thus improving the machining efficiency and the machining effect [
19]. However, in the UCEM system, the physical and chemical complexity and variability of the machining process, as well as the wear and tear of the tool head in ultrasonic machining and electro-machining, may deviate from the expected values, making it difficult to maintain the stability of the UCEM process, resulting in a decrease in machining efficiency. In particular, when the machining depth and area increase, the ultrasonic vibration parameters and electrical parameters change, and it is often difficult to maintain the efficiency and accuracy of continuous stability, which means that manual intervention is generally difficult to avoid in this situation [
20,
21,
22].
Specifically, throughout the machining control system, research has been conducted based on a short-circuit detection method to solve the short circuit between the tool electrode and the workpiece during machining [
23,
24], where a short circuit is set between the tool electrode and the workpiece to determine the state of the distance between the tool electrode and the workpiece [
25,
26]. However, the disadvantage of this method is that only the tool electrode and the workpiece are short-circuited, which is judged by detecting the high current at the time of the short circuit and using this as a signal to back off the electrode by controlling the servo system of the machine [
27,
28,
29,
30]. At this point, the ablation caused by the short circuit is already occurring on the contact surface of the tool electrode and the workpiece and causing burns on the electrode and the workpiece; therefore, defects in the application of this method remain. Therefore, proposing new online methods and effectively implementing online inspection of the machining process, as well as avoiding short circuits during machining, are key challenges that must be solved in the area of machining.
To address the above problems, this paper constructed and optimized an UCEM detection and control system based on an analysis of the mutual coordination mechanism of each effect of UCEM, and proposed a machining short-circuit-avoidance method based on inter-pulse voltage detection. This method is based on the phenomenon that the inter-pulse voltage is not zero at the inter-pulse output during UCEM, and determines whether there is a short circuit by detecting the magnitude of the inter-pulse voltage, fundamentally avoiding the irreversible harm caused by a high current that is generated when the electrode is shorted to electrolytic machining.
Through experiments, an analysis of the influence of the control system and the inter-pulse voltage detection method on the machining effect of composite materials is carried out. Combined with real-time detection and an adjustment of the machining system parameters, the ultrasonic and electro-machining action factors are changed to find the optimized parameters of the extreme value point under each condition, in order to keep the machining process continuously stable in real time.
2. Brief Introduction of UCEM System
2.1. Basic Principles of UCEM
In the process of rotating ultrasonic combined electro-machining, metal materials are mainly removed by corrosion using a pulsed electrolytic action, and plastic is removed by abrasive grains (mechanical grinding) using a rotating ultrasonic action, with an occasional electric spark discharge. The reasons for this are mainly the generation of electrolytic hydrogen bubbles and cavitation bubbles in the gap, which reduces the electro-conductivity, while as concerns the local point due to electrolytic passivation, electrolytic removal becomes slower, forming a raised surface point, the gap becomes smaller, and the electrolyte is struck at the point of maximum field strength, forming a tiny spark discharge. This tiny spark discharge is an aid to remove the local difficult machining point, and the amount of material removing is negligible.
Figure 1 shows the principle diagram of combined electrolytic-discharge spreading machining. When the multi-axis linkage spreading machining surface, the axial Z ultrasonic vibrations and radial X and Y ultrasonic vibrations form a multi-dimensional ultrasonic vibration. During the machining process, due to the ultrasonic vibration in the radial X and Y directions, the electrode gap can be maintained between the tool electrode and the workpiece with reasonable ultrasonic frequency changes can be maintained, which is conducive to strengthening and optimizing the electrolysis-discharge effect between the poles, improving the machining efficiency and stabilizing the machining process at the same time, with better forming accuracy.
Through an analysis of the UCEM, it can be seen that if the machining is destabilized, besides affecting the discharge of machining debris, it is also very likely to cause a short circuit in the electrolytic machining circuit, which would lead to the ablation of the parts and electrodes. To ensure the smooth implementation and steady switching of the above machining, it is necessary to build a multi-energy field synergistic action control system.
2.2. Multi-Energy Coordination Mechanism of UCEM
UCEM integrates three kinds of energy: ultrasonic action, spark discharge action, and electrolytic action. Ultrasonic vibrations are the foundation, and not only have a material removal role in machining, but also promote and improve the role of discharge and electrolytic machining. Discharge and electrolytic machining are the core, and are the most important way to enhance the material removal rate and machining quality of UCEM. This is due to the higher efficiency of discharge and electrolytic machining compared with ultrasonic machining (for conductive materials).
Figure 2 showed the relationship between ultrasonic vibration displacement and interpolar electrical parameters.
Where represents the interpolar voltage, represents the interpolar electrolytic current waveform (corresponding to the low frequency signal of the current waveform), and is the microspark discharge current waveform (corresponding to the high frequency signal of the current waveform), and represent the ultrasonic amplitude and ultrasonic vibration period parameters respectively, and the is related to the UCEM gap parameters. All these parameters affect the machining accuracy, efficiency, and process stability. Therefore, it is necessary to change the energy relationship between ultrasonic, electro discharge and electrolytic action by an online adjustment of the machining system parameters in the experiment to find the optimal combination of parameters.
The following is an analysis of the relationship between the energy density of the three actions of ultrasonic, discharge, and electrolysis:
where
is the ultrasonic energy density,
is the energy density of electrolytic effect,
is the energy density of the microspark discharge, and
is the coefficient related to working medium density
and ultrasonic propagation speed
.
Different detection methods and control strategies should be used for various types of parameters in machining, from one or two effects of the energy relationship, through to testing one, two, or three effects combination tests, and comparisons and analysis of the process and results. For example, when the machining ultrasonic vibrations energy is insufficient for reach the machining requirements, it could be increased by increasing the ultrasonic power supply voltage to improve the ultrasonic frequency; when the electro-machining energy is inadequate for the machining requirements, could be increased by upgrading the pulse power supply voltage, etc. The above examples provide the theoretical basis for designing a control circuit, and constructing and improving the adaptive parameter-seeking system for UCEM.
In rough machining, the maximum etch rate rule is used if machining through holes, where the material removal rate takes precedence and the machining error and surface roughness take second place. If machining a cavity, the conditional maximum material removal rate rule is used, with the machining error taking precedence, and the material removal rate, and surface roughness second. For fine machining, ensuring the final size, shape accuracy, and surface roughness is required under the premise of making the maximum material removal rate and the minimum machining error. In summary, the model adopts the principle of material removal rate maximization, and takes the material removal rate as the objective function, while the surface roughness and machining error are given in the form of constraints.
The surface roughness and machining error are restricted as the index requirements:
where the square brackets in
indicate the permitted value, which is determined according to the machining parameter requirements;
is determined according to the machining-dimensional errors. In addition, the selection of the design variables should be limited by the upper and lower limits of the values taken in compliance with the machining parameters:
The expression of the basic mathematical model of the UCEM is obtained as:
where
refers to the pulse width,
refers to the pulse interval,
refers to peak current,
refers to the ultrasonic amplitude and
refers to spindle rotation speed.
Traditional selection methods are not suitable for efficient and high precision control requirements for combined machining processes. Therefore, the key issue is to determine the inputs and outputs of the system as the purpose of designing simple structured controllers in the study of combined machining control systems. For this reason, the artificial neural network technology was introduced into the selection of combined machining parameters, and a neural network-based optimization method was proposed.
From the perspective of network structure, the fewer the number of in-put and output neurons, the easier the adjustment and the higher the accuracy. On the basis of theoretical analysis and experimental studies, the material removal rate, surface roughness, electrode loss rate, machining error, and abrasive number were used as the input parameters of the prediction network; the pulse voltage, electrolyte concentration, feed rate, ultrasonic amplitude, and spindle speed were used as the output quantities of the network. Therefore, a BP neural network structure with five and five neurons in the input and output layers were used to establish the combined machining process model.
2.3. Design of UCEM Control System
The machining system was made up of a rotary ultrasonic unit, an electro-machining unit, a measurement unit, and other modules. The control system controls the subsystems in a unified manner to form a complete machining system. To achieve the machining goal, the parameters of rotary ultrasonic, machining power supply, electrolyte, multi-axis spreading feed, and other links need to be processed online; in particular, the key parameters are real-time adjusted, controlled, and compensated for the fluctuation of other parameters to coordinate the role of ultrasonic, electrolysis, and discharge in UCEM.
The design control system combined theoretical analysis of the mechanism of multi-effect action and mutual synergy as well as the influence of the machining and its own characteristics, including servo drive control, machining parameter control, pulse power control, ultrasonic parameter control and several other functional modules, as shown in
Figure 3.
The overall control scheme of the combined machining system is shown in
Figure 4. The computer communicates with the main control core through the serial port to control the rotational motion of the high-speed ultrasonic spindle. The motion control system realizes the table feed motion in all directions and the vertical motion of the rotating ultrasonic spindle. The ultrasonic power supply, pulse power supply and other directional ultrasonic vibration systems are controlled through the main control core. The sensors for acquisition included in the system were pressure, temperature, speed, current, micro-displacement sensors, etc.
The analysis of the mechanism of UCEM and experimental research proved that the machining process is very complex, and the parameters to be selected are not only electro parameters, but also include ultrasonic parameters and other machining parameters and the machining parameters are coupled with each other, whereby the degree of their influence is difficult to quantify. If all the machining parameters are used as the control quantity of the CNC system to form a multi-input multi-output UCEM controller, the controller structure is extremely complicated and difficult to achieve.
To improve the real-time performance of the control system as much as possible and simplify the controller structure and control algorithm, complex process control was achieved by designing multiple single-output fuzzy neural network controllers. The priority decision-maker judged the system fuzzy neural network control strategy to achieve variable structure fuzzy control of the machining process.
The multi-input with multi-output control system was structurally decomposed to solve the problem of the difficult extraction of control rules for complex multi-input with multi-output systems and the problem of control parameter coupling for complex electro-machining control systems, as well as to achieve uncoupling in the structure. The overall structure of the system controller block diagram is shown in
Figure 5.
The system included three parts: the servo-driven fuzzy controller, the parameter adjustment fuzzy controller, and the priority decision controller. By controlling the precise feeding of the servo-feed system to maintain the best discharge gap and avoid unstable machining caused by an unsuitable gap, the parameter controller would achieve online adjustment of the parameters on the basis of machining in an off-line setting, including the parameters that have a greater impact on the stability of the machining, such as pulse interval, peak current, ultrasonic amplitude, and machining parameters.
The control system priority decision-maker has judgment, memory, and machining capabilities. During machining, the priority decision controller makes real-time control decisions in the current machining state through the memory of the current machining state judgment and the previous process decision to adjust the control output; the system constantly detects the correctness of the discharge state judgment decision and constantly corrects the amount of adjustment.
If the current control mode cannot effectively improve the machining state, there is a need to change the control strategy; that is, to adjust to a higher level of control mode for higher priority control or multivariable simultaneous control of the combined control mode, so that the system achieves skilled control effects. Through real-time parameter adjustments to optimize and keep the machining continuously stable, an optimized control scheme can be formed to guide the application and to fulfill the machining requirements of the combined parts.
2.4. Concept of Inter-Pulse Voltage Detection of UCEM
During the machining procedure, if the machining is unstable, it is likely to cause excessive current in the machining circuit in addition to affecting the discharge of machining chips, which would lead to excessive ablation of workpiece and electrodes. To solve this problem, a short circuit avoidance method was used to determine whether a short circuit had occurred. This method was based on the inter-pulse voltage detection by measuring the magnitude of the inter-pulse voltage through taking advantage of the phenomenon that the machining inter-pulse voltage was not be zero in normal state.
The inter-pulse voltage between the tool electrode and the workpiece was collected and the inter-pulse voltage was introduced to the comparison judge to detect and com-pare at each inter-pulse voltage; furthermore, the judgment signal would be fed back to the pulse power supply system, the ultrasonic generation system, and the machine motion system. Thus, the output of high and low potentials of the pulse power supply, the feed or retraction of the tool electrode and the vibration state of the ultrasonic generator system can be controlled.
The pulse power supply in the study was self-designed and the pulse signal was generated by controlling the MOSFET through the control system. The collection point was set up on each of the tool electrode and the workpiece and the inter-pulse voltage at both ends would be collected into the comparison circuit, and also this input inter-pulse voltage was compared with the reference voltage. The composition of the designed detection module is shown in
Figure 6. In addition, the flow of detection, feedback, and control during machining as shown in
Figure 7.
When the pulse power supply was turned on, in the process of stable machining, the pulse power supply continued to send out nonstop pulse signals, then the comparative judge detected the inter-pulse voltage of this series of signals and made comparative decisions at the same time. If the inter-pulse voltage was not “zero”, the control signal output was normal and the combined machining process would be performed smoothly.
If the inter-pulse voltage value was detected as “zero” suddenly, it can be judged that the tool electrode and the workpiece were in contact due to the fact that the inter-pulse voltage was lower than the reference voltage, also the judgment would send a feedback control signal to determine the short circuit. The feedback signal fed to the control system can make the feeding of the tool electrode stop instantaneously and interrupt the ultrasonic vibration output at the same time, thus avoiding serious collisions between the tool electrode and the workpiece due to continued supply in the case of short circuit. After the machining process was stopped momentarily, the tool electrode is retracted in the opposite direction of the feed direction for short-circuit elimination. Furthermore, the detection and comparison of the inter-pulse were performed all the time during the process. The cycle would be repeated until the detected inter-pulse voltage was not “zero” and the machining system would return to normal.
Through the analysis, it can be known that the output of the comparison circuit acted as the core of the whole machining system which controlled the generation and output of the regulated pulse power supply, the ultrasonic generation system and the machine feed. The comparison voltage set in this study was 0.2 V according to the actual study.
3. Experimental System
In the previous section, the principle of the UCEM control system and the short-circuit detection of UCEM using the inter-pulse voltage were shown. The experimental system of UCEM system was designed as shown in
Figure 8. The computer realized the spatial multi-axis servo feeding of the table and the rotating ultrasonic device through real-time control, and the feeding mechanism was designed with micro-displacement sensors, which can monitor and feedback the spatial position information of the workpiece and electrode in real time.
Through the multi-dimensional ultrasonic control system, the workpiece system resonated and rotated with the normal direction of the machining surface. By modulating the multidimensional rotating ultrasonic parameters, the “electrolysis-discharge” machining was produced between the electrode and the workpiece using the ultrasonic excitation effect, and the “on and off“ of the machining power supply was controlled by the output of the pulse detection module, and the feedback signal was generated by the computer based on the needs of the machining state. The feedback signal was adjusted and controlled in real time by the computer according to the needs of the machining status which could ensure the small gap machining and avoid the machining short-circuit at the same time.
Before conducting the experiment, it was necessary to ensure that the ultrasonic system vibration system was in resonance. The ultrasonic vibration system used in this experiment can realize wide frequency adaptive frequency locking and machining dynamic frequency tracking, its frequency can be automatically adjusted within a certain range, and the control algorithm can adapt to the dynamic load characteristics.
When the ultrasonic vibrations system was in resonance, the vibration displacement curve of the tool electrode was always a similar sinusoidal curve moving up and down with zero reference plane. The waveform of the ultrasonic vibration signal of the actual machining process and the simultaneous combining of the electro discharge machining is shown in
Figure 9.