Abstract:To solve the problems of permanent magnet synchronous motor controller such as complex algorithm、large amount of code、long development cycle , this papaer puts forward a permanent magnet synchronous motor rapid control prototype system based on virtual instrument. Design the rapid control prototype hardware platform , and select the hardware device , which are PXI virtual instrument、power drive module、the motor test bench . Research on permanent magnet synchronous motor rotor field oriented control theory , with a 3.1 KW motor to be tested as the controlled object,in RT-LAB real-time simulation software environment,set up permanent magnet synchronous motor control algorithm model.The experimental results show that the rotor speed and stator current can be no deviation to track the reference set value , system control performance is good, and the system makes the motor controller to shorten the development cycle, lower cost.