http://www.iaeme.com/IJECET.asp 87 editor@iaeme.com
International Journal of Electronics and Communication Engineering & Technology
(IJECET)
Volume 7, Issue 1, Jan-Feb 2016, pp. 87-100, Article ID: IJECET_07_01_009
Available online at
http://www.iaeme.com/IJECETissues.asp?JType=IJECET&VType=7&IType=1
Journal Impact Factor (2016): 8.2691 (Calculated by GISI) www.jifactor.com
ISSN Print: 0976-6464 and ISSN Online: 0976-6472
© IAEME Publication
DESIGN AND IMPLEMENTATION OF FPGA
BASED G CODE COMPATIBLE CNC LATHE
CONTROLLER
Mufaddal A. Saifee
M.Tech. by Research Student, Institute of Technology,
Nirma University, Ahmedabad, Gujarat, India
Dr. Usha S. Mehta
Associate Professor, Institute of Technology,
Nirma University, Ahmedabad, Gujarat, India
ABSTRACT
The conventional machining done in the past like lathe and milling
operations were done manually. Accuracy and consistency between two
produced parts vary tremendously due to human errors and limitations. With
the advent of processor and controllers, came the Computerized Numerically
Controlled (CNC) machines, having the advantage of using universally
accepted G code machining language to machine the parts. It became really
easy to produce the parts with same accuracies and consistency on different
machines with the same G code being used. G codes are CNC machine
assembly language having various Interpolation Instructions G codes, Tool
Instruction T codes, Feed-rate Instruction F codes, Principal Axis Speed
Instruction S codes and various Controlling and Input - Output Instructions M
codes.
G code based CNC systems available till date, are implemented using
controllers and processors using software interpolation. Software
implementation of complex interpolation algorithms by serial pipelined
processors is time consuming, difficult and impractical for real time
applications. Thus the efficient, real time complex computation approach is
only feasible with hardware logic circuits like FPGA or ASIC having parallel
and low power processing architectures. In the presented work, for the first
time a G code based, CNC Lathe controller is designed and implemented in a
FPGA. It is implemented and validated on Xilinx Artix 7, 7a100tcsg324-1
FPGA based kit, with its heart being a 4 stage Multi InstructionMulti Data
(MIMD) Complex Instruction Set computers (CISC) G code processor. The
Rapid Positioning Controller, Linear Interpolation Controller and Circular
Interpolation Controller are also designed as a co-processor for the G Code