Zinc-copper couple: Difference between revisions
en>Helpful Pixie Bot m ISBNs (Build KE) |
|||
| Line 1: | Line 1: | ||
'''Overlap–save''' is the traditional name for an efficient way to evaluate the [[Convolution#Discrete_convolution|discrete convolution]] between a very long signal <math>x[n]</math> and a [[finite impulse response]] (FIR) filter <math>h[n]</math>''':''' | |||
{{NumBlk|:|<math>y[n] = x[n] * h[n] \ \stackrel{\mathrm{def}}{=} \ \sum_{m=-\infty}^{\infty} h[m] \cdot x[n-m] = \sum_{m=1}^{M} h[m] \cdot x[n-m],\,</math>|{{EquationRef|Eq.1}}}} | |||
where h[m]=0 for m outside the region [1, ''M'']. | |||
[[Image:Overlap-save algorithm.png|thumb|500px|A sequence of 4 plots depicts one cycle of the Overlap-save convolution algorithm. The 1st plot is a long sequence of data to be processed with a lowpass FIR filter. The 2nd plot is one segment of the data to be processed in piecewise fashion. The 3rd plot is the filtered segment, with the usable portion colored red. The 4th plot shows the filtered segment appended to the output stream.]] | |||
The concept is to compute short segments of ''y''[''n''] of an arbitrary length ''L'', and concatenate the segments together. Consider a segment that begins at ''n'' = ''kL'' + ''M'', for any integer ''k'', and define''':''' | |||
:<math>x_k[n] \ \stackrel{\mathrm{def}}{=} | |||
\begin{cases} | |||
x[n+kL] & 1 \le n \le L+M-1\\ | |||
0 & \textrm{otherwise}. | |||
\end{cases} | |||
</math> | |||
:<math>y_k[n] \ \stackrel{\mathrm{def}}{=} \ x_k[n]*h[n]\,</math> | |||
Then, for ''kL'' + ''M'' ≤ ''n'' ≤ ''kL'' + ''L'' + ''M'' − 1, and equivalently ''M'' ≤ ''n'' − ''kL'' ≤ ''L'' + ''M'' − 1, we can write''':''' | |||
:<math> | |||
\begin{align} | |||
y[n] = \sum_{m=1}^{M} h[m] \cdot x_k[n-kL-m] | |||
&= x_k[n-kL] * h[n] \\ | |||
&\stackrel{\mathrm{def}}{=} \ y_k[n-kL]. | |||
\end{align} | |||
</math> | |||
The task is thereby reduced to computing ''y''<sub>''k''</sub>[''n''], for ''M'' ≤ ''n'' ≤ ''L'' +'' M'' − 1. | |||
Now note that if we periodically extend ''x''<sub>''k''</sub>[''n''] with period ''N'' ≥ ''L'' + ''M'' − 1, according to''':''' | |||
:<math>x_{k,N}[n] \ \stackrel{\mathrm{def}}{=} \ \sum_{k=-\infty}^{\infty} x_k[n - kN],</math> | |||
the convolutions <math>(x_{k,N})*h\,</math> and <math>x_k*h\,</math> are equivalent in the region ''M'' ≤ ''n'' ≤ ''L'' + ''M'' − 1. So it is sufficient to compute the '''N'''-point [[circular convolution|circular (or cyclic) convolution]] of <math>x_k[n]\,</math> with <math>h[n]\,</math> in the region [1, ''N'']. The subregion [''M'', ''L'' + ''M'' − 1] is appended to the output stream, and the other values are <u>discarded</u>. | |||
The advantage is that the circular convolution can be computed very efficiently as follows, according to the [[Discrete_Fourier_transform#Circular_convolution_theorem_and_cross-correlation_theorem|circular convolution theorem]]''':''' | |||
:<math>y_k[n] = \scriptstyle \text{DFT}^{-1} \displaystyle (\ \scriptstyle \text{DFT} \displaystyle (x_k[n])\cdot \scriptstyle \text{DFT} \displaystyle (h[n])\ ),</math> | |||
where''':''' | |||
*DFT and DFT<sup>−1</sup> refer to the Discrete Fourier transform and inverse Discrete Fourier transform, respectively, evaluated over ''N'' discrete points, and | |||
*''N'' is customarily chosen to be an integer power-of-2, which enables use of the [[Fast Fourier transform|FFT]] algorithm. | |||
==Pseudocode== | |||
<code> | |||
<span style="color:green;">(''Overlap–save algorithm for linear convolution'')</span> | |||
h = FIR_impulse_response | |||
M = length(h) | |||
overlap = M-1 | |||
N = 4*overlap <span style="color:green;">(or a nearby power-of-2)</span> | |||
step_size = N-overlap | |||
H = DFT(h, N) | |||
position = 0 | |||
'''while''' position+N <= length(x) | |||
yt = IDFT( DFT( x(1+position : N+position), N ) * H, N ) | |||
y(1+position : step_size+position) = yt(M : N) #discard M-1 y-values | |||
position = position + step_size | |||
'''end''' | |||
</code> | |||
==Efficiency== | |||
When the DFT and its inverse is implemented by the FFT algorithm, the pseudocode above requires about '''N log<sub>2</sub>(N) + N''' complex multiplications for the FFT, product of arrays, and IFFT.<ref>Cooley-Tukey FFT algorithm for N=2<sup>k</sup> needs (N/2) log<sub>2</sub>(N) - see [[Fast_Fourier_transform#Definition_and_speed|FFT - Definition and speed]]</ref> Each iteration produces '''N-M+1''' output samples, so the number of complex multiplications per output sample is about''':''' | |||
{{NumBlk|:|<math>\frac{N \log_2(N) + N}{N-M+1}.\,</math>|{{EquationRef|Eq.2}}}} | |||
For example, when '''M'''=201 and '''N'''=1024, {{EquationNote|Eq.2}} equals 13.67, whereas direct evaluation of {{EquationNote|Eq.1}} would require up to 201 complex multiplications per output sample, the worst case being when both '''x''' and '''h''' are complex-valued. Also note that for any given '''M''', {{EquationNote|Eq.2}} has a minimum with respect to '''N'''. It diverges for both small and large block sizes. | |||
==Overlap–discard== | |||
''Overlap–discard''<ref>Harris 1987.</ref> and ''Overlap–scrap''<ref>Frerking 1994.</ref> are less commonly used labels for the same method described here. However, these labels are actually better (than ''overlap–save'') to distinguish from [[Overlap–add method|overlap–add]], because <u>both</u> methods "save", but only one discards. "Save" merely refers to the fact that ''M'' − 1 input (or output) samples from segment ''k'' are needed to process segment ''k'' + 1. | |||
===Extending overlap–save=== | |||
The overlap-save algorithm may be extended to include other common operations of a system:<ref>Carlin et al. 1999, p 31, col 20.</ref><ref>Borgerding 2006, pp 158–161.</ref> | |||
* additional channels can be processed more cheaply than the first by reusing the forward FFT | |||
* sampling rates can be changed by using different sized forward and inverse FFTs | |||
* frequency translation (mixing) can be accomplished by rearranging frequency bins | |||
==Notes== | |||
{{reflist}} | |||
==References== | |||
*Rabiner, Lawrence R.; Gold, Bernard (1975). ''Theory and application of digital signal processing''. Englewood Cliffs, N.J.: Prentice-Hall. pp 65–67. [http://isbndb.com/d/book/theory_and_application_of_digital_signal_processing.html ISBN 0139141014]. | |||
*Harris, F.J. (1987). "Time domain signal processing with the DFT". ''Handbook of Digital Signal Processing'', D.F.Elliot, ed., San Diego: Academic Press. pp 633–699. [http://isbndb.com/d/book/handbook_of_digital_signal_processing.html ISBN 0122370759]. | |||
*Frerking, Marvin (1994). ''Digital Signal Processing in Communication Systems''. New York: Van Nostrand Reinhold. [http://isbndb.com/d/book/digital_signal_processing_in_communication_systems.html ISBN 0442016166]. | |||
* {{Citation | |||
| inventor-last =Carlin | |||
| inventor-first =Joe | |||
| inventor2-last =Collins | |||
| inventor2-first =Terry | |||
| inventor3-last =Hays | |||
| inventor3-first =Peter | |||
| inventor4-last =Hemmerdinger | |||
| inventor4-first =Barry | |||
| inventor5-last =Kellogg | |||
| inventor5-first =Robert | |||
| inventor6-last =Kettig | |||
| inventor6-first =Robert | |||
| inventor7-last =Lemmon | |||
| inventor7-first =Bradley | |||
| inventor8-last =Murdock | |||
| inventor8-first =Thomas | |||
| inventor9-last =Tamaru | |||
| inventor9-first =Robert | |||
| inventor10-last =Ware | |||
| inventor10-first =Stuart | |||
| publication-date = 1999 | |||
| issue-date = 2005 | |||
| title = Wideband communication intercept and direction finding device using hyperchannelization | |||
| country-code = US | |||
| description = patent | |||
| patent-number = 6898235 | |||
}} | |||
* {{Citation | |||
| last = Borgerding | |||
| first = Mark | |||
| title = Turning Overlap-Save into a Multiband Mixing, Downsampling Filter Bank | |||
| journal = IEEE Signal Processing Magazine | |||
| volume = | |||
| issue = March 2006 | |||
| pages = 158–161 | |||
| year = 2006 | |||
| url = http://www.3db-labs.com/01598092_MultibandFilterbank.pdf | |||
}} | |||
{{DEFAULTSORT:Overlap-save method}} | |||
[[Category:Signal processing]] | |||
[[Category:Transforms]] | |||
[[Category:Fourier analysis]] | |||
[[Category:Numerical analysis]] | |||
Revision as of 04:19, 31 January 2014
Overlap–save is the traditional name for an efficient way to evaluate the discrete convolution between a very long signal and a finite impulse response (FIR) filter :
where h[m]=0 for m outside the region [1, M].

The concept is to compute short segments of y[n] of an arbitrary length L, and concatenate the segments together. Consider a segment that begins at n = kL + M, for any integer k, and define:
Then, for kL + M ≤ n ≤ kL + L + M − 1, and equivalently M ≤ n − kL ≤ L + M − 1, we can write:
The task is thereby reduced to computing yk[n], for M ≤ n ≤ L + M − 1.
Now note that if we periodically extend xk[n] with period N ≥ L + M − 1, according to:
the convolutions and are equivalent in the region M ≤ n ≤ L + M − 1. So it is sufficient to compute the N-point circular (or cyclic) convolution of with in the region [1, N]. The subregion [M, L + M − 1] is appended to the output stream, and the other values are discarded.
The advantage is that the circular convolution can be computed very efficiently as follows, according to the circular convolution theorem:
where:
- DFT and DFT−1 refer to the Discrete Fourier transform and inverse Discrete Fourier transform, respectively, evaluated over N discrete points, and
- N is customarily chosen to be an integer power-of-2, which enables use of the FFT algorithm.
Pseudocode
(Overlap–save algorithm for linear convolution)
h = FIR_impulse_response
M = length(h)
overlap = M-1
N = 4*overlap (or a nearby power-of-2)
step_size = N-overlap
H = DFT(h, N)
position = 0
while position+N <= length(x)
yt = IDFT( DFT( x(1+position : N+position), N ) * H, N )
y(1+position : step_size+position) = yt(M : N) #discard M-1 y-values
position = position + step_size
end
Efficiency
When the DFT and its inverse is implemented by the FFT algorithm, the pseudocode above requires about N log2(N) + N complex multiplications for the FFT, product of arrays, and IFFT.[1] Each iteration produces N-M+1 output samples, so the number of complex multiplications per output sample is about:
For example, when M=201 and N=1024, Template:EquationNote equals 13.67, whereas direct evaluation of Template:EquationNote would require up to 201 complex multiplications per output sample, the worst case being when both x and h are complex-valued. Also note that for any given M, Template:EquationNote has a minimum with respect to N. It diverges for both small and large block sizes.
Overlap–discard
Overlap–discard[2] and Overlap–scrap[3] are less commonly used labels for the same method described here. However, these labels are actually better (than overlap–save) to distinguish from overlap–add, because both methods "save", but only one discards. "Save" merely refers to the fact that M − 1 input (or output) samples from segment k are needed to process segment k + 1.
Extending overlap–save
The overlap-save algorithm may be extended to include other common operations of a system:[4][5]
- additional channels can be processed more cheaply than the first by reusing the forward FFT
- sampling rates can be changed by using different sized forward and inverse FFTs
- frequency translation (mixing) can be accomplished by rearranging frequency bins
Notes
43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.
References
- Rabiner, Lawrence R.; Gold, Bernard (1975). Theory and application of digital signal processing. Englewood Cliffs, N.J.: Prentice-Hall. pp 65–67. ISBN 0139141014.
- Harris, F.J. (1987). "Time domain signal processing with the DFT". Handbook of Digital Signal Processing, D.F.Elliot, ed., San Diego: Academic Press. pp 633–699. ISBN 0122370759.
- Frerking, Marvin (1994). Digital Signal Processing in Communication Systems. New York: Van Nostrand Reinhold. ISBN 0442016166.
- Many property agents need to declare for the PIC grant in Singapore. However, not all of them know find out how to do the correct process for getting this PIC scheme from the IRAS. There are a number of steps that you need to do before your software can be approved.
Naturally, you will have to pay a safety deposit and that is usually one month rent for annually of the settlement. That is the place your good religion deposit will likely be taken into account and will kind part or all of your security deposit. Anticipate to have a proportionate amount deducted out of your deposit if something is discovered to be damaged if you move out. It's best to you'll want to test the inventory drawn up by the owner, which can detail all objects in the property and their condition. If you happen to fail to notice any harm not already mentioned within the inventory before transferring in, you danger having to pay for it yourself.
In case you are in search of an actual estate or Singapore property agent on-line, you simply should belief your intuition. It's because you do not know which agent is nice and which agent will not be. Carry out research on several brokers by looking out the internet. As soon as if you end up positive that a selected agent is dependable and reliable, you can choose to utilize his partnerise in finding you a home in Singapore. Most of the time, a property agent is taken into account to be good if he or she locations the contact data on his website. This may mean that the agent does not mind you calling them and asking them any questions relating to new properties in singapore in Singapore. After chatting with them you too can see them in their office after taking an appointment.
Have handed an trade examination i.e Widespread Examination for House Brokers (CEHA) or Actual Property Agency (REA) examination, or equal; Exclusive brokers are extra keen to share listing information thus making certain the widest doable coverage inside the real estate community via Multiple Listings and Networking. Accepting a severe provide is simpler since your agent is totally conscious of all advertising activity related with your property. This reduces your having to check with a number of agents for some other offers. Price control is easily achieved. Paint work in good restore-discuss with your Property Marketing consultant if main works are still to be done. Softening in residential property prices proceed, led by 2.8 per cent decline within the index for Remainder of Central Region
Once you place down the one per cent choice price to carry down a non-public property, it's important to accept its situation as it is whenever you move in – faulty air-con, choked rest room and all. Get round this by asking your agent to incorporate a ultimate inspection clause within the possibility-to-buy letter. HDB flat patrons routinely take pleasure in this security net. "There's a ultimate inspection of the property two days before the completion of all HDB transactions. If the air-con is defective, you can request the seller to repair it," says Kelvin.
15.6.1 As the agent is an intermediary, generally, as soon as the principal and third party are introduced right into a contractual relationship, the agent drops out of the image, subject to any problems with remuneration or indemnification that he could have against the principal, and extra exceptionally, against the third occasion. Generally, agents are entitled to be indemnified for all liabilities reasonably incurred within the execution of the brokers´ authority.
To achieve the very best outcomes, you must be always updated on market situations, including past transaction information and reliable projections. You could review and examine comparable homes that are currently available in the market, especially these which have been sold or not bought up to now six months. You'll be able to see a pattern of such report by clicking here It's essential to defend yourself in opposition to unscrupulous patrons. They are often very skilled in using highly unethical and manipulative techniques to try and lure you into a lure. That you must also protect your self, your loved ones, and personal belongings as you'll be serving many strangers in your home. Sign a listing itemizing of all of the objects provided by the proprietor, together with their situation. HSR Prime Recruiter 2010 - Many property agents need to declare for the PIC grant in Singapore. However, not all of them know find out how to do the correct process for getting this PIC scheme from the IRAS. There are a number of steps that you need to do before your software can be approved.
Naturally, you will have to pay a safety deposit and that is usually one month rent for annually of the settlement. That is the place your good religion deposit will likely be taken into account and will kind part or all of your security deposit. Anticipate to have a proportionate amount deducted out of your deposit if something is discovered to be damaged if you move out. It's best to you'll want to test the inventory drawn up by the owner, which can detail all objects in the property and their condition. If you happen to fail to notice any harm not already mentioned within the inventory before transferring in, you danger having to pay for it yourself.
In case you are in search of an actual estate or Singapore property agent on-line, you simply should belief your intuition. It's because you do not know which agent is nice and which agent will not be. Carry out research on several brokers by looking out the internet. As soon as if you end up positive that a selected agent is dependable and reliable, you can choose to utilize his partnerise in finding you a home in Singapore. Most of the time, a property agent is taken into account to be good if he or she locations the contact data on his website. This may mean that the agent does not mind you calling them and asking them any questions relating to new properties in singapore in Singapore. After chatting with them you too can see them in their office after taking an appointment.
Have handed an trade examination i.e Widespread Examination for House Brokers (CEHA) or Actual Property Agency (REA) examination, or equal; Exclusive brokers are extra keen to share listing information thus making certain the widest doable coverage inside the real estate community via Multiple Listings and Networking. Accepting a severe provide is simpler since your agent is totally conscious of all advertising activity related with your property. This reduces your having to check with a number of agents for some other offers. Price control is easily achieved. Paint work in good restore-discuss with your Property Marketing consultant if main works are still to be done. Softening in residential property prices proceed, led by 2.8 per cent decline within the index for Remainder of Central Region
Once you place down the one per cent choice price to carry down a non-public property, it's important to accept its situation as it is whenever you move in – faulty air-con, choked rest room and all. Get round this by asking your agent to incorporate a ultimate inspection clause within the possibility-to-buy letter. HDB flat patrons routinely take pleasure in this security net. "There's a ultimate inspection of the property two days before the completion of all HDB transactions. If the air-con is defective, you can request the seller to repair it," says Kelvin.
15.6.1 As the agent is an intermediary, generally, as soon as the principal and third party are introduced right into a contractual relationship, the agent drops out of the image, subject to any problems with remuneration or indemnification that he could have against the principal, and extra exceptionally, against the third occasion. Generally, agents are entitled to be indemnified for all liabilities reasonably incurred within the execution of the brokers´ authority.
To achieve the very best outcomes, you must be always updated on market situations, including past transaction information and reliable projections. You could review and examine comparable homes that are currently available in the market, especially these which have been sold or not bought up to now six months. You'll be able to see a pattern of such report by clicking here It's essential to defend yourself in opposition to unscrupulous patrons. They are often very skilled in using highly unethical and manipulative techniques to try and lure you into a lure. That you must also protect your self, your loved ones, and personal belongings as you'll be serving many strangers in your home. Sign a listing itemizing of all of the objects provided by the proprietor, together with their situation. HSR Prime Recruiter 2010