Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
High-pass filter
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Type of electronic circuit or optical filter}} {{about|an electronic component|the Australian band|High Pass Filter (band)}} [[File:High-pass filter.jpg|thumb|Ideal high-pass filter frequency response]] A '''high-pass filter''' ('''HPF''') is an [[Filter (signal processing)|electronic filter]] that passes [[signal (electrical engineering)|signals]] with a [[frequency]] higher than a certain [[cutoff frequency]] and [[attenuate]]s signals with frequencies lower than the cutoff frequency. The amount of [[attenuation]] for each frequency depends on the filter design. A high-pass [[filter (signal processing)|filter]] is usually modeled as a [[linear time-invariant system]]. It is sometimes called a '''low-cut filter''' or '''bass-cut filter''' in the context of audio engineering.<ref name=Watkinson1998>{{cite book|last=Watkinson |first=John |title=The Art of Sound Reproduction |publisher=Focal Press |year=1998 |pages=[https://archive.org/details/artofsoundreprod0000watk/page/268 268], 479 |isbn=0-240-51512-9 |url=https://archive.org/details/artofsoundreprod0000watk |url-access=registration |access-date=March 9, 2010}}</ref> High-pass filters have many uses, such as blocking DC from circuitry sensitive to non-zero average voltages or [[radio frequency]] devices. They can also be used in conjunction with a [[low-pass filter]] to produce a [[band-pass filter]]. In the optical domain filters are often characterised by wavelength rather than frequency. '''High-pass''' and '''low-pass''' have the opposite meanings, with a "high-pass" filter (more commonly "short-pass") passing only ''shorter'' wavelengths (higher frequencies), and vice versa for "low-pass" (more commonly "long-pass"). ==Description== In electronics, a [[filter (signal processing)|filter]] is a [[two-port]] [[electronic circuit]] which removes [[frequency]] components from a [[signal]] (time-varying voltage or current) applied to its input port. A high-pass filter attenuates frequency components below a certain frequency, called its cutoff frequency, allowing higher frequency components to pass through. This contrasts with a [[low-pass filter]], which attenuates frequencies higher than a certain frequency, and a [[bandpass filter]], which allows a certain band of frequencies through and attenuates frequencies both higher and lower than the band. In [[optics]] a high pass filter is a transparent or translucent window of colored material that allows light longer than a certain [[wavelength]] to pass through and attenuates light of shorter wavelengths. Since light is often measured not by frequency but by [[wavelength]], which is inversely related to frequency, a high pass optical filter, which attenuates light frequencies below a cutoff frequency, is often called a short-pass filter; it attenuates longer wavelengths. ==Continuous-time circuits== === First-order passive === [[File:CR high pass filter.svg|thumb|220x220px|Figure 1: A passive, analog, first-order high-pass filter, realized by an [[RC circuit]]]] A resistor and either a capacitor or an inductor can be configured as a first-order high-pass filter. The simple first-order capacitive high-pass filter shown in Figure 1 is implemented by placing an input voltage across the series combination of a [[capacitor]] and a [[resistor]] and using the voltage across the resistor as an output. The [[transfer function]] of this [[linear time-invariant system]] is: :<math>\frac{V_{\rm out}(s)}{V_{\rm in}(s)}=\frac{sRC}{1+sRC}.</math> The product of the resistance and capacitance (''R''×''C'') is the [[time constant]] (τ); it is inversely proportional to the cutoff frequency ''f''<sub>''c''</sub>, that is, :<math>f_c = \frac{1}{2 \pi \tau} = \frac{1}{2 \pi R C},\,</math> where ''f''<sub>''c''</sub> is in [[hertz]], ''τ'' is in [[second]]s, ''R'' is in [[Ohm (unit)|ohm]]s, and ''C'' is in [[farad]]s. At the cutoff frequency, the filter's [[frequency response]] reaches -3dB referenced to the gain at an infinite frequency. === First-order active === [[File:Active high-pass filter (I order).svg|thumb|300x300px|Figure 2: An active high-pass filter]] Figure 2 shows an active electronic implementation of a first-order high-pass filter using an [[operational amplifier]]. The transfer function of this linear time-invariant system is: :<math>\frac{V_{\rm out}(s)}{V_{\rm in}(s)}=\frac{-sR_2C}{1+sR_1C}.</math> In this case, the filter has a [[passband]] gain of −''R''<sub>2</sub>/''R''<sub>1</sub> and has a cutoff frequency of :<math>f_c = \frac{1}{2 \pi \tau} = \frac{1}{2 \pi R_1 C},\,</math> Because this filter is [[passivity (engineering)|active]], it may have [[unity (mathematics)|non-unity]] passband gain. That is, high-frequency signals are inverted and amplified by ''R''<sub>2</sub>/''R''<sub>1</sub>. All of these first-order high-pass filters are called [[Differentiator|differentiators]], because they perform [[Differentiation (mathematics)|differentiation]] for signals whose [[frequency band]] is well below the filter's cutoff frequency.{{Linear analog electronic filter|filter1=show|filter2=hide|filter3=hide}} === Higher orders === Filters of higher order have steeper slope in the stopband, such that the slope of n{{Sup|th}}-order filters equals 20n dB per decade. Higher order filters can be achieved simply by cascading these first order filters. While [[impedance matching]] and loading must be taken into account when chaining passive filters, active filters can be easily chained because the signal is restored by the output of the op amp at each stage. Various [[Electronic filter topology|filter topologies]] and [[network synthesis filters]] for higher orders exist, which ease design. == Discrete-time realization == {{for|another method of conversion from continuous- to discrete-time|Bilinear transform}} Discrete-time high-pass filters can also be designed. Discrete-time filter design is beyond the scope of this article; however, a simple example comes from the conversion of the continuous-time high-pass filter above to a discrete-time realization. That is, the continuous-time behavior can be [[discrete signal|discretized]]. From the circuit in Figure 1 above, according to [[Kirchhoff's circuit laws|Kirchhoff's Laws]] and the definition of [[capacitance]]: :<math>\begin{cases} V_{\text{out}}(t) = I(t)\, R &\text{(V)}\\ Q_c(t) = C \, \left( V_{\text{in}}(t) - V_{\text{out}}(t) \right) &\text{(Q)}\\ I(t) = \frac{\operatorname{d} Q_c}{\operatorname{d} t} &\text{(I)} \end{cases}</math> where <math>Q_c(t)</math> is the charge stored in the capacitor at time <math>t</math>. Substituting Equation (Q) into Equation (I) and then Equation (I) into Equation (V) gives: :<math>V_{\text{out}}(t) = \overbrace{C \, \left( \frac{\operatorname{d} V_{\text{in}}}{\operatorname{d}t} - \frac{\operatorname{d} V_{\text{out}}}{\operatorname{d}t} \right)}^{I(t)} \, R = R C \, \left( \frac{ \operatorname{d} V_{\text{in}}}{\operatorname{d}t} - \frac{\operatorname{d} V_{\text{out}}}{\operatorname{d}t} \right)</math> This equation can be discretized. For simplicity, assume that samples of the input and output are taken at evenly spaced points in time separated by <math>\Delta_T</math> time. Let the samples of <math>V_{\text{in}}</math> be represented by the sequence <math>(x_1, x_2, \ldots, x_n)</math>, and let <math>V_{\text{out}}</math> be represented by the sequence <math>(y_1, y_2, \ldots, y_n)</math> which correspond to the same points in time.<!-- :Replace <math>V_{in}(t)</math> with <math>x_i</math> :Replace <math>V_{out}(t)</math> with <math>y_i</math> :Replace <math>dV_{out}</math> with <math>y_{i} - y_{i-1}</math> :Replace <math>dV_{in}</math> with <math>x_{i} - x_{i-1}</math> :Replace <math>dt</math> with <math>\Delta_T</math> --> Making these substitutions: :<math>y_i = R C \, \left( \frac{x_i - x_{i-1}}{\Delta_T} - \frac{y_i - y_{i-1}}{\Delta_T} \right)</math> And rearranging terms gives the [[recurrence relation]] :<math>y_i = \overbrace{\frac{RC}{RC + \Delta_T} y_{i-1}}^{\text{Decaying contribution from prior inputs}} + \overbrace{\frac{RC}{RC + \Delta_T} \left( x_i - x_{i-1} \right)}^{\text{Contribution from change in input}} </math> That is, this discrete-time implementation of a simple continuous-time RC high-pass filter is :<math>y_i = \alpha y_{i-1} + \alpha (x_{i} - x_{i-1}) \qquad \text{where} \qquad \alpha \triangleq \frac{RC}{RC + \Delta_T}</math> By definition, <math>0 \leq \alpha \leq 1</math>. The expression for parameter <math>\alpha</math> yields the equivalent [[time constant]] <math>RC</math> in terms of the sampling period <math>\Delta_T</math> and <math>\alpha</math>: :<math>RC = \Delta_T \left( \frac{\alpha}{1 - \alpha} \right)</math>. Recalling that :<math>f_c=\frac{1}{2\pi RC}</math> so <math>RC=\frac{1}{2\pi f_c}</math> then <math>\alpha</math> and <math>f_c</math> are related by: :<math>\alpha = \frac{1}{2\pi \Delta_T f_c + 1}</math> and :<math>f_c=\frac{1-\alpha}{2\pi \alpha \Delta_T}</math>. If <math>\alpha = 0.5</math>, then the <math>RC</math> time constant equal to the sampling period. If <math>\alpha \ll 0.5</math>, then <math>RC</math> is significantly smaller than the sampling interval, and <math>RC \approx \alpha \Delta_T</math>. === Algorithmic implementation === The filter recurrence relation provides a way to determine the output samples in terms of the input samples and the preceding output. The following [[pseudocode]] algorithm will simulate the effect of a high-pass filter on a series of digital samples, assuming equally spaced samples: // Return RC high-pass filter output samples, given input samples, // time interval ''dt'', and time constant ''RC'' '''function''' highpass(''real[1..n]'' x, ''real'' dt, ''real'' RC) '''var''' ''real[1..n]'' y '''var''' ''real'' α := RC / (RC + dt) y[1] := x[1] '''for''' i '''from''' 2 '''to''' n y[i] := α × y[i−1] + α × (x[i] − x[i−1]) '''return''' y The loop which calculates each of the <math>n</math> outputs can be [[code refactoring|refactored]] into the equivalent: '''for''' i '''from''' 2 '''to''' n y[i] := α × (y[i−1] + x[i] − x[i−1]) However, the earlier form shows how the parameter α changes the impact of the prior output {{mono|y[i-1]}} and current ''change'' in input {{mono|(x[i] - x[i-1])}}. In particular, * A large α implies that the output will decay very slowly but will also be strongly influenced by even small changes in input. By the relationship between parameter α and [[time constant]] <math>RC</math> above, a large α corresponds to a large <math>RC</math> and therefore a low [[corner frequency]] of the filter. Hence, this case corresponds to a high-pass filter with a very narrow stopband. Because it is excited by small changes and tends to hold its prior output values for a long time, it can pass relatively low frequencies. However, a constant input (i.e., an input with {{mono|(x[i] - x[i-1])=0}}) will always decay to zero, as would be expected with a high-pass filter with a large <math>RC</math>. * A small α implies that the output will decay quickly and will require large changes in the input (i.e., {{mono|(x[i] - x[i-1])}} is large) to cause the output to change much. By the relationship between parameter α and time constant <math>RC</math> above, a small α corresponds to a small <math>RC</math> and therefore a high corner frequency of the filter. Hence, this case corresponds to a high-pass filter with a very wide stopband. Because it requires large (i.e., fast) changes and tends to quickly forget its prior output values, it can only pass relatively high frequencies, as would be expected with a high-pass filter with a small <math>RC</math>. ==Applications== ===Audio=== High-pass filters have many applications. They are used as part of an [[audio crossover]] to direct high frequencies to a [[tweeter]] while attenuating bass signals which could interfere with, or damage, the speaker. When such a filter is built into a [[loudspeaker]] cabinet it is normally a [[passive filter]] that also includes a [[low-pass filter]] for the [[woofer]] and so often employs both a capacitor and [[inductor]] (although very simple high-pass filters for tweeters can consist of a series capacitor and nothing else). As an example, the [[High-pass filter#First-order continuous-time implementation|formula above]], applied to a tweeter with a resistance of 10 Ω, will determine the capacitor value for a cut-off frequency of 5 kHz. <math>C = \frac{1}{2 \pi f R} = \frac{1}{6.28 \times 5000 \times 10} = 3.18 \times 10^{-6} </math>, or approx 3.2 μF. An alternative, which provides good quality sound without inductors (which are prone to parasitic coupling, are expensive, and may have significant internal resistance) is to employ [[bi-amplification]] with [[active filter|active RC filters]] or active digital filters with separate power amplifiers for each [[loudspeaker]]. Such low-current and low-voltage [[line level]] crossovers are called [[active crossover]]s.<ref name=Watkinson1998/> Rumble filters are high-pass filters applied to the removal of unwanted sounds near to the lower end of the [[audible range]] or below. For example, noises (e.g., footsteps, or motor noises from [[record player]]s and [[tape deck]]s) may be removed because they are undesired or may overload the [[RIAA equalization]] circuit of the [[preamp]].<ref name=Watkinson1998/> High-pass filters are also used for [[AC coupling]] at the inputs of many [[audio power amplifier]]s, for preventing the amplification of DC currents which may harm the amplifier, rob the amplifier of headroom, and generate waste heat at the [[loudspeaker]]s [[voice coil]]. One amplifier, the [[professional audio]] model DC300 made by [[Crown International]] beginning in the 1960s, did not have high-pass filtering at all, and could be used to amplify the DC signal of a common 9-volt battery at the input to supply 18 volts DC in an emergency for [[mixing console]] power.<ref name="Andrews2010">{{cite web|url=http://recforums.prosoundweb.com/index.php/m/462291/0/ |title=Re: Running the board for a show this big? |last=Andrews |first=Keith |author2=posting as ssltech |date=January 11, 2010 |work=Recording, Engineering & Production |publisher=ProSoundWeb |access-date=9 March 2010 |url-status=dead |archive-url=https://web.archive.org/web/20110715123934/http://recforums.prosoundweb.com/index.php/m/462291/0/ |archive-date=15 July 2011 }}</ref> However, that model's basic design has been superseded by newer designs such as the Crown Macro-Tech series developed in the late 1980s which included 10 Hz high-pass filtering on the inputs and switchable 35 Hz high-pass filtering on the outputs.<ref>{{cite web|url=http://www.crownaudio.com/pdf/amps/128313.pdf |title=Operation Manual: MA-5002VZ |year=2007 |work=Macro-Tech Series |publisher=Crown Audio |access-date=March 9, 2010 |url-status=dead |archive-url=https://web.archive.org/web/20100103130925/http://crownaudio.com/pdf/amps/128313.pdf |archive-date=January 3, 2010 }}</ref> Another example is the [[QSC Audio]] PLX amplifier series which includes an internal 5 Hz high-pass filter which is applied to the inputs whenever the optional 50 and 30 Hz high-pass filters are turned off.<ref>{{cite web|url=http://media.qscaudio.com/pdfs/plxuser.pdf |title=User Manual: PLX Series Amplifiers |year=1999 |publisher=QSC Audio |access-date=March 9, 2010 |url-status=dead |archive-url=https://web.archive.org/web/20100209153528/http://media.qscaudio.com/pdfs/plxuser.pdf |archive-date=February 9, 2010 }}</ref> [[File:75 Hz HPF on Smaart.jpg|thumb|A 75 Hz "low cut" filter from an input channel of a [[Mackie 1402]] [[mixing console]] as measured by [[Smaart]] software. This high-pass filter has a slope of 18 dB per octave.]] Mixing consoles often include high-pass filtering at each [[channel strip]]. Some models have fixed-slope, fixed-frequency high-pass filters at 80 or 100 Hz that can be engaged; other models have sweepable high-pass filters, filters of fixed slope that can be set within a specified frequency range, such as from 20 to 400 Hz on the [[Midas Consoles|Midas]] Heritage 3000, or 20 to 20,000 Hz on the [[Yamaha Corporation|Yamaha]] [[M7CL]] [[digital mixing console]]. Veteran systems engineer and live sound mixer Bruce Main recommends that high-pass filters be engaged for most mixer input sources, except for those such as [[bass drum|kick drum]], [[bass guitar]] and piano, sources which will have useful low-frequency sounds. Main writes that [[DI unit]] inputs (as opposed to [[microphone]] inputs) do not need high-pass filtering as they are not subject to modulation by low-frequency [[Stage wash (audio)|stage wash]]—low frequency sounds coming from the [[subwoofer]]s or the [[public address]] system and wrapping around to the stage. Main indicates that high-pass filters are commonly used for directional microphones which have a [[Proximity effect (audio)|proximity effect]]—a low-frequency boost for very close sources. This low-frequency boost commonly causes problems up to 200 or 300 Hz, but Main notes that he has seen microphones that benefit from a 500 Hz high-pass filter setting on the console.<ref name=Main2010>{{cite journal|last=Main |first=Bruce |date=February 16, 2010 |title=Cut 'Em Off At The Pass: Effective Uses Of High-Pass Filtering |journal=Live Sound International |publisher=ProSoundWeb, EH Publishing|location=Framingham, Massachusetts}}</ref> ===Image=== [[image:High Pass Filter Example.jpg|right|thumb|Example of high-pass filter applied to the right half of a photograph. The left side is unmodified, Right side is with a high-pass filter applied (in this case, with a radius of 4.9).]] High-pass and low-pass filters are also used in digital [[image processing]] to perform image modifications, enhancements, noise reduction, etc., using designs done in either the [[Digital signal processing#Time and space domains|spatial domain]] or the [[frequency domain]].<ref> {{cite book | title = Computer processing of remotely sensed images: an introduction | author = Paul M. Mather | edition = 3rd | publisher = John Wiley and Sons | year = 2004 | isbn = 978-0-470-84919-4 | url = https://books.google.com/books?id=Idj8Eg-KtMAC&q=image+high-pass+low-pass+frequency-domain&pg=PA181 | page = 181 }}</ref> The [[unsharp masking]], or sharpening, operation used in image editing software is a high-boost filter, a generalization of high-pass. ==See also== * [[DSL filter]] * [[Band-stop filter]] * [[Bias tee]] * [[Differentiator]] * [[Convolution]] * [[Circular convolution]] ==References== {{reflist}} == External links == {{commons category|Highpass filters}} * [http://www.dspguide.com/ch7/1.htm Common Impulse Responses] * [http://www.tedpavlic.com/teaching/osu/ece209/support/circuits_sys_review.pdf ECE 209: Review of Circuits as LTI Systems], a short primer on the mathematical analysis of (electrical) LTI systems. * [http://www.tedpavlic.com/teaching/osu/ece209/lab3_opamp_FO/lab3_opamp_FO_phase_shift.pdf ECE 209: Sources of Phase Shift], an intuitive explanation of the source of phase shift in a high-pass filter. Also verifies simple passive LPF [[transfer function]] by means of trigonometric identity. {{Electronic filters}} {{DEFAULTSORT:High-Pass Filter}} [[Category:Linear filters]] [[Category:Synthesiser modules]] [[Category:Filter frequency response]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Commons category
(
edit
)
Template:Electronic filters
(
edit
)
Template:For
(
edit
)
Template:Linear analog electronic filter
(
edit
)
Template:Mono
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Sister project
(
edit
)
Template:Sup
(
edit
)