Professional Documents
Culture Documents
ISSN No:-2456-2165
Abstract:- This article presents implementation of FPGA MDSPlus and Matlab interface. The interface and control
based data acquisition system to measure the logic have been implemented by using VHDL on CPLD
temperature of spindle of a machine tool. Field (Complex programming language) [3]. DAQ system using
Programmable Gate Array (FPGA) is the heart of the Xilinx Virtex- II Pro FPGA has been implemented. They
system which is configured and programmed to obtain have used both power PC and MicroBlaze processor for
real time temperature of spindle machine tool using developing the network based controller [4]. FPGA based
temperature sensor IC LM-35. In order to acquire systems allows the hardware/software co-design. It improves
analog to digital data (ADC), Serial peripheral Interface significantly the system performance by providing the less
(SPI) communication protocol has been used. The data time delay among the simulation and response. This co-
acquisition system is designed and developed using evolutionary co-operation is used to increase the computing
quartus II version 15.1 and implemented on Cyclone IV speed of the system [5][6]. The most commonly measured
E FPGA device. The measured output is stored on PC environmental quantity is temperature. This is
and plotted using MATLAB software. understandable given that temperature affects nearly all
physical, electrical, chemical, mechanical, and biological
Keywords:- FPGA; data acquisition;, Altera Cyclone IV E;, systems. Certain chemical reactions, biological activities,
Quartus and even electronic circuits work best when temperatures are
kept within a specific range. Control systems that keep
I. INTRODUCTION temperature within prescribed limits are frequently utilized
The machine tool spindle affects the performance of when these processes need to be optimized [7]. IC sensors
machine and the flexibility of the production system. As the have been accustomed to measure the temperature, since it
spinning speed of spindle increases its temperature increases has good linearity, wide power range, and are small and easy
and when cutting speed increases then also temperature to install so that no compensating circuit is needed. It is able
increases. Therefore to manufacture product with high to test a temperature range from 55°C-150°C [8].
precision, accuracy, good quality, it is essential to record the II. DATA ACQUISITION SYSTEM
temperature of spindle.
FPGA based DAQ is designed and developed to
In the scientific and technological research and observe and collect the spindle temperature. DAQ system
industrial production, a variety of parameters such as sound, includes machine tool spindle unit. The spindle temperature
temperature, pressure etc. are often needed to be collected has been monitored using temperature sensor. The
and processed. The physical data of parameters is in analog temperature data is digitized using ADC ADS 7841 with
form. In the digital domain of Electronics to handle data FPGA Processor. Further the temperature data has been sent
using processor one has to convert the analog data in digital to the PC through serial communication using RS 232
form so that processor can read, interpret and manipulate the Protocol. The recorded data is in text form and sampling rate
data. The DAQ system samples signals and measures an is 1 second. The temperature status of spindle is monitored
analog physical quantity converts them into digital quantity from LED’s on the FPGA Board. The LED’s represents the
that can be understood, measured, processed by digital binary value of recorded temperature also it is displayed and
device and provide output in analog form [1]. A DAQ stored on PC in decimal value. The system is portable.
system plays imperative role in process control, data “Fig.1” displays FPGA Based Data Acquisition System.
detection, and data acquisition. Earlier different data
acquisition systems have been estimated with different
functionalities, Methodologies and cores. Literature reveals
that microprocessors, microcontrollers, and DSP platform
can be employed for developing the data acquisition system.
These devices have slower speed, insufficient on-chip
memory and do not allow flexibility for the user in
configuring devices according to the requirement due to the
hardware configuration [2].
As in “Fig 2”. The spindle is externally driven by the sensors, whose analog output voltage is comparative to the
motor using belt pully system. Variable Frequency Drive temperature in centigrade. It operates from 550 C to 1000C.
(VFD) has been used to obtain variable speed of spindle. Its scale factor is 10 mV/o C (millivolt per degree centigrade)
The rotational speed (rpm) of spindle is measured by using and output is in range from 0 V to 5V [9]. The +5 V supply
non-contact tachometer. In the present system load is not is applied to the temperature sensor direct from the FPGA
present, hence braking system is designed to apply radial board and output is given to the ADC.
friction on spindle. As the rotational speed increases
temperature of spindle increases. Therefore with applied C. ADC ADS7841
friction heat will be generated. Temperature of spindle has The ADC ADS 7841 is a 12 bit sampling successive
been measured using data acquisition system. approximation ADC with 4 channels. It has Serial
Synchronous Interface. It operates from 2.7 Volt to 5 Volt. It
B. Temperature Sensor is 16 pin IC and functions over temperature range of - 45OC
The analog IC sensor LM-35 is used to measure the to 125OC. It is Low power, high speed ADC and has on
temperature, since it has good linearity, wide power range, board multiplexer. This facility makes ADC ADS 7841
and is small and easy to install. It can measure the portable multichannel data logger [10]. The system make a
atmosphere temperature around it or machine tool use of SPI in which ADC ADS 7841 works as slave where
temperature to which it is connected or the human body as FPGA acts as Master. The connections required by ADC
temperature. The LM35 are precision integrated-circuit ADS 7841 are as in “Fig 3”.
D. Processing Unit available. The 50 MHz clock is available and external clock
The processing unit is Altera Cyclone IV E can be applied. It has 40 general purposes I/O (GPIO) Pins.
EP4CE115F29C7 (DE2-115) with Nios-II Processor. DE2- It has 114,480 logic elements. In this system GPIO works on
115 FPGA development board is displayed as in “Fig.4”. It 3.3 V. The programming has been performed by using
contains cyclone @IV 4CE115 FPGA device and the Serial Quartus II Software. The FPGA GPIO pins are utilized for
Device EPCS64. It supports Active Serial Programming interfacing with ADC [11].
(AS) and JTAG. The USB Blaster for programming is
After selecting and specifying the all desired system components for the implementation (“Fig 5”.), the system is generated.
The specified system is saved by the name ‘ADS’, then the VHDL code generated by clicking generate option as displayed in
“Fig 6”.
V. RESULT ANALYSIS
The complete DAQ system is implemented on Altera’s Cyclone IV E FPGA Development Board. After successful
compilation (“Fig.7”) device utilization summary is obtained as in (“Fig.8”).
Table 1 shows that total logic elements available are are used that is only 9% pins are utilized. Component used
114,480 out of which 1,778 logic elements are used that is by this system is very less. The temperature recorded by
only 2% logic elements are utilized. Out of 529 pins 47 pins DAQ System is given in Table 2.
The system was successfully implemented for of 10 sec. The temperature reading of spindle of a machine
monitoring the temperature of machine tool spindle at 1000 tool has been displayed in Table 2. The temperature of
rpm . The photograph of tested system was displayed in machine tool spindle varies from 28.30 c to 32.230 c at 1000
“Fig.7”. The real time temperature response of machine tool rpm.
spindle has been displayed in “Fig.9”.The sampling rate is