Next Article in Journal
Experimental Demonstration of Masking Phenomena between Competing Odorants via an Air Dilution Sensory Test
Next Article in Special Issue
A Software Architecture for Adaptive Modular Sensing Systems
Previous Article in Journal
Wireless Sensor Network Deployment for Monitoring Wildlife Passages
Previous Article in Special Issue
Investigation of the Frequency Shift of a SAD Circuit Loop and the Internal Micro-Cantilever in a Gas Sensor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Field Programmable Gate Array-Based Reconfigurable Smart-Sensor Network for Wireless Monitoring of New Generation Computer Numerically Controlled Machines

1
HSPdigital—CA Mecatronica, Facultad de Ingenieria, Campus San Juan del Rio, Universidad Autonoma de Queretaro, Rio Moctezuma 249, 76807 San Juan del Rio, Qro., Mexico
2
Department of Mechanical and Industrial Engineering, Concordia University, Montreal, Quebec H3G 1M8, Canada
3
HSPdigital—CA Telematica, DICIS, Universidad de Guanajuato, Carr. Salamanca-Valle km 3.5+1.8, Palo Blanco, 36885 Salamanca, Gto., Mexico
*
Author to whom correspondence should be addressed.
Sensors 2010, 10(8), 7263-7286; https://doi.org/10.3390/s100807263
Submission received: 26 May 2010 / Revised: 7 July 2010 / Accepted: 29 July 2010 / Published: 3 August 2010
(This article belongs to the Special Issue Intelligent Sensors - 2010)

Abstract

:
Computer numerically controlled (CNC) machines have evolved to adapt to increasing technological and industrial requirements. To cover these needs, new generation machines have to perform monitoring strategies by incorporating multiple sensors. Since in most of applications the online Processing of the variables is essential, the use of smart sensors is necessary. The contribution of this work is the development of a wireless network platform of reconfigurable smart sensors for CNC machine applications complying with the measurement requirements of new generation CNC machines. Four different smart sensors are put under test in the network and their corresponding signal processing techniques are implemented in a Field Programmable Gate Array (FPGA)-based sensor node.

1. Introduction

Since their inception, computer numerically controlled (CNC) machines have evolved to adapt to changing technological and industrial requirements. The predominant factor which drove the initial development of CNC machines was the need for increased productivity. The necessity of machining ever smaller components and to comply with the tougher standards that limit the number of defects in these components, requires CNC machines to not only increase their precision, speed and accuracy but also to maintain a high productivity. To cover these needs, new generation machines have to perform monitoring strategies to allow autonomous self-optimization that can be done through the integration of control-process strategies into the machine tool control architecture [1]. These capabilities are achieved by incorporating multiple sensors [2] for online measurement and processing that allow remote monitoring and intelligent maintenance for production maximization [3]. The installation of these sensors should not affect the machining process [4], therefore, the incorporation and use of a wireless sensor network is desirable.
In order to provide some of the desired features and functionalities, new generation CNC machines require the measurement of different variables that are useful for obtaining, in a direct or indirect form, the required information for diagnosing the machine’s operational condition and improving the machining process [1]. The most common-measured variables on a CNC machine include, among others, vibration, current, force and acoustic emissions. Different methodologies have been proposed to obtain different parameters or features of the process, as well as the tool and the machine conditions in general. Some early works that use the previously mentioned variables in their methodologies are Albarbar, et al. [5], Wright, et al. [6], Malekian et al. [7], Rangel-Magdaleno, et al. [8], Vela-Martinez et al. [9] that use vibrations for monitoring the electromechanical condition on the CNC machine, Romero-Troncoso et al. [10], Franco-Gasca et al. [11], Li et al. [12] that use current for detecting the cutting force and the tool wear, Huang et al. [13], Ertnuc and Oysu [14], Shao et al. [15] that use force measurements for monitoring the cutting force, Alonso and Salgado [4], Salgado and Alonso [16] use acoustic emissions for tool-wear monitoring. Likewise, there are other works related to the dynamic parameters, such as Morales-Velazquez et al. [17] and Petrella and Tursini [18]. By utilizing the dynamic motion parameters, it is possible to optimize the piece machining, minimize the tool wear, and increase the precision of the positioning platforms for micro-machining applications [7], where different techniques have been studied, such as those using interferometry, or those using position sensing detectors (PSD) in order to validate the resolution and compensate for errors [19,20]. Since in most of the applications the online processing of the variables is essential, the use of smart sensors is necessary [21]. Smart sensors have been developed and used for several applications in different works, as in those of Wang and Jianu [22], Rangel-Magdaleno, et al. [8], Petrella and Tursini [18], Ramamurthy et al. [23] and Son et al. [24]. However, new generation CNC machines require the measurement of different variables at the same time; therefore, a wireless network is necessary for solving the necessity of incorporating multiple sensors with specific processing capabilities.
Some sensor networks based on different wireless technologies have been developed, as in the case of Salvadori et al. [25], who proposed a system that uses two hardware topologies responsible for signal acquisition, processing, and transmission; one is based on an intelligent sensor module, and the other is a module for remote data acquisition. Wireless communication is accomplished through a transceiver using Gaussian Frequency-Shift Keying (GFSK) modulation in the 2.4 GHz band with a transmission rate of 1 Mbps, but it uses a custom-made protocol. Son et al. [24] proposed a wireless smart sensor network using the WiFi protocol which is based on the IEEE 802.11b standard, in which the communication is done through a commercial module that is used as a wireless bridge for the transmission of sensor data. On the other hand, Ramamurthy et al. [23] present a generic platform using WiFi and Bluetooth wireless protocols; the smart sensor node is composed of three layers in order to make the system more flexible and portable, yet, the resulting size makes it impossible to use the system in applications where the sensor has to be mounted in a limited area. Although the necessity of measuring a large number of variables in CNC machines is latent, most of the developed works have the limitation of incorporating multiple sensors on the machines; others do not have online processing capacity. Some smart sensors that allow this capacity have been developed, but they focus on the processing of a single variable. Other works that propose wireless sensor networks meet the bandwidth requirements, but with high power consumption, and because of the protocol used, the number of nodes can be insufficient for some CNC machine applications.
The contribution of this work is the development of a wireless network platform of smart sensors for CNC machine applications based on the IEEE 802.15.4 standard to comply with the measurement requirements of new generation machines, which are low power consumption and high scalability to allow the incorporation of a large number of network nodes. The sensor node prototype has a small size and low cost, and it consists of two parts: the wireless protocol and hardware signal processing (HSP). Both parts require high processing capabilities, so an FPGA (Field Programmable Gate Array) implementation provides the characteristic of reconfigurability to the sensor node allowing it to be configured in order to carry out a specific task, or reconfigured on-demand to carry out other tasks. In the case of the proposed network, this capability is available for each smart sensor, allowing multiple-signal processing in parallel, and making it suitable for online applications. In this work, four different smart sensors are put under test in the network and their corresponding signal processing techniques are implemented in the FPGA sensor node: (1) accelerometer-based vibrations monitoring, (2) sensorless jerk monitoring using an adaptive antisymmetric high-order FIR (finite impulse response) filter, 3) FPGA-based fused smart-sensor for tool-wear area quantitative estimation in CNC machine inserts, and 4) PSD-based micropositioning measurement.

2. Background

2.1. Communication Protocols

For the development of a wireless sensor network, the evaluation of different communication technologies is necessary. Some factors that should be considered are: bandwidth, transmission rate, total range, scalability and power consumption. The IEEE 802.11g standard has a maximum transmission rate of 54 Mbps, a maximum range of 150 m and defines a maximum number of 32 nodes for a local area network (LAN); it requires additional encoding, which results in an increase of the power consumption [26]. Another standard for a personal area network (PAN) is the IEEE 802.15.1 (Bluetooth); this standard has a transmission rate of 1 Mbps, a maximum range of 10 m and allows the integration of a network with a master device and up to seven slave devices that can only communicate with their master [27]. The IEEE 802.15.4 (ZigBee) standard has a transmission rate of 250 kbps and a maximum range of 1,000 m in its most recent versions. This standard works in three different frequency bands and could contain up to 65,536 nodes on a network and has low energy consumption [28]. Table 1 shows a comparative between standards as discussed above.
A sensor network for monitoring and failure-detection applications in a manufacturing cell with new generation machine tools requires a large amount of nodes because different variables are usually measured; the IEEE 802.15.4 standard allows the integration of 65,535 devices, which is considerably higher compared to most standards usually used for wireless sensor networks, in addition to other benefits such as its transmission range, latency and low power consumption, this standard is considered as the optimum for this application.

2.2. Measurement of Variables in Machine Tools

Different techniques have been studied in relation to machine-tool condition monitoring and process optimization, using various physical variables for analysis such as acceleration current and dynamic movement by obtaining variables such as position, velocity and mainly jerk. Similarly, studies related to micro-machining have been done, obtaining position measurements in the order of microns.
Vibration measurements are essential for detecting and diagnosing any deviations from normal operation conditions in machines [5]. When a machining process exceeds the desired limits, it may result in excessive vibration, poor quality of the end-piece finishing and permanent damage to the machine.
Cutting tools along with raw material represent the highest cost of the production process in a manufacturing industry [11]. Among several techniques to detect the cutting force during a manufacturing process, current monitoring is the cheapest method because it is based on measuring the control current in the servo driver and then extracts the cutting force component [10]. During a machining process, the motor current is directly related to the tool condition, where power consumption will be higher for a worn tool than for a sharp one in the same process [11]. In the case of wear monitoring, the variables that have been used include force, vibration, acoustic emission, cutting temperature and current [4].
Dynamic parameters are related as successive derivations by theoretically differentiating position signals, to obtain speed, acceleration and jerk [17]. Jerk monitoring, defined as the first derivative of acceleration, has become a major issue in CNC machines; for this reason, different works have treated the estimation of this parameter, either from encoder counts or from accelerometer measurements [8]. Particularly, jerk is related to machine wear, amplifier saturation and other undesired electromechanical conditions [17].
The miniaturization of components has become an important part of modern technologies in order to meet the demand for reduced size and high accuracy. A miniature system provides portability, low material and energy consumption, and a better integration and process automation [7]. To obtain a better precision, position control of a machine tool has become the primary concern. For precise positioning measurement, different techniques have been proposed, among them the use of position sensing detectors (PSD), which are low cost and have high resolution [19].

2.3. Signal Processing Methodologies

In order to test the functionality of the proposed smart sensor network, four methods recently used in machine tools have been identified, where the required processing can be implemented in each sensor node due to its reconfigurability.

2.3.1. Accelerometer-Based Vibration Monitoring

Rangel-Magdaleno et al. [29] use as part of their methodology an accelerometer-based vibration measurement for condition monitoring and failure detection utilizing the DWT (discrete wavelet transform) for detecting broken bars in induction motors. The DWT is computed using a set of discrete-time low and high-pass filters, which is known as the Mallat algorithm. The Mallat algorithm has two sections: decomposition (DWT) and reconstruction (IDWT). During the decomposition processes, the original signal goes through a low-pass and high-pass filter bank to obtain the low frequency components known as approximations, and the high frequency component as details. Each level of decomposition decimates the original data length to the half of the data in the previous level. According to the filter bank properties, the frequency band for an approximation ACL and a detail DCL is given by Equations (1) and (2) respectively, where L is the level of the desired decomposition and fs is the sampling frequency. The reconstruction section takes the information obtained from one or more decomposition levels and returns the signal representation to the time domain:
AC L = [ 0 , fs 2 L + 1 ]
DC L = [ fs 2 L + 1 , fs 2 L ]

2.3.2. Jerk Monitoring

