This paper introduces a new study for one-axis servomechanism with consideration the parameter variation and system uncertainty. Also, a new approach for high-performance self-tuning nonlinear PID control was developed to track a preselected profile with high accuracy. Moreover, a comparison study between the proposed control technique and the well-known controllers (PID and Nonlinear PID). The optimal control parameters were determined based on the COVID-19 optimization technique. The parameters of the servomechanism system changed randomly at a preselected range through the online simulation. The change of these parameters acts as the nonlinearity resources (friction, backlash, environmental effects) and system uncertainty. A comparative study between the linear and nonlinear models had been accomplished and investigated. The results show that the proposed controller can track several operating points with high accuracy, low rise time, and small overshoot.