Re: comparator with two analog switches

Liste des GroupesRevenir à se design 
Sujet : Re: comparator with two analog switches
De : erichpwagner (at) *nospam* hotmail.com (piglet)
Groupes : sci.electronics.design
Date : 25. Apr 2025, 22:38:48
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vugvd8$smnp$1@dont-email.me>
References : 1
User-Agent : NewsTap/5.5 (iPhone/iPod Touch)
Christopher Howard <christopher@librehacker.com> wrote:
Hi, I am building a little 70's style analog computer, mainly for
learning purposes. For the most part I've been able to follow the
Grappendorf project schematics, but that project does not include
schematics for a comparator. I looked at the Anabrid THAT design
schematics, and I was going to make something based off that; however,
the Anabrid design uses Schmitt-Trigger inverters, which requires 5V
supply, and I was hoping not to have to mess around with 5V, everything
else in my system requiring only a +/- 15V. So, I was wondering if I
maybe I could get rid of the Schmitt-Trigger inverters from the design
and get by with just use op amps instead, like so:
 
http://gem.librehacker.com/gemlog/starlog/img/2025/20250425_comparator.jpg
 
But when I try to build this, I've seen various strange results from the
switches, like it getting stuck with seemingly one switch stuck open and
one stuck close. I've done various bits of troubleshooting, but haven't
got to the bottom of it yet. Is there something fundamentally wrong with
the design? Maybe the Schmitt-Triggers are critical for some reason...?
(Hysteresis?) I wonder if maybe I might have damaged the switches, so
that might be it, but I can't afford to order more right now.
 

Those DG212 switches have cmos control inputs which need driving to 0v and
5V and not allowed to float to intermediate levels. Those diodes prevent
the inputs being driven negative but do not stop the input floating higher
so really need a pulldown resistor. Alternatively just omit them and ensure
the series resistor is high enough that when the op amps outputs hit either
supply rail the current is limited through the DG212 input protection
diodes. The device needs a 5V logic level supply but the current demand is
very low and a simple resistor dropper from the system 15v rail with 5.1v
zener should be enough. Comparators nearly always benefit from having
hysteresis even if only a tiny bit. Not all op amps work as comparators.

--
piglet

Date Sujet#  Auteur
25 Apr 25 * comparator with two analog switches9Christopher Howard
25 Apr 25 +* Re: comparator with two analog switches6Edward Rawde
25 Apr 25 i+* Re: comparator with two analog switches4Christopher Howard
25 Apr 25 ii`* Re: comparator with two analog switches3Edward Rawde
28 Apr 25 ii `* Re: comparator with two analog switches2Christopher Howard
29 Apr 25 ii  `- Re: comparator with two analog switches1Edward Rawde
25 Apr 25 i`- Re: comparator with two analog switches1john larkin
25 Apr 25 +- Re: comparator with two analog switches1piglet
25 Apr 25 `- Re: comparator with two analog switches1JM

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal