SUMMARYTo achieve the satisfactory control performance of a dynamic system using a proportion-integrationdifferentiation (PID) controller, it is necessary that the three parameters of the PID controller are set to values that suit the system to be controlled. Most current applications employ fixed setting parameters that are not adequate for nonlinear time varying systems with uncertainty and disturbances. In this paper, we use neuron weighted tuning functions to develop self-tuning methods that can automatically tune the parameters of PID controllers. The weighting processes performed using voltage-controlled memristors and current-controlled memristor are discussed. It is proven that the output tracking error of a closed-loop system controlled by the proposed controllers and the weight update rules governed by the memristors descends toward its minimum. A simulation and experimental verification of the performances of these controllers in linear and nonlinear systems are included. This proposed PID controllers are shown to be more robust than conventional PID controllers.