That's not really true though. You can build a very reliable RS flip flop with just a single LM324, a few resistors and a capacitor. And it's been very useful. I've used it as a fail-safe switch in numerous circuits and haven't had a single failure.Seems like a lot of work for something of complex structure, very poor performance and limited use.![]()
Hi,I can see one advantage of using OpAmps/Comparators in a logic application, much higher
noise margin can be designed into the circuit. More precise switching thresholds as well.
This topic is an interesting thread.
Regards, Dana.
LOL.Hi,
[sarcasm ON]
Yes it would be great to see modern CPU's turn to using op amps for all their internal logic.
We'd see CPU top speeds of at least 10kHz and taking up enough real estate to cover an entire motherboard.
[sarcasm OFF]
I realize this is just a joke but it does help to raise a very important distinction. If you're mass-producing a circuit for example and have already calculated all of the required tolerances for everything then it obviously makes sense to keep things specific. On the other hand, situations where you just need things to work reliably without much fuss, using op amps for general purpose building blocks can be a very useful technique to keep things simple.Hi,
[sarcasm ON]
Yes it would be great to see modern CPU's turn to using op amps for all their internal logic.
We'd see CPU top speeds of at least 10kHz and taking up enough real estate to cover an entire motherboard.
[sarcasm OFF]
Exactly. I remember working with some logic chips I kept having these difficulties like where the chip would malfunction if my hand came too close to the chip (some sort of static charge sensitivity I suppose) or if the chip was place too close to a warm component or what have you. Major pain in the arse.I can see one advantage of using OpAmps/Comparators in a logic application, much higher
noise margin can be designed into the circuit. More precise switching thresholds as well.
This topic is an interesting thread.
Regards, Dana.
[sarcasm OFF][sarcasm ON]
Yes it would be great to see modern CPU's turn to using op amps for all their internal logic.
We'd see CPU top speeds of at least 10kHz and taking up enough real estate to cover an entire motherboard.
[sarcasm OFF]
Perhaps.So yes, you could just use logic chips but in my very limited experience at least they just seem to be a lot more fickle, requiring much more careful set up than say a simple op amp based circuit.
Sounds like a floating input on a CMOS gate.the chip would malfunction if my hand came too close to the chip (some sort of static charge sensitivity I suppose)
Well I paid less than a nickle apiece for the LM324's (4 op amps per chip) and a fraction of a cent for each passive part. Pretty sure a single CD4001 would cost me about ten times as much. In any case though, neither option works out to be too expensive, so...The passive parts required for the opamp circuit likely cost more than the opamp.![]()
Well I wouldn't advocate it for high-speed applications for sure. But more space? I don't know about that. I've got some really tiny surface-mount op-amp chips and resistors that could be used to implement my flip flop in a space smaller than a human fingernail. As far as power consumption, the design I submitted consumes so little power that I couldn't even measure it with my multimeter. (And could easily be configured to consume much less if desired). And again, I have incorporated this into multiple circuits and found it to be quite useful.Just because you CAN make some logic elements from opamps does not make it a good idea. For starters, cmos logic is perhaps a thousand times faster than inexpensive opamps, and it uses far less power. AND, BUILDING LOGIC THAT WAY TAKES UP A LOT MORE ROOM. So while it would certainly be an interesting science fair effort, I really don't see any practical motivation to go in that direction. So the combination of much more complexity, much slower speed, and much greater power consumption should steer one away from this sort of interesting idea.
These are the circuits that I've designed for myself, and the purpose behind them was making a Frequency Divider. These are just a few examples, and I think you can change them.another one & better
![]()
If you find digital logic ICs to be "fickle" then you're doing something VERY wrong. Used properly, following a few very simple rules, they're rock-solid.So yes, you could just use logic chips but in my very limited experience at least they just seem to be a lot more fickle, requiring much more careful set up than say a simple op amp based circuit.
I concur with @crutschow: that's what happens when you leave unused logic gate inputs unconnected. And in my experience with using logic chips, that's about the ONLY time it ever happens.I remember working with some logic chips I kept having these difficulties like where the chip would malfunction if my hand came too close to the chip (some sort of static charge sensitivity I suppose) or if the chip was place too close to a warm component or what have you. Major pain in the arse.
I think it was Dick (Cappels) who helped me out on that one, and yes, I do believe it was a floating input.If you find digital logic ICs to be "fickle" then you're doing something VERY wrong. Used properly, following a few very simple rules, they're rock-solid.
I concur with @crutschow: that's what happens when you leave unused logic gate inputs unconnected. And in my experience with using logic chips, that's about the ONLY time it ever happens.