two set of pid in turn control