For jerk monitoring, Morales-Velazquez et al. [17] propose an antisymmetric high-order FIR filter based on a sensorless method for an encoder signal. To obtain the jerk signal from the position measurement, successive differentiations are required. A high order antisymmetric FIR filter is defined as a two-impulse window filter (TIWF) given by Equation (3), where filter order (n) is fixed and the impulse position (δ) depends on the adaptation method and fs is the sampling frequency:
y ( k ) = f s n 2 δ { x ( k δ ) + x [ k ( n δ ) ] }
The position signal (p) from the encoder is prefiltered by a low-pass filter; then the signal speed (), acceleration () and jerk () are estimated by cascading three TIWF to the filtered signal. To adjust the three TIWF, the jerk variance (σj2) is calculated using (5), then, an adaptive function is applied and limited to obtain the adaptability parameter (δ) which defines the position of the impulse in Equation (3):
δ = 4.4 | log 2 ( σ j 2 ) |
σ j 2 = 2 n i = 1 n / 2 ( u i u ¯ ) 2
where ui is the i-th jerk sample, and is the jerk mean in the interval [i, n/2+i].

2.3.3. Tool Wear Monitoring

For tool-wear monitoring Trejo-Hernandez et al. [30] propose as part of their methodology an HSP-unit to determinate the flank-wear area using the signal current measurement. The feed motor current I, is the input signal to the current DAS (Data Acquisition System) driver. Then the current signal is time windowed to only take into account the time when the cutting is made during the machining process. The time windowing initializes its processing when the CNC machine indicates it through a logical signal MS (Machining Start). The current signal is processed with a low-pass 32-order FIR filter (cut-off frequency fc = 120 Hz). Afterwards, the Irms value of the current signal is obtained according to Equation (6), where Ii represent the i-th sample and m the length of the windowed samples:
I rms = i = 1 m ( I i ) 2 m
In a next step, the flank-wear area Af is obtained by a polynomial approximation. The polynomial approximation is shown in Equation (7):
A f = ( I rms ) = 213.8785 I rms 3 175.1362 I rms 2 + 47.5507 I rms 4.1563

2.3.4. PSD-Based Micropositioning Measurement

A PSD is a device in a substrate of photodiodes divided into two or four parts capable of measuring position from a light beam regardless of the shape of the beam and the intensity distribution [19]. Owing to its resolution, this device has been used for micropositioning measurements in systems for micro-machining applications.
There are different sensors for micro-displacement measurement, which integrate a LED emitter along with a PSD sensor in the receptor where the output signal is a proportional voltage to the distance. Because of the light environmental conditions or other factors, the output signal requires a statistic process like RMS calculation during the time of beam emission in order to obtain the distance signal. The Vrms value of the voltage signal is obtained according to Equation (8), where Vi represents the i-th sample and m is the number of samples for each calculation:
V rms = i = 1 m ( V i ) 2 m
Sze-Wei et al. [19] proposed the use of a PSD sensor along with a servosystem based on a piezoelectric actuator in order to measure the translational error from a high precision stage. The servo system is controlled for the movement while the position error is measured with the PSD. The profile of the measured error by the PSD was stored during machining for servosystem compensation.

2.3.5. Characteristics of the Sensors

The characteristics of primary sensors to be used in the methodologies depend on the application needs. For instance, in the case of accelerometer-based vibration monitoring, the resolution of the sensor is determined depending on the level of detail needed and the accuracy depends on the vibration measurement range in the application; however, the methodology is suitable for any type of accelerometer. For jerk estimation, encoder resolution (counts per revolution) does not affect the algorithm of the methodology proposed, however a higher accuracy of the sensor will provide a better speed control. In the case of tool wear monitoring, a higher resolution will provide a better estimation of the flank wear area. Micropositioning methodology works for any sensor resolution but this will limit the minimum compensation of error and therefore the accuracy of the positioning system. Finally, each methodology can be adapted for the required resolutions, either by the sensor or by the number of bits at the analog to digital converter which require a change in data format.

3. Wireless Smart Sensor Network

Figure 1 shows the general block diagram of the network, which can integrate n wireless smart sensors (WSS) based on the proposed platform, the maximum value of n is 65,535 for a single coordinator. The smart sensors are connected to different primary sensors that monitor the variables of interest from the CNC machine in a typical manufacturing cell. The master device or coordinator is implemented in a platform with similar characteristics, it is responsible for associating or disassociating the devices in its PAN, and it configures the processing and acquisition parameters. The network is capable of communicating directly with a computer, a display or a storage system.
The implemented platform consists of three stages as shown in Figure 2: signal conditioning, wireless transmission and reception, and hardware processing and control. The signal conditioning stage includes the instrumentation of the different type of sensors that are incorporated on the device; this stage is developed in an external module with a physical interface for coupling to the platform. This module is different for each type of sensor, and its construction is simple and compact. The wireless transmission and reception stage is constituted by a module that allows the modulation and transmission of data; this stage includes a commercial transceiver circuit, which uses the standard IEEE 802.15.4 in the physical and media access control (MAC) layer. Furthermore, it includes the physical environment for wireless transmission, composed of coupling circuitry for an external antenna.
The hardware processing unit is based on a low-cost and low-power consumption FPGA that controls the interface of the signal conditioning stage by implementing the driver for the analog-to-digital converter (ADC), which depends on the primary sensor connected to the platform. It connects to the transmission stage in order to control the radio transceiver for the wireless communication; it also handles the communication protocol according to the network capabilities and includes modules for hardware signal processing.

3.1. Wireless Protocol

In the hardware processing unit it is necessary to define a communication protocol for the wireless sensor network. Since the selected standard is capable of operating at three different radio frequency bands, the 2.4 GHz band is chosen because of its high transmission rate and because it operates in the industrial, scientific and medical (ISM) band.
The communication protocol uses a star topology network in which slave nodes can communicate only with the coordinator of the network [28]; each node has a specific 16-bit PAN address, and at the same time a 16-bit and 64-bit individual addresses all stored in a memory into the device. The network coordinator integrates several tasks as: association and disassociation of nodes in the network, device configuration, data request and data reception, request of node status. Moreover, the nodes integrate specific tasks for the sensor network: association to only one coordinator, send data to request and receive setup instructions; that is why they are called reduced functionality devices (RFD) as they have basic functionalities in the protocol but they are not capable of coordinating a network of similar devices.
Figure 3a shows the implemented architecture to manage the wireless transmission stage; it consists of two parts: the first part is an interface to the transceiver circuit for physical configuration of the device; it configures the MAC-layer characteristics and manages the transmission and reception options. The second part includes the implementations of the proprietary protocol that is based on an instruction read-only memory (ROM) that stores the parameters for the physical initialization of the transceiver; a frame-generator module and a frame-decoder module are implemented in this part according to the frame format required by the standard.
Memory in the transceiver is implemented as static RAM and it is accessible via the SPI port. Memory is functionally divided into control registers and data buffers (FIFOs), to handle the reception and transmission of packets. The frame-generator unit is shown in Figure 3b; it contains a field selector and an address counter to write through the transceiver driver the sequence of data in the transmission FIFO (TXFIFO) according to the frame format specified by the standard containing several fields; frame length, frame control, sequence number, PAN identifier and addressing fields and the data payload that contains the information from the HSP-modules. The first field is the frame length calculated depending of the number of data to be sent; the second field is the frame control defined by the standard and contains information of the frame structure. An 8-bit counter is used to generate the sequence number, this counter is incremented after the previous transmission is succeeded, and PAN identifier and addressing fields are located in a memory outside the module in order to be reconfigured. This module has an FSM (finite-state machine) to control the selector and the counters. The unit has a start frame generation (SFG) and end of frame generation (EFG) ports, in order to be externally controlled.
The frame-decoder unit, shown in Figure 3b, is constituted by a shift register, a frame length counter, an address counter and an FSM, once the transceiver has received a valid packet without errors an interrupt occurred and the packet is read, the first byte read from the reception FIFO (RXFIFO) is the frame length and the data is stored in a register in order to read only the packet, after the frame length is stored the following data is read and stored in the shift register, the fields are organized according to their origin and importance, extracting only the source address and the data payload. Each packet has information of the signal received; the received signal strength indicator (RSSI) can be extracted from the packet too. Also this module has a start frame decoder SFD port and end of frame decoder EOFD port to control the module externally.
A memory bank is defined with the structure of the instruction ROM that defines the tasks of this protocol. Within the instruction ROM, there is a section that contains the initialization parameters of the different devices, defines the type of network, the frame format, the transmission power, and the communication channel. The coordinator module keeps all its addresses fixed, while the node addresses are defined by the coordinator.

3.2. Reconfigurable Processor

The main feature of the platform lies upon its capacity of incorporating different HSP modules; these modules can be implemented in the hardware processing stage due to its reconfigurability. Figure 4 shows a block diagram of the proposed platform overall structure that depicts the FPGA-based processing stage where the description of an interface is implemented; this interface depends on the specific sensor connected to the platform, and on the drivers for the wireless module. Figure 4 also shows the wireless transmission stage that consists of a radio frequency transceiver and the corresponding coupling circuitry. According to the application, different signal conditioning systems can be connected to the wireless platform depending on the sensors required for such an application.

3.2.1. Vibration Monitoring HSP Core

For broken-bar detection in spindle induction motors of CNC machines, the implementation shown in Figure 5 is used. According to the methodology proposed by Rangel-Magdaleno et al. [29], a module that manages the ADC converter, and the modules of the wavelet transform for the decomposition (DWT) and the reconstruction (IDWT) of the selected level of analysis, were included. Once the reconstruction for each axis is obtained during the startup transient, the axis that will be sent through the wireless platform is selected.

3.2.2. Jerk Monitoring HSP Core

Figure 6 shows the block diagram of the implemented methodology for jerk monitoring proposed by Morales-Velazquez et al. [17]. The implemented algorithm includes modules to acquire the position signal from an encoder, a low-pass filter (LPF) and TIWF filters to estimate velocity (), acceleration () and jerk (), a module for variance calculation, and a module for obtaining the adaptability parameter (δ).

3.2.3. Tool Wear Monitoring HSP Core

For tool wear monitoring, the implementation was made as shown in the block diagram of Figure 7, and it was based on the case of study for current signal in the work of Trejo-Hernandez et al. [30]. To estimate the tool wear area from the spindle-driver current measurement, the implemented algorithm includes a driver for an ADC converter, a low pass filter (LPF), a time windowing for taking the signal during machining process only, a module for computing the RMS value of the current signal, and a polynomial approximation for calculating quantitatively the tool-wear area as shown in (7).

3.2.4. PSD-Based Micropositioning Measurement HSP Core

Figure 8 shows the block diagram for micropositioning measurement based on a PSD sensor. The implementation consists of a driver for the ADC, a module for the LED pulse emission control (PLS) and an RMS computation unit for obtain the voltage measurement proportional to the distance.

3.3. Instrumentation

For measuring the corresponding variables according to the application, signal conditioning from the primary sensors is necessary; these signals are adapted to the wireless platform through a board-to-board connector. This section presents the signal conditioning implementation for each sensor used in the corresponding methodology.

3.3.1. Acceleration Sensor Board

Figure 9 shows the block diagram of the instrumentation system utilized for measuring vibrations. This system consists of a triaxial accelerometer LIS344ALH from STMicroelectronics [31], which has a bandwidth of 1,500 Hz for all axes, a user-selectable full scale of ±2 g/±6 g (g = 9.81 m/s2), a 0.66 V/g sensitivity and a 5 × 10−4 resolution over a 100 Hz bandwidth. The system also contains a 12-bit resolution at the 4-channel ADC from Texas Instruments ADS7841 [32], with a maximum sampling rate of 200 KHz for the four channels, the unused channel is left unconnected for this application. The control signals and output of the ADC are connected to the interface with the wireless platform.

3.3.2. Current Sensor Board

Figure 10 shows a block diagram of the instrumentation system for the feed motor current measurement that is obtained from a typical Copley Controls Corp servoamplifier model 413 with a 5 V/A sensitivity. The resolution of the system is 12-bit given by a 4-channel ADC ADS7841, also a instrumentation for signal conditioning of the motor current is required. This system can measure simultaneously up to four current signals; for this case study, only one channel is used, leaving the others connected to ground.

3.3.3. Encoder Sensor Board

Figure 11 shows the block diagram of the instrumentation system for an encoder with a resolution of 6,000 counts per revolution that is coupled to the servomotor on one axis of a CNC machine. For conditioning the encoder signals, a LJ245A driver is used in order to make the voltages levels from the encoder compatible with the platform.

3.3.4. Position Sensor Board

The block diagram for micro-displacement measurement is shown in Figure 12; the instrumentation system is made for an optical sensor Z4D_B01 based on a PSD with a resolution of 10 μm and a 1.4 mv/μm sensitivity. The system contains a 12-bit resolution, 4-channel ADC ADS7841 to convert the voltage signal from the sensor. The instrumentation only uses one channel and the others are disabled as recommended by the manufacturer. A control signal is sent from the wireless platform to control the emission pulse of the infrared LED in the sensor.

4. Experimental Section

In this section the experimental validation of the sensor network applied to a manufacturing cell is presented. The experimentation includes three CNC machines. Four methodologies are implemented in four identical wireless platforms. The test consists on monitoring the smart wireless sensor during the operation of the CNC machines simultaneously.
The experimental setup consists on assembling four wireless smart sensors on three CNC machines within a manufacturing cell. Each smart sensor uses an AGLN250ZV2 low cost and low power consumption FPGA as processing unit. They operate at 20 MHz and have a radio frequency commercial transceiver MRF24J40 that is compatible with the IEEE 802.15.4 standard. Figure 13 shows one of the four developed wireless smart sensor nodes with its corresponding enclosure for mounting and also shows the smart sensor placements in the manufacturing cell, the network coordinator is located in an equidistant space from the nodes and it is implemented in a commercial FPGA platform Spartan-3 XC3S200 that is connected to a PC, which uses the transceiver module MRF 24J40 too.
In a CNC machine center, a WSS is mounted on the spindle of the principal motor of a DYNA-4M CNC system to measure and analyze vibrations, and to detect broken bars in the induction motor as shown in Figure 13a. Two conditions are set in the induction motor: the first one is for a healthy motor and the second one is for a motor with two broken bars. The acquisition is performed at a rate of 1,500 samples per second. In a machining process of a conic piece, the quantitative estimation of the tool wear area is obtained for three CNMG433MA inserts with different flank-wear area. Figure 13b shows the mounting of a WSS on a FANUC Oi Mate-TC lathe; the feed rate is 0.333 mm/rev, the cutting depth is 1.5 mm and the cutting speed is 72 m/min. During the same machining process, the encoder position is measured on the X-axis to estimate the jerk at 1,000 samples per second, the WSS mounting is shown in Figure 13c. On the other hand, for micropositioning measurement, a movement profile in micrometers is defined for a precision stage coupled to an EZG705-0-101 servomotor; the mounting of the WSS for this case is shown in Figure 13d. Table 2 shows the FPGA resource utilization for the synthesis of each smart sensor corresponding to each of the methodologies implemented.
Table 3 shows the FPGA resource utilization for the synthesis of the coordinator module. This resource utilization is the same independently of the nodes integrated in the network, the maximum power consumption of coordinator is 68.99 mW.

5. Results and Discussion

In this section the results of the techniques used in each smart sensor are presented, the information obtained simultaneously in the wireless sensor network is stored on the coordinator RAM and then, it is transferred to a PC, finally, using Matlab, the results are plotted.

5.1. Vibration Results

In this experiment, the motor of the spindle with two broken bars was used in order to test the performance of the network; a latter test was carried out for a healthy motor under the same network conditions.
Figure 14a and Figure 14c show the time-domain vibration signal from the healthy motor and a motor with two broken bars respectively; the DWT analysis at a level-5 decomposition and reconstruction for a healthy motor is shown in Figure 14b and for a motor with two broken bars is shown in Figure 14d. Both signals are transmitted in this test for comparison.

5.2. Current Results

The results from the current technique are shown in Table 4. The flank-wear area is estimated in each machining process. The quantitative value of the area is transmitted from the WSS in a 2.22 fixed point format after the machining process. Figure 15 shows the cutting tool micrograph and the estimation data based on the polynomial function of Equation (7) for the quantitative flank-wear area for selected inserts

5.3. Encoder Results

Figure 16 shows the results obtained from the encoder reading on the lathe during the machining process. Figure 16a shows the position sent by the WSS in order to obtain analytically the jerk as shown in Figure 16b, and the comparison against the WSS estimation shown in Figure 16c.

5.4. PSD Results

The voltage measurement proportional to distance delivered by the sensor is sent through a WSS to a PC; the distance is obtained graphically in the order of micrometers; then, it is compared to the sent position as shown in Figure 17a. Finally, the error is calculated and shown in Figure 17b.

5.5. Speed and Range Network Results

Figure 18a shows the signal strength variation of a node for various distances; Figure 18b shows the signal strength for the vibration WSS during the test.
Table 5 summarizes the network utilization for each smart sensor; the bits per second that are read directly from the sensors, and the amount of information after signal processing, which was 42,365 bps.

5.5. Network Capabilities

To determine the maximum number of WSS that can be integrated in the network, it is necessary to determine the maximum smart-sensor data rate that can be sent through the channel, which depends on the HSP-core implemented in the nodes and the maximum data rate that the coordinator can receive. The coordinator can read a complete frame with the maximum data payload in 263.64 μs; however, the standard specifies a maximum data rate of 250 kbps. If the network integrates nodes with low data rates, the number of nodes increase, for example a network with nodes transmitting at 1 byte per second with the minimum frame format, the netwok can integrate up to 2,604 nodes, but if the node transmit information at 232,283 bps all the bandwith is used and only one node can be integrated in this network with good conditions of reception.

5.6. Discussion

