Summary: | 碩士 === 國立勤益科技大學 === 電機工程系 === 102 === In this study, we design a motion controller with communication port on a Field Programmable Gate Array (FPGA) chip. Two units are designed on the chip, arithmetic function and motor drive system. The arithmetic unit is mainly constructed by MC 8051 IP, and is used to program the route and execute the communication with host PC. Motor drive system includes the Digital Difference Analyzer (DDA), step signal generator module, current control module, universal asynchronous receiver/transmitter (UART) and timer module.
The motion routes are generated by CAD/CAM (Computer Aided Design /Computer Aided Manufacture) system as numerical control code (NC Code). Furthermore, we adopt Borland C++ Builder (BCB) to design a user interface (UI) to read the NC code, and transfer the NC code to the motion controller in FPGA through the UART port. And then the motion controller determines the motion route according to the NC code, and passes the step signals to the stepping motor drive system to drive the motor. Finally, simulations and experiments are made to verify the performance of the developed motion control system.
|