Quick controller to learn on sine waves to reduce parameters