Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Theory


Electronic Theory Basic principles, ideas, concepts, laws, and formulas behind electronics.

Reply
 
Tools
Old 14th January 2009, 06:43 AM   #1
Default logic diagrams!

how can one go about in representing the following Boolean function using NAND gates with a minimum number of gates?

z = A' BC + AB'C + ABC' + ABC

Last edited by t.man; 14th January 2009 at 06:48 AM.
t.man is offline  
Old 14th January 2009, 09:31 AM   #2
Default

Hi,

One way is to reduce the equation using Boolean Algebra.

Another way is to generate a truth table and look at the
pattern of 1's and 0's to look for a simpler logic representation.

Example using Boolean Algebra:
z = ABC' + ABC
reduces to:
z = AB + AB
because it doesnt matter whether C is high or low, so it gets eliminated,
and of course that reduces to:
z = AB
so
z = ABC' + ABC = AB
and that would be implemented using one two-input 'AND' gate.
MrAl is offline  
Old 28th January 2009, 02:15 PM   #3
Default

Quote:
Originally Posted by moghli_amateur View Post
originally posted byt.man
how can one go about in representing the following Boolean function using NAND gates with a minimum number of gates?

z = A' BC + AB'C + ABC' + ABC

Typically logic designers use K-map but in this particular case the boolean laws can be easily used.
z= A' BC + AB'C + AB
z= A' BC +A(B'C+B)
z=A'BC+A(B+C)
z=A'BC+AB+AC
z=B(A'C+A)+AC
z=AB+BC+AC
As you can see this is just a minimal expression in Sum of Products form.
Since "AND-OR" combination is equivalent to "NAND-NAND" combination, you can relaise the above expression by three 2 input nanad gate and one three input nand gate.
Pessisim never won a war
moghli_amateur is offline  
Old 13th February 2009, 04:41 PM   #4
Default

With this boolean equation (which is correctly derived), we can do 6 NAND gates to get the right circuit. I hope I'm right.

Last edited by Chaerl; 13th February 2009 at 04:42 PM.
Chaerl is offline  
Old 14th February 2009, 05:36 AM   #5
Default

AND each logic input and OR each group together.
z = A' BC + AB'C + ABC' + ABC
__________________
IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S
Krumlink is offline  
Old 14th February 2009, 05:43 AM   #6
Default

Whoa long time no see Krumlink
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is online now  
Old 14th February 2009, 12:04 PM   #7
Default

Quote:
Originally Posted by Krumlink View Post
AND each logic input and OR each group together.
z = A' BC + AB'C + ABC' + ABC
In this case, you got it wrong. It should be the minimum number of NAND. In this case, we must simplify first the equation with the result of z=AB+BC+AC.
Afterwards, we can represent each the AND and OR with its equivalent NAND circuit. To further lessen the circuit, we must simplify more the equation by grouping. Thus, z=AB+(BC+AC). You can choose which term you want to group. I'll try to attach the circuit next time.
Chaerl is offline  
Old 14th February 2009, 12:55 PM   #8
Default

Quote:
Originally Posted by Krumlink View Post
AND each logic input and OR each group together.
z = A' BC + AB'C + ABC' + ABC
Welcome back.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Reply

Tags
diagrams, logic

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
pin diagrams buland General Electronics Chat 1 7th May 2005 02:55 PM
PIN DIAGRAMS WANTED buland General Electronics Chat 1 7th May 2005 02:53 PM
Doubtful Diagrams dreamproject Electronic Projects Design/Ideas/Reviews 1 12th November 2004 09:09 AM
eye diagrams jovabiot Electronic Projects Design/Ideas/Reviews 4 29th July 2004 08:24 AM
Need diagrams for an IR Barrier Electro Boy Electronic Projects Design/Ideas/Reviews 0 18th February 2004 10:23 PM



All times are GMT. The time now is 08:20 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker