Comparator Hysteresis RechnerFormel

## Comparator Hysteresis

Positive feedback adds hysteresis to prevent output chatter on noisy signals.

### Formulas

**V_upper = V_ref + (V_out_high - V_ref) x R2 / (R1 + R2)**

**V_lower = V_ref - V_ref x R2 / (R1 + R2)**

**Hysteresis = V_out_high x R2 / (R1 + R2)**

Lösungsbeispiel

Vref = 2.5 V, output swings to 5 V, R1 = 100k, R2 = 10k.

  1. Upper = 2.5 + (5 - 2.5) x 10/110 = 2.5 + 0.227 = 2.727 V
  2. Lower = 2.5 - 2.5 x 10/110 = 2.5 - 0.227 = 2.273 V
  3. Hysteresis = 5 x 10/110 = 0.455 V