File:Linkwitz vs Butterworth.svg

Summary

Description
English: Comparison of the magitude response of the summed Butterworth and Linkwitz-Riley crossover filters. The Butterworth crossovers have a +3dB peak at the crossover frequency, whereas the L-R filters have a flat summed output.

The plot was created with maxima using the following code:

G(w,n) := 1/sqrt(1+w**(2*n));
H(w,n) := 1/sqrt(1+1/w**(2*n));
dB(x)  := 20*log(x)/log(10);
load(draw);
draw2d( terminal=svg,logx=true,
        grid=true,user_preamble="set mxtics; set mytics;set key 100,-5",
        xtics_axis=false,ytics_axis=false,ip_grid=[100,100],
        color=black,xlabel="Angular frequency (rad/sec)",ylabel="Gain (dB)",
        xaxis_type=solid,yaxis_type=solid,line_width=1.5,yrange=[-50,10],
        axis_bottom=true,axis_top=false,axis_right=false,axis_left=true,
        key="LR2",color=red,explicit(dB(G(w,1))*2,w,0.01,100),
        key="",color=red,explicit(dB(H(w,1))*2,w,0.01,100),
        key="Butterworth",color=blue,explicit(dB(G(w,2)),w,0.01,100),
        key="",color=blue,explicit(dB(H(w,2)),w,0.01,100),
        key="Butterworth sum",color=magenta,explicit(dB(H(w,2)+G(w,2)),w,0.01,100),
        key="LR2 sum",color=cyan,explicit(dB(H(w,2)**2+G(w,2)**2),w,0.01,100),
        color=black,line_width=1,line_type=dots,
        key="",parametric(t,3,t,0.5,1.5),parametric(t,-3,t,0.5,1.5),parametric(t,-6,t,0.5,1.5),
        label_alignment=right,label(["+3dB",0.4,3]),label(["-3dB",0.4,-3]),label(["-6dB",0.4,-6])
        );
Date
Source Own work
Author Krishnavedala
Other versions

[edit]

.svg:

.png:

SVG development
InfoField
 The SVG code is valid.
 This plot was created with gnuplot.
Category:Valid SVG created with Gnuplot#Linkwitz%20vs%20Butterworth.svg
 Category:Translation possible - SVGThis plot uses embedded text that can be easily translated using a text editor.

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0#Linkwitz%20vs%20Butterworth.svgCategory:Self-published work
Category:Audio crossover Category:Butterworth filters Category:Linkwitz–Riley filters
Category:Audio crossover Category:Butterworth filters Category:CC-BY-SA-3.0 Category:Linkwitz–Riley filters Category:Self-published work Category:Translation possible - SVG Category:Valid SVG created with Gnuplot