Next Article in Journal
Effects of Viewing Displays from Different Distances on Human Visual System
Next Article in Special Issue
Low-Complexity QRD-M with Path Eliminations in MIMO-OFDM Systems
Previous Article in Journal
The Stability of New Single-Layer Combined Lattice Shell Based on Aluminum Alloy Honeycomb Panels
Previous Article in Special Issue
Localization in Low Power Wide Area Networks Using Wi-Fi Fingerprints
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Moving-Target Position Estimation Using GPU-Based Particle Filter for IoT Sensing Applications

School of Electronics Engineering, Kyungpook National University, Daegu 41566, Korea
*
Author to whom correspondence should be addressed.
Appl. Sci. 2017, 7(11), 1152; https://doi.org/10.3390/app7111152
Submission received: 18 September 2017 / Accepted: 7 November 2017 / Published: 9 November 2017
(This article belongs to the Special Issue Advanced Internet of Things for Smart Infrastructure System)

Abstract

:
A particle filter (PF) has been introduced for effective position estimation of moving targets for non-Gaussian and nonlinear systems. The time difference of arrival (TDOA) method using acoustic sensor array has normally been used to for estimation by concealing the location of a moving target, especially underwater. In this paper, we propose a GPU -based acceleration of target position estimation using a PF and propose an efficient system and software architecture. The proposed graphic processing unit (GPU)-based algorithm has more advantages in applying PF signal processing to a target system, which consists of large-scale Internet of Things (IoT)-driven sensors because of the parallelization which is scalable. For the TDOA measurement from the acoustic sensor array, we use the generalized cross correlation phase transform (GCC-PHAT) method to obtain the correlation coefficient of the signal using Fast Fourier Transform (FFT), and we try to accelerate the calculations of GCC-PHAT based TDOA measurements using FFT with GPU compute unified device architecture (CUDA). The proposed approach utilizes a parallelization method in the target position estimation algorithm using GPU-based PF processing. In addition, it could efficiently estimate sudden movement change of the target using GPU-based parallel computing which also can be used for multiple target tracking. It also provides scalability in extending the detection algorithm according to the increase of the number of sensors. Therefore, the proposed architecture can be applied in IoT sensing applications with a large number of sensors. The target estimation algorithm was verified using MATLAB and implemented using GPU CUDA. We implemented the proposed signal processing acceleration system using target GPU to analyze in terms of execution time. The execution time of the algorithm is reduced by 55% from to the CPU standalone operation in target embedded board, NVIDIA Jetson TX1. Also, to apply large-scaled IoT sensing applications, we use NVIDIA Tesla K40c as target GPU. The execution time of the proposed multi-state-space model-based algorithm is similar to the one-state-space model algorithm because of GPU-based parallel computing. Experimental results show that the proposed architecture is a feasible solution in terms of high-performance and area-efficient architecture.

1. Introduction

In this paper, we propose an accelerated target position tracking system using a GPU-based acoustic sensor and a particle filter (PF) for effective tracking of moving targets. We focus on using parallel processing of GPU to track sudden change of target movement by using multiple system state equations in the existing PF. The proposed parallel processing is scalable for number of sensors and for tracking multiple target. So, proposed architecture can be used in systems such as Internet of Things (IoT) applications. We analyzed the execution time of the algorithm for actual operation on the GPU. Through this, we searched for the proper design elements of the memory buffer and the algorithm that computes the signal processing.
Position estimation of moving targets using an acoustic signal is a method that can be used not only in air but also in water due to its special environment [1]. The sensor array receives the acoustic signal from the target and estimates the position by measuring three or more time difference of arrival (TDOA) values in the three-dimensional space [2]. Currently, there is a generalized cross correlation phase transform (GCC-PHAT) method for measuring TDOA in the frequency domain not only in the time domain. In particular, GCC-PHAT is a method of obtaining a correlation coefficient by converting a signal into a frequency domain, and has strength in a real-time system because a relatively small amount of calculation is required compared to a method of obtaining a general correlation coefficient. In this paper, we propose an algorithm using parallel Fast Fourier Transform (FFT) in GPU to increase the processing speed of TDOA measurement for each acoustic sensor in three-dimensional space.
In general, various filters such as the kalman filter (KF), extended KF, unscented KF and PF are used to estimate the state of the target [3]. Additionally, there is a problem that it is difficult to estimate the target state due to the non-linearity between the system state and the measured value in estimating the state of the target using TDOA measurement. Therefore, in this paper, we propose an accelerated system that estimates the target position using the PF, which has an advantage in non-linear systems and non-Gaussian systems.
The PF is a sequential monte carlo (SMC) method that estimates the state of a system by observing an error. If the number of particles is sufficient, an optimal estimate can be obtained. However, if the number of particles is not sufficient, the estimation may be problematic. That is, increasing the number of particles to obtain an optimal estimate means that the amount of computation in the system increases, which inevitably affects the operation speed of the system.
Therefore, in this paper, we propose accelerating the processing speed by simultaneously processing the state update process and weight calculation process of each particle using GPU. Additionally, we propose the PF system for multiple state equation to accurately track even when the sudden movement of a target deviates from the system state equation used in the process in the Markov chain based PF.
We described the target system with multiple state-space models, which are processed by the parallel processing algorithm on GPU. In the experiment, we show an implemented result using the proposed algorithm on the GPU and analyzed the execution time of the algorithm required for the target position estimation, including the partial execution time of the proposed algorithm.

2. Related Works

PF using TDOA measurements have been widely studied, but the processing of noise in the algorithm and noise environment have been emphasized rather than high speed processing [4,5]. Also, a target estimation method using TDOA underwater was studied [6]. In this paper, we focus on providing algorithm implementation and verification by approaching GPU from acceleration using parallel processing and estimating the sudden movement of the target using multiple system state equations.
As a method for measuring TDOA, various methods using the GCC algorithm have been introduced [7,8]. They have relative advantage for real-time applications in which performance is more important. The significant approach based steered response power-phase transform (SRP-PHAT) introduces an effective approach for the robust signal processing in sound localization [9], and GPU-based acceleration is also proposed in TDOA measurement using SRP-PHAT [10]. Our paper is based on initial approach [11], which using the GCC-PHAT-based TDOA measurement, specially presenting our experience in implementing GPU-based acceleration approach to guarantee real-time performance. In addition, the GPU-based acceleration for TDOA measurement value in specific number of sensors [12] has been presented case study.
Various studies on the GPU-based PF [13,14] and parallelization of multi-target tracking have been presented. The scheduling algorithm and processor selection in paralleling PF processing is introduced [15]. A significant approach [16] also introduce the parallelization approach of the memetic algorithm and PF for tracking multi objects. Compare to these approaches, we additionally consider the uncertain model of target system state, in case of suddenly abnormal target movement. So, we adopted multiple state-space models which are selectively applied to the PF processing, to determine the good enough estimation result. This requires the more computation resource or increase the calculation time, so that we had to accelerate the computation in PF processing by allocating them into independent calculation unit block in GPU.
There are many studies of SMC methods in using uncertain state-space models [17]. Some approaches, which adopt multiple state-space models to overcome weakness in PF processing for the uncertain model, are introduced [18,19]. These studies consider the PF processing using multiple state-space models in single system. Our approach is slightly comparable because we try to allocate the individual kernels for PF processing into multiple processing unit in GPU. This enables to apply the specific state-space model to the PF processing kernel independently, so that we could get scalability using the proposed architecture in case of tracking large-scaled moving target, which is more important in IoT-driven applications. Some target localization studies for IoT-driven applications using radio-frequency identification (RFID) tags including PF processing have already been studied [20,21,22]. Therefore, this study aims at implementation of scalable GPU-based algorithm which can be used in IoT sensing applications.

3. Proposed Architecture

The proposed overall architecture of this paper is as follows. This paper focuses on accelerating the position estimation of a sound source based on a PF using an acoustic signal sensor array in a GPU. The TDOA measurement is required for the sound source localization based on the proposed GPU, and the location of the current target can be determined using three TDOA measurements in the three-dimensional space. In order to obtain three TDOA measurements, four acoustic sensors are required including one reference acoustic sensor. In this study, we used GCC-PHAT to obtain TDOA measurements. To obtain TDOA measurements at high speed, the GCC-PHAT process of the acoustic signal input by multiple sensors is performed in parallel using GPU.
The proposed method uses a PF to estimate the current state of a target using TDOA measurements, and we accelerate it. The PF process used in the study is as follows. Using the computed TDOA measurements and the state equations of the system, we predict the current state from the previous state of the system and obtain the observed value from the state of the updated system. Then, the weight of each particle is obtained by comparing with the actual measurement. In this process, we propose accelerating the state update and weight calculation process of the particle mentioned above by parallel operation of each particle in the kernel using GPU. Also, PF operation is customized using multiple system state equations based on GPU for tracking sudden movements of moving targets which also can be used for tracking multiple target. The proposed architecture is shown in Figure 1. Moreover, this proposed architecture can be used in IoT applications as shown in Figure 2, that is consisted with many sensors. Due to the amount of signal data from many sensors, it is reasonable using GPU in terms of high performance computing to accelerate signal processing for detecting target more accurately by increasing the number of sensors.

3.1. Particle Filter (PF) with Time Difference of Arrival (TDOA) Measurement

To estimate the movement of the acoustic signal source, we use the TDOA measurement obtained from the acoustic sensors. Four acoustic sensors including one reference sensor are used to estimate the position of the target in a three-dimensional space. The proposed PF is based target position estimation using TDOA measurements obtained in this structure. The PF is a method of probabilistically estimating the state of a target using N particles, also called the Monte Carlo method. Unlike the extended KF and unscented KF, the PF has strength in non-Gaussian and non-linear systems. The proposed algorithm is scalable to the number of sensors, and it is applicable even if the number of sensors is increased as shown in Figure 3. The proposed architecture uses four sensors which is minimum number of sensors required to detect a target in three-dimensional space or can use more than minimum number of sensors. The PF processing can operated on the GPU using each sensor node set, and the proposed architecture can detect multiple targets in parallel using acoustic signal.
s k = A s k 1 + p k
z k = h ( s k ) + v k
r a ( s k ) = u k s a , r a b ( s k ) = c T a b ( s k ) = r a ( s k ) r b ( s k )
T a b ( s k ) = 1 c ( r a ( s k ) r b ( s k ) )
h a b ( s k ) = 1 c r a b ( s k )
H ( s k ) = [ h a b ( s k ) h a c ( s k ) . . . h a X ( s k ) ] T
First, the state of the system used at PF processing is defined as follows. The state of the moving target is defined as a uniform speed motion. In this case, the system state equation for estimating the current state s k in a previous state s k 1 is expressed by Equation (1), where s k denotes a position vector of the three-dimensional space at time k. A denotes a state transition equation matrix, and p k denotes process noise. The observation model, which represents the relationship between the state of the system and the measured value, is defined by Equation (2), where z k denotes measured value and v k denotes measurement noise.
In this study, we propose accelerating the position estimation of the target using TDOA measurements, and the measured value z k is a TDOA measurement obtained from the signal input to each acoustic sensor. In Equation (2), the relation between the system state and the TDOA measurements is represented by h, and it can be obtained from the following procedure. The distance between the target and the sensor is defined by r a ( s k ) in Equation (3). Also the reference sensor for obtaining the TDOA measurement is defined as s a , where u k is the position vector of the target and s a is the position vector of the ath sensor. As shown in second line of Equation (3) , r a b is displacement value between distance to s a and s b from target, which can be represented with the velocity of source wave ‘c’ multiplied by the TDOA value between sensor s a and s b .
Figure 3’s left one shows the reference sensor and the other sensor. TDOA measurements used for the PF are obtained between reference sensor s a and the other sensor. Equation (4) is used to obtain the TDOA measurement value by using the distance from each reference sensor s a and sensor s b to the target. The velocity c is the speed of the sound wave in the water, which is 1500 m/s.
Therefore, the target location estimation by applying three TDOA measurement values is described with the following equation; Equation (5) defines a relation h a b between the system state and the TDOA measurement. The state from three or more TDOA measurement values are represented in Equation (6) by a matrix H, where index ‘a’ represents reference sensor and index ‘X’ represents relative sensors.
The operation of the PF for estimating the position of the moving target using the relation between the system and the measurement is shown in Algorithm 1. The overall algorithm of the PF using the TDOA measurement is as follows. First, the state of the system for each particle is updated. Then, each particle predicts the observed value using the relational expression between the system state and the measurement values from each updated state. Additionally, the weight of each particle is calculated according to the probability distribution of the actual observed TDOA measurement value and the predicted measurement value. After that, the effective sample size (ESS) is calculated, then it is compared with threshold N t h [23,24]. The N t h is defined as a predefined threshold for resampling. In our implementation, the threshold N t h is defined as 0.8 times of number of particles. Therefore, if the ESS is below a predetermined number of samples, which is denoted as threshold N t h , the weight of each particle is resampled. The resampling process removes low weighted particles and selects particles with high weight to reduce errors due to probability distributions. The PF estimates the position of the moving target more accurately using the resampling process.
Algorithm 1 PF
1:
S e t i n i t i a l s t a t e s 0
2:
G e n e r a t e p a r t i c l e s s 0 ( i ) ( i = 1 , 2 , , N )
3:
S e t i n i t i a l w e i g h t s W 0 ( i ) = 1 / N ( i = 1 , 2 , , N )
4:
for k = 1 , 2 , 3 , . . .
5:
s k ( i ) = A s k 1 ( i ) + p k ( i = 1 , 2 , N )
6:
z = T D O A m e a s u r e m e n t v a l u e s
7:
R e w e i g h t w k ( i ) = W k 1 ( i ) p ( z s k ( i ) )
8:
w h e r e p ( z s k ( i ) ) N ( H ( s k ( i ) ) , Q v )
9:
N o r m a l i z e W k ( i ) = w k ( i ) / i = 1 N w k ( i )
10:
E S S = 1 / i = 1 N ( w k ( i ) ) 2
11:
    if E S S N t h
12:
R e s a m p l i n g
13:
    end if
14:
s k = i = 1 N W k ( i ) s k ( i )
15:
end for

3.2. TDOA Measurement Using Generalized Cross Correlation Phase Transform (GCC-PHAT)

To estimate the location of sound sources from TDOA observations, we use the GCC-PHAT method. As mentioned before, the GCC-PHAT is a method of obtaining the correlation coefficient of signals using phase transform, and operates in the frequency domain as that requires less calculation that the time domain. Algorithm 2 shows the algorithm for obtaining the TDOA measurement using acoustic signal input from two acoustic sensors. The TDOA measurements can be obtained by using the Fourier transform process and inverse Fourier transform process of two acoustic signals as in the algorithm. The position of the sound source in the three-dimensional space can be obtained from these measurements. In this paper, we propose performing the calculation process in parallel and accelerating the operation speed of the entire algorithm.
Algorithm 2 GCC-PHAT
1:
for t w o s i g n a l x a [ n ] a n d x b [ n ]
2:
X a ( f ) = F F T ( x a [ n ] )
3:
X b ( f ) = F F T ( x b [ n ] )
4:
G P H A T ( f ) = X a ( f ) [ X b ( f ) ] * | X a ( f ) [ X b ( f ) ] * |
5:
I G P H A T ( p ) = I n v e r s e F F T ( G P H A T ( f ) )
6:
T D O A m e a s u r e m e n t T a b = a r g m a x p ( I G P H A T ( p ) ) / s a m p l i n g r a t e
7:
end for

3.3. Accelerated Algorithm Based on GPU

Our approach accelerates the proposed position estimation of a moving target using GPU. The GPU is an architecture that has strength in parallel computing, and is used for high-speed computation of a large amount of data. The proposed GPU-based moving target position estimation can be divided into the operation of obtaining the TDOA measurement value from the sensor, the operation of PF processing, and the tracking of the moving target using multiple system state equations.
The calculation of the TDOA measurements in the frequency domain uses GCC-PHAT. Therefore, we use the cuFFT library supported by CUDA for accelerating the computation of TDOA measurements using Fast fourier transform. To accelerate Fourier transform on the data using the same coefficients, the Fourier transform operations for multiple sensors are processed in parallel as shown in Figure 4 by using the batch function of cuFFT. At this time, when the number of sensors is K and the amount of data obtained from each sensor is N, the amount of data copied to the GPU device is K*N. Because the position estimation of the moving target using TDOA measurement is more accurate with the use of many sensors, the proposed accelerated TDOA measurement calculation has an advantage as the data amount increases. As mentioned before, since the proposed algorithm is scalable for number of sensors, the proposed parallel Fast fourier transform is also scalable in the number of sensors.
Also, we propose the parallel computing of the PF using GPU as shown in Figure 5. Because the PF processing depends on the number of particles, the entire process can be accelerated by paralleling and accelerating the operation of each particle in GPU. In particular, the process of estimating the position of moving targets required the acceleration in performing the weight calculation process of each particle in parallel through the process of updating the state of each particle and calculating the measured value from the state.

3.4. Target Tracking Using Multiple State-Space Models

The KF and PF, which can be used for tracking the position of a target have system state equations based on Markov chains. In other words, if the target moves differently from the predefined system state equation, the estimation result in inaccurate. Therefore, in this paper, we define several other system state equations that are expected and go through them like the current system state equations. This proposed structure also can be used for multiple target tracking using multiple system models. From each multiple state update model, we obtain a measured value. Then the measured values are compared with actual measured values, and particles that have measured values with the smallest differences are selected for the remaining PF process. Using proposed method, tracking of sudden movements of a target can be easily enabled using multiple system state equations based on GPU.
The operation of the GPU-based PF using the proposed system state equations is shown in Figure 6. The process of updating the state of each particle by multiple system state equations is performed in parallel using the kernel function in the GPU. For all particles obtained from the multiple state-space model, the state update process, weight calculation, and normalized process are performed in parallel. To obtain the particles of the state-space model suitable for the current system state, the predicted measured values are compared with actual measured values by finding the smallest difference. Then the particles with the smallest differences are selected and resampled. In our implementation, we use systematic resampling algorithm [25,26] in which the random number generation is required in resampling process. There is a study [27] to accelerate resampling in GPU-based PF. In our study, for reducing the additional overhead running random number calculation during the resampling process, we utilized thread-based running method, which is provided by host CPU, in the process of copying data to the GPU.
Algorithm 3 describes the PF processing using multiple state-space models in GPU. The transition matrix A m is used to formulate multiple state-space models. The PF processing for the selected state-space model is performed in the individual block unit of GPU. This block runs the threads on which the corresponding particles are allocated. Through the synchronization between threads, the average measurement result can be estimated from the updated state, so that we could determine the appropriate state-space model, then continue to perform the remained PF processing incrementally.
Algorithm 3 PF using multiple state-space models in GPU
1:
S e t i n i t i a l s t a t e s 0 m ( m = 1 , 2 , , L )
2:
G e n e r a t e p a r t i c l e s s 0 ( i ) m ( i = 1 , 2 , , N ) , ( m = 1 , 2 , , L )
3:
S e t i n i t i a l w e i g h t s W 0 ( i ) m = 1 / N ( i = 1 , 2 , , N ) , ( m = 1 , 2 , , L )
4:
for k = 1 , 2 , 3 , . . . , i c a l c u l a t e d b y t h r e a d i n d e x , m c a l c u l a t e d b y b l o c k i n d e x
5:
s k ( i ) m = A m s k 1 ( i ) m + p k m ( i = 1 , 2 , N )
6:
z = T D O A m e a s u r e m e n t v a l u e s
7:
_ _ s y n c t h r e a d s ( ) ;
8:
C a l c u l a t e d i f f e r e n c e e m = z ( i = 1 N | H k ( s k ( i ) m ) | ) / N
9:
_ _ s y n c t h r e a d s ( ) ;
10:
  if e m i s m i n i m u m v a l u e
