Biaxial synchronization controller of mechanical system