Content deleted Content added
move citations from Notes to References |
→Definitions: add whitespace |
||
(44 intermediate revisions by 14 users not shown) | |||
Line 1:
{{Short description|Mathematical operation}}
'''Circular convolution''', also known as '''cyclic convolution''', is a special case of '''periodic convolution''', which is the [[convolution]] of two periodic functions that have the same period. Periodic convolution arises, for example, in the context of the [[discrete-time Fourier transform]] (DTFT). In particular, the DTFT of the product of two discrete sequences is the periodic convolution of the DTFTs of the individual sequences. And each DTFT is a [[periodic summation]] of a continuous Fourier transform function (see {{slink|Discrete-time Fourier transform|Relation to Fourier_Transform}}). Although DTFTs are usually continuous functions of frequency, the concepts of periodic and circular convolution are also directly applicable to discrete sequences of data. In that context, circular convolution plays an important role in maximizing the efficiency of a certain kind of common filtering operation.
==Definitions==
The ''periodic convolution'' of two T-periodic functions, <math>h_{_T}(t)</math> and <math>x_{_T}(t)</math> can be defined as''':'''
:<math>\int_{t_o}^{t_o+T} h_{_T}(\tau)\cdot x_{_T}(t - \tau)\,d\tau,</math> <ref name=Jeruchim/><ref name=Udayashankara/>
where <math>t_o</math> is an arbitrary parameter. An alternative definition, in terms of the notation of normal ''linear'' or ''aperiodic'' convolution, follows from expressing <math>h_{_T}(t)</math> and <math>x_{_T}(t)</math> as [[periodic summation|periodic summations]] of aperiodic components <math>h</math> and <math>x</math>, i.e.''':'''
:<math>h_{_T}(t) \ \triangleq \ \sum_{k=-\infty}^\infty h(t - kT) = \sum_{k=-\infty}^\infty h(t + kT).</math>
Then''':'''
{{Equation box 1
|indent=:|cellpadding=0|border=0|background colour=white
|equation={{NumBlk||
<math>
\int_{t_o}^{t_o+T} h_{_T}(\tau)\cdot x_{_T}(t - \tau)\,d\tau = \int_{-\infty}^\infty h(\tau)\cdot x_{_T}(t - \tau)\,d\tau\ \triangleq\ (h *x_{_T})(t) = (x * h_{_T})(t).</math>
|{{EquationRef|Eq.1}} }} }}
{{Collapse top|title=Derivation of Eq.1}}
:<math>\begin{align}
&=\sum_{k=-\infty}^\infty \left[\int_{t_o}^{t_o+T} h(u + kT)\cdot \underbrace{x_{_T}(t-u-kT)}_{x_{_T}(t-u), \text{ by periodicity}}\ du\right] \quad \text{substituting } u\triangleq \tau-kT\\
\end{align}</math>
{{Collapse bottom}}<br>
Both forms can be called ''periodic convolution''.{{efn-la
|[[#McGillem|McGillem and Cooper]], p 172 (4-6)
}} The term ''circular convolution''<ref name=Udayashankara/><ref name=Priemer/> arises from the important special case of constraining the non-zero portions of both <math>h</math> and <math>x</math> to the interval <math>[0,T].</math> Then the periodic summation becomes a ''periodic extension''{{efn-la
|[[#McGillem|McGillem and Cooper]], p 183 (4-51)
}}, which can also be expressed as a ''circular function''''':'''
:<math>x_{_T}(t) = x(t_{\mathrm{mod}\ T}), \quad t\in\mathbb{R}\,</math> ([[Number#Real_numbers|any real number]]){{efn-la
|[[#Oppenheim|Oppenheim and Shafer]], p 559 (8.59)
}}
And the limits of integration reduce to the length of function <math>h</math>''':'''
:<math>(h *x_{_T})(t) = \int_{0}^{T} h(\tau)\cdot x((t - \tau)_{\mathrm{mod}\ T})\ d\tau.</math>{{efn-la
|[[#Oppenheim|Oppenheim and Shafer]], p 571 (8.114), shown in digital form
}}{{efn-la
|[[#McGillem|McGillem and Cooper]], p 171 (4-22), shown in digital form
}}
== Discrete sequences ==
Line 35 ⟶ 53:
:<math>
(
</math>
Line 41 ⟶ 59:
== Example ==
[[Image:Circular convolution example.svg|thumb|400px|Circular convolution can be expedited by the FFT algorithm, so it is often used with an FIR filter to efficiently compute linear convolutions. These graphs illustrate how that is possible. Note that a larger FFT size (N) would prevent the overlap that causes graph #6 to not quite match all of #3.]]
A case of great practical interest is illustrated in the figure. The duration of the '''x''' sequence is '''N''' (or less), and the duration of the '''h''' sequence is significantly less. Then many of the values of the circular convolution are identical to values of '''x∗h''', which is actually the desired result when the '''h''' sequence is a [[finite impulse response]] (FIR) filter. Furthermore, the circular convolution is very efficient to compute, using a [[fast Fourier transform]] (FFT) algorithm and the [[Discrete Fourier transform#Circular convolution theorem and cross-correlation theorem|circular convolution theorem]].
Line 57 ⟶ 75:
== See also ==
*[[Convolution theorem#Functions of discrete variable sequences|Convolution theorem]]
*[[Circulant matrix]]
*[[Hilbert transform#Discrete Hilbert transform|Discrete Hilbert transform]]
==
{{notelist-
== References ==
Line 67 ⟶ 86:
<ref name=Rabiner>
{{cite book
|author1=Rabiner, Lawrence R.
|author2=Gold, Bernard
|title=Theory and application of digital signal processing
|pages=63–67
|year=1975
|publisher=Prentice-Hall
|___location=Englewood Cliffs, N.J.
|isbn=0-13-914101-4
|url-access=registration
|url=https://archive.org/details/theoryapplicatio00rabi/page/63
}}</ref>
<ref name=
{{cite book
|last=Priemer
|first=Roland
|title=Introductory Signal Processing
|pages=286–289
|publisher=World Scientific Pub Co Inc.
|series=Advanced Series in Electrical and Computer Engineering
|volume=6
|date=July 1991
|___location=Teaneck, N.J.
|url=https://books.google.com/books?id=QBT7nP7zTLgC&q=Priemer,+Roland
|isbn=9971-50-919-9
}}</ref>
<ref name=Jeruchim>
{{cite book
|last1=Jeruchim
|first1=Michel C.
|last2=Balaban
|first2=Philip
|last3=Shanmugan
|first3=K. Sam
|title=Simulation of Communication Systems: Modeling, Methodology and Techniques
|pages=73–74
|publisher=Kluwer Academic Publishers
|edition=2nd
|date=October 2000
|___location=New York
|isbn=0-30-646267-2
}}</ref>
<ref name=Udayashankara>
{{cite book
|last=Udayashankara
|first=V.
|title=Real Time Digital Signal Processing
|page=189
|publisher=Prentice-Hall
|date=June 2010
|___location=India
|isbn=978-8-12-034049-7
}}</ref>
}}
{{refbegin}}
#<li value="5">{{cite book
|ref=Oppenheim
|last1=Oppenheim
|first1=Alan V.
|authorlink=Alan V. Oppenheim
|last2=Schafer
Line 93 ⟶ 154:
|first3=John R.
|title=Discrete-time signal processing
|pages=[https://archive.org/details/discretetimesign00alan/page/548 548], 571
|year=1999
|publisher=Prentice Hall
Line 100 ⟶ 161:
|edition=2nd
|url-access=registration
|url=https://archive.org/details/discretetimesign00alan
}}
#{{cite book
|ref=McGillem
|last1=McGillem
|first1=Clare D.
|last2=Cooper
|first2=George R.
|title=Continuous and Discrete Signal and System Analysis
|publisher=Holt, Rinehart and Winston
|edition=2
|date=1984
|isbn=0-03-061703-0
}}
== Further reading ==
*{{cite book |author1=Oppenheim, Alan V. |author2=Willsky, with S. Hamid |title=Signals and Systems |publisher=Pearson Education |year=1998 |isbn=0-13-814757-4}}
{{refend}}
|