On Feb 4, 1:55=A0pm, Tim Wescott <t...@seemywebsite.com> wrote:
> On Sun, 03 Feb 2008 17:46:02 -0800, Allen Bong wrote:
> > On Feb 4, 9:19=A0am, Tim Wescott <t...@seemywebsite.com> wrote:
> >> On Sun, 03 Feb 2008 16:54:44 -0800, Allen Bong wrote:
> >> > On Feb 4, 2:29=A0am, John Larkin
> >> > <jjlar...@highNOTlandTHIStechnologyPART.com> wrote:
> >> >> On Sun, 3 Feb 2008 08:18:12 -0800 (PST), Chris
> >> >> <cfoley1...@yahoo.com> wrote:
>
> >> >> >On Feb 3, 1:52=A0am, Allen Bong <allenbsf6...@gmail.com> wrote:
> >> >> >> Hi,
>
> >> >> >> Is it possible to construct a simple inverter gate using 1 or 2
> >> >> >> transistors and resistors?
>
> >> >> >> I tried the circuit below but it doesn't work at all.
>
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0VCC
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 +
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0.-.
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| |4K7=
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'-'
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 +----=
--o OUTPUT
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1K_ =A0 =A0 =A0 =A0 |/
> >> >> >> =A0 =A0 =A0 =A0INPUT o-|___|----+---|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 |>
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0.-. =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| | =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 4K7| | =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'-' =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D=3D=3D =A0 =3D=
=3D=3D
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0GND =A0 GND
>
> >> >> >> Allen
>
> >> >> >> (created by AACircuit v1.28.6 beta 04/19/05www.tech-chat.de)
>
> >> >> >You've described a perfect transistor inverter, that should work
> >> >> >for logic level inputs. =A0A couple of things to check:
>
> >> >> >* Make sure you're using an NPN transistor instead of a PNP, a
> >> >> >MOSFET, or something else.
>
> >> >> >* Recheck your wiring, looking particularly at the pinout of the
> >> >> >transistor. =A0It's easy to assume EBC when it's ECB, or vice versa=
..
>
> >> >> >* Use a voltmeter to actually measure the voltage at the input. =A0=
If
> >> >> >you're driving the input from an open collector transistor or gate
> >> >> >output, no current will be injected into the base of your
> >> >> >transistor when your logic level is "high".
>
> >> >> >If you run through these three, the transistor has to be defective.=
> >> >> >Replace it.
>
> >> >> >You've got the right answer right in front of you. =A0Make it work.=
>
> >> >> >Cheers
> >> >> >Chris
>
> >> >> Classic RTL gate: should work.
>
> >> >> But if you used this to drive another such gate, the second gate
> >> >> would serious load down the output voltage of the first one. You
> >> >> could juggle the resistor values to reduce this effect. Like
> >> >> maybe...
>
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0VCC
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 +
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0.-.
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| | 1K=
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'-'
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 +----=
--o OUTPUT
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 10K =A0 =A0 =A0 =A0 |/
> >> >> >> =A0 =A0 =A0 =A0INPUT o-|___|----+---|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 |>
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0.-. =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| | =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0open| | =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'-' =A0 =A0|
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 |
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D=3D=3D =A0 =3D=
=3D=3D
> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0GND =A0 GND
>
> >> >> John- Hide quoted text -
>
> >> >> - Show quoted text -- Hide quoted text -
>
> >> >> - Show quoted text -
>
> >> > Thanks very much Richard, Randy, Chris & John,
>
> >> > The gate was used to replace a 74LS04 TTL inverter used between the
> >> > output of 74LS138 and the LE input of a 74LS373 latch. =A0The clock w=
as
> >> > about 1.8Mhz. =A0During a high the transistor conducts fine but durin=
g
> >> > a low input of short duration, I would not be able to get a high with=
> >> > my logic probe nor the LE is triggered. =A0The Vcc is 5V and the
> >> > transistor is a Japanese 2SC945 general purpose transistor.
>
> >> > I checked with google for a transistor NOT gate and it used 1K at
> >> > collector and 10K for the base and input. =A0There was no resistor
> >> > between Base and Emitter. =A0And I tried that circuit, it doesn't wor=
k
> >> > too. =A0Where can I get the schematics for a RTL or DTL not gate?
>
> >> > TIA and regards,
>
> >> > Allen
>
> >> Plain 'ol transistor circuits can be slooow if you aren't careful. =A0Y=
ou
> >> should either use a smaller (220 ohm?) resistor on the base, or you
> >> should use a 220 in series with a 1k in parallel with a cap --
> >> something between 100pF and 1nF should do, but I refuse to go through
> >> the math in my head.
>
> >> You can get Tiny Logic inverters -- I assume you are purposely avoiding=
> >> surface mount parts?
>
> >> --
> >> Tim Wescott
> >> Control systems and communications
> >>
consultinghttp://www.wescottdesign.com>
> >> Need to learn how to apply control theory in your embedded system?
> >> "Applied Control Theory for Embedded Systems" by Tim Wescott
> >> Elsevier/Newnes,http://www.wescottdesign.com/actfes/actfes.html-Hide
> >> quoted text -
>
> >> - Show quoted text -
>
> > Is this the circuit you have in mind?
>
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0VCC
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0.-.
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| |
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| |1K
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'-'
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
> > =A0 =A0 =A0 =A0 10k =A0 =A0 =A0 +------o
> > =A0 =A0 =A0 =A0 ___ =A0 =A0 |/
> > =A0 =A0 =A0o-|___|-+ -|
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0|>
> > =A0 =A0 =A0 =A0 =A0 =A0 .-. =A0 |
> > =A0 =A0 =A0 =A0 =A0 =A0 | | =A0 |
> > =A0 =A0 =A0 =A0 =A0220| | =A0=3D=3D=3D
> > =A0 =A0 =A0 =A0 =A0 =A0 '-' =A0GND
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0|
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0+---+
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 |
> > =A0 =A0 =A0 =A0 =A0 =A0 .-. =A0|
> > =A0 =A0 =A0 =A0 =A0 =A0 | | ---
> > =A0 =A0 =A0 =A0 =A0 1k| | ---1n
> > =A0 =A0 =A0 =A0 =A0 =A0 '-' =A0|
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 |
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0+---+
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0|
> > =A0 =A0 =A0 =A0 =A0 =A0 =3D=3D=3D
> > =A0 =A0 =A0 =A0 =A0 =A0 GND
>
> > (created by AACircuit v1.28.6 beta 04/19/05www.tech-chat.de)
>
> > Yes, this is just a hobby & fun project and I dont have the gears to
> > solder a SMD. =A0I am constructing the circuit on a breadboard and if it=
> > works, I would solder it onto a stripboard.
>
> > I saw the inverter SMD on the back of the databook. =A0It was made by
> > Toshiba and part number is TC4S69F. =A0It was a 1989 databook.
>
> > Allen
>
> No no! =A0You want the capacitor in the path from the drive to the gate, t=
o
> speed up the current into and out of the base:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0470pF?
> =A0 =A0 =A0___ =A0 .----||-----.
> o---|___|--+ =A0 =A0___ =A0 =A0+--- to base of xistor
> =A0 =A0 =A0220 =A0 '---|___|---'
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A01k
>
> If you have enough drive this will even forcibly de-saturate a transistor
> -- look around on the Zetex web site & you'll find some app notes on this.=
>
> --
> Tim Wescott
> Control systems and communications
consultinghttp://www.wescottdesign.com>
> Need to learn how to apply control theory in your embedded system?
> "Applied Control Theory for Embedded Systems" by Tim Wescott
> Elsevier/Newnes,http://www.wescottdesign.com/actfes/actfes.html- Hide quot=
ed text -
>
> - Show quoted text -
HI Tim,
I tried out the circuit but it doesnt work in my application. What do
you meant by "if you have enough drive"? I am driving the circuit
with the output of a 74LS138. Does the 74LS138 have enough drive to
unsaturate the transistor?
I am going to google the Zetex web site to get more info as suggested.
Thanks.
Allen