The Economic CNC Lathe System Based on MSP430F149 Micro-controller

Author
ZuoJingZhi
Advisor
WangYongQing
School
Dalian University of Technology
Major
Mechanical and Electronic Engineering
Classification
TG519.1 Program control lathes and CNC lathes
Degree
Master's thesis
Year
2005
Downloads
378
Citations
1

Request the full text

Abstract

CNC machine tools is a comprehensive application of computer, automatic control, automatic detection and precision machinery and other high-tech products. At present, China developed along several directions of the economy, high-speed, high-precision and highly automated CNC technology;, the development of economic numerical control system is an important strategy suited to China's national conditions. This thesis is economic type CNC lathe control system is based on the current situation. In this paper, the solution of the economic type CNC lathe system. First discuss the general CNC system architecture and the economic numerical control system design methods and philosophy, then CNC lathe machining characteristics, work environment and performance requirements of proposed and studied based on the the MSP430F149 advanced microcontroller economic CNC lathe The hardware and software architecture of its corresponding control method. The paper examines the economic type CNC lathe MSP430F149 single microcontroller as the core system hardware architecture. The hardware system includes the main modules of the system as well as the power supply, crystal oscillator, stepper motor drive, LCD and keyboard peripheral modules, the encoder manual pulse generator, serial communication, and the volume control switch. MSP430F149 main module power consumption, speed, and resource-rich, easy development; system uses a stepper motor to open-loop control mode, the structure is simple; LCD module display capacity, with home-made keyboard, friendly interface, and its own with controller, reducing the burden on the main module; Serial communication module PC, can be pre-compiled processing program sent to the CNC lathe system, easy to operate, and improve production efficiency. The paper also studies the economic type CNC lathe MSP430F149 single microcontroller as the core system control algorithms and software architecture. The system uses front and back office type software architecture to meet the requirements of real-time and multi-tasking. Foreground program, keyboard control, and search for minimum error method of linear and circular interpolation and serial communication, such as real-time interrupt function; daemon study the decoding process of the CNC machining program error diagnostic tool compensation speed control and the liquid crystal display and other processing functions. CNC lathe system based on the program of economic, low cost, high reliability, friendly interface, easy operation, fully able to meet the performance requirements of the CNC lathe.

Table of contents

Summary 4-5 Abstract 5-6 directory 6-9 1 Introduction 1 9-15 .1 world machine tool numerical control technology development REVIEW 9 1.2 the development of China's machine tool numerical control technology review nbsp 9-10 1.3 CNC technology development status and trends ; 10-12 1.3.1 CNC technology development status 10-11 1.3.2 CNC technology trends 11-12 < br /> 1.4 economical CNC system introduced 12-14 1.4.1 Economical CNC system type economic NC 12 1.4.2 The system is characterized by 12-13 1.4.3 the Economical CNC system the significance and market prospects 13-14 1.5 paper work 14-15 overall economic type CNC lathe system research 15-24 2.1 Overview 15-17 2.2 computer numerical control device architecture 17-18 the 2.3 economic type CNC lathes system design concepts 18-20 2.3.1 Economical CNC lathe composition principle 18-19 2.3.2 Economical CNC lathe system design methodology the economic CNC lathes system 19-20 2.4 design 20-23 2.4.1 Economical CNC lathe system design requirements 20-21 2.4.2 Economical CNC lathe system functionality and performance indicators 21 <br / > 2.4.3 system overall program 21-23 2.5 Chapter Summary 23-24 economic type CNC lathe system hardware and 24-45 3.1 Economical CNC lathe system hardware architecture 24-25 3.2 MSP430 microprocessor module 25-28 3.2.1 MSP430 F149 structure and characteristics 25-27 3.2.2 power circuit 27 3.2.3 crystal oscillator circuit 27 3.2.4 reset circuit the 27-28 3.3 stepper motor module 28-31 3.3.1 stepper motor selection the 28-30 stepper motor open loop system 3.3.2 30-31 3.4 keyboard and LCD module 31-39 the commonly displayed nbsp 3.4.1 Economical CNC lathes system; 31-32 3.4.2 SED1335 controller 32-35 3 .4.3 hardware connection 35-38 3.4.4 keyboard module 38-39 3.5 spindle control module 39-41 3.5.1 applications 39-40 3.5.2 works 40-41 the 3.5.3 manual pulse generator 41 3.6 serial communication module 41-43 3.6.1 RS-232C interface standard 41-42 3.6.2 the hardware connection 42-43 3.7 Other input / output interface circuit 43-44 3.7.1 switch input interface 43 <br / the> 3.7.2 switch output interface 43-44 3.8 hardware circuit anti-jamming design 44 3.9 Chapter Summary 44-45 4 Economical CNC lathe control algorithm and its software implementation 45-80 4.1 Economical CNC lathe system software overall structure 45-47 <br / > 4.1.1 system software work process 45-46 4.1.2 The overall structure of the system software 46-47 4.2 HMI software of design 47-54 4.2.1 initialize LCD module 47-49 4.2.2 characters and Chinese characters display 49 - 51 4.2.3 keyboard input 51-52 4.2.4 menu design 52-54 4.3 program compiled module the 54-58 program decoding 4.3.1 54-55 4.3.2 code checks 55-58 4.4 tool the compensation module 58-62 4.4.1 Overview 58 4.4.2 Tool radius compensation 58-61 4.4 .3 tool length compensation the 61-62 4.5 search the minimum error interpolation algorithm and its software realization 62-70 4.5.1 Overview 62-63 4.5.2 the search minimum error linear interpolation algorithm 63-65 4.5.3 to search minimum error circular interpolation algorithm 65-69 4.5.4 several pulse interpolation algorithm 69-70 4.6 speed processing module 70-76 4.6.1 feed speed control method 70-71 4.6.2 Index acceleration and deceleration control 71-76 4.7 serial communications software to achieve 76 - 79 4.7.1 host computer serial communication realization the 76-78 4.7.2 CNC lathe system serial communication to achieve 78-79 4.8 Chapter Summary 79-80 5 Conclusion 80-81 5.1 Conclusion 80 5.2 Looking 80-81 reference literature 81-83 Appendix A Economical CNC lathe system control panel 83-84 Appendix B Economical CNC lathe parts of the system circuit schematic 84-86 Appendix C Economical CNC lathe system board and the development and debugging environment 86-87 <br published /> studying for a master's degree during the academic situation 87-88 Acknowledgements to 88-89 the Dalian University dissertation Copyright use a power of attorney 89