Electronics question: Odd use of AND Gate?

Jeff7

Lifer
Jan 4, 2001
41,599
19
81
Maybe too general for General Hardware, not technical enough for Highly Technical. So here it is.

An eval board schematic (PDF, pg13) I'm looking at for the ADE7753 shows some AND gates inserted into some data lines - except each gate has both of its input pins tied together. They're tied right together on the PCB layout as well, without any kind of crazy routing paths.

Are they acting as some kind of noise filter, or an intentional source of propagation delay, or what? The only mention of them in the text is in the Bill of Materials.
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
those are buffers. they are useful if you need to drive a heavier load or in this case when interfacing circuits that may not be 100% compatible when it comes to current sourcing and sinking capabilities. doesn't look like delay comes into play here.
 

rockyct

Diamond Member
Jun 23, 2001
6,656
32
91
I think it's a delay like you say, but really not that sure.

edit: nm, guy above sounds right.
 

PottedMeat

Lifer
Apr 17, 2002
12,365
475
126
yeah, buffers. the ade7753 logic outputs can only sink 0.8ma ( one 7ma )/source 5ma, the 74HC08 will source/sink 25mA. they just want to drive the optocoupler diodes a little harder than the 7753 alone.
 

bruceb

Diamond Member
Aug 20, 2004
8,874
111
106
Actually, it is working as a Logic Inverter ... old trick for designers so as not to need another chip just to change from a 1 to 0 or vice versa. All you need to do is know how the logic tables work. For an AND Gate, both Inputs must be a "1" for the Ouput to be a "1" ... If either input is a "0" output will be a "0" .. So when both inputs are tied, whatever comes in, comes out the opposite (and this will work with just about any type of gate OR / NAND / AND / NOR )
 

her209

No Lifer
Oct 11, 2000
56,352
11
0
Actually, it is working as a Logic Inverter ... old trick for designers so as not to need another chip just to change from a 1 to 0 or vice versa. All you need to do is know how the logic tables work. For an AND Gate, both Inputs must be a "1" for the Ouput to be a "1" ... If either input is a "0" output will be a "0" .. So when both inputs are tied, whatever comes in, comes out the opposite (and this will work with just about any type of gate OR / NAND / AND / NOR )
I think you need to look at the logic tables for an AND gate again.
 

bruceb

Diamond Member
Aug 20, 2004
8,874
111
106
It works for any gate ... OR .. NOR .. AND .. NAND
except XOR / XNOR
See the link above ... The only change internally is
wether the gate has a builtin inverter on the output.
An OR or AND gate outputs a "1"
An NOR or NAND gate outputs a "0"
In either case if the Inputs are tied together, it will function as an Inverter

 
Last edited:

PottedMeat

Lifer
Apr 17, 2002
12,365
475
126
uh all the links you've posted say

Buffer:
0 AND 0 = 0
1 AND 1 = 1

Inverter:
0 NAND 0 = 1
1 NAND 1 = 0
 

her209

No Lifer
Oct 11, 2000
56,352
11
0
It works for any gate ... OR .. NOR .. AND .. NAND
except XOR / XNOR
See the link above ... The only change internally is
wether the gate has a builtin inverter on the output.
An OR or AND gate outputs a "1"
An NOR or NAND gate outputs a "0"
In either case if the Inputs are tied together, it will function as an Inverter
Methinks you're confused. The inverting is done by the inverter, i.e., the NOT gate. Inverting is not done simply because both inputs are tied together and the truth tables clearly show that.
 

bruceb

Diamond Member
Aug 20, 2004
8,874
111
106

Born2bwire

Diamond Member
Oct 28, 2005
9,840
6
71
Wrong. When the inputs are tied together, the output is ALWAYS opposite of the Input. What has been done is create what engineers call a NOT Gate

Better explanation here, since you do not seem to understand.

http://www.allaboutcircuits.com/vol_4/chpt_3/9.html

Start at Page 01 and read thru it. If you don't believe, test it yourself with a breadboard and a logic probe.

http://www.electronics-tutorials.ws/logic/logic_1.html

http://www.electronics-tutorials.ws/logic/logic_5.html

That would only be true if the logic gate is a NAND or a NOR. Tying the inputs together on an AND or OR gate makes it act like a buffer.

You should note that the circle on the output pin of a gate indicates that it is of the NOT output type. That is, an AND gate with a circle on the output is a NAND gate. It is the same as feeding the output of an AND gate into an inverter. Since tying the inputs together makes an AND/OR a buffer, placing an inverter in line with the output changes it from a buffer to an inverter.

We often work with NAND and NOR gates because they use fewer transistors than an AND/OR gate. In addition, these gates are also universal as a combination of themselves can be used to reproduce the NOT, AND or OR operators. AND and OR cannot do this as they cannot reproduce a NOT operator.
 
Last edited:

Jeff7

Lifer
Jan 4, 2001
41,599
19
81
Ok, makes sense. I'd seen buffers before, at least in schematic form; I'd never seen an AND gate used in this fashion before. (And the optocouplers I'm accustomed to using are rated for 5mA on the LED side anyway.)
It's probably good to have the gates in there though.


Wrong. When the inputs are tied together, the output is ALWAYS opposite of the Input. What has been done is create what engineers call a NOT Gate
Um...if the incoming signal is logic 1, and it gets split to both inputs of an AND gate, you'll get logic 1 out.
If the incoming signal is logic 0, and it gets split, you'll get logic 0 out.
Doesn't sound like inversion to me.


Better explanation here, since you do not seem to understand.
I guess count me in too.
Input of 1 yields output of 1.
Input of 0 yields output of 0.

Again, I'm not seeing the inversion.
 

Adul

Elite Member
Oct 9, 1999
32,999
44
91
danny.tangtam.com
Wrong. When the inputs are tied together, the output is ALWAYS opposite of the Input. What has been done is create what engineers call a NOT Gate

Better explanation here, since you do not seem to understand.

http://www.allaboutcircuits.com/vol_4/chpt_3/9.html

Start at Page 01 and read thru it. If you don't believe, test it yourself with a breadboard and a logic probe.

http://www.electronics-tutorials.ws/logic/logic_1.html

http://www.electronics-tutorials.ws/logic/logic_5.html

Maybe you need to rethink this, it isnt that difficult.

Whether or not you tie the pins together, if you provide a 1 on the inputs you get a 1 on the output. The only inversion is done is with a nand and nor gate.
 
Last edited:

Number1

Diamond Member
Feb 24, 2006
7,881
549
126
Wrong. When the inputs are tied together, the output is ALWAYS opposite of the Input. What has been done is create what engineers call a NOT Gate

Better explanation here, since you do not seem to understand.

http://www.allaboutcircuits.com/vol_4/chpt_3/9.html

Start at Page 01 and read thru it. If you don't believe, test it yourself with a breadboard and a logic probe.

http://www.electronics-tutorials.ws/logic/logic_1.html

http://www.electronics-tutorials.ws/logic/logic_5.html


There is something you're not getting and you are WRONG. An and gate does not invert the signal.
 

arcenite

Lifer
Dec 9, 2001
10,658
3
81
Bruce, I really want to be wrong so I can learn something...but

0 AND 0 = 0
1 AND 1 = 1
 

DanFungus

Diamond Member
Jul 27, 2001
5,857
0
0
Come on guys, this is very logical:



The circuit just knows if the lines are tied together
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |