Hobby Electronics Basics Multiple Input Pull-down

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Multiple Input Pull-down FyberOptic 09-22-08
Posted by FyberOptic on September 22, 2008, 3:34 am
Please log in for more thread options


I'm having a bit of a quandary. Since I'm still somewhat of a
beginner, I hope somebody more experienced can help me out!

I have three TTL logic chips, with one input on each one all connected
together to a single input signal. When that main signal wire is
connected to ground, the logic chip signals are all low as expected.
When I remove the ground connection though, they seem to all go high
on their own without being connected anywhere (aside from to each
other). This isn't my problem exactly, but I'm curious if someone can
explain it.

So I need a pull-down on that main input signal to keep the inputs
it's connected to forced low unless a high is explicitly introduced.
The main input signal itself will be connected to a pin coming out of
a chip elsewhere, which is switchable between being an input and
output. At startup, that pin is an input, so it's not outputting a
low like I want, hence the need for a pull-down.

Where the actual problem comes in is that when I add a "normal" pull-
down resistor value between the input signal and the ground, it
behaves as if it's not connected to ground at all. I've tried a few
different ones, from 100k, to 50k (didn't have a 47k), down to 4.7k.
I couldn't figure it out. Then finally I tried a 1k, and it seems to
properly pull it down low. Keep in mind that this isn't even
currently connected to the other chip I mentioned which will default
to an input at startup, this is just the input signal being connected
to ground or left floating. Is having to use such a low pull-down
resistor because I have three inputs connected together? Is there a
resistance inside the IC I'm not taking into account when connecting
it up like this? My assumption is that a "normal" 10k-47k pulldown
value assumes only a single input is being connected to. A possible
worry I have though is that the 1k resistor is kind of low and could
be wasting power (since it will be able to run from batteries), but I
dunno.

I'd appreciate any light anyone can shed on how these things work!


Posted by Jasen Betts on September 22, 2008, 4:43 am
Please log in for more thread options



> Where the actual problem comes in is that when I add a "normal" pull-
> down resistor value between the input signal and the ground, it
> behaves as if it's not connected to ground at all. I've tried a few
> different ones, from 100k, to 50k (didn't have a 47k), down to 4.7k.
> I couldn't figure it out. Then finally I tried a 1k, and it seems to
> properly pull it down low.

10K for a normal TTL pull down, but with three inputs involved you
might need 1/3 of that or 3.3K

also the TTL thresholds are near grouind so you need to pull harder to
go down that you do to go up.

> A possible worry I have though is that the 1k resistor is kind of low
> and could be wasting power (since it will be able to run from
> batteries), but I dunno.

if it's to be battery operated, CMOS might be a better choice than TTL.


--

Bye.
Jasen

Posted by John Larkin on September 22, 2008, 11:51 am
Please log in for more thread options



>
>> Where the actual problem comes in is that when I add a "normal" pull-
>> down resistor value between the input signal and the ground, it
>> behaves as if it's not connected to ground at all. I've tried a few
>> different ones, from 100k, to 50k (didn't have a 47k), down to 4.7k.
>> I couldn't figure it out. Then finally I tried a 1k, and it seems to
>> properly pull it down low.
>
>10K for a normal TTL pull down, but with three inputs involved you
>might need 1/3 of that or 3.3K


More like 330 ohms for classic TTL, 1/3 of that for three in parallel.
10K is OK for CMOS.

A single HCMOS buffer, ideally a Schmitt, in front of his TTL would be
a good fix.

John





Posted by Jon Slaughter on September 22, 2008, 8:05 am
Please log in for more thread options



> I'm having a bit of a quandary. Since I'm still somewhat of a
> beginner, I hope somebody more experienced can help me out!
>
> I have three TTL logic chips, with one input on each one all connected
> together to a single input signal. When that main signal wire is
> connected to ground, the logic chip signals are all low as expected.
> When I remove the ground connection though, they seem to all go high
> on their own without being connected anywhere (aside from to each
> other). This isn't my problem exactly, but I'm curious if someone can
> explain it.
>

It's called floating. The state is usually undefined but because of unknown
factors it could set it to either state. That or internally there is a
pullup.

(are you sure it's continuously high and not toggling back and forth very
rappidly?)

> So I need a pull-down on that main input signal to keep the inputs
> it's connected to forced low unless a high is explicitly introduced.
> The main input signal itself will be connected to a pin coming out of
> a chip elsewhere, which is switchable between being an input and
> output. At startup, that pin is an input, so it's not outputting a
> low like I want, hence the need for a pull-down.
>
> Where the actual problem comes in is that when I add a "normal" pull-
> down resistor value between the input signal and the ground, it
> behaves as if it's not connected to ground at all. I've tried a few
> different ones, from 100k, to 50k (didn't have a 47k), down to 4.7k.
> I couldn't figure it out. Then finally I tried a 1k, and it seems to
> properly pull it down low. Keep in mind that this isn't even
> currently connected to the other chip I mentioned which will default
> to an input at startup, this is just the input signal being connected
> to ground or left floating. Is having to use such a low pull-down
> resistor because I have three inputs connected together? Is there a
> resistance inside the IC I'm not taking into account when connecting
> it up like this? My assumption is that a "normal" 10k-47k pulldown
> value assumes only a single input is being connected to. A possible
> worry I have though is that the 1k resistor is kind of low and could
> be wasting power (since it will be able to run from batteries), but I
> dunno.
>

My bet is that there is an internal pullup. By adding your pulldown it works
in parallel resulting in a voltage divider.

> I'd appreciate any light anyone can shed on how these things work!

What is the logic family? (e.g. what is the numbers on the chips)

Some chip families work better than others.

As Jasen mentioned, I'd end up using some form of low power cmos rather than
bipolar. You need to choose the right family if you are worried about power
loss. Some families are high speed which you might not need.

In any case the cmos families(or equivalents) are usually a direct
replacement so there is not that big a deal. (there are a few issues with
have to do with thresholds but I doubt you'll have those problems)

If I were you I'd probably look at a few alternatives to bipolar.

http://en.wikipedia.org/wiki/7400_series

somewhere there is also a chart that shows the power consumption
differences.



Posted by John Fields on September 22, 2008, 9:07 am
Please log in for more thread options


On Mon, 22 Sep 2008 00:34:33 -0700 (PDT), FyberOptic

>I'm having a bit of a quandary. Since I'm still somewhat of a
>beginner, I hope somebody more experienced can help me out!
>
>I have three TTL logic chips, with one input on each one all connected
>together to a single input signal. When that main signal wire is
>connected to ground, the logic chip signals are all low as expected.
>When I remove the ground connection though, they seem to all go high
>on their own without being connected anywhere (aside from to each
>other). This isn't my problem exactly, but I'm curious if someone can
>explain it.

---
View in Courier.

One of the gates in a 7400 2-input NAND looks like this, with the inputs
typically being the same for the entire 74XX TTL family.


Vcc>---------+--------+------+
| | |
| | [130]
[4k] [1.6K] |
| | C
| +----B Q3
| | E
B C |
A>----+--E E C----B Q2 [DIODE]
| | Q1 E |K
B>----|----+ | +----->Y
|K | | |
[DIODE] | | C
| |K +----B Q4
| [DIODE] | E
| | [1K] |
| | | |
GND>--+----+----------+------+

Note that when A and B float, the 4k resistor will allow current into
the base of Q2 through the collector-base diode of Q1.

That current turns Q2 on, which in turn turns Q3 off and Q4 on, forcing
the output, Y, low.

In order to turn Q2 off, either A or B must be pulled close enough to
ground to turn Q1 on, thereby grounding the base of Q2 through Q1,
turning it off.

However, using high-value resistors to pull the inputs down to ground
won't let the emitters of Q1 get close enough to ground to turn Q2 off.
---

>So I need a pull-down on that main input signal to keep the inputs
>it's connected to forced low unless a high is explicitly introduced.
>The main input signal itself will be connected to a pin coming out of
>a chip elsewhere, which is switchable between being an input and
>output. At startup, that pin is an input, so it's not outputting a
>low like I want, hence the need for a pull-down.
>
>Where the actual problem comes in is that when I add a "normal" pull-
>down resistor value between the input signal and the ground, it
>behaves as if it's not connected to ground at all. I've tried a few
>different ones, from 100k, to 50k (didn't have a 47k), down to 4.7k.
>I couldn't figure it out. Then finally I tried a 1k, and it seems to
>properly pull it down low. Keep in mind that this isn't even
>currently connected to the other chip I mentioned which will default
>to an input at startup, this is just the input signal being connected
>to ground or left floating. Is having to use such a low pull-down
>resistor because I have three inputs connected together? Is there a
>resistance inside the IC I'm not taking into account when connecting
>it up like this?

---
Yes; see the circuit description above.
---
>My assumption is that a "normal" 10k-47k pulldown
>value assumes only a single input is being connected to. A possible
>worry I have though is that the 1k resistor is kind of low and could
>be wasting power (since it will be able to run from batteries), but I
>dunno.
>
>I'd appreciate any light anyone can shed on how these things work!

---
An easy solution would be to reverse the polarity of the I/O output and
to use an inverter between the I/O and the three inputs you've got
connected together.

JF

Similar ThreadsPosted
Multiple Input Rectifier April 12, 2005, 8:24 pm
Multiple Input Pull-down September 22, 2008, 3:34 am
4 input NAND w/ 2 input NANDs? September 20, 2005, 4:21 pm
MULTIPLE LED HELP! May 2, 2006, 6:49 pm
multiple VDD pins June 18, 2007, 12:05 am
Multiple Voltage Sources? July 10, 2006, 1:58 pm
Are multiple amplifier stages better than one ??? September 9, 2008, 11:08 am
multiple groupe join November 2, 2008, 7:19 am
Matching brightness across multiple 7-seg LED displays October 6, 2004, 11:15 am
wiring multiple leds - pc modding May 18, 2005, 3:51 pm
connecting multiple 48v phamon power June 16, 2005, 12:54 am
4017 driving multiple LEDs January 12, 2006, 11:22 am
Detecting Multiple Switches Remotely June 19, 2006, 12:08 pm
Digital to multiple analog conversion September 12, 2006, 1:44 pm
Connecting multiple mics to a preamp? January 9, 2007, 2:10 pm