Experimental results using the proposed wireless smart sensor network validate the four methodologies implemented for CNC machines. The first methodology based on accelerometer measurement uses a smart sensor for detecting broken bars in spindle induction motors by using a DWT transform. The second methodology measures the servomotor driver current and the processing implemented on the smart sensor to estimate the flank-wear area in inserts during machining. For the third methodology, the validation was done by using a smart sensor for the measurement of the encoder signal from an axis servomotor of a CNC machine. The measure of position for a linear stage was obtained by processing in a smart sensor the voltage signal obtained from an optical sensor, calculating RMS value. For this experiment the PAN coordinator was placed at 5 m from the sensor nodes, allowing an optimum data reception and a bandwith network utilization of 22.53% of the total available of an IEEE 802.15.4 channel. During the test, additional data was transmitted in order to show the results validation, as in the case of accelerometer-based vibrations monitoring and encoder-based jerk monitoring methodologies; the omission of this additional information reduces the traffic in the network. The amount of data sent through is considerably reduced from 660,960 bps to 42,365 bps, 6.4% of the total raw data read. The applied processing allows the relevant information to be sent through the network for each particular application; it is also clear that the raw-data rate is over the maximum transfer rate in the specifications of the used standard [28]. By using HSP modules in the WSS, the transmission time of the smart-sensor data after processing is significantly reduced in comparison with the raw data from the sensors; in this way, decreasing the traffic through the communication channel reduces the overall processing time, and increases the number of WSS that can be handled simultaneously in the network.

6. Conclusions

The wireless smart sensor network developed in this work is capable of coordinating different nodes for the measurement and processing of several variables in the new generation of machine tools under a completely hardware reconfigurable platform. The wireless communication based on IEEE 802.15.4 standard allowed fulfillment of the requirements for new generation CNC machines analysis and monitoring in a manufacturing cell, with the capability to incorporate a large number of variables for measuring and procesing. The proposed reconfigurable smart sensors can perform complex processing, which is optimal in a sensor network for condition monitoring and data analysis in a machining center, since each smart sensor pre-processes the information, reducing the amount of data to be sent through the network. The outcome of this capability provides a more efficient decision-making in the manufacturing cell, contrary to the supposed fact of performing a post-processing for all raw data obtained from the measurement of each variable. The application of the smart sensor network developed in this work can be suitable for monitoring and processing of other variables and other process where on-line measurement is required, as in a production line.

Acknowledgments

This project was partially supported by CONACyT scholarship 217968 and 217969, FOMIX-QRO-2008-CO2-102123 and SEP-CONACyT projects.

