A variable frequency drive comprising means for: inputting a set of data to one or more control loop performance monitoring algorithms (202-1, 202-2, 202-3) comprised in the variable frequency drive , wherein the set of data comprises at least a measured value of a process variable associated with a physical process influenced by the variable frequency drive via a motor and an actuator , a target value for the process variable, a set of controller input parameters of a process controller (102-1, 201) controlling the variable frequency drive , and a controller output of the process controller (102-1, 201); obtaining an output from each of the one or more control loop performance monitoring algorithms (202-1, 202-2, 202-3) based at least partly on the set of data, wherein the output indicates at least one of: a fraction of a manual operation time in relation to a total operation time of the variable frequency drive , a number of times of the controller output reaching a pre-defined minimum limit and/or a pre-defined maximum limit, a number of oscillations associated with the controller output, or a measured convergence time that it takes for the process variable to converge to the target value; determining one or more key performance indicator values based at least partly on the output from each of the one or more control loop performance monitoring algorithms (202-1, 202-2, 202-3), wherein the one or more key performance indicator values indicate a problem or quality associated with a control loop performance; and adjusting the set of controller input parameters based at least partly on the one or more key performance indicator values. inputting a set of data to one or more control loop performance monitoring algorithms (202-1, 202-2, 202-3) comprised in the variable frequency drive , wherein the set of data comprises at least a measured value of a process variable associated with a physical process influenced by the variable frequency drive via a motor and an actuator , a target value for the process variable, a set of controller input parameters of a process controller (102-1, 201) controlling the variable frequency drive , and a controller output of the process controller (102-1, 201); obtaining an output from each of the one or more control loop performance monitoring algorithms (202-1, 202-2, 202-3) based at least partly on the set of data, wherein the output indicates at least one of: a fraction of a manual operation time in relation to a total operation time of the variable frequency drive , a number of times of the controller output reaching a pre-defined minimum limit and/or a pre-defined maximum limit, a number of oscillations associated with the controller output, or a measured convergence time that it takes for the process variable to converge to the target value; determining one or more key performance indicator values based at least partly on the output from each of the one or more control loop performance monitoring algorithms (202-1, 202-2, 202-3), wherein the one or more key performance indicator values indicate a problem or quality associated with a control loop performance; and adjusting the set of controller input parameters based at least partly on the one or more key performance indicator values. <EOS>