With the development of a computer numerical control (CNC) system, precision machining and measurement have become a pervasive technology today [
1]. In order to ensure the quality of products, the research of its control algorithm has important theoretical significance and practical value. The factors that affect the precision of CNC equipment include tracking error and multi-axis coupling error [
2]. Due to the uncertainty of internal parameters and the disturbances of the external environment, the tracking control in the servo system is a nonlinear problem [
3] that will decrease the robustness of the system.
The classical PID controller is still the most widely used control method in motion control systems due to its mature theory, high reliability, high control accuracy, and simple structure [
4]. However, the PID controller designed using traditional typical methods needs an accurate linear mode, which is difficult to apply in a nonlinear systems [
5]. A big disadvantage of PID consists of the computing of the controller gains [
6]. In order to achieve a quick dynamic response, the nonlinear dynamic model must be considered in the design of the controller [
7]. Modern control and other techniques such as adaptive and artificial intelligence control for changing gains are currently used as alternatives for adaptation mechanisms to system changes in time [
8]. Numerous approaches are proposed in the literature to solve the dynamic response and robust problem of nonlinear systems based on various control schemes, including nonlinear disturbance observer-based control algorithm (NDOBC), nonlinear PID, sliding mode controller, fuzzy control algorithm, and so on. The NDOBC presented in [
9] estimates the fast time-varying disturbances of the spacecraft system, and attenuates its influence on the control system through feedforward compensation, which improves the robust dynamic performance and attitude tracking accuracy. Furthermore, considering the high degree of iteration, complex structure, and high dependence on the accuracy of the control system modeling, the observer-based disturbance prediction algorithm is difficult to apply. The nonlinear PID controller is the earliest discovered and most commonly used method to solve nonlinear problems. However, due to the use of the nonlinear PID controller, most of them have increased numbers of turning parameters, and this will impose a burden on industrial operators for their tuning [
10]. Although some scholars have proposed better adaptive parameter adjustment methods, such as the adaptive adjustment of nonlinear parameters through fuzzy logic [
11] and the application of saturation function to nonlinear PID control law [
12], they also bring extremely high complexity to the controller algorithm. The sliding mode controller makes the system have an invariance that is superior to the robustness when it moves on the sliding mode surface. However, it has a chattering phenomenon in the steady state because of the variable structure [
13]. The fuzzy logic system is an inference system to mimic human thinking, and the experience of human engineers is implemented in the control algorithm in the form of IF-THEN rule statements through a fuzzy inference engine [
14]. Common fuzzy controller structures are as follows: traditional fuzzy controller, adaptive fuzzy controller, fuzzy control combined with other control algorithms [
15], etc. Fuzzy control combined with other control algorithms includes fuzzy PID (FPID), fuzzy sliding mode control (FSMC), neuro-fuzzy Control (NFLC), and so on, and especially, FPID is usually used. For example, the fuzzy self-turning PID controller proposed in [
16] was used to control the temperature in the waste heat recovery system, based on the Rankine cycle. A novel adaptive FPID controller is designed in [
17] for geostationary satellite attitude control. The model predictive and fuzzy logic control theory proposed in [
18] is used to study the optimal control of the pumped storage unit (PSU) under a no-load start-up condition at a low head area. However, the above FPID controllers based on the full order fuzzy rule base not only need a large amount of RAM storage space in the fuzzy logic operation, but they also have multiple cycle operations with a fast frequency in the motion control application, which requires a harsh performance of the CPU.
This paper proposes a kind of FPID based on sparse fuzzy rule base (S-FPID), which has the following advantages: (1) Compared with the classical PID controller, S-FPID has a higher robustness for the servo system, with both internal and external disturbances. (2) Due to the use of a sparse fuzzy rule base instead of a full-order fuzzy rule base in the fuzzy inference engine, it can obviously improve the operation efficiency at the cost of a less robust performance loss. (3) It can make the application of the micro CPU with weak performance possible, which will not only save the cost, but also reduce the quality of the equipment. (4) It can also improve the smoothness of the operating system.