Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Introduce an hysteresis without PCB redesign...

Status
Not open for further replies.

flote21

Advanced Member level 1
Advanced Member level 1
Joined
Jan 22, 2014
Messages
405
Helped
1
Reputation
2
Reaction score
3
Trophy points
1,298
Activity points
5,538
Hello guys!

The schematic attached is a PCB design where the comparator is ON when the Vin+ > Vin-. However the Vin+ voltage oscillates +-200mV and I am wondering if it is possible to set an hysteresis avoying a PCB redesign...Any idea?

1604512229625.png


Thanks in advance.

Greetings
 

KlausST

Super Moderator
Staff member
Advanced Member level 7
Joined
Apr 17, 2014
Messages
23,502
Helped
4,758
Reputation
9,537
Reaction score
5,172
Trophy points
1,393
Activity points
155,873
Hi,

as usual: a feedback from output to noninverting input.

Your source impedance at IN+ is 866 Ohms.
to pull it by 200mV you need a current of 230uA
(Ohm´s law)

Your output voltage range is 15V.
You need a "pull" resistor of 65k to cause 230uA.
(Ohm´s law)
reduce it by the already installed 10k pullup --> 55k
("minus" calculation)

****************
But I see you use 15V as reference.. so the +/-200mV will be caused by 15V fluctuations.
So the simplest way is to use the already installed LM4050. It avoides fluctuations at IN+.

****************

Klaus
 

FvM

Super Moderator
Staff member
Advanced Member level 7
Joined
Jan 22, 2008
Messages
51,217
Helped
14,653
Reputation
29,584
Reaction score
13,797
Trophy points
1,393
Location
Bochum, Germany
Activity points
292,751
If you don't consider patching a resistor between U5.1 and U5.3 a "redesign", it's feasible.

The circuit shows arbitrary design variations, e.g. not using U6 reference. Why? Why not at least filtering the reference voltage?
 

flote21

Advanced Member level 1
Advanced Member level 1
Joined
Jan 22, 2014
Messages
405
Helped
1
Reputation
2
Reaction score
3
Trophy points
1,298
Activity points
5,538
Hi!
Thanks a lot for your quick replies.
But I made a mistake. The oscillations are produced in Vin- (not in Vin+ as I said previously). Therefore, the scenario changes and I need to create an hysteresis in the comparator of the 400mV (aprox.) to avoid a continuous relay switching.
Greetings
 

KlausST

Super Moderator
Staff member
Advanced Member level 7
Joined
Apr 17, 2014
Messages
23,502
Helped
4,758
Reputation
9,537
Reaction score
5,172
Trophy points
1,393
Activity points
155,873
Hi,

The optocoupler control is (quasi) analog.
Why not clear switching?

Klaus
 

flote21

Advanced Member level 1
Advanced Member level 1
Joined
Jan 22, 2014
Messages
405
Helped
1
Reputation
2
Reaction score
3
Trophy points
1,298
Activity points
5,538
You mean placing a rc filter at the optocoupler output for example? But I will need to do a PCB redesign then..
 

FvM

Super Moderator
Staff member
Advanced Member level 7
Joined
Jan 22, 2008
Messages
51,217
Helped
14,653
Reputation
29,584
Reaction score
13,797
Trophy points
1,393
Location
Bochum, Germany
Activity points
292,751
You didn't answer if patching a feedback resistor is acceptable.
 

flote21

Advanced Member level 1
Advanced Member level 1
Joined
Jan 22, 2014
Messages
405
Helped
1
Reputation
2
Reaction score
3
Trophy points
1,298
Activity points
5,538
You didn't answer if patching a feedback resistor is acceptable.
I would need to do a PCB redesign...but if there are not other choices.
Greetings
 

Easy peasy

Advanced Member level 6
Advanced Member level 6
Joined
Aug 15, 2015
Messages
4,395
Helped
1,382
Reputation
2,764
Reaction score
1,792
Trophy points
1,393
Location
Melbourne
Activity points
24,455
a resistor from Comp o/p pin to the (+) pin will provide all the hys you need, typ choose 100x the resistance seen from the (+) pin for ~ 1% hysteresis ....
--- Updated ---

about 100k in this case ...
 

    flote21

    Points: 2
    Helpful Answer Positive Rating

KlausST

Super Moderator
Staff member
Advanced Member level 7
Joined
Apr 17, 2014
Messages
23,502
Helped
4,758
Reputation
9,537
Reaction score
5,172
Trophy points
1,393
Activity points
155,873
Hi,

You didn't anser my post#5. Instead you started a new thread which obviously belong to the same circuit.

...depends on the answer to post#5:
Instead of reducing VRef, you could increas the value of R41..with similar effect.

Klaus
 

flote21

Advanced Member level 1
Advanced Member level 1
Joined
Jan 22, 2014
Messages
405
Helped
1
Reputation
2
Reaction score
3
Trophy points
1,298
Activity points
5,538
Hi! KlausST!
I want to avoid to do a PCB redesign. So your solution is acceptable but I want to know if there are other options...
Regarding to the other thread. Yes I started another thread to avoid mix topics. With this thread I want to focus on the hysteresis solution and with the other one, I want to discuss the voltage reference solution.
Finally when I increase the value R41, the effect on the simulation is like increasing the gain. therefore the noise is also increased...I prefer to reduce the Vref...I made some test on the lab and reducing Vref until 0.5V with the same R41(2.2K) gives me good results...But I will need anyway to think a hysteresis solution...
Greetings.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top