Design and Study of Cutting Plotter Numerical Control System Based on μC/OS-Ⅱ

Author
WangFei
Advisor
LiuJianQun
School
Guangdong University of Technology
Major
Mechanical and Electronic Engineering
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2007
Downloads
138
Citations
1

Request the full text

Abstract

China is the largest manufacturing and processing base of light industrial production in the world, and has nearly millions of light industrial enterprises. But for a long time, the design and manufacture about the light industrial production are accomplished by handcraft. And the efficiency is very low, the period is very long, also the quality is very difficult to be guaranteed. So the market share of numerical control cutting plotter is very large. But now, there are a few enterpries which engage in the research and manufacture about the numerical control cutting plotter. Many numerical control cutting plotters mainly depended on importation. The cost is very high, so many enterprises can not bear it. Also the cost is low about the numerical control cutting plotter produced in our country, but the speed and precision can not compare with it of importation.It has developed high speed、high precision and high reliability cutting plotter numerical control system based on current very popular embedded system technology in this paper. The control system hardware structure is based on ARM+DSP, and its software structure is based on the real-time operating systemμC/OS-II. So it can largely low the power consumption and cost, improve system running speed, and the performance of real time and precision are guranteed, the process of software development is simple, also upgrading the software is very convenient.Firstly, this paper introduces the work principle ofμC/OS-II, analyses its task schedule process, also explains the task management、memory management and intertask communication in detail. They are steady foundation ofμC/OS-II transplant and application program development.The thesis studys out the system hardware and software structure, fixes on the system software partition and developing strategy. It has accomplished the structure design of cutting plotter numerical control system, and guides the detailed development process of system.The development process of cutting plotter numerical control system platform is introduced detailedly in this paper. It introduces the function and detailed design flow of startup code, and successfully transplants theμC/OS-II into S3C44B0. Also the detailed design process of NANDFlash and serial port driver are given, and the principle and transplant of FAT16 file system are discussed. The paper importantly introduces the detailed design process of each task and intertask communication about the application program, and explains the west word library vector data lookup algorithm and interpolation algorithm in application program design. Also the detailed program design process and application of the Liquid Crystal Display (LCD) screen and key board module are introduced. The settling ways about the problem in instruction explaining task are given. It has settled the problem of memory shortage, and largely improves the using rate of system memory.

Table of contents

Abstract 4-5 ABSTRACT 5-11 The first chapter 11-21 1.1 Embedded System Overview 11-16 1.1.1 Embedded System Features 11-12 1.1.2 embedded systems development trend 12-13 1.1.3 Embedded system consists 13-16 1.2 uC/OS- Ⅱ operating system overview 16-17 1.3 Cutting Plotter CNC system development status 17-18 1.3.1 The concept of cutting plotter 17 1.3.2 plotter cutting domestic CNC system development status 17-18 1.4 research background and significance 18-19 1.5 topic research purposes and research 19-21 1.5.1 research projects aim 19 1.5.2 subjects research 19-21 Chapter II RTOS μC/OS- Ⅱ 21-40 2.1 μC/OS- Ⅱ works 22-23 2.2 μC/OS- Ⅱ core structure 23-33 2.2.1 code critical 23-24 2.2.2 tasks and task control block 24-27 2.2.3 task status 27-28 2.2.4 task scheduling 28-30 2.2.5 Interrupt Handling 30-31 2.2.6 ticks 31-32 2.2.7 μC/OS- Ⅱ initialization and startup 32-33 2.3 Task Manager 33-35 2.3.1 task creation and deletion 33-34 2.3.2 task suspend and resume 34-35 2.3.3 task stack 35 2.4 memory management 35-36 2.5 The communication between tasks 36-40 2.5.1 event control block 36-37 2.5.2 Semaphore 37 2.5.3 Messaging Mailbox 37-38 2.5.4 message queue 38-40 Chapter CNC cutting plotter overall structural design 40-46 3.1 CNC cutting plotter system works 40 3.2 Cutting Plotter CNC system hardware architecture 40-44 3.2.1 S3C44B0X embedded microprocessor introduced 42-43 3.2.2 dedicated motion control chip 43-44 3.2.3 LCD keypad module 44 3.3 CNC cutting plotter software architecture 44-46 3.3.1 CNC cutting plotter applications 44-45 3.3.2 CNC cutting plotter software platform 45-46 Chapter cutting plotter CNC system software platform for the establishment 46-61 4.1 system startup code is designed 46 4.2 μC/OS- Ⅱ in S3C44B0X the transplant 46-52 4.2.1 μC/OS- Ⅱ operating system migration conditions 47-48 4.2.2 mission mode choice 48 4.2.3 μC/OS- Ⅱ transplant process 48-52 4.3 System Peripheral Module Driver Design 52-58 4.3.1 NANDFlash driver 52-56 4.3.2 serial driver design 56-58 4.4 file system migration 58-61 4.4.1 FAT16 file system structure 58-59 4.4.2 FAT16 file system migration 59-61 Chapter cutting plotter CNC system application design 61-80 5.1 based μC/OS- Ⅱ cut plotter CNC system application design 61-77 5.1.1 application based μC/OS- Ⅱ overall structure 61-62 5.1.2 Tasks for the detailed design 62-73 5.1.3 application related to algorithm design 73-77 5.2 LCD key module design and application 77-80 5.2.1 LCD key module programming 77-78 5.2.2 LCD button module application 78-80 Summary and Outlook 80-82 References 82-85 master's papers published during 85-87 Thanks 87

Related dissertations

  1. μC/OS-Ⅱ-based Recording Player Software Design and Implementation
  2. Microprocessor Protection Algorithm Based on HHT and Its Platform Development
  3. Study on Embedded Sleep Monitor and Alarm System
  4. The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
  5. Research and Development of Automatic Control System on Integrated Sub-packaging and Packaging Machine
    YangKai ·Huaqiao University ·2012 ·Master's thesis
  6. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  7. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  8. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  9. Video Surveillance System Based on Embedded Technology Research
  10. Design of Video Monitoring System Based on the Embedded
  11. The Design of Embedded Network Video Surveillance System Based on ARM9
  12. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  13. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  14. Data Acquisition System of Cavern Based on Embedded Web Server
  15. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  16. Research on the Indoor Air Monitoring System Based on Embedded Linux
  17. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  18. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  19. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  20. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis