Frequency Response Calculator

Analyze system response over a chosen frequency span. Reveal resonance, bandwidth, and damping trends clearly. Export clean tables for lab notes and design decisions.

Calculator Inputs

Scales the overall amplitude response.
Use Hz or rad/s based on unit choice.
0 is undamped; higher values reduce resonance.
Internally, ω is always in rad/s.
Must be greater than 0.
Choose a wide span to capture resonance.
More points improve peak and bandwidth detection.

Formula Used

This calculator models a driven, damped second-order system, commonly used for oscillators and resonant sensors. The frequency response (transfer function) evaluated on the imaginary axis is:

H(jω) = (K·ω₀²) / ( (ω₀² − ω²) + j(2ζω₀ω) )

Magnitude and phase are computed from the real and imaginary denominator parts:

|H(jω)| = (K·ω₀²) / √((ω₀² − ω²)² + (2ζω₀ω)²)
φ(ω) = −atan2(2ζω₀ω, ω₀² − ω²)

When inputs are given in Hz, ω = 2πf and ω₀ = 2πf₀. A quality factor estimate is Q ≈ 1/(2ζ).

How to Use This Calculator

  1. Enter the gain K, natural frequency, and damping ratio ζ.
  2. Select the unit as Hz or rad/s to match your data.
  3. Set a start and end frequency that brackets the expected resonance.
  4. Choose enough points to capture sharp peaks (try 100–300).
  5. Press calculate to view the table, peak, bandwidth, and Q.
  6. Use the download buttons to export CSV or PDF.

Example Data Table

Sample inputs: K = 1.0, f0 = 5 Hz, ζ = 0.20, sweep 0.1–20 Hz.

# Frequency (Hz) |H(jω)| |H(jω)| (dB) Phase (deg)
10.101.0000.000-0.046
22.001.1901.514-9.739
35.002.5007.959-90.000
47.000.758-2.408-149.135
512.000.220-13.151-171.108

Values are illustrative; your results depend on sweep settings and units.

Frequency Response Analysis for Real Systems

Frequency response shows how output amplitude and phase vary with frequency. This calculator evaluates a second-order transfer response on the axis and generates a sweep table you can export for plotting. It then summarizes peak response, −3 dB bandwidth, and an estimated quality factor.

1) What the sweep table represents

Each row is one frequency sample between your start and end values. Magnitude is steady-state gain, and phase is the lag in degrees. More points give better resolution near steep changes and help identify narrow peaks.

2) Resonant peak and its meaning

With low damping, the response peaks near the natural frequency. The calculator reports the peak magnitude and its frequency. Peaks can indicate sensitivity in resonant sensors, but they also amplify disturbances and measurement noise.

3) Bandwidth using the −3 dB rule

Bandwidth is estimated at the half-power points where magnitude drops to |H|/√2 of the peak (about −3 dB). The two cutoff frequencies define a practical operating range for filters and dynamic components. When the sweep range does not include both crossings, the tool cannot report bandwidth.

4) Quality factor Q and damping ratio ζ

A common estimate is Q ≈ 1/(2ζ). Higher Q means a narrower bandwidth and a sharper peak. Mechanically, that implies lower energy loss per cycle; electrically, it indicates reduced resistive damping.

5) Phase behavior around resonance

Phase typically moves from near 0° at low frequency toward −180° at high frequency. Near resonance, many second-order systems pass close to −90°. This matters in feedback systems because phase lag reduces stability margin and can promote oscillations.

6) Units and realistic sweep choices

Use Hz or rad/s; the tool converts with ω = 2πf. Sweep wide enough to bracket the expected natural frequency by at least 2× on each side. If no peak appears, widen the range, increase points, or increase K to improve visibility.

7) Common applications

The same model supports mass–spring–damper motion, RLC circuits, vibration isolators, MEMS resonators, and simplified control-loop dynamics. Changing K, f₀, and ζ quickly shows how design choices shift peak and bandwidth.

8) A good analysis workflow

Start with a coarse sweep to locate resonance, then refine with more points for accurate cutoffs. Compare peak magnitude and bandwidth across scenarios, export CSV for plotting, and export PDF for reporting a consistent snapshot. For design studies, record the same sweep range for every case to keep comparisons fair.

FAQs

1) What does gain K change?

K scales the magnitude curve at all frequencies. It does not change the peak frequency or bandwidth for the same f₀ and ζ.

2) Why can the peak occur near, not exactly at, f₀?

Damping alters where the maximum magnitude occurs. As ζ increases, the peak broadens and can shift slightly. With high damping, the peak may disappear entirely.

3) What if bandwidth is not found?

The sweep must include both half‑power crossings. Increase the frequency span or increase the number of points. If the response is very flat (high damping), half‑power cutoffs may be ill‑defined.

4) How many sweep points should I use?

Use 80–150 for a quick scan. For sharp resonances (high Q), 200–500 points better captures the peak and cutoff frequencies.

5) Can I make a Bode plot from the output?

Yes. Export the CSV and plot magnitude and phase versus frequency. For classic Bode style, use a logarithmic frequency axis and convert magnitude to dB if needed.

6) What damping values are typical?

Light resonators may use ζ ≈ 0.005–0.05. Many mechanical systems fall around 0.05–0.3. Values above 0.5 are heavily damped and rarely show a strong resonance peak.

7) Does this handle zeros or higher‑order models?

This calculator uses a standard second‑order form with gain, natural frequency, and damping. If your system has zeros or extra poles, the same workflow applies, but the curves and metrics can differ.

Tip: If bandwidth is not found, increase points or widen the sweep.

Related Calculators

linearization calculatorvector field plottercritical slowing downspectrogram generatorperiod estimatorsymplectic integratornullcline calculatorphase response curvephase portrait generatorfixed point finder

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.