I. Introduction
In recent years, the development nuclear radiation detection based on CMOS technology has notably increased. However, improvements are still necessary to deploy accurate remote measurement systems for low-energy radiation. In fact, the traditional CMOS radiation detection technology is limited for remote detection, as the electro physical characteristics of the detector single crystals, CdZnTe and CdTe, and radiation monitoring of the gaseous electron multiplier muon detectors difficult remote measurements and demand high amounts of power [1-3]. In contrast, ZigBee modules are affordable, have low power consumption, and simplify networking and remote communication, and hence they can be suitable for remote measurement systems of low-energy radiation [4-5]. Unlike the traditional radiation detection systems, we propose the combination of an ARM board and ZigBee wireless transmission to achieve remote measurement of low-energy radiation. Moreover, we evaluated different methods to improve the calculation of the gray-scale value and developed the subtraction–summation algorithm based on gradient multiplication and edge detection. Consequently, we improved the measurement accuracy of low-energy radiation. Furthermore, the combination of ARM technology and ZigBee communication not only allows the remote measurement of low-energy radiation, but also improves the reliability and stability of the system.
II. Experimental setup
The block diagram of the system hardware is illustrated in Figure 1. We used the PA2 and PA3 pins from the serial port of the STM32F103 board. In the transmitter, the data (highlight positions and sum of the corresponding pixel gray-scale values) are processed in MATLAB and stored in the STM32F103 board, and then sent through the STM32F103 serial port 2 (pins PA2 and PA3). Specifically, for data processing, the data is transmitted through the external RS232 interface of pins PA2 and PA3. Then, the STM32F103 board and ZigBee module communicate through an interface that converts the RS232 signal into TTL communication (Tx–Rx, Rx–Tx, GND, Vcc), and the received data is stored in the ZigBee module. Finally, an LCD in the ZigBee module displays the coordinates and measurement outcomes.
-201801/1001-8042-29-01-004/alternativeImage/1001-8042-29-01-004-F001.jpg)
A. Wireless transmission
By using the STM32F103 board as main controller, the acquired digital image is sent from an OV7670 camera module to the LCD [6]. In addition, the image data are processed using the proposed subtraction–summation algorithm based on gradient multiplication and edge detection. Finally, a transparent transmission module converts RS232 into TTL communication to send data.
B. Wireless reception
ZigBee modules feature low power consumption, strong anti-interference ability, and low cost. Moreover, in the specialized mode of low power consumption, the ZigBee communication data rate is low, which further contributes to shorten the transmission and reception time. The radiation source consists of low-energy gamma waves, so it meets the measurement requirements in the working mode. ZigBee technology is also embedded with anti-jamming characteristics that are 1000 times stronger than those of Bluetooth, WLAN, and FSK protocols, and thus improves the reliability of data measurements. Furthermore, its simple protocols allow reducing the requirements for of storage and computing power in the nodes [7]. Consequently, data reception based on ZigBee technology is reliable and affordable.
III. Materials and methods
We first analyzed the max gray-scale value algorithm and found that it does not contain all the pixel gray-scale values of the highlights. Next, we analyzed the subtraction–summation algorithm that consists of three steps: 1) Image graying; 2) Background removal from the gray-scale image; 3) Gray-scale value sum of the whole image. We found that in the subtraction process, the error to determine the background gray-scale value affects the calculation accuracy and does not produce suitable outcomes.
Hence, we evaluated the whole summation algorithm that has a higher calculation accuracy compared to both the max gray-scale value and the subtraction–summation algorithms. The implementation of this algorithm is detailed as follows.
1) Image graying. According to the YUV color space, the Y component corresponds to the brightness of a pixel. The relationship between the RGB and YUV color space allows to establish a transformation from the RGB color components to the Y brightness component as
This brightness value is used as the gray value of the pixel, which is denoted as xi.
2) Binarization of the gray image. We considered 256 brightness levels in the gray image, and the binarization threshold was set using the MATLAB automatic threshold selection function. The resulting binary image still reflects general and local features [8]. In this step, the gray-scale value corresponding to each pixel is denoted as yi.
3) A new image is obtained by multiplying the binary and gray-scale images, and each resulting pixel value is denoted as zi.
4) Finally, each pixel value of the multiplied image is summed up. The sum of the pixel gray-scale values for overall highlights can be determined by
After applying this algorithm, we found that it is sensitive to noise, and hence more suitable for applications having either weak or no noise.
Furthermore, the three above mentioned algorithms have a limited anti-interference ability, and the algorithm taking an n×n square as the boundary [9] presents some accuracy errors. Thus, we used edge detection and summed the pixel gray-scale values within the boundaries to introduce a method for calculating the radiation dose based on the gray-scale value of the corresponding images. Traditional edge detection algorithms are based on the first derivative to improve robustness against noise, but the edge location is not accurate. In contrast, other edge detection algorithms based on the second derivative result very accurate, but they are sensitive to noise. Hence, we propose a method based on gradient multiplication for edge detection. This method suitably and accurately locates the edges and is robust against noise, and the resulting detection provides more complete edges than traditional algorithms. We first employed the whole summation algorithm based on gradient multiplication and edge detection to improve the calculation method of the binarization threshold. For this method, the background gray-scale value is determined using the following process: 1) Determine the image gradient map using the Sobel operator; 2) Determine the image gradient map using the Laplacian operator; 3) Multiply the two maps to obtain another gradient map; 4) The image obtained from the new gradient map is binarized and then used as mask image; 5) Determine the background gray-scale value by obtaining the average gray-scale value of the edge pixels. The mask image in the fourth step and the original image were multiplied to obtain an image that only retains the gray-scale values of edge pixels. The sum of the gray-scale values in this image and the mask image are denoted by P and Q, respectively. Thus, the background gray-scale value is given by B=P/Q, which is considered as the binarization threshold. This threshold mitigates the error related to that from the original whole summation algorithm, and improves the anti-interference ability and consequently the stability of the system.
However, this algorithm does not remove the background gray-scale value, and thus generates error in determining the radiation dose. To solve this problem, we propose using the subtraction–summation algorithm based on gradient multiplication and edge detection. This algorithm improves the method for determining the background gray-scale value in the second step of the above mentioned subtraction–summation algorithm. In fact, for this improved algorithm, we use the background gray-scale value obtained from the whole summation algorithm based on gradient multiplication and edge detection. Consequently, we obtained higher accuracy, better consistency to determine the radiation dose, stronger anti-interference ability, and easier operation if compared to all the other algorithms mentioned in this section. Hence, we used the subtraction–summation algorithm based on gradient multiplication and edge detection to implement the proposed system.
IV. Results and discussion
A. Analysis of radiation image algorithms
Compared with both the max gray-scale value and the subtraction–summation algorithms, the whole summation algorithm features characteristics such as high speed, accurate positioning, low error, and simple operation. First, the gray-scale image is obtained by applying image graying. Next, the binary image is obtained from the gray image. Finally, another image is obtained by multiplying the binary and gray-scale images. In the original image, the bright spot cannot be clearly observed, whereas it is clearly visible after the image processing. A three-dimensional view of the image pixels can help to better visualize the location of the bright spot. The gray-scale image before processing is shown in Figure 2a, whereas the corresponding result after applying the whole summation algorithm is shown in Figure 2b. When the CMOS image sensor acquires an image, a γ photon usually hits several neighboring pixels and forms an irregular shape, and hence causes an error in the max gray-scale value algorithm. However, the whole summation algorithm can consider the gray-scale value of the whole photon, thus avoiding leakage and improving the measurement accuracy.
-201801/1001-8042-29-01-004/alternativeImage/1001-8042-29-01-004-F002.jpg)
We also compared the image processing capabilities between the max gray-scale value, subtraction–summation, and whole summation algorithms. For this comparison, we applied the algorithms to the radiation image of the same cobalt source acquired over 9 consecutive frames. The normalized gray-scale values for the images are shown in Table 1. A fourth-degree polynomial curve fitting was used in the data of Table 1, whose results are shown in Figure 3. The curves clearly describe the variation of radiation dose over time. In addition, it is clear that the curve corresponding to the max gray-scale value algorithm is very wide, which indicates a high sensitivity and causes a poor anti-interference ability. In contrast, the curve corresponding to the subtraction–summation algorithm is very narrow, which indicates a low sensitivity and a difficulty to detect small changes in radiation dose. Finally, the curve corresponding to the whole summation algorithm lays between those of the two other algorithms. Thus, this algorithm can detect small changes and has a suitable anti-interference ability in the presence of either weak or no noise.
Algorithm | Image 1 | Image 2 | Image 3 | Image 4 | Image 5 | Image 6 | Image 7 | Image 8 | Image 9 |
---|---|---|---|---|---|---|---|---|---|
Max gray-scale value algorithm | 0.095 | 0.181 | 0.107 | 0.116 | 0.162 | 0.110 | 0.070 | 0.044 | 0.115 |
Subtraction–summation algorithm | 0.055 | 0.230 | 0.076 | 0.149 | 0.305 | 0.070 | 0.023 | 0.001 | 0.091 |
Whole summation algorithm | 0.070 | 0.209 | 0.079 | 0.157 | 0.243 | 0.077 | 0.055 | 0.016 | 0.094 |
-201801/1001-8042-29-01-004/alternativeImage/1001-8042-29-01-004-F003.jpg)
Given the limited anti-interference ability of the whole summation algorithm, we used the subtraction–summation algorithm based on gradient multiplication and edge detection. To verify this method, we processed the same image using the original and improved versions of both the subtraction–summation and whole summation algorithms. The corresponding background gray-scale value and the binarization threshold are listed in Table 2.
Parameter (algorithm) | Original algorithm | Improved algorithm |
---|---|---|
Binarization threshold(whole summation algorithm) | 6.018 | 3.152 |
Background gray-scale value (subtraction–summation algorithm) | 3 | 3.152 |
Next, we processed the radiation detection images of the same cobalt source acquired over 9 consecutive frames using the subtraction–summation and whole summation algorithms, both based on gradient multiplication and edge detection. The original and min–max normalization data of the cobalt source radiation are listed in Table 3, and we employed a fourth-degree polynomial curve fitting for the normalized data in Table 3, which is shown in Figure 4. From the graph, we can see that the amplitude obtained from the subtraction–summation algorithm is higher than that obtained from the whole summation algorithm. Moreover, this amplitude shows an increasing value over time, which is consistent with the change of radiation dose. In addition, the subtraction–summation algorithm shows higher precision and robustness against noise. Furthermore, it suitably meets the design requirements of the ZigBee-based hardware and can retrieve more stable and reliable measurement data for the system.
Algorithm | Image 1 | Image 2 | Image 3 | Image 4 | Image 5 | Image 6 | Image 7 | Image 8 | Image 9 |
---|---|---|---|---|---|---|---|---|---|
Improved subtraction–summation algorithm | 14,788 | 7533 | 14,798 | 11,488 | 12,452 | 14,137 | 13,680 | 13,975 | 16,506 |
Min–max normalization | 0.809 | 0.000 | 0.810 | 0.441 | 0.548 | 0.736 | 0.685 | 0.718 | 1.000 |
Improved whole summation algorithm | 25,822 | 13,819 | 25,805 | 23,488 | 27,244 | 23,041 | 35,529 | 41,338 | 30,186 |
Min–max normalization | 0.436 | 0.000 | 0.436 | 0.351 | 0.488 | 0.335 | 0.789 | 1.000 | 0.595 |
-201801/1001-8042-29-01-004/alternativeImage/1001-8042-29-01-004-F004.jpg)
B. Hardware tests
Design and applications based on ARM, ZigBee and smart phone architectures are currently widespread. For instance, there is research on robot vision based on ARM and digital signal processing to develop an assistant robot for elderly and disabled individuals [10], as well as the design and implementation of a gray LED controller based on ARM architecture and FPGAs [11]. Other developments include a ZigBee and Bluetooth protocol converter based on a multi-sinks wireless sensor network[12], a ubiquitous healthcare service using ZigBee and smart phones for elderly patients [13],and an application to survey surrounding ionizing radiations with a smart phone that provides low cost and convenience for the general public[14]. However, research on the combination of ARM and ZigBee technologies for remote measurements is scarce. Thus, we propose a system for remote measurement of low-energy radiation by combining ZigBee wireless transmission and ARM data processing.
To guarantee accuracy of data transmission and reception, we first established the corresponding parameters (e.g., baud rate, parity bit, and data bits). Considering the coordination between modules, we set a 9600 baud rate and even parity. The received data is stored in the ZigBee module, and at this receiving end, we display data on the LCD corresponding to the coordinates and summation results. The results listed in Table 4 clearly show that the combination of the ARM STM32F103 board and ZigBee communication allows to be achieved stable and reliable remote data transmission. Furthermore, ZigBee provides a strong anti-jamming performance in low signal-to-noise ratio (SNR) environments, which is 1000 times higher than that of Bluetooth, WLAN, and FSK. In fact, experimental results show that the symbol error rate (SER) resulting from the ZigBee protocol with a SNR of 4 dB can reach 10-9. To achieve the same SER, the SNR of the Bluetooth protocol should be of 16 dB, and that of the WLAN 802.11b protocol should be of 10 dB. By using the ZigBee module, the system not only performs remote measurements, but also ensures data transmission without distortion. Moreover, the remote measurement of low-energy radiation can be stably realized by combining ARM and ZigBee architectures.
Data | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
Sending end | (86;50) | (24;92) | (40;51) | (124;204) | (159;44) | (80;211) | (213;116) | (162;11) | (63;43) | (103;204) |
Position coordinate (H;L) | 14,788 | 7533 | 14,798 | 11,488 | 12,452 | 14,137 | 13,680 | 13,975 | 16,506 | 25,822 |
Sum result | ||||||||||
Receiving end | (86;50) | (24;90) | (40;51) | (124;204) | (159;44) | (80;211) | (213;116) | (162;11) | (63;43) | (103;204) |
Position coordinate (H;L) | 14,788 | 7533 | 14,798 | 11,488 | 12,452 | 14,146 | 13,680 | 13,975 | 16,506 | 25,822 |
Sum result |
V. Summary
We designed and implemented a remote radiation-detection system based on an ARM board and a ZigBee module. In addition, we verified that the subtraction–summation algorithm based on gradient multiplication and edge detection improves the measurement accuracy. Then, we combined the data processing capabilities of the ARM STM32F103 board and the remote transmission function of the ZigBee module to perform remote data transmission of undistorted measurements of gamma waves irradiated from a cobalt source. The experimental results verified the effectiveness of employing the proposed algorithm and the feasibility of the system that combines ARM and ZigBee architectures. Furthermore, the system can be used for accurate and stable remote measurements to monitor low-energy radiation.
Uncooled CdTe and CdZnTe Based Detectors for γ-Radiation Spectrometry
. ATOM. ENERGY. 121, 65-370 (2017). doi: 10.1007/s10512-017-0213-4Machine detector interface studies: Layout and synchrotron radiation estimate in the future circular collider interaction region
. PHYS. REV. ACCEL. BEAMS. 20,011008(2017). doi: 10.1103/PhysRevAccelBeams.20.011008Radiation monitoring of the GEM muon detectors at CMS
. PHYS. PART. NUCLEI. 13, 551-556 (2016). doi: 10.1134/S1547477116050174Application of ZigBee sensor network to data acquisition and monitoring
. MEAS. SCI. REV. 9, 183-186(2009). http://www.measurement.sk/2009/S1/Terada.pdfExtended shortcut tree routing for ZigBee based wireless sensor network
. AD. HOC. NETW. 37, 295-300 (2016). doi: 10.1016/j.adhoc.2015.08.025Gamma measurement based on CMOS sensor and ARM microcontroller
. Nucl. Sci. Tech. 28, (2017). doi: 10.1007/s41365-017-0276-xEnvironmental Monitoring System Based on ZigBee Wireless Sensor and Low-Power Technology
. Adv. Mater. Res. 701-704 (2013). doi: 10.4028/www.scientific.net/AMR.662.701Study of License Plate Recognition Technology
. Adv. Mater. Res. 1035-1038(2013). doi: 10.4028/www.scientific.net/AMR.834-836.1035Obtaining low energy γ dose with CMOS sensors
. Nucl. Sci. Tech. 25, 56-59 (2014). doi: 10.13538/j.1001-8042/nst.25.060401Research on Robot Vision Technology Based on ARM and DSP for Age and Disabled Helping Robot
. Key Eng. Mater. 42-46 (2010). doi: 10.4028/www.scientific.net/KEM.455.42The Design and Realization of Gray LED Controller Based on ARM+FPGA
. Adv. Mater. Res. 4640-4644 (2012). doi: 10.4028/www.scientific.net/AMR.433-440.4640A Zigbee and Bluetooth Protocol Converter Based on Multi-sinks Wireless Sensor Network
. CLUSTER. COMPUT. 9, 1854-1860 (2014). https://pdfs.semanticscholar.org/e66f/067b36264d5f611e69a78ac9d340afbe1781.pdfUbiquitous healthcare service using Zigbee and mobile phone for elderly patients
. INT. JMED. INFORM. 78, 193-198 (2009). doi: 10.1016/j.ijmedinf.2008.07.005Surveying ionizing radiations in real time using a smartphone
. Nucl. Sci. Tech. 28, 70(2017). doi: 10.1007/s41365-017-0215-x