Cutter control system hardware and software design based on the AVR microcontroller
- Author
- KuangHui
- Advisor
- XuZhiLiang
- School
- Nanjing University of Technology and Engineering
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 527
- Citations
- 8
Abstract
This paper was aimed to expound the softerware and the hardware design of the controlsystem in the blue-screen paper-cutting machine.The upper system of this control modulewas equipped with the AVR series macroprocessor typed ATMega128.A privatematrix-pattem keyboard was used to be a input device for user operating and controlling.A320×240 size LCD display was token as the terminal display module,with a well usedgraphic user interface.Then a system of operation and control is performed.This uppersystem can communicated with the motor control module (the bottom system) stably. Thetest result of system running indicate that the integrated system will be privated withfeatures of running-stability, friendly interface,convenient operation,and user programmingpermission.According to the development course of embedded system, at the begining of this paper, afunction requirement analysis and layout of the upper systerm is presented.The hardwaredesigned was fixed and the PCB board was debugged successfully. The protocol design ofUSART communication between this two layer systems, the arithmetic of the LCD displaycontrol and the user file management system in EEPROM were offered.Then the paperdescribed the detail of system design includeing the hardware module drivers and theapplication software The primary arithmetics and the result of design were also beanalysed.At present, the second prototype design released and the integrated system running tes(?)sare still doing regularly.
Table of contents
Abstract 3-4
ABSTRACT 4-5
directory 5-7
1 Introduction 7-10
1.1 application background topics 7-8
1.2 cutter system technology development 8-9
1.2.1 cutter development 8
1.2.2 cutter control system technology development 8-9
1.3 project tasks and structure of the paper 9-10
2 programmable cutter control system functional requirements 10-14
2.1 overall system functional requirements 10
2.2 Initialization setting 10-11
2.3 program editor 11-12
2.4 dynamic display 12
2.5 Beeper 12
2.6 Communication Function 12
2.7 file functions 12-13
2.8 Troubleshooting 13
2.9 system running 13-14
3 Programmable Cutter Control System Design 14-33
3.1 overall system design 14-15
3.2 hardware design 15-18
3.2.1 main processor module 15-16
3.2.2 Memory Expansion Module 16
3.2.3 HCI module 16-18
3.2.4 Other modules 18
3.3 software design 18-32
3.3.1 scheduler 18-20
3.3.2 System Task design 20-22
3.3.3 software solutions for external expansion EEPROM 22-26
3.3.4 interactive software program 26-28
3.3.5 serial communication software solutions 28-32
3.4 development and debugging tools 32-33
4 programmable cutter control system hardware design 33-40
4.1 power supply circuit design 33
4.2 master processor module circuit design 33-34
4.3 Memory Expansion Module 34-36
4.4 HCI module 36-38
4.5 communication module 38
4.6 other peripheral circuits 38-40
5 driver design and development 40-50
5.1 EEPROM memory chip driver 40-43
5.1.1 AT24C1024 signal timing 40-41
5.1.2 AT24C1024 addressing 41-42
5.1.3 AT24C1024 read and write operations 42-43
5.2 LCD display driver 43-46
5.2.1 SED13305 interface description 44-45
5.2.2 SED13305 display characteristics 45
5.2.3 LCD operator interface functions 45-46
5.3 keyboard driver 46-47
5.3.1 Keyboard scan algorithm 46-47
5.3.2 Key eliminate jitter measures 47
5.4 USART serial driver 47-50
5.4.1 USART registers 47-48
5.4.2 USART initialization 48
5.4.3 USART serial data transceiver interrupt handler 48-50
6 detailed application design and development 50-66
6.1 Initialization setting 50-54
6.2 manually 54-57
6.2.1 System Status 54-55
6.2.2 software process 55-56
6.2.3 Special features of the software implementation 56-57
6.3 Programming Operations 57-63
6.3.1 Text Editor control 58-59
6.3.2 Key combination Function 59-60
6.3.3 Positioning dimension edit and intelligent detection 60-62
6.3.4 Fast programming 62-63
6.4 automatic operation 63-66
6.4.1 program flow 63-64
6.4.2 Positioning size calculation method 64-66
Conclusion 66-67
Thanks 67-68
References 68-71
Appendix A: Cutter control system circuit diagram 71-73
Appendix B: Cutter control system hardware physical map 73-74
Appendix C: Important display interface 74
Related dissertations
- The Design and Implementation of Remote Wireless Data Collection System for Agricultural Microclimate Based on AVR
- Epidemiological Investigation of Hypertensive Retinopathy in Part Residents of Shandong Province
- Aquaculture Aeration Intelligent Systems
- Reserch of Automatic Focusing Control and Assembly Technolog of Vehicle Camera
- Analog Control System Based on Virtual Instrument of Vehicle-Mounted Gun Study
- Design and Implementation of CNC Data Transmission Based on XBee-PRO
- Selective Leakage Protection Research of Mine-used Low Voltage Feed Switch
- Research on IGBT Heavy Oil Heating System Based on Segmentation Tuning of PI
- The Design and Implementation of On-Board Information Acquisition Terminal
- Dynamic Positioning Independent Joystick Terminal Function The-loop Simulation
- Research and Design of Control System of Cinema4D Motion
- Study on angle measurement system based on Inductosyn
- The Application of Quantum Counter in Deep Space Optical Communication
- Research on the Parallel Current-sharing System of Switching Power Supply
- The Performance Detection Testing Research of FACN Excitation Regulator Based on Power System Real-Time Digital Simulator
- Research on Improving the Reliability of the Excitation System’s Switch of the300MW Coal-burning Generators
- Ship Level Detection System Based on Ultrasonic Ranging
- Design of pulse detonation engine control systems for testing
- Molecular Mechanism of the Resistance to Tomato Leaf Mould Disease and the Establishment of a Technique System to Isolate Resistance-related Genes
- Regulation of the Hypersensitive Response Mediated by Tomato Cf-4 and Cf-9 Genes and Improvement of the Gene Silencing Technique