1. An autotuning method using an integral of a relay feedback response, the method comprising the steps of: integrating a process data; and removing any effects of harmonics after integrating the process data and computing an ultimate gain.