Designing Comparator Circuits with 2 Different Thresholds

  • Thread starter Thread starter likephysics
  • Start date Start date
  • Tags Tags
    Comparator
AI Thread Summary
The discussion focuses on designing a comparator circuit with two distinct switching thresholds using a triangle wave signal. The user is attempting to implement thresholds of Vth+ = 3V, Vth- = 1V and Vth+ = 8V, Vth- = 3V, but is facing challenges with the reference voltage affecting both levels simultaneously. They experimented with a T network in the hysteresis feedback, where the grounded resistor configuration changes based on the threshold set, but still struggle with the mathematical analysis of the T network. An alternative suggestion is to use three comparators for each threshold level, integrating hysteresis through a digital logic finite state machine to simplify the design. The conversation highlights the complexities of comparator design and potential solutions to achieve the desired functionality.
likephysics
Messages
638
Reaction score
4
I am trying to design a comparator which is required to have 2 different switching thresholds.

The comparator +ve input is connected to a signal source (triangle wave). The -ve is connected to a reference voltage.

The first threshold will be say Vth+ = 3V and Vth- = 1V
and second threshold Vth+ = 8V and Vth-= 3V

I tried changing the reference voltage. But both levels either go up or down.
I added a T network in the hysteresis feedback network. The grounded resistor in t network would be open for the first set of threshold and it would be grounded for the second set. It helps a bit. I can't figure out the math of t network.

Any other ideas?
 
Engineering news on Phys.org
The easiest way is to allocate 3 comparators at each threshold reference level and do the hysteresis in a digital logic finite state-machine. That eliminates the variability and complexity of feedback loops and delays.
 
Can you show us your circuit?
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top