Troubleshooting signal oscillation in a low-power comparator circuit

I’ve been working on a threshold-detection circuit using a standard low-power comparator, but I’m running into an annoying issue with oscillation right at the trip point. I’ve added a modest amount of hysteresis using a feedback resistor, but it doesn't seem to be fully resolving the "chatter" when the input signal is slow-moving.

Analyzing the Hysteresis Thresholds The input signal is coming from a sensor with a relatively high source impedance. I suspect the oscillation is being triggered by a combination of the input bias current and some stray feedback noise on the PCB.

Determining Hysteresis Width: How do you guys calculate the optimal hysteresis for low-power applications? I want to avoid adding too much current draw, but I need enough of a "buffer" to prevent the output from toggling rapidly. Filtering Strategies: Would adding a small capacitor in parallel with the feedback resistor help stabilize the switching, or does that create too much of a delay in the output response? Component Influence I've modeled the basic topology in CircuitLab, but the ideal comparator models don't really capture the propagation delay variations that seem to be causing this jitter. Has anyone found a better way to simulate real-world noise sensitivity in these basic threshold circuits?

Environmental impact on testing To complicate things, the weather in my area has been extremely unstable lately. We’re dealing with major pressure drops and high humidity, and I’ve noticed my test bench is surprisingly sensitive to these changes.

The humidity seems to be slightly affecting the leakage paths on the board, which is drifting my reference voltage just enough to make the threshold inconsistent. I’ve been constantly recalibrating the circuit every few hours because the ambient conditions are shifting. It’s definitely a reminder that high-precision sensing is as much about controlling the environment as it is about the circuit design itself.

Seeking advice If anyone has experience with stabilizing comparator circuits in high-impedance, high-humidity environments, I’d love to hear your approach. Are there specific layout techniques or guarding strategies you use to isolate the reference node from these environmental variables?

Any advice or suggestions would be greatly appreciated. https://thoitiethomnay.org/

by thoitiethomnayorg4
August 07, 2026

For a slow-moving sensor signal, comparator chatter is often best addressed by setting the hysteresis width based on the expected input noise rather than simply increasing feedback arbitrarily. A useful starting point is to make the hysteresis several times larger than the peak-to-peak noise around the switching threshold, while checking the resulting current consumption and response time. With a high-impedance sensor, also consider input bias-current effects, PCB leakage, grounding, and capacitive coupling from the output. A small capacitor can help filter high-frequency noise, but placing it directly across the feedback resistor changes the feedback dynamics and may introduce an undesirable switching delay, so testing different values in simulation and on the actual PCB is important. For additional context on practical design choices, the same principle of balancing stability, response, and material characteristics can be seen in product design, such as the carefully considered construction of round dining tables https://artdeimarmi.com/collections/round-dining-tables, where geometry and material selection influence overall performance and usability.

by salvimkelvot234
1 hour, 21 minutes ago
Add comment...

Please sign in or create an account to comment.


1 Answer

Answer by fourthquiet

What a fantastic breakdown of the clock chime circuit! I love how you illustrated each component’s role. Driving Directions This will definitely help beginners grasp timing mechanisms in electronics better. Keep it up!

+1 vote
by fourthquiet
August 11, 2026
Add comment...

Please sign in or create an account to comment.


Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account


Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers


Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.


About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.