Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-opus-4-20250514· AnthropicHugging Face LMArena Human Preference 140K

Notch Filters

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Qwenqwen3-235b-a22b’s answer.
  1. User

    Notch Filters

  2. Claude Assistant

    Notch Filters in Control Systems

    A notch filter (also called a band-stop filter or band-rejection filter) is a frequency-selective filter that attenuates signals within a specific narrow frequency band while passing all other frequencies with minimal attenuation.


    Transfer Function

    The standard second-order notch filter transfer function is:

    H(s)=s2+ωn2s2+ωnQs+ωn2H(s) = \frac{s^2 + \omega_n^2}{s^2 + \frac{\omega_n}{Q}s + \omega_n^2}

    Where:

    • ωₙ = notch frequency (rad/s) - the center frequency to be attenuated
    • Q = quality factor - determines the sharpness/width of the notch
    • Higher Q → narrower notch
    • Lower Q → wider notch

    Alternative Form with Depth Control

    H(s)=s2+2ζzωns+ωn2s2+2ζpωns+ωn2H(s) = \frac{s^2 + 2\zeta_z\omega_n s + \omega_n^2}{s^2 + 2\zeta_p\omega_n s + \omega_n^2}

    Where:

    • ζz = damping ratio of zeros (controls notch depth)
    • ζp = damping ratio of poles (controls notch width)
    • When ζz = 0, you get an ideal notch with infinite attenuation at ωₙ

    Frequency Response Characteristics

    1. At the notch frequency (ω = ωₙ):

      • Magnitude approaches zero (or minimum value)
      • Phase undergoes rapid transition
    2. Away from notch frequency:

      • Magnitude ≈ 1 (0 dB)
      • Minimal phase distortion
    3. Notch width:

      • Bandwidth ≈ ωₙ/Q
      • 3 dB bandwidth points occur at frequencies where attenuation is -3 dB from passband

    Applications in Control Systems

    1. Disturbance Rejection

    • Eliminate known periodic disturbances (e.g., 60 Hz power line interference)
    • Remove mechanical resonances or vibrations at specific frequencies

    2. Stability Enhancement

    • Suppress resonant peaks in the plant that could cause instability
    • Increase gain/phase margins by attenuating problematic frequencies

    3. Sensor Noise Filtering

    • Remove narrow-band noise from measurements
    • Filter out acoustic or electromagnetic interference

    4. Flexible Structure Control

    • Attenuate structural modes in aerospace/robotics applications
    • Prevent excitation of lightly damped modes

    Design Considerations

    Advantages:

    • Highly selective frequency attenuation
    • Minimal impact on other frequencies
    • Simple to implement (analog or digital)

    Disadvantages:

    • Introduces phase lag near the notch frequency
    • Can reduce closed-loop bandwidth if placed incorrectly
    • Sensitive to parameter variations (frequency drift)

    Design Guidelines:

    1. Notch Frequency Selection:

      • Must accurately match the disturbance frequency
      • Consider temperature/aging effects on frequency drift
    2. Q Factor Selection:

      • High Q (>10): Very narrow notch, minimal phase impact
      • Low Q (<5): Wider notch, more robust to frequency variations
      • Trade-off between selectivity and robustness
    3. Placement in Control Loop:

      • In series with plant: Attenuates disturbances entering the plant
      • In feedback path: Prevents sensor noise from affecting control
      • In controller: Part of the control law design

    Digital Implementation

    For digital control systems, use the bilinear transform:

    H(z)=b0+b1z−1+b2z−21+a1z−1+a2z−2H(z) = \frac{b_0 + b_1z^{-1} + b_2z^{-2}}{1 + a_1z^{-1} + a_2z^{-2}}

    The coefficients depend on:

    • Sampling frequency (fs)
    • Notch frequency (fn)
    • Quality factor (Q)

    Pre-warping is essential to ensure the digital notch frequency matches the desired analog frequency:

    ωd=2Tstan⁡(ωaTs2)\omega_d = \frac{2}{T_s}\tan\left(\frac{\omega_a T_s}{2}\right)


    Adaptive Notch Filters

    For time-varying disturbances:

    • Frequency tracking: Automatically adjust ωₙ to follow disturbance
    • Adaptive algorithms: LMS, RLS for online parameter updates
    • Applications: Active noise control, rotating machinery

    Example: Notch Filter in Servo Control

    Consider a servo system with a mechanical resonance at 50 Hz:

    1. Problem: Resonance causes oscillations and limits achievable bandwidth
    2. Solution: Insert notch filter with:
      • fn = 50 Hz
      • Q = 5 (10 Hz bandwidth)
    3. Result:
      • Resonance suppressed by 20-40 dB
      • Stable operation at higher gains
      • Slight phase lag around 50 Hz

    MATLAB/Python Design Example

    % MATLAB example
    fn = 50;  % Notch frequency (Hz)
    Q = 5;    % Quality factor
    fs = 1000; % Sampling frequency (Hz)
    
    % Design digital notch filter
    [b, a] = iirnotch(fn/(fs/2), fn/(fs/2)/Q);
    
    % Frequency response
    freqz(b, a, 512, fs);
    

    Notch filters are essential tools in control system design, particularly when dealing with known disturbances or resonances that could compromise system performance or stability.

  3. User

    is this the one used in vacs

  4. Claude Assistant

    Yes, notch filters are commonly used in VACS (Vibration and Control Systems), particularly in:

    Active Vibration Control Systems (AVCS)

    Primary Applications in VACS:

    1. Structural Mode Suppression

      • Aircraft/spacecraft structures have multiple resonant modes
      • Notch filters prevent control system from exciting these modes
      • Typically placed at frequencies of flexible modes (e.g., 5-100 Hz)
    2. Rotor/Engine Vibration Control

      • Helicopter rotor systems: 1/rev, 2/rev, N/rev harmonics
      • Turbine engines: blade passing frequencies
      • Notch filters target specific harmonic frequencies
    3. Precision Equipment Isolation

      • Semiconductor manufacturing equipment
      • Optical tables and electron microscopes
      • Remove building vibrations at known frequencies (e.g., HVAC at 50/60 Hz)

    Typical VACS Implementation:

    Disturbance → Plant → Sensor → Notch Filter → Controller → Actuator
                    ↑                                              ↓
                    └──────────────────────────────────────────────┘
    

    Key Design Considerations for VACS:

    1. Multiple Notches

      • VACS often use cascaded notch filters
      • Target multiple structural modes or harmonics
      • Example: 1st bending mode at 15 Hz, 2nd at 45 Hz, 3rd at 90 Hz
    2. Adaptive Features

      • Frequency tracking for varying rotor speeds
      • Self-tuning based on vibration measurements
      • Critical for helicopter/turbine applications
    3. Phase Compensation

      • Notch filters add phase lag
      • May require lead compensators to maintain stability margins
      • Important near crossover frequency

    Example: Helicopter VACS

    A typical helicopter active vibration control system might use:

    • Primary notch: N/rev frequency (N = number of blades)
    • Secondary notches: 2N/rev, 3N/rev harmonics
    • Adaptive tracking: Follows rotor RPM variations
    • Q factor: 5-10 (balance between effectiveness and robustness)

    Performance Benefits:

    • 80-90% vibration reduction at target frequencies
    • Improved passenger comfort
    • Reduced structural fatigue
    • Extended component life

    Is this the type of VACS application you're working with? I can provide more specific details for your particular vibration control scenario.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.