11:
R e w e i g h t w k ( i ) m = W k 1 ( i ) m p ( z s k ( i ) m )
12:
w h e r e p ( z s k ( i ) m ) N ( H ( s k ( i ) m ) , Q v )
13:
N o r m a l i z e W k ( i ) m = w k ( i ) m / i = 1 N w k ( i ) m
14:
E S S = 1 / i = 1 N ( w k ( i ) m ) 2
15:
     if E S S N t h
16:
R e s a m p l i n g
17:
      end if
18:
s k m = i = 1 N W k ( i ) m s k ( i ) m
19:
    end if
20:
end for

4. Experimental Results

Figure 7 shows each experimental flow of MATLAB and GPU. We implemented the proposed GPU-based target position estimation algorithm and analyzed it by operating on a target board. The NVIDIA Jetson TX1 and Tesla K40c (NVIDIA Corporation, Santa Clara, CA, USA) were used as the target GPU as shown in Table 1. We verified the implemented algorithm and analyzed the execution time. The target position estimation algorithm using the PF and the TDOA measurement were implemented using MATLAB (Mathworks, Natick, MA, USA) and its operation was verified as shown in Figure 8. The black dots indicate each position of the acoustic sensor, the blue line indicates the actual moving path of the target, and the red line is the result of estimating the target position using the algorithm. Figure 8’s right graph shows the result of target position estimation according to the state change of the target using the multiple state-space models proposed in this study. Even though the state equations used in PF was changed due to the target’s sudden movement after a certain time, it was confirmed that the target was accurately estimated using the proposed PF technique.
We compared and analyzed the algorithm execution time used in the present position estimation of the proposed PF with a CPU-based algorithm and GPU-based algorithm in embedded system. Target movement was measured from the signal input to the sensors at 1 s intervals. We used NVIDIA Jetson TX1 as shown in Figure 7 and the fastest fourier transform in the west (FFTW3) library was used to compute FFT in CPU-based algorithm. For the result of when 2000 particles, the execution time of the GPU based algorithm was 6.19 ms, and the CPU based algorithm’s execution time was 15.06 ms. We could estimate the target position more quickly when we use the proposed GPU-based algorithm in embedded system. The algorithm execution time is shown in Figure 9a according to the number of particles. In this graph, the horizontal axis is the number of particles and the vertical axis is the execution time of the algorithm. As shown in the graph, when we used the GPU-based algorithm, the execution time of the algorithm to estimate the current state of the target was reduced by about 55% on average. As a result, we find out that proposed GPU-based architecture is feasible for embedded system.
Figure 9b shows the partial execution time of the algorithm in TDOA measurement calculation, PF processing, and copying data to GPU in the proposed multiple state-space model based algorithm. As with the result in Figure 9a, the total execution time of the algorithm is increased as the number of particles increased. Also, we found out that the total execution time is shorter than that of the CPU based algorithm, even though the time required to copy data for executing the algorithm in GPU is included.
We compared the execution time of the proposed GPU-based algorithm and the CPU-based algorithm according to the sampling rate of input data when using 2000 particles. The GPU algorithm used for this experiment is a simple GPU-based PF algorithm, not using a multiple state-space model based GPU PF algorithm for accurate comparison with the CPU-based algorithm. Table 2 shows the execution time of the algorithm measured by changing the sampling rate. As the sampling rate increases, the time required to execute the entire algorithm increases. That is, the amount of data input during the same time increases, so that more time is taken to calculate the TDOA measurement value. When using the sampled signal at a sampling rate of 44 kHz, the CPU-based algorithm took about 62.60 ms and the GPU-based algorithm took about 18.24 ms. The reducing rate of GPU-based algorithm for CPU-based algorithm has increased as sampling rate increased. As a result, we found that the GPU-based algorithm is less affected by the execution time relative to the sampling rate.
To estimate sudden state changes of the system, we implemented the proposed GPU-based PF using a multiple state-space model that can be predicted. The multiple state-space model based PF using GPU with added parallel processing has similar performance to the PF that just uses the GPU. The results are as follows. Figure 10 shows the execution time according to the number of state-space models with the proposed GPU-based multiple system model using a PF. In this experiment, we use NVIDIA Tesla K40c to see GPU parallelism by multiple state-space model. In the GPU kernel, we implemented block-thread kernel architecture, especially divided the particles in each block according to the state-space model and each block has 1024 threads in two dimensions. Therefore, the implemented algorithm uses the same number of GPU blocks as the number of state-space models. Because of GPU’s parallelism, for each number of particles, 1000 to 5000, the execution time is only different by less than 0.16 ms according to the number of state-space models. We found that parallel execution in the GPU does not significantly affect execution time even if the number of particles increases by the number of system models. For example, if the number of state-space models is X, the number of particles is X*N. Table 3 shows the number of blocks and threads, execution time for PF processing, and execution time for copying particles to GPU according to the number of state-space models when the number of particles is 5000. When the number of state-space models is 1 and 100, it shows just a 0.16 ms time difference for processing the PF, while there is a 10.99 ms time difference for copying data to GPU. It shows that a lot of execution time is used in the process of copying data to the GPU. It also shows that the PF processing time does not change significantly when the number of state-space models increases. Using this proposed GPU-based algorithm, we found that the state-space model suitable for sudden movement of the target was found through parallel computing as verified using MATLAB. With this parallel architecture, we find out that this architecture can also be applied to multiple target tracking using different state-space models, as implemented in this study in IoT sensing applications.

