Analytical method of designing a comparable milling machine model based on Matlab / Simulink

Because of time-varying, nonlinearity and complexity of the machining process, the traditional PID control has been unable to meet the requirements, which are being high-speed and high-precision. However, an advanced control methods can be a good solution for this kind of control system, a prefect simulation results depends on the accuracy of the modeling process, such models can be used to develop more precise and formalized description of process activities, on modeling process, and now a days a lot of software had been used do this issue. This paper aims to create a milling machine process model using the Simulink modeling method, which use the logic of cutting process as a mathematical terms indicates areal milling machining equations, and give it appropriate processing parameters to ensure the simulating results are comparable, the step response method will be used as good indicator to compare the Model process, using Matlab analysis, first the process will be modelled in the Matlab software to test the step response under various parameters and then compare the results.


Introduction
Two major problems in the field of metal cutting are tool wear and tool breakage.Number of schemes, techniques and paradigms have been used for the development of functional decision making systems that would derive a conclusion on machining process conditions, based on sensor signals [1][2][3].There are various numbers of modelling methods to predict the machining process from the cutting force effects point of view, such as FEM modelling, modelling geometric ratio of the engagement of the cutting tool, modeling based on the empirical data and modelling based on a specific cutting force [4][5][6].Before we can control a system, we must understand in mathematical terms how the system behaves without control [7], to make the design easer it is often to assume there are limited number of transfer function in the design objective.By using the same idea mentioned in many ways, to improve the metal removal rate, online adjusting the feed-rate to achieve the feed control and considering that in actual cutting process of high speed milling, other consideration, due the change of cutting parameters, the dynamic characteristics of the machine tool and other factor, make the cutting process is highly nonlinear [8], also, the problem of time-varying and uncertainly, therefore, the traditional milling machining modeling method is difficult to obtain the ideal effect.Software process models often represent a networked sequence of activities [9], Simulink is a good tool to represent the function that's needed to make feedback control works.One of the main advantage of Simulink is the ability to model a nonlinear systems, witch a transfer function is unable to do, another advantage, is ability to take the initial conditions.Such an advantages could therefore serve as abases for directing the model process according to the logic of the cutting process mathematical terms.
The paper has the main objective of introducing and explaining the concepts that characterize the system model, through the step response analysis.In addition, Linear Discrete Process Machining Model and Nonlinear process model are introduced and discussed through a real milling cutting parameters.The main idea of this model using the Fig. 1 contents.A general block diagram of typical control system is shown in Fig. 1.The input to the system is reference force or desired level of the maximum cutting forces.The actual cutting forces are measured via sensor mounted in the table or in the spindle.The CNC unit sends voltage to the feed drives motor, which move the table at an actual feed velocity of [mm/s].Because machine tool drive control servos are tuned to be over damp with zero overshoot, they can approximated to have first order dynamic with average time constant.

Milling machine process modeling and analysis
In general, the process model, using the servo mechanism controller is shown in Fig. 2.

The servo process model
The basic form of a DC servo system is made by an electronic motor [10].According to the mechanism of the milling model system, [V] and [mm/sec] are the input and output of the servo, they are represented by a second order system: where, [mm/V's], [rad/s] and are the servo gain, natural frequency, and damping ratio in sequences.

Discrete transfer function of the milling process system
As explained in Fig. 1, the machine tool control drive system can be approximated by first continuous system: where the fa and fc are the actual output and command input values of the feed speed in (mm/s), the feed or chip load per revolution can be founded by [mm/rev] explained in Fig. 3: where [teeth] is number of teeth on the milling cutter and [rev/s] is the spindle speed.The cutting force does not change instantly with the feed, it is well known that cutting forces are directly proportional to the chip area behavior [11][12][13].A simplified orthogonal cutting force has been introduced in [14] to model the dynamics of the forces in the cutting process: where [N], (N/mm 2 ), (mm) and are the cutting force, cutting constant, the depth of cut and indexed to the exponent of the specific, respectively, and the process can be approximated to have first-order dynamics as follows: where is the time constant.The measured cutting force [N], which is orthogonal and proportional to the tangential force can be described by and the process can be approximated to have first-order dynamics as follows: where, is the dynamometer conversion factor and is the response time parameters of the dynamometer.

Linear continuous process model
The process model, can be expresses as a second order transfer function formula: where, is the total gain of the machining process.

Linear discrete process machining model
Because of the machining process is controlled at spindle period , the zero-order hold equivalent of ( ) is considered: where is the spindle rotation counter, is forward shift operator and the discrete process parameters ( , , , ) depend on the work piece geometry.Assume the milling process transfer function is shown in Table 1.

Nonlinear machining process model
In a practical servo system there will be additional components of the model witch are important.The most important nonlinearities are the saturation voltage of the motor drive amplifier, the headband in the amplifier, the-called coulomb friction in the rotating mechanical components and hysteresis (backlash) in any gearboxes that might between the motor and the load: For a nonlinear machining process, the variable gain represent the first-order dynamic system.The process model can be obtained by combining Eq. ( 8) and Eq. ( 9).Eq. ( 10), represent the system model, in the third-order system.Due to the pole = − where, = -150, when sampling period is 0.02 s, combining Eq. ( 8) and Eq. ( 9) can be simplified to: In the following formula, is the total gain of the machining process.Where the time delay is too much smaller than the time constant .Since the time is small, it can be neglected and the design can be based on the second order model: In addition, the cutting force does not only has a non-linear relationship with the feed-rate , but also it has a non-linear relationship with back knife as: In the above formula, is the Exponent, > 1, in the milling process = 1.4,Eq. ( 13) will appear as:

Milling machine process design model
To facilitate the theoretical analysis, assume that, the milling machine is a linear continuous system.By using the model Fig. 4

Establishment of the model in Matlab/Simulink
The established Simulink model shown in Fig. 9, where the simulation parameters mentioned in the above Fig. 4.

Simulation analysis of the milling process in Matlab
To ensure the model correct and comparable, a method using Mat lab code has been developed to test the step response of the established model under various parameters.Parameters MATLAB code had been used to find out the impact of the exponent of the specific m, damping ratio and natural frequency.

Comparing the final simulation results
When using the same parameters, the step response of all models are the same, which indicate the model is correct and comparable

Conclusions
Milling machine model is built in Matlab/Simulink, through the analytical method using linear and nonlinear process.Cutting process is non-linear and the process model varies according to the axial cutting depth, spindle speed, work-piece and cutter shape material, with time.For the model, the discrete transfer-function will be different when the sampling period is different.In addition, the actual process is much more complex than the theory, which cannot able to find the appropriate mathematical model expression to express the process model.Using Matlab/Simulink is can gives more options to change the parameters and simulate additional results, also it is easy to add an advanced controller method to the model.

Fig. 1 .
Fig. 1.Block diagram of control system in machining

Fig. 5 .
Fig. 5.The Simulink model of the milling machine controlled system

Table 1 .
MillingBy consider the sampling period time of the model is = 0.05 s, and = 1 ⁄ is sampling frequency.

Table 2 .
Machining process model parameters The model