Maker Pro
Maker Pro

latching AND gate

P

Pete

Jan 1, 1970
0
Having problems controlling a AND gate that I want to latch.

Have two inputs I1 and I2

Output to go High when I1 and I2 are high, but once Output is high remain
High until I2 falls to low. (regardless of I1)

If I try to connect the output of the gate to I1 (to provide the high input
when output goes high) strange things happen?

What am I doing wrong?
 
J

John Popelish

Jan 1, 1970
0
Pete said:
Having problems controlling a AND gate that I want to latch.

Have two inputs I1 and I2

Output to go High when I1 and I2 are high, but once Output is high remain
High until I2 falls to low. (regardless of I1)

If I try to connect the output of the gate to I1 (to provide the high input
when output goes high) strange things happen?

What am I doing wrong?

You need more than one gate to perform the AND function and the ORing
of the output with one of the inputs to form a latch.

+---+
I1 ---| |
|AND|---+--- Output
+---| | |
| +---+ |
| +---+ |
| | |---+
+---|OR |
| |--- I2
+---+

Depending on the logic family, you may be able to get away with making
one of the gates with diodes.
 
C

CFoley1064

Jan 1, 1970
0
Subject: latching AND gate
From: "Pete" [email protected]
Date: 4/12/2004 9:43 AM Central Standard Time
Message-id: <[email protected]>

Having problems controlling a AND gate that I want to latch.

Have two inputs I1 and I2

Output to go High when I1 and I2 are high, but once Output is high remain
High until I2 falls to low. (regardless of I1)

If I try to connect the output of the gate to I1 (to provide the high input
when output goes high) strange things happen?

What am I doing wrong?

You're not doing anything wrong -- you need a latch circuit of some kind to go
with your AND gate.

However, if you've only got a CMOS AND gate, and you're willing to suffer the
embarassment of building a cheesy MML (Mickey Mouse Logic) circuit, try this
(view in fixed font or M$ Notepad):

Latching AND Gate (?!@$)
___ ___
I1 o--|___|--o---|___|--.
22K | 22K |
___ | __ |
I2 o--|___|--o---| | |
| 22K |& |---'
'-------------|__|

1/4 4081


Created by Andy´s ASCII-Circuit v1.24.140803 Beta www.tech-chat.de (but not his
fault)

Remember this circuit will latch as you described, but it is slow, doesn't have
noise immunity, and biases the gate input in the linear region, which means it
will use a lot of power. BUT it might get you through. Just don't tell anyone
you got it from me.

Good luck
Not Chris
 
J

John Fields

Jan 1, 1970
0
You need more than one gate to perform the AND function and the ORing
of the output with one of the inputs to form a latch.

+---+
I1 ---| |
|AND|---+--- Output
+---| | |
| +---+ |
| +---+ |
| | |---+
+---|OR |
| |--- I2
+---+

---

+---+
I2 ---| |
|AND|---+--- Output
+---| | |
| +---+ |
| +---+ |
| | |---+
+---|OR |
| |--- I1
+---+

:)
 
J

John Popelish

Jan 1, 1970
0
John said:
---

+---+
I2 ---| |
|AND|---+--- Output
+---| | |
| +---+ |
| +---+ |
| | |---+
+---|OR |
| |--- I1
+---+

:)

Thanks. I'll take all the help I can get. :)
 
S

Seth Koster

Jan 1, 1970
0
Pete said:
Having problems controlling a AND gate that I want to latch.

Have two inputs I1 and I2

Output to go High when I1 and I2 are high, but once Output is high remain
High until I2 falls to low. (regardless of I1)

If I try to connect the output of the gate to I1 (to provide the high input
when output goes high) strange things happen?

What am I doing wrong?

Why not send the output to an OR gate along with I1 and feed that
to the AND gate in place of I1?
 
S

Soeren

Jan 1, 1970
0
Having problems controlling a AND gate that I want to latch.

Have two inputs I1 and I2

Output to go High when I1 and I2 are high, but once Output is high
remain High until I2 falls to low. (regardless of I1)

If I try to connect the output of the gate to I1 (to provide the high
input when output goes high) strange things happen?

What am I doing wrong?

__
I2 O----------| \
| )--+--O Out
I1 O--|>|--+--|__/ |
| |
+---[R]---+

The source at the input I1 may be a factor in determining the size of
the resistor (but 10..100k will probably work).
 
Top