5. Conclusions

In this paper, we implemented an accelerated GPU-based algorithm to estimate moving target position by using multiple state-space models which can be applied to IoT sensing applications. The PF was used to estimate the position of the target, and we parallelized the calculation process of each particle in the GPU kernel. Also, we accelerated TDOA calculation through a parallel FFT process using GPU. Additionally, we extended the PF processing algorithm using a GPU-based multiple state-space model to estimate sudden movement change of the target. The proposed algorithm was initially simulated using MATLAB, and then, the proposed GPU-based algorithm was verified on target GPU. As a result, the execution time of the proposed algorithm using GPU was reduced by about 55% as compared with the CPU-based algorithm in target embedded board, NVIDIA Jetson TX1. The multiple state-space model based PF with parallel processing has a similar execution time in target GPU NVIDIA Tesla K40c with a difference of less than 0.16 ms when estimating the sudden change of movement of the target. Based on this result, the proposed architecture is more effective in terms of high performance and detecting sudden movement changes of the target with lots of sensor data in large-scaled sensing applications. Therefore, the proposed architecture can be effectively applied in these IoT applications due to scalability and parallelism. In a future study, we plan to extend our study on the GPU-based high speed processing algorithm considering the perspective of real-time processing in the big data sensing applications.

Acknowledgments

This study was supported by the BK21 Plus project funded by the Ministry of Education, Korea (21A20131600011), the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (2014R1A6A3A04059410) and Next-Generation Information Computing Development Program through the National Research Foundation of Korea (NRF) funded by the Korea government (MSIT) (2017M3C4A7064179).

Author Contributions

Seongseop Kim designed the entire core architecture and performed the hardware/software implementation and experiments; Jeonghun Cho performed the validation using real embedded board; Daejin Park is a principle investigator for this project, who has responsibility as a corresponding author.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
PFParticle Filter
KFKalman Filter
SMCSequential Monte Carlo
ESSEffective Sample Size
TDOATime Difference of Arrival
GCC-PHATGeneralized Cross Correlation Phase Transform

References

  1. Isik, M.T.; Akan, O.B. A three dimensional localization algorithm for underwater acoustic sensor networks. IEEE Trans. Wirel. Commun. 2009, 8, 4457–4463. [Google Scholar] [CrossRef]
  2. Poursheikhali, S.; Zamiri-Jafarian, H. TDOA based target localization in inhomogenous underwater wireless sensor network. In Proceedings of the 2015 5th International Conference on Computer and Knowledge Engineering (ICCKE), Mashhad, Iran, 29–29 October 2015; pp. 1–6. [Google Scholar]
  3. Won, S.-h.P.; Melek, W.W.; Golnaraghi, F. A Kalman/Particle Filter-Based Position and Orientation Estimation Method Using a Position Sensor/Inertial Measurement Unit Hybrid System. IEEE Trans. Ind. Electron. 2010, 57, 1787–1798. [Google Scholar] [CrossRef]
  4. Vermaak, J.; Blake, A. Nonlinear filtering for speaker tracking in noisy and reverberant environments. In Proceedings of the 2001 IEEE International Conference on Acoustics, Speech, and Signal Processing, Salt Lake City, UT, USA, 7–11 May 2001; Volume 5, pp. 3021–3024. [Google Scholar]
  5. Gustafsson, F.; Gunnarsson, F. Positioning using time-difference of arrival measurements. In Proceedings of the 2003 IEEE International Conference on Acoustics, Speech, and Signal Processing, Hong Kong, China, 6–10 April 2003. [Google Scholar]
  6. Xu, Y.; Dandan, W.; Hua, F. Underwater acoustic source localization method based on TDOA with particle filtering. In Proceedings of the 26th Chinese Control and Decision Conference (2014 CCDC), Changsha, China, 31 May–2 June 2014; pp. 4634–4637. [Google Scholar]
  7. Broeck, B.V.D.; Bertrand, A.; Karsmakers, P.; Vanrumste, B.; Van Hamme, H.; Moonen, M. Time-domain generalized cross correlation phase transform sound source localization for small microphone arrays. In Proceedings of the 2012 5th European DSP Education and Research Conference (EDERC), Amsterdam, The Netherlands, 13–14 September 2012; pp. 76–80. [Google Scholar]
  8. Qin, B.; Zhang, H.; Fu, Q.; Yan, Y. Subsample time delay estimation via improved GCC PHAT algorithm. In Proceedings of the 2008 9th International Conference on Signal Processing, Beijing, China, 26–29 October 2008; pp. 2579–2582. [Google Scholar]
  9. Belloch, J.A.; Gonzalez, A.; Vidal, A.M.; Cobos, M. On the performance of multi-GPU-based expert systems for acoustic localization involving massive microphone arrays. Exp. Syst. Appl. 2015, 42, 5607–5620. [Google Scholar] [CrossRef]
  10. Minotto, V.P.; Jung, C.R.; Luiz Gonzaga da Silveira, J.; Lee, B. GPU-based approaches for real-time sound source localization using the SRP-PHAT algorithm. Int. J. High Perform. Comput. Appl. 2013, 27, 291–306. [Google Scholar] [CrossRef]
  11. Kim, S.; Cho, J.; Park, D. GPU-based Acceleration of Particle Filter Signal Processing for Efficient Moving-Target Position Estimation. IEMEK J. Embed. Syst. Appl. 2017, 12. [Google Scholar]
  12. Liang, Y.; Cui, Z.; Zhao, S.; Rupnow, K.; Zhang, Y.; Jones, D.L.; Chen, D. Real-time implementation and performance optimization of 3D sound localization on GPUs. In Proceedings of the 2012 Design, Automation Test in Europe Conference Exhibition (DATE), Dresden, Germany, 12–16 March 2012; pp. 832–835. [Google Scholar]
  13. Choi, C.; Christensen, H.I. RGB-D object tracking: A particle filter approach on GPU. In Proceedings of the 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems, Tokyo, Japan, 3–7 November 2013; pp. 1084–1091. [Google Scholar]
  14. Hendeby, G.; Hol, J.D.; Karlsson, R.; Gustafsson, F. A graphics processing unit implementation of the particle filter. In Proceedings of the 2007 15th European Signal Processing Conference, Poznan, Poland, 3–7 September 2007; pp. 1639–1643. [Google Scholar]
  15. Sutharsan, S.; Kirubarajan, T.; Lang, T.; Mcdonald, M. An Optimization-Based Parallel Particle Filter for Multitarget Tracking. IEEE Trans. Aerosp. Electron. Syst. 2012, 48, 1601–1618. [Google Scholar] [CrossRef]
  16. Cabido, R.; Montemayor, A.S.; Pantrigo, J.J. High performance memetic algorithm particle filter for multiple object tracking on modern GPUs. Soft Comput. 2012, 16, 217–230. [Google Scholar] [CrossRef]
  17. Urteaga, I.; Bugallo, M.F.; Djuri, P.M. Sequential Monte Carlo methods under model uncertainty. In Proceedings of the 2016 IEEE Statistical Signal Processing Workshop (SSP), Palma de Mallorca, Spain, 26–29 June 2016; pp. 1–5. [Google Scholar]
  18. Martino, L.; Read, J.; Elvira, V.; Louzada, F. Cooperative parallel particle filters for online model selection and applications to urban mobility. Digit. Signal Process. 2017, 60, 172–185. [Google Scholar] [CrossRef]
  19. Drovandi, C.C.; McGree, J.M.; Pettitt, A.N. A Sequential Monte Carlo Algorithm to Incorporate Model Uncertainty in Bayesian Sequential Design. J. Comput. Graph. Stat. 2014, 23, 3–24. [Google Scholar] [CrossRef] [Green Version]
  20. Yang, P.; Wu, W. Efficient Particle Filter Localization Algorithm in Dense Passive RFID Tag Environment. IEEE Trans. Ind. Electron. 2014, 61, 5641–5651. [Google Scholar] [CrossRef]
  21. Yang, P. PRLS-INVES: A General Experimental Investigation Strategy for High Accuracy and Precision in Passive RFID Location Systems. IEEE Int. Things J. 2015, 2, 159–167. [Google Scholar] [CrossRef]
  22. Yang, P.; Wu, W.; Moniri, M.; Chibelushi, C.C. Efficient Object Localization Using Sparsely Distributed Passive RFID Tags. IEEE Trans. Ind. Electron. 2013, 60, 5914–5924. [Google Scholar] [CrossRef]
  23. Kong, A. A Note an Importance Sampling Using Standardized Weight; Technical Report; Department of Statistics, University of Chicago: Chicago, IL, USA, 1992. [Google Scholar]
  24. Martino, L.; Elvira, V.; Louzada, F. Effective sample size for importance sampling based on discrepancy measures. Signal Process. 2017, 131, 386–401. [Google Scholar] [CrossRef]
  25. Douc, R.; Cappe, O. Comparison of resampling schemes for particle filtering. In Proceedings of the 4th International Symposium on Image and Signal Processing and Analysis (ISPA 2005), Zagreb, Croatia, 15–17 September 2005; pp. 64–69. [Google Scholar]
  26. Li, T.; Bolic, M.; Djuric, P.M. Resampling Methods for Particle Filtering: Classification, implementation, and strategies. IEEE Signal Process. Mag. 2015, 32, 70–86. [Google Scholar] [CrossRef]
  27. Murray, L.M.; Lee, A.; Jacob, P.E. Parallel Resampling in the Particle Filter. J. Comput. Graph. Stat. 2016, 25, 789–805. [Google Scholar] [CrossRef]
