How to use this calculator
Translate a continuous transfer function of degree at most two into a normalized digital biquad.
- Enter s² numerator coefficient, s numerator coefficient, Constant numerator coefficient, s² denominator coefficient, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Second order bilinear transform coefficients explained
The bilinear transform maps the entered continuous second-order transfer function into a discrete z-domain form using the selected sample interval. Normalize the resulting denominator so its leading coefficient is one.
Inputs, symbols, and units
b0— s² numerator coefficient- Coefficient of s squared.
b1— s numerator coefficient- Coefficient of s.
b2— Constant numerator coefficient- Numerator constant.
a0— s² denominator coefficient- Leading denominator coefficient.
a1— s denominator coefficient- Linear denominator coefficient.
a2— Constant denominator coefficient- Denominator constant.
T— Sample interval (s)- Positive digital sampling interval.
Formula and method
Substitute s=(2/T)(1−z⁻¹)/(1+z⁻¹) into (b₀s²+b₁s+b₂)/(a₀s²+a₁s+a₂), then normalize the digital a₀ to one.
Coefficients are entered in descending continuous powers; outputs multiply ascending delays z to the negative powers. No frequency prewarping is applied.
A worked scenario
s² numerator coefficient = 0; s numerator coefficient = 0; Constant numerator coefficient = 1; s² denominator coefficient = 1; s denominator coefficient = 2; Constant denominator coefficient = 4; Sample interval (s) = 0.1.
- Digital b0: 0.002252 coefficient
- Digital b1: 0.004505 coefficient
- Digital b2: 0.002252 coefficient
- Digital a1: -1.783784 coefficient
- Digital a2: 0.81982 coefficient
A continuous numerator one over s²+2s+4 is transformed at a tenth-second interval.
Assumptions and edge cases
Bilinear frequency warping remains; this is not exact zero-order-hold matching. A zero normalizing denominator is rejected.
Reading the outputs
The five metrics define y[k]=Σbᵢx[k−i]−a1 y[k−1]−a2 y[k−2].
Frequently asked questions
Why are denominator feedback terms subtracted?
The normalized transfer denominator is 1+a1 z⁻¹+a2 z⁻².
Does this preserve analog frequency exactly?
Only the nonlinear bilinear frequency mapping is exact; prewarping is separate.
Can a first-order transfer be entered?
Yes; set the quadratic coefficients to zero.
How do I use the Second order bilinear transform coefficients calculator?
Enter s² numerator coefficient, s numerator coefficient, Constant numerator coefficient, s² denominator coefficient, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Second order bilinear transform coefficients?
s² numerator coefficient = 0; s numerator coefficient = 0; Constant numerator coefficient = 1; s² denominator coefficient = 1; s denominator coefficient = 2; Constant denominator coefficient = 4; Sample interval (s) = 0.1. Digital b0: 0.002252 coefficient Digital b1: 0.004505 coefficient Digital b2: 0.002252 coefficient Digital a1: -1.783784 coefficient Digital a2: 0.81982 coefficient A continuous numerator one over s²+2s+4 is transformed at a tenth-second interval.
Background or definition reference: SciPy continuous-to-discrete models.
Read our calculation methodology.