Research and Development of Embedded Crystal Grinding Control System Based on AT91SAM9261
- Author
- LiuBao
- Advisor
- JianYi
- School
- Chongqing University
- Major
- Mechanical and Electronic Engineering
- Classification
- TS93 Arts and crafts products industry
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 56
- Citations
- 1
Abstract
The embedded NC system is the combination of NC system and embeddedtechnology. With its smaller size, better real-time performance, more robust adaptationand lower cost, the embedded NC system has a large market demand and vastdeveloping prospect in industrial control field as well as becomes one of the tendenciesfor the future numerical manufacturing. At present, the crystal-jewelry manufacturerscommonly adapt PLC or monolithic processor as the control system which has manydrawbacks such as low efficiency, high cost and poor expansibility. Aiming at solvingthese issues, this subject researches and develops an embedded crystal grinding NCsystem based on the ARM chip AT91SAM9261and μC/OS-II real-time operatingsystem.Through delving into the principle of crystal jewelry forming, this paperdetermines the grinding process to which the overall demand analysis and generalscheme refer. The general scheme includes hardware and software. The system adaptsthe ARM9chip AT91SAM9261as the hardware developing platform, around which theoverall hardware modules are organized. Using μC/OS-II as the software developingplatform, the overall software architecture is divided into three layers which arebootstrap layer, μC/OS-II operating system layer and application layer, respectively.This paper discusses the detailed design for the circuits of system’s key hardwaremodule, including power circuit, SDRAM and DataFlash interface circuit, keyboard andLCD circuit for the user interface, step-signal output circuit, I/O switch signal interfacecircuit as well as JTAG and RS232circuits using for interfacing with the host computer.This paper builds the pulse generation mechanism of AT91SAM9261based on thedeep analysis the operation principle and characteristic of the step motor. Aftercomparing the algorithms of common acceleration and deceleration curves such aslinear curve, exponent curve and seven-segment S curve, the subject selects the S curveas the system’s theoretical algorithm according to the demand of system’s motioncontrol. Because the algorithm of the traditional seven-segment S curve is toocomplicated to realize, this paper revises the algorithm as five-segment and researchesthe discretization of the modified S curve and code realization of its algorithm. At thesame time, this paper researches and designs a real-time motion control scheme basedon the modified S curve algorithm, which can generate the corresponding best motion path to different real-time motion environments specified by motion parameter.This paper discusses the construction of software platform for the control systemand develops the crystal-grinding application based on this platform. The platformconstruction includes bootstrap design for AT91SAM9261and the porting of μC/OS-IIoperating system. The application is designed modularly, dividing the control systeminto several function modules and performing each module with corresponding taskpowered by μC/OS-II.At last, as the vital link of the control system’s production, this paper describes thedesign of the system’s human-machine interface and discusses the debugging of thecontrol system to ensure the reliability as well as improve the quality of products.The embedded crystal-grinding control system developed by this subject realizesthe process control of crystal jewelry manufacturing with low cost, high efficiency andfine flexibility. The system can be expanded conveniently and run steadily undervarious motion conditions. It improves the current crystal-grinding situationdramatically and thus has a rosy application prospect and big market demand.
Table of contents
Summary 3-5
ABSTRACT 5-10
1 Introduction 10-16
1.1 Embedded CNC System Overview 10-12
1.1.1 embedded CNC system Introduction 10-11
1.1.2 embedded CNC system development situation at home and abroad 11-12
1.2 application background and issues meaning 12-13
1.3 main research topics 13-14
1.4 Summary 14-16
2 overall system design 16-26
2.1 crystal jewelry forming principle and process flow analysis 16-19
2.1.1 crystal jewelry forming principle 16-17
2.1.2 system process control flow 17-19
2.2 overall demand analysis 19-20
2.3 overall system hardware design 20-23
2.3.1 AT91SAM9261 system on Chip Introduction 20-21
2.3.2 overall system hardware module architecture 21-23
overall 2.4 system software design 23-25 ??
2.4 .1 μC / OS-II RTOS Introduction 23-24
overall 2.4.2 system software architecture 24-25
2.5 Summary 25 -26
3 system hardware detailed design 26-36
3.1 power supply circuit design 26-28
3.2 memory modules are designed 28-30
3.2.1 SDRAM circuit design 28-29
3.2.2 DataFlash circuit design 29-30
3.3 HCI module design 30-31
3.3.1 keyboard design 30-31
3.3.2 LCD interface circuit design 31
3.4 stepper output circuit design 31-32
3.5 I / O switch interface circuit design 32-33
3.6 PC interface module design 33-35
3.6.1 JTAG debug module design 33-34
3.6.2 RS232 serial communication module design 34-35
3.7 Summary 35-36
4 stepper motor motion control acceleration and deceleration curve algorithm and achieve 36-62
4.1 stepper motor control basic working principles and methods 36-40
4.1.1 stepper motor working principle and characteristics 36 - 38
4.1.2 AT91SAM9261 pulse generator adjustment mechanism 38-40
4.2 major curve acceleration and deceleration motion control algorithm analysis and comparison 40-45
4.2.1 linear acceleration deceleration curve 40-42
4.2.2 exponential deceleration curve 42-43
4.2.3 seven segment S- curve acceleration and deceleration 43-45
4.2.4 deceleration pattern 45
4.3 five segments S curve acceleration and deceleration algorithm analysis 45-49
4.4 five segments S curve acceleration and deceleration control algorithm 49-55
4.4.1 deceleration curve discrete processing 49-51
4.4.2 curve acceleration and deceleration control algorithm code 51-55 <br / > 4.5 stepper motor control design and implementation of real-time 55-60
4.5.1 environment real-time motion analysis 55-57
4.5.2 S curve real-time control design 57-59
4.5.3 curve verification 59-60
4.6 Summary 60-62
5 system software detailed design 62 - 84
5.1 AT91SAM9261 boot program design 62-67
5.1.1 start program overall analysis 62-64
5.1.2 Bootloader two detailed design 64-67
5.2 μC / OS-II RTOS porting 67-75
5.2.1 OS_CPU.H header file 68-70
5.2.2 OS_CPU_C.C file 70-72
5.2.3 OS_CPU_A.ASM file 72-75
5.3 Crystal grinding control system application design 75-83
5.3.1 application execution process and modular design 75-77
5.3.2 application detailed mission design 77-83
5.4 Summary 83-84
6 human-machine interface system design and commissioning 84-88
6.1 system Interface and physical 84-86 <br / > 6.2 system debugging improvements 86-87
6.3 Summary 87-88
7 Conclusion and Outlook 88-90
7.1 Conclusion 88-89
7.2 Prospects 89-90
Thanks 90-92
References 92-96
Appendix 96
A. the authors of papers published during the degree program directory 96
B. authors obtained during the research degree program directory 96
Related dissertations
- Design and Application of Real-time Dam Deformation Monitoring Instrument
- Microprobe Automatic Test System and Performance Research
- Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
- Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
- Study on Control System of Prostate Biopsy Robot Based on PMAC
- The Study and Apply of Automatic Control System for Three-section Walking Beam Heating Furnace
- The Study of the Movement Control Method in Load Sensing System Based on Fuzzy PID
- The Research on Ethernet_based Interface of Embeded Motion Control System
- The Design of the Advanced Algorithm on Rotating-arm Motion Platform
- Design and Development of Electrical Automation Experiment Platform
- Software Design for Motion Control System Based on LabVIEW
- Research on Motion Planningand Control of Swinging Leg of the Hexapod Robot in Unstructured Environment
- The System Design of Motion Controller of Two-Wheeled Robot Base on FPGA
- Research and Implementation on Key Technoldgies of Autonomous Navigation of Mobile Robot
- Research of the Intention Based Environmental Adaptive Walking-aid Robot
- Design on Motion Controller of the Underwater Vehicle
- Development of IPMC Drive Active Intestinal Robot Walking Foot and its Drive System
- Research on Q-learning of Multi-robot System and Motion Control Based on Community Perception Network
- Design and Implementation of a Terminal-guided Rehabilitation Robot
- The Research and Design of Dispensing Robot Motion Control System