| With the rapid development of microelectronics, power electronics, signal detection and processing technology, automatic control theory and computer application technology , the motion control system is used widely and has been playing a very important role in the modern production and life. According to the requirements of motion control system, such as well real-time control and strong stability, the development of motion controller, which is of high precision, high efficiency, open and has the network capabilities, is of great significance. In this thesis, the design of motion controller based on SOPC by the reusable IP technology is introduced, which is for the control of Brushless direct current motor(BLDCM) and implemented by single FPGA chip as the core controller.Firstly, this thesis reviews the development status and trends of motion controller, and then compares the advantages and disadvantages of various motion controllers, and gives the control strategy and basic mathematical model of BLDCM.Secondly, the design of the motion controller based on SOPC and the implementation of hardware circuit is put forward at the basis of the analysis of traditional motion controllers. In this design, MicroBlaze soft core is embedded in single FPGA chip and the main peripherals on-chip is connected by the IBM CoreConnect architecture which achieves the interconnection of the multiple IP system by reusable IP technology under the strategy of double loop of current and speed. And the design of user-defined IP, including BLDCM switching, PWM generator, data acquisition module and speed measurement module, is the focus.Then the driver program development and system software design are discussed. The overall program of software design of BLDCM control is given and every software driver module in system is introduced in detail.Finally, the experimental process and result are described, which have proved that the design of BLDCM controller based SOPC is right and feasible.And this kind of design based on SOPC shortens the development cycle, improves the system reliability, makes the system easy to update and port and meets the development trend of motion controller. |