Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Imbaby I. Mahmoud
S. E.-D. Habib
ABSTRACT
In this paper, an efficient hardware architecture of Sample
Important Resample Particle Filter (SIRF) is presented. This
architecture carries out the sampling, weighting, and output
calculations steps concurrently. The resampling step is
implemented in a massively parallel form. For weight computation
step, piecewise linear function is used instead of the classical
exponential function. This decreases the complexity of the
architecture without degrading the results. The presented
architecture allows efficient memory utilization in addition to
resource saving. Synthesis results confirmed the resource
reduction and speed up advantages of our design. The hardware
implementation targeted an Enhanced PF for object tracking
application. FPGA is used as the implementation hardware
platform.
1. INTRODUCTION
Particle Filters, as a powerful methodology with a wide range of
applications, provide a general framework for estimation of
nonlinear/ non-Gaussian dynamic systems. They are based on the
idea of approximating the probability density functions of the state
of a dynamic model by random samples (particles) and
propagating the particles based on the probabilistic model of the
state and the measurements. Particle filtering has been applied to
several problems of tracking, navigation, detection [1-5]. A major
limitation of using the particle filters in practice is related to the
high computational load required to obtain estimation. As the
particle filter (PF) is a Monte Carlo Simulation based estimation
framework, the computations tends to be very slow. There are
numerous software implementations of particle filtering scheme to
various applications. Implementation of the particle filter
applications on hardware or hardware/ software co-design
platforms is further challenging due to the resources constraints on
such platforms.
Regarding the parallel computation of the particle filter, many
works have shown that the particle filter is immediately
parallelizable since there are no data dependencies among
particles. This is the case for most of the particle filter steps,
except for the resampling step. Most of the published researches
focus on the designing a resampling step suitable for parallel
implementation [6, 7].
Athalye et al. [8] presented generic architectures for the
implementation of the PF namely, the Sampling Importance
Resampling Filter (SIRF) to improve the resampling step. They
proposed two architectures each based on different resampling
4497
ICIP 2010
....(2)
(s)
......(4)
s 1
Wt ( s ) = p(Zt| X t( s ) )
......(5)
s 1
4498
X n ,W n
Observations
Particle Generation X
Weight calculationW
^
Normalization
Wn
Resampling
Output
n
Particle R
NR
Particle S
R
E
S
A
M
P
L
E
Mxn
M=2n
Replication
factor memory
If NR>0
and NS =0
F
I
F
O
Weight Sum
NS
MxW
Weight
memory
Weight Sum
-1
Accumulator
Weight Calculation
2MxP
Observations
Accumulator
1/M
Output
Output engine
Random Generator
Figure 2 The parallel architecture: Particle generation, Weight calculation, Resample, and Output calculation
L=M. This is feasible since our number of particles is within one
hundred particles. Table 1 shows the resource utilization for
hardware particle filter resampling in the case of single, 8, and 64
parallel resampling loops to calculate the replication factors at the
same time. The implemented RSR resampling eliminates the use of
memory for storing the normalized weights that are not needed to
be calculated or even stored. In most cases, the sum of all
replication factors is less than M. The remaining particles are
obtained using other mechanism, in which we added this
remainder number to the replication factor of the highest weight
particle.
Table 1 Comparison between the different resources in the case of
sequential and parallel resampling for xc5vlx50t-3-ff1136
Resources
Slice Register
Slice LUTs
No. of Slices used as logic
No. of DSP48Es
L=1,M=8
11
77
77
1
L=M=8
11
78
78
8
L=M=64
131
1692
1692
48
LP( Z t( i , j ) )
LI ( Z t( i , j ) )
exp(
exp(
(( i x )2 ( j y )2 )
)
2V 2p
( I t( i , j ) Z t( i , j ) )
2V I 2
.(6)
...(7)
Where (i,j) is the particle position and (x, y) is the previous object
(i , j )
4499
Particle Generation
1
Weight
Calculation 1
Resampling
aM + TLw
(a)
(b)
TLg
1
Tres
Particle
Generation 2
Weight
calculation 2
Output
Calculation 1
aM + TLw
Resampling
2
Tres
Particle
Generation 3
Weight
Calculation 3
Output
Calculation 2
aM + TLw
TSIRF
Figure 4 The timing diagram of SIRF operations
[2] Nde Freitas, "Rao-Blockwelised particle filtering for faul
Diagnosis", IEEE Aerospace Conf. Proc., 2002, Vol. 4, paper 493.
[3] Bozhang and W. T. Z. Jin, "Robust appearance-guided particle
filter for object tracking with occlusion analysis," Int. journal of
Electronic and Comm., 2007, pp: 24-32.
[4] Y. Rui and Y. Chen, "Better proposal Distributions: object
tracking using unscented particle filter, Proceedings of the IEEE
Computer Society Conf. on Computer Vision and Pattern
Recognition, 2001, Vol. 2, pp: II-786- II-793.
[5] H. Sugano, R. Miyamoto, Hardware implantation of a
cascaded particle filters, Proc. of ICIP, Nov. 7-11, 2009, Cairo,
Egypt, pp: 3257-3260.
[6] J. Miguez, Analysis of parallelizable resampling algorithms
for particle filtering, Elsevier Signal Pressing 87, 2007, pp: 31553174.
[7] A. C. Sankaranarayanan, R. Chellappa, and A. Srivastava,
Algorithmic and architectural design methodology for particle
filters in hardware, Proc. of IEEE Int. Conf. on Computer Design
ICCD, 2005
[8] A. Athalye, M. Bolic, S. Hong, P. M. Djuric, Generic
hardware architectures for sampling and resampling in particle
filter, EURASIP Journal on Applied Signal Processing, 2005, pp:
2888-2902.
[9] m. Bolic, P. M. Djuric, S. Hong, Resampling algorithms for
distribution particle filters, IEEE Transactions on Signal
Processing, 2003.
[10] J. Uk Cho, S. H. Jin, J. E. Byun, H. Kang, A real-time object
tracking system using a particle filter, Proc. of Int. Conf. on
Intelligent Robots and Systems, Oct. 9-15, 2006, Beijing, China,
pp: 2822-2827.
[11] J. Uk Cho, S. H. Jin, X. D. Pham, and J. W. Jeon, Object
tracking circuit using particle filter with multiple features, SICEICASE Int. Joint Conf., Oct. 18-21, 2006, Bexco, Busan, Korea,
pp: 1431-1436.
[12] H. Medeiros, X. Gao, and Johnny Park, A parallel
implementation of the color based particle filter for object
tracking, ACM SenSys Workshop on Applications, Systems, and
Algorithms for Image Sensing, 2008.
[13] M. Bolic, A. Athalye, P. M. Djuric, and Sangjin Hong,
Algorithmic modification of particle filters for hardware
implementation, European Signal Processing Conf., Sept. 6-10,
2004, Vienna, Austria, pp: 1641-1644.
[14] B. Ristic, S. Arulampalam, and N. Gordon, "Beyond the
Kalman Filter: Particle Filters for Tracking Applications", Artech
House Publishers, 2004.
[15] I. I Mahmoud, and Abd ElTawab, Hardware Genetic
Algorithm for Robot Motion path planning, Proc. Of 4th. STCEX,
2006, Riyad KSA, Vol.2, pages: 359-366.
[16] H. A. El-Halym, I. I Mahmoud, A. AbdelTawab, S. E.-D.
Habib, Appraisal of an enhanced particle filter for object
tracking, ICIP Conf., Nov. 7-11, Cairo, Egypt, 2009, pp: 41054107.
4500