References

  1. Mekid, S; Pruschek, P; Hernandez, J. Beyond intelligent manufacturing: A new generation of flexible intelligent NC machines. Mech. Mach. Theory 2009, 44, 466–476. [Google Scholar]
  2. Jeon, S; Tomizuka, M. Benefits of acceleration measurement in velocity estimation and motion control. Con. Eng. Prac 2007, 15, 325–332. [Google Scholar]
  3. Kirubashankar, R; Krishnamurthy, K; Indra, J. Remote monitoring system for distributed control of industrial plant process. J. Sci. Ind. Res 2009, 68, 858–860. [Google Scholar]
  4. Alonso, FJ; Salgado, DR. Analysis of the structure for tool wear detection. Mech. Syst. Sig. Process 2008, 22, 735–748. [Google Scholar]
  5. Albarbar, A; Mekid, S; Starr, A; Pietruszkiewicz, R. Suitability of MEMS accelerometers for condition monitoring: An experimental study. Sensors 2008, 8, 784–799. [Google Scholar]
  6. Wright, P; Dornfeld, D; Ota, N. Condition monitoring in end-milling using wireless sensor networks (WSNs). In Transactions of NAMRI/SME; Society of Manufacturing Engineers: Monterrey, Mexico, 2008; Volume 36, pp. 177–183. [Google Scholar]
  7. Malekian, M; Park, SS; Jun, MBG. Tool wear monitoring of micro-milling operations. J. Mater. Process Technol 2009, 209, 4903–4914. [Google Scholar]
  8. Rangel-Magdaleno, JJ; Romero-Troncoso, RJ; Osornio-Rios, RA; Cabal-Yepez, E. Novel oversampling technique for improving signal-to-quantization noise ratio on accelerometer-based smart jerk sensors in CNC applications. Sensors 2009, 9, 3767–3789. [Google Scholar]
  9. Vela-Martínez, L; Jauregui-Correa, JC; Rodriguez, E; Alvarez-Ramirez, J. Using detrended fluctuation analysis to monitor chattering in cutter tool machines. Int J Mach Tools Manuf 2010. [Google Scholar] [CrossRef]
  10. Romero-Troncoso, RJ; Herrera-Ruiz, G; Terol-Villalobos, I; Jauregui-Correa, JC. Driver current analysis for sensorless tool breakage monitoring of CNC milling machines. Int. J. Mach. Tools Manuf 2003, 43, 1529–1534. [Google Scholar]
  11. Franco-Gasca, LA; Herrera-Ruiz, G; Peniche-Vera, R; Romero-Troncoso, RJ; Leal-Tafolla, W. Sensorless tool failure monitoring system for drilling machines. Int. J. Mach. Tools Manuf 2006, 46, 381–386. [Google Scholar]
  12. Li, X; Ouyang, G; Liang, Z. Complexity measure of motor current signals for tool flute breakage detection in end milling. Int. J. Mach. Tools Manuf 2008, 48, 371–379. [Google Scholar]
  13. Huang, SN; Tan, KK; Wong, YS; de Silva, CW; Goh, HL; Tan, WW. Tool wear detection and fault diagnosis based on cutting force monitoring. Int. J. Mach. Tools Manuf 2007, 47, 444–451. [Google Scholar]
  14. Ertunc, HM; Oysu, C. Drill wear monitoring using cutting force signals. Mechatronics 2004, 14, 533–548. [Google Scholar]
  15. Shao, H; Wang, HL; Zhao, XM. A cutting power model for tool wear monitoring in milling. Int. J. Mach. Tools Manuf 2004, 44, 1503–1509. [Google Scholar]
  16. Salgado, DR; Alonso, FJ. An approach based on current and sound signals for in-process tool wear monitoring. Int. J. Mach. Tools Manuf 2007, 47, 2140–2152. [Google Scholar]
  17. Morales-Velazquez, L; Romero-Troncoso, RJ; Osornio-Rios, RA; Cabal-Yepez, E. Sensorless jerk monitoring using an adaptive antisymmetric high-order FIR filter. Mech. Syst. Signal Process 2009, 23, 2383–2394. [Google Scholar]
  18. Petrella, P; Tursini, M. An embedded system for position and speed measurement adopting incremental encoders. IEEE Trans. Ind. Appl 2008, 44, 1436–1444. [Google Scholar]
  19. Sze-Wei, G; Han-Seok, L; Rahman, M; Watt, F. A fine tool servo system for global position error compensation for a miniature ultra-precision lathe. Int. J. Mach. Tools Manuf 2007, 47, 1302–1310. [Google Scholar]
  20. Acar, M; Atterbury, DA; Fisher, D; Lewis, MJ; Porro, JW; Seymour, HG. A method for measuring and calibrating resistive microtorque of a mechanical microcounter. Precis. Eng 2009, 33, 209–213. [Google Scholar]
  21. Rivera, J; Herrera, G; Chacón, M; Acosta, P; Carrillo, M. Improved progressive polynomial algorithm for self-adjustment and optimal response in intelligent sensors. Sensors 2008, 8, 7410–7427. [Google Scholar]
  22. Wang, W; Jianu, OA. A smart sensing unit for vibration measurement and monitoring. IEEE/ASME Trans. Mechatron 2010, 15, 70–78. [Google Scholar]
  23. Ramamurthy, H; Prabhu, BS; Gadh, R; Madni, A. Wireless industrial monitoring and control using a smart sensor platform. IEEE Sens. J 2007, 7, 611–618. [Google Scholar]
  24. Son, JD; Niu, G; Yang, BS; Hwang, DH; Kang, DS. Development of smart sensors system for machine fault diagnosis. Expert Syst. Appl 2009, 36, 11981–11991. [Google Scholar]
  25. Salvadori, F; de Campos, M; Sausen, PS; de Camargo, RF; Gehrke, C; Rech, C; Spohn, MA; Oliveira, AC. Monitoring in industrial systems using wireless sensor network with dynamic power management. IEEE Trans. Instrum. Meas 2009, 58, 3104–3111. [Google Scholar]
  26. IEEE 802.11b Standard. Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications: Higher-Speed Physical Layer Extension in the 2.4 GHz Band; IEEE: Piscataway, NJ, USA, 1999. [Google Scholar]
  27. IEEE 802.15.1 Standard. Part 15.1: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Wireless Personal Area Networks (WPANs); IEEE: Piscataway, NJ, USA, 2005. [Google Scholar]
  28. IEEE 802.15.4 Standard. Part 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Networks (LR-WPANs); IEEE: Piscataway, NJ, USA, 2006. [Google Scholar]
  29. Rangel-Magdaleno, JJ; Romero-Troncoso, RJ; Osornio-Rios, RA; Cabal-Yepez, E; Dominguez-Gonzalez, A. FPGA-based vibration analyzer for continuous CNC machinery monitoring with fused FFT-DWT signal processing. IEEE Trans Instrum Meas 2010. [Google Scholar] [CrossRef]
  30. Trejo-Hernandez, M; Osornio-Rios, RA; Romero-Troncoso, RJ; Rodriguez-Donate, C; Dominguez-Gonzalez, A; Herrera-Ruiz, G. FPGA-based fused smart-sensor for tool-wear area quantitative estimation in CNC machine inserts. Sensors 2010, 10, 3373–3388. [Google Scholar]
  31. STMicroelectronics Data Sheet; MSDS No. LIS344ALH, STMicroelectronics Co: Geneva, Switzerland, 2008.
  32. Texas Instruments Data Sheet ADS7841 (12-Bit, 4-Channel Serial Output Sampling ANALOG-TO-DIGITAL CONVERTER; MSDS No. ADS7841); Texas Instruments Inc: Dallas, TX, USA. Available online: http://www.datasheetcatalog.org/datasheet/texasinstruments/ads7841.pdf (accessed on 27 July 2010).
