PD loop