Developing & Research on the CNC System Based on LM628

Author
ZengYanQiong
Advisor
ShiWenHao
School
Xi'an 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
65
Citations
0

Request the full text

Abstract

Open Computer Numerical Control system (Open CNC) based on PC and the Windows operating system has been a major development direction and a study focus of the current numerical control technology . At present, there have been all kinds of the Open CNC systems with high-speed and precision servo control boards, but they are too expensive. Therefore, developing an economical and practical motion controller with software and hardware system is great significant for the development of medium-sized and minitype numerical control system.Aimming at the few axes medium-sized and minitype numerical control system,this thesis studys a simple servo electromotor system based on LM628.It is composed of upper and down equipments. The upper equipment is personal computer with Windows operating system. The down equipment is an AC servo electromotor controller base on a 8 bit MCU and LM628, dedicated motion-control processor.Visual C++ is used to design the upper management software and C51 language is used to complete initialization procedure, posion servo control procedure, general I/O management program, timing interrupt program,serial communication program, and interpolation procedure. The uniform communication agreement, RS232, is instituted between personal computer and MCU.P89C668, as the down equipment’s host, communicates with the LM628 through an I/O port,translating commands or datas. Main circuits designed include interface circuit of MCU and LM628, coding circuit, interfacing a 12-Bit DAC and LM628, timing interrupt, difference receive circuit of encoder, clock pulse generation circuit, alarm and general I/O interface circuit, serial communication circuit and extending circuit of four axes. The LM628 receives feedback signal from an incremental encoder, exports numeric control signal by an embedding PID filter. Then an external digital-to-analog converter to produce the signal that is power amplified and applied to the motor. This design reduces components’amount, makes PID control arithmetic done by hardware, improves the system’dependability, lightens the host’task and the sample periods is 341us, the precision is upper. Otherwise, using Panasonic motor MDMA082A1C and driver MDDA083A1A, the experimen is down and the PID parameters of control system are adjusted online.Moreover, after the movement controller receives the whole translated and edited Numerical Control codes which transmitted form the host computer IPC completely, it can be separated from IPC to complete the real-time control task independently. Therefore, this article develops the numerical control system can apply in the NC Machining, as well as can apply in movement control of AGV, the serviceability is well.

Table of contents

Abstract 3-5 Abstract 5-9 1 Introduction 9-17 1.1 servo system 10-14 1.1.1 position servo system constitutes classification 10-12 1.1.2-position servo system control 12-14 the of 1.2 motion control technology development 14-15 1.3 of this thesis 15-17 2 dedicated chip LM628 motion control structure, characteristics and working principle 17-28 2.1 Introduction movement control of a dedicated chip LM628 17-18 2.2 LM628's main operating characteristics 18-19 2.3 LM628 works 19-27 2.3.1 location feedback interface 19-21 2.3.2 trapezoidal velocity map generated 21-23 2.3.3 trajectory resolution and position, speed, acceleration resolution 23-24 2.3.4 PID compensation filter 24-25 2.3.5 DAC output 25 2.3.6 Host Interface 25-27 2.4 This chapter Summary 27-28 3 CNC system controller hardware design 28-47 3.1 controller overall structure 28-29 3.2 in this study described MCU 29-31 3.2.1 main processor P89C668 characteristics 29-30 3.2.2 P89C668 of ISP functions and IAP function 30-31 3.2.3 the microcontroller P89V51RD2 soft simulation function 31 3.3 controller hardware circuit schematic design 31-44 3.3.1 microcontroller with LM628 connection 32-33 3.3.2 decoding circuit 33-34 3.3.3 LM628 interface circuit of the D / A converter chip 7545A 34-35 3.3.4 7545A conversion principles and bipolar output circuit 35-38 3.3.5 buffer driver circuit 38 3.3.6 Timing interrupt circuit 38-39 3.3.7 clock generation circuit 39 3.3.8 encoder pulse differential receiver circuit 39-40 3.3.9 make the alarm circuit and conventional I / O circuits 40-42 the 3.3.10 serial communication circuit 42-43 3.3.11 four-axis expansion circuit 43-44 3.4 printed circuit boards layout and anti-jamming analysis 44-45 3.5 This chapter Summary 45-47 4 servo controller software design 47-65 4.1 software overall design 47 4.2 LM628's software programming 47-55 4.2.1 LM628 initialization 49-50 the sending commands 4.2.2 the controller used / state program or data 50-51 4.2.3 loaded PID filter coefficients module 51-52 4.2.4 loading trajectory parameters module 52-53 4.2.5 Data Report command module 53-55 430 two-axis interpolated motion to achieve 55-56 4.4 serial communication program 56-61 4.4.1 communication baud rate setting 58-60 4.4.2 microcontroller serial communication program 60-61 4.5 timer interrupt program 61-62 the to 4.6 PC monitoring interface program 62-64 4.7 This chapter Summary 64-65 5 controller PID parameter adjustment experimental 65-69 5.1 control system PID parameter tuning 65-66 5.2 of the control system, PID regulator 66-67 5.3 experimental testing results 67-68 5.4 This chapter Summary 68-69 6 Summary and Outlook 69-71 6.1 summarizes 69 6.2 Looking 69-71 Acknowledgements 71-73 the References 73-75 studying for a master's degree during the thesis 75

Related dissertations

  1. Research&Development of the Motion Controller Based on LM628
    RaoHao ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. Development and Application about Data Management System of PVC Glove Production Line
  3. Design and Temperature Control of Adsorber in the Regeneartion Heating Stage of the Purifier
    CaiZuoQing ·Shanghai Jiaotong University ·2009 ·Master's thesis
  4. Application Research on Industrial Ethernet Based on EtherNet/Ip for the Production of Refined KCL
    GaoZhiGang ·Northeastern University ·2011 ·Master's thesis
  5. Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
    GuXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Study on Automatic Leveling Control System of Vehicle Platform Based on Neural Network
    WangBing ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Research on Dedicared Multi-axis Motion Controler and the Control Method Built in
    DuWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Tracking Control System Design for Light Universal Optical-Electronic Tracking Platform
  9. Concrete Batching Plant Control System Design
  10. AC Speed System Based on Bio-inspired Optimization
    ShiXiaBo ·Ningbo University ·2013 ·Master's thesis
  11. The Research of Intelligent Control System for DMF Recovery
    MaLong ·Hefei University of Technology ·2013 ·Master's thesis
  12. Research and Application on Intelligent Temperature Control System of Furnace Based on ePLC
  13. The Design of CNC System for Automatic Gemstone Grinder
  14. An unmanned vehicle path tracking control
  15. Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
    ZhangZuoZuo ·Zhejiang University ·2014 ·Master's thesis
  16. Coordinating Control of the Dual-stage Actuator System
    HuangPei ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  17. Design on Control System of Five Degrees of Freedom Prostate Biopsy Robot
  18. Algorithm Research on Trajectory Tracking and Route Planning Control of Wheeled Root
  19. Shipboard photoelectric platform servo stabilization methods of design and Realization
  20. Research and Application on ANPID Control Algorithm for Electro-Hydraulic Servo System
    LiTuoBin ·Central South University ·2013 ·Master's thesis