by replacing the op amp with a comparator
I can imagine, but I must say. Those comments are very helpful when you aren't that experiencedHi,
I don´t know how often I told in this forum:
* If you want a comparator function (output is either HIGH or LOW) --> use a comparator
* if you want to amplify a signal (not saturating) --> use an OPAMP
and I also wrote:
* in my eyes an electronics circuit without capacitors is no reliably working circuit (treat it with a grain of salt)
Klaus
I appreciate the tips, Klaus.Hi,
there are two big problems:
* there is so much garbage in the internet.
* unexperienced designers tend to look for "simple solutions". Four components look simple --> so let´s use it.
I can only recommend to use reliable sources of informations. The informations are more complex, but they need to, to descripe the function, giving math, giving other backgorund informations. They tell how to build a reliably working circuit, tell you what to look for. The many pages, the formulas, the terminology .. may be a bit distracting. But the more you are experienced the more you see how important these informations are. For sure - there may be informations not needed for your current appliaction, then ignore them. But you might need to know these infromations for a future project.
Reliable sources are:
* semiconductor manufacturers (datasheets, application notes, design notes, design support, online design tools, online calculators, online simulation..)
* universities
* reputable designers
* schools and their tutorials
...
****
A comment about comparator vs OPAMP:
There are opamps, where the datasheet show example circuits how to use it as comparator. Then there is nothing to say against it.
But mind that only some OPAMPS are able to work as comparators. But other OPAMPs may refuse to work (depending on input signals), some may give the reversed output, some may oscillate, some may even get killed.
Power supply / capacitors:
Many datasheets tell that the IC expects a low impedance (stabilized by capcitors) power supply. I prefer this, even if it is just given as a side note, because it is urgent for reliable operation.
Some datasheets don´t mention this. They expect this information as common sense in electronics design.
In any case:
* I recommend to put a fast (ceramics) capacitor very close to every single power supply pin of every IC.
(In my designs it is not uncommon to have 50+ pieces of 100nF ceramics just for power supply)
* "Very close" in the meaning of very low loop impedance. This means the other leg of the capacitor has also very short connection to the solid GND plane.
* And "solid GND plane" really means "solid", it does not mean "copper pour", where the GND is cut into many pieces.
Klaus
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?