Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Simple Circuit help - SIgnal inverter

 
Post new topic   Reply to topic    Forum Index -> Files
Author Message
victorf



Joined: 01 Jan 2006
Posts: 342
Location: Schenectady, New York

Posted: 29 March 2006, 12:11 PM    Post subject: Simple Circuit help - SIgnal inverter Reply with quote

I need a little help with a circuit. I wish to allow a user to select whether a signal should or should not be inverted by appropriately placing jumpers. I propose the circuit in the.GIF attached. Will this work for me? I am concerned about the 'not inverted' path where the signal is presented to the output of the hex-inverter. Can I do this Question Is there a better solution?

Any enlightenment will be appreciated. Smile

Vic



Inverter.GIF
 Description:
 Filesize:  16.36 KB
 Viewed:  13338 Time(s)

Inverter.GIF


Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 29 March 2006, 18:54 PM    Post subject: Reply with quote

Your concern about tying outputs together is well-founded. There is also the drawback that it has four possible jumper configurations and only two of them could be correct. One way to fix this issue is to use the first alternate circuit below. The disadvantage that it has is that the input signal has more loads to drive in the non-inverted case.

A second alternative is shown below. This one always presents the same load to the input signal. The disadvantage is the need for an additional component type. However, depending on the other requirements of your circuit, you may be able to use the remaining XOR gates as inverters (by tying one input high) and thereby eliminate one inverter package.



invert1.jpg
 Description:

Download
 Filename:  invert1.jpg
 Filesize:  12.67 KB
 Downloaded:  3823 Time(s)


invert2.jpg
 Description:

Download
 Filename:  invert2.jpg
 Filesize:  40.56 KB
 Downloaded:  3780 Time(s)

Back to top
victorf



Joined: 01 Jan 2006
Posts: 342
Location: Schenectady, New York

Posted: 29 March 2006, 19:49 PM    Post subject: Reply with quote

Thanks for the reply.

I like both solutions from an aesthetic viewpoint Smile and from your comments, I would select the invert2 solution. The addition of one resistor does not bother me. Would a value of 10k be satisfatory?

Vic
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 29 March 2006, 22:10 PM    Post subject: Reply with quote

Quote:
I like both solutions...

There are, of course, many other possible solutions. For example:

1) Use an NPN transistor in place of the inverter. This may be preferable if you have no spare inverter available and are cramped for space on your board. A transistor and two resistors may take less space than a DIP-14 package. If you're using SMT devices, the inverter or XOR gate may be preferable.

2) Use a 2-to-1 multiplexer. This may be useful if you have to switch several signals based on a jumper setting. Instead of having separate jumpers for each signal a quad 2-to-1 multiplexer like the 74LS157 would allow you to select between 4 pairs of signals with a single jumper.

Quote:
Would a value of 10k [for the pullup resistor] be satisfatory?

This depends to some extent on which logic family you're using. For the 74LS series, I prefer 2.2K to 4.7K but for any of the CMOS families (e.g. 74HC, 74HCT, etc.) 10K is fine. For devices used in an electrically noisy environment I would favor lower values over higher values. For a typical prototype or experimental circuit the value doesn't really matter very much.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> Files Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group