Figure 1. General block diagram of the smart sensor network.
Figure 1. General block diagram of the smart sensor network.
Sensors 10 07263f1
Figure 2. Wireless smart sensor system stages.
Figure 2. Wireless smart sensor system stages.
Sensors 10 07263f2
Figure 3. Block diagram of (a) the protocol architecture, (b) frame-generator and frame-decoder modules detail.
Figure 3. Block diagram of (a) the protocol architecture, (b) frame-generator and frame-decoder modules detail.
Sensors 10 07263f3
Figure 4. Block diagram of the wireless platform.
Figure 4. Block diagram of the wireless platform.
Sensors 10 07263f4
Figure 5. Block diagram for vibration monitoring utilizing the HSP core.
Figure 5. Block diagram for vibration monitoring utilizing the HSP core.
Sensors 10 07263f5
Figure 6. Block diagram for jerk monitoring utilizing the HSP core.
Figure 6. Block diagram for jerk monitoring utilizing the HSP core.
Sensors 10 07263f6
Figure 7. Block diagram for tool wear monitoring utilizing the HSP core.
Figure 7. Block diagram for tool wear monitoring utilizing the HSP core.
Sensors 10 07263f7
Figure 8. Block diagram for micropositioning measurement utilizing the HSP core.
Figure 8. Block diagram for micropositioning measurement utilizing the HSP core.
Sensors 10 07263f8
Figure 9. Block diagram for 3-Axis Accelerometer instrumentation.
Figure 9. Block diagram for 3-Axis Accelerometer instrumentation.
Sensors 10 07263f9
Figure 10. Block diagram for current signal instrumentation.
Figure 10. Block diagram for current signal instrumentation.
Sensors 10 07263f10
Figure 11. Block diagram encoder signal instrumentation.
Figure 11. Block diagram encoder signal instrumentation.
Sensors 10 07263f11
Figure 12. Block diagram for micro-displacement sensor instrumentation.
Figure 12. Block diagram for micro-displacement sensor instrumentation.
Sensors 10 07263f12
Figure 13. Experimental setup in a manufacturing cell, (a) vibration WSS mounting on the motor of DYNA-4M, (b) current WSS mounting on the FANUC Oi Mate-TC lathe panel, (c) encoder WSS mounting on a motor of FANUC Oi Mate-TC lathe, (d) micropositioning WSS mounting on a two-axis linear stage.
Figure 13. Experimental setup in a manufacturing cell, (a) vibration WSS mounting on the motor of DYNA-4M, (b) current WSS mounting on the FANUC Oi Mate-TC lathe panel, (c) encoder WSS mounting on a motor of FANUC Oi Mate-TC lathe, (d) micropositioning WSS mounting on a two-axis linear stage.
Sensors 10 07263f13
Figure 14. Vibration Signals for induction motor, (a) time-domain signal for healthy motor, (b) DWT reconstruction level 5 for a healthy motor, (c) time-domain signal for a motor with two broken bars, (d) DWT reconstruction level 5 for a motor with two broken bars.
Figure 14. Vibration Signals for induction motor, (a) time-domain signal for healthy motor, (b) DWT reconstruction level 5 for a healthy motor, (c) time-domain signal for a motor with two broken bars, (d) DWT reconstruction level 5 for a motor with two broken bars.
Sensors 10 07263f14
Figure 15. Flank-wear area estimation showing the micrograph of selected inserts and their corresponding tool-wear area.
Figure 15. Flank-wear area estimation showing the micrograph of selected inserts and their corresponding tool-wear area.
Sensors 10 07263f15
Figure 16. (a) Position, (b) analytical jerk, (c) monitored jerk, (d) zoom of position, (e) jerk analytical and estimated.
Figure 16. (a) Position, (b) analytical jerk, (c) monitored jerk, (d) zoom of position, (e) jerk analytical and estimated.
Sensors 10 07263f16
Figure 17. (a) Reference and measured position, (b) error of the measured position.
Figure 17. (a) Reference and measured position, (b) error of the measured position.
Sensors 10 07263f17
Figure 18. Received-signal power at different distances.
Figure 18. Received-signal power at different distances.
Sensors 10 07263f18
Table 1. Comparative between WiFi, Bluetooth and ZigBee standards.
Table 1. Comparative between WiFi, Bluetooth and ZigBee standards.
StandardIEEE 802.11g (WiFi)IEEE 802.15.1 (Bluetooth)IEEE 802.15.4 (ZigBee)

Bandwidth22 MHz1 MHz2 MHz
Power consumption400 mA–20 mA40 mA–0.2 mA30 mA–3 μA
Transmission rate11 Mbps–54 Mbps1 Mbps250 kbps
Number of devices32765536
LatencyEnumeration up to 3 sEnumeration up to 10 sEnumeration up to 30 ms
Transmission range100 m10 m100–1,000 m
SecuritySSID64 bits,128 bits128 bits, AES
Available physical channels3416
Table 2. FPGA resources utilization for each smart sensor.
Table 2. FPGA resources utilization for each smart sensor.
Smart sensorCells Used/AvailableCells Used Percentage %Block RAMs Used/AvailableBlock RAMs Used Percentage %Power consumption (mW)

Current5947/6144971/8129.676
Encoder4989/6144815/86212.236
Vibration6081/6144988/810016.219
Micropositioning2553/6144420/807.359
Table 3. FPGA resources utilization for the coordinator *.
Table 3. FPGA resources utilization for the coordinator *.
ElementUsedAvailablePercentage %
Slice Flip Flops402384010
4 input LUTs1039384027
Slices585192030
Block RAMs0120
Multipliers0120
*200,000-gate Xilinx Spartan-3 FPGA: XC3S200
Table 4. Flank-wear area results by current and tool micrograph.
Table 4. Flank-wear area results by current and tool micrograph.
MeasureCurrent (A)Flank-wear area estimation (mm2)Micrograph flank-wear area (mm2)

10.198330.054010
20.330590.150350.1640
30.401660.547500.5416
Table 5. Network utilization for raw data and processed data transmission.
Table 5. Network utilization for raw data and processed data transmission.
TechniqueSampling rate (Samples/s)Raw data format (bits)Raw data (bps)Output rate (Data/s)Smart sensor data format (bits)Smart sensor data (bps)

Current1,5001218,0000.22424
Encoder1,0002424,0001,0002424,000
Vibration1,5001254,0001,5001218,000
Micropositioning47,08012564,9602018360

Share and Cite

MDPI and ACS Style

Moreno-Tapia, S.V.; Vera-Salas, L.A.; Osornio-Rios, R.A.; Dominguez-Gonzalez, A.; Stiharu, I.; Romero-Troncoso, R.d.J. A Field Programmable Gate Array-Based Reconfigurable Smart-Sensor Network for Wireless Monitoring of New Generation Computer Numerically Controlled Machines. Sensors 2010, 10, 7263-7286. https://doi.org/10.3390/s100807263

AMA Style

Moreno-Tapia SV, Vera-Salas LA, Osornio-Rios RA, Dominguez-Gonzalez A, Stiharu I, Romero-Troncoso RdJ. A Field Programmable Gate Array-Based Reconfigurable Smart-Sensor Network for Wireless Monitoring of New Generation Computer Numerically Controlled Machines. Sensors. 2010; 10(8):7263-7286. https://doi.org/10.3390/s100807263

Chicago/Turabian Style

Moreno-Tapia, Sandra Veronica, Luis Alberto Vera-Salas, Roque Alfredo Osornio-Rios, Aurelio Dominguez-Gonzalez, Ion Stiharu, and Rene de Jesus Romero-Troncoso. 2010. "A Field Programmable Gate Array-Based Reconfigurable Smart-Sensor Network for Wireless Monitoring of New Generation Computer Numerically Controlled Machines" Sensors 10, no. 8: 7263-7286. https://doi.org/10.3390/s100807263

Article Metrics

Back to TopTop