Figure 1. Proposed GPU based accelerated algorithm.
Figure 1. Proposed GPU based accelerated algorithm.
Applsci 07 01152 g001
Figure 2. Accelerated signal processing for large amounts of data using GPU.
Figure 2. Accelerated signal processing for large amounts of data using GPU.
Applsci 07 01152 g002
Figure 3. Scalable target position estimation using GPU.
Figure 3. Scalable target position estimation using GPU.
Applsci 07 01152 g003
Figure 4. Parallel fast fourier transform using GPU.
Figure 4. Parallel fast fourier transform using GPU.
Applsci 07 01152 g004
Figure 5. Particle filter (PF) acceleration in GPU.
Figure 5. Particle filter (PF) acceleration in GPU.
Applsci 07 01152 g005
Figure 6. PF using multiple state-space models in GPU.
Figure 6. PF using multiple state-space models in GPU.
Applsci 07 01152 g006
Figure 7. Experimental flow and target embedded board(NVIDIA Jetson TX1).
Figure 7. Experimental flow and target embedded board(NVIDIA Jetson TX1).
Applsci 07 01152 g007
Figure 8. Verification of PF using MATLAB.
Figure 8. Verification of PF using MATLAB.
Applsci 07 01152 g008
Figure 9. (a) Execution time of algorithm according to the number of particles (b) Partial execution time of algorithm according to the number of particles.
Figure 9. (a) Execution time of algorithm according to the number of particles (b) Partial execution time of algorithm according to the number of particles.
Applsci 07 01152 g009
Figure 10. Execution time of algorithm according to the number of particles and state-space models.
Figure 10. Execution time of algorithm according to the number of particles and state-space models.
Applsci 07 01152 g010
Table 1. Target devices.
Table 1. Target devices.
Target DeviceModel
GPU 1Jetson TX1 256 cores
CPU 164-bit ARM A57 CPUs
GPU 2Tesla K40c 2880 cores
Table 2. Execution time of algorithm according to the sampling rate.
Table 2. Execution time of algorithm according to the sampling rate.
Sampling Rate (kz)GPU Based (ms)Time Increment (ms)CPU Based (ms)Time Increment (ms)Time Reduction Rate (%)
116.19-15.06-58.87
2210.964.7727.1612.1059.64
3314.233.2646.2719.1069.25
4418.244.0162.6016.3270.86
Table 3. Number of threads and blocks and partial execution time according to number of state-space models.
Table 3. Number of threads and blocks and partial execution time according to number of state-space models.
Number of ModelBlockThreadTime for PF Process (ms)Time for Copy Particles (ms)
1110240.660.59
101010,2400.661.83
202020,4800.653.24
303030,7200.683.94
404040,9600.695.01
505051,2000.716.36
606061,4400.757.32
707071,6800.757.79
808081,9200.799.59
909092,1600.7911.00
100100102,4000.8211.59

Share and Cite

MDPI and ACS Style

Kim, S.; Cho, J.; Park, D. Moving-Target Position Estimation Using GPU-Based Particle Filter for IoT Sensing Applications. Appl. Sci. 2017, 7, 1152. https://doi.org/10.3390/app7111152

AMA Style

Kim S, Cho J, Park D. Moving-Target Position Estimation Using GPU-Based Particle Filter for IoT Sensing Applications. Applied Sciences. 2017; 7(11):1152. https://doi.org/10.3390/app7111152

Chicago/Turabian Style

Kim, Seongseop, Jeonghun Cho, and Daejin Park. 2017. "Moving-Target Position Estimation Using GPU-Based Particle Filter for IoT Sensing Applications" Applied Sciences 7, no. 11: 1152. https://doi.org/10.3390/app7111152

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop