Research and Design of General-purpose 4-axes Motion Controller

Author
YangWeiFa
Advisor
ZhaoZhenHua
School
Wuhan Institute of Technology
Major
Detection Technology and Automation
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2011
Downloads
37
Citations
0

Request the full text

Abstract

Motion control technology is the gordian technique of promoting a new industrial revolution, and is also a symbol of national industrial modernization. With the rapid development of manufacturing, the demand of motion controller is increasing because the traditional equipments are updated. Moreover, with the improvement of motion control technology, the demand of the new generation of motion controller’s performance, function, openness and cost is increasing.By comparing the existing designs of the motion controller, this paper gives a new design of four-axis motion controller, based on embedded-Linux operating system. We design a multi-functional 4-axes motion controller, based on Samsung’s ARM microprocessor-S3C2440 and NPM’s special motion control chip-PCL6045B.The designs of hardware modules include motion control module, communication module, memory module and CPU peripheral module. The motion control module consists of inputs and outputs of PCL6045B and photoelectric converter module; the communication module includes serial communication, network communication and USB communication; and the memory module includes Nand Flash memory, SDRAM memory and USB removable storage device interface. CPU peripheral module consists of reset circuit, JTAG circuit, clock circuit etc.In the software, the U-Boot and Linux2.6 kernel are transplant, and include the Nand Flash driver, serial driver, USB driver and network driver. On these bases, we developed PCL6045B driver, users just need to develop some applications in the Linux platform.At last, a example is given with specific control object. A three-axis carving machine is designed based on the motion controller, and good results are obtained .At the end of paper, summary and preview of the design are made, and functions that can be extended are be described.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-15 1.1 motion controller development history 9-10 1.2 Motion Controller Research 10-11 1.3 trends motion controller 11-13 1.4 research the meaning and content of 13 1.5 Chapter Summary 13-15 Chapter 2 motion controller overall program design 15-23 nbsp 2.1 motion controller technical performance of; 15-16 2.2 motion controller overall structural design 16-17 2.3 embedded operating system, select 17-21 2.3.1 embedded operating system Introduction 17-18 2.3.2 several embedded operating systems comparison and selection 18-21 2.4 Chapter Summary 21-23 Chapter 3 motion controller hardware circuit design 23-47 3.1 S3C2440 microprocessor hardware structure the special motion the control chip PCL60458 About nbsp in 23-25 ?? 3.2 ; 25-34 3.2.1 PCL6045B function and internal structure the 26-32 3.2.2 PCL6045B, with the S3C2440 interface design 32-34 3.3 Communication module design 34-38 3.3.1 serial communication 34-35 3.3.2 USB communication 35-36 3.3.3 Ethernet Netcom letter 36-38 3.4 memory module design 38-43 3.4.1 NAND FLASH memory 38-39 3.4.2 SDRAM memory 39-42 3.4.3 USB removable storage device interface 42-43 3.5 the JTAG interface design 43 3.6 real-time clock and reset circuit 43-45 3.7 Chapter Summary 45-47 Chapter 4 motion controller software design 47-75 4.1 system software framework designed structures nbsp 47-48 4.2 cross development environment; 48-51 4.2.1 embedded software development process 48-49 4.2.2 cross compiler The establishment of the environment 49-51 4.3 U-Boot modify and transplant 51-60 U-Boot 4.3.1 transplantation 51-56 4.3.2 NAND FLASH driver implementation 56-60 4.3.2.1 from NAND FLASH memory to start 57-59 4.3.2.2 U-Boot NAND FLASH command 59-60 4.4 Linux 2.6 kernel porting 60-68 4.4.1 Linux2.6, kernel new features 60-63 4.4.2 RTLinux real-time system 63-65 4.4.2.1 RT-Linux Introduction the realization principle 63-64 4.4.2.2 RT-Linux 64-65 <br / > 4.4.3 Linux kernel configuration and compile the 65-68 4.5 Linux root file system build 68-73 4.5.1 the BusyBox installation of 68 - 71 4.5.2 making root file system 71-73 4.6 Chapter Summary the driver design 73-75 Chapter 5 PCL6045B 75 the -99 5.1 PCL6045B control method 75-88 5.1.1 Control register the the 75-79 5.1.1.1 instruction of register COMW 76 - 77 5.1.1.2 Output the setting register OTPW 77 5.1.1.3 Data the buffer register BUFW the 77-78 5.1.1.4 Main Status register MSTSW 5.1.1.5 sub-the state register SSTSW 78-79 79 5.1.2 COM80 instruction sets 79-83 5.1.2.1 operating instructions 80 5.1.2.2 controller instructions 80 5.1.2.3 common output port control instructions the 80-81 5.1.2.4 register operation. instruction 81 - nbsp the 83 5.1.3 PCL6045B control code; 83-86 5.1.3.1 instruction to write function 83-84 5.1.3.2 write register function nbsp read register function; 84-85 5.1.3.3 the 85-86 5.1.4 speed mode the 86-88 5.2 PCL6045B address static mapping 88-89 the the 5.3 character device driver model 89-94 5.3.1 loading and unloading functions the 90-91 5.3.2 file_operation structures the 5.3.3 device number 91-92 92 5.3.4 character device descriptor 92-93 organizational structure 5.3.5 character device driver 93-94 5.4 PCL6045B driven program designed 94-97 5.4.1 pc16045b_init the pc16045b_exit function 94-95 5.4.2 pc16045b_open, function 95-96 5.4.3 pc16045b_read function. 96-97 5.4.4 pc16045b_write function. 97 5.5 Chapter Summary 97 - 99 Chapter 6 motion controller triaxial engraving machine 99-105 6.1 3-axis engraving machine design 99-100 6.2 G code to read and parse 100-101 6.3 interpolation module 101-103 6.4 Chapter Summary 103-105 first Chapter 7 Summary and Outlook 105-107 7.1 summarizes 105 7.2 Looking 105-107 Reference 107-111 < br /> Appendix 1 instruction encoding macro definitions 111-113 Appendix 2 G code parsing function 113-117 studying for a master's degree during the thesis 117 - 119 Acknowledgements 119

Related dissertations

  1. The Research of Household Remote Monitoring Based on Embedded Web Server
  2. Research and Design of Intelligent Video Surveillance System Based on ARM
  3. The Design of Embedded Network Video Surveillance System Based on ARM9
  4. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  5. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  6. Design of Industrial Ethernet Motion Controller Based on ARM
  7. The System Design and Implementation of Smart Home Control Terminal Based on Linux
  8. Design of Cutting Robot System Platform Based on ARM
    QiChong ·Harbin Engineering University ·2013 ·Master's thesis
  9. AGV car design and development of image recognition and motion control technology based on
  10. Research and Design on Embedded Face Recognition Entrance Guard System
    LiuXinPeng ·Hebei University of Engineering ·2013 ·Master's thesis
  11. Design of Electroacoustic Air Defense Alarm Controller Based on ARM9
  12. The Designand Realization of Embedded USB Mass Storage System
    WangMeng ·Hebei University of Technology ·2013 ·Master's thesis
  13. Design and Realization of intelligent mobile video surveillance system based on embedded and OpenCV
  14. Video Based on S3C6410Processing Terminal Design
    SunFaBo ·Hunan University ·2013 ·Master's thesis
  15. Ad Hoc Network Protocol Design by nRF24l01under the ARM-linux Environment
  16. Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
    MaoHongYu ·Gansu Agricultural University ·2013 ·Master's thesis
  17. The Research on the Terminal Equipment in Power Quality Online Monitoring System
    XiongLiang ·East China Jiaotong University ·2013 ·Master's thesis
  18. The design of intelligent Home Furnishing monitoring system based on ARM
  19. Design of On-line Monitoring System for Circuit Breaker in Metro Based on Embedded System Traction Substation
    LiuZuoYi ·Beijing Jiaotong University ·2014 ·Master's thesis
  20. Research and Design of New Portable Family ECG Monitorring System
    WuChengFeng ·Wuhan Institute of Technology ·2013 ·Master's thesis