The conflict between dynamic rapidity and steady-state accuracy is a crucial factor hindering the performance improvement of motor control system. To overcome the issue, this article proposes an optimized cooperative control combining feedback linearization (FBL) and error port-controlled Hamiltonian (EPCH) for permanent magnet synchronous motor (PMSM). First, FBL and EPCH are separately designed to obtain good dynamic and steady-state performances. Then, considering the individual advantages of FBL and EPCH, a cooperative strategy based on the real-time position error is applied to realize the smooth switching between the two methods, so that each method is utilized efficiently within the corresponding operating range. In addition, the particle swarm optimization (PSO) algorithm is introduced to properly select the controller parameters. Thus, an optimized cooperative control method, which takes into account both fast dynamic response and high steady-state precision, is developed for PMSM drives. The experimental results are finally given to illustrate the effectiveness and superiority of the proposed method.