1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Logic gates, truth tables, circuits

  1. Nov 1, 2016 #1
    1. The problem statement, all variables and given/known data
    (a)

    440b37f97bde.jpg

    The NOR gate combination in Figure 1 acts as an AND gate. Copy and complete the truth table.

    27ae1af7e5fd.jpg

    (b) An aircraft door is locked by two bolts A and B each of which operates a sensor giving a logic 1 when the bolt is fully inserted. A further sensor C gives a logic 0 output when the door is shut.

    A circuit using logic gates is required to give logic output 1 only when both bolts are inserted and the door is shut.

    0a75e03c5234.jpg

    By completing a copy of its truth table, show that the circuit of Figure 2 meets this requirement.

    b0395d89c90a.jpg

    (c) Draw a circuit using two-input NOR gates only that performs the same logic function.

    2. The attempt at a solution
    (a) The truth table:

    2d682140e46b.jpg

    (b) I don't quite understand what is required. This is the truth table:

    d87f5c403f7e.jpg

    (c) I don't quite understand this part either. This is the graph:

    c6e91ad89538.jpg

    and its truth table:

    5a11ae4fa60c.jpg

    ---

    What is correct / wrong? I am not sure on (b) and (c) parts, but would also like to know whether (a) is correct or not.
     
  2. jcsd
  3. Nov 1, 2016 #2

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    All your work looks correct to me. It might be good in (b) to add a statement that only row 7 (A=1, B=1, C=0: both bolts A&B closed and closed door sensor C=closed) gives 1, which is what they want.
    CORRECTION: The diagram in part (c) is wrong.
     
    Last edited: Nov 1, 2016
  4. Nov 1, 2016 #3
    So, regarding (b) we can rephrase the problem:
    as like: the door is locked when the output is 1 and bolts A and B have a logic of 1 and the C sensor has a logic of 0.

    And then the answer is: when the only output is 1 in the seventh row, both A and B are having a logic of 1 and the C sensor has a logic of 0. Right?

    And regarding (c): don't we need to get the same answer? I mean A and B should be 1, C should be 0 and the only output should be 1. And in my case I have everything the other way around: the only output is zero, A and B have 0 and C has 1. Is this OK? I am mostly unsure on (c). And putting two NORs means putting them in series, like I did, not somehow in parallel, correct?
     
  5. Nov 1, 2016 #4

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    Oh, sorry. I take it back. I disagree with your diagram (c). You need to use an input signal C, that is not in your diagram.
     
  6. Nov 1, 2016 #5
    So, (a) and (b) are correct?

    Could you please explain what an input signal is?
     
  7. Nov 1, 2016 #6

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    Yes. I think so.
    It would be a completely independent signal with values like in part (b). It should have rows with 0,1 values for every possible combination of the A and B values. The C in your original diagram was determined by A and B. That is wrong.
     
  8. Nov 1, 2016 #7
    Sorry, still don't understand it. I searched for "input signal logic gate", didn't get much relevant information.

    How do I need to change my graph?
     
  9. Nov 1, 2016 #8

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    C should be an external input on the left side, just like in the diagram (b). It should not be the result of a logic gate. You should have the exact same table A, B, C values as in (b) and your NOR-only diagram should have the exact same final values as column F in (b).
     
  10. Nov 1, 2016 #9
    Hm, let's fix the graph first.

    Something like this?

    665f094ddb2c.jpg
     
  11. Nov 1, 2016 #10

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    You are using OR gates. Your diagram should only use 2 input NOR gates.
     
  12. Nov 1, 2016 #11
    I just found a similar picture online, didn't want to upoload another mine poor drawing of mine here : ).

    I am mostly interested is the connection correct in the graph? (Imagine a same graph buth with circles.)

    Update
    Is this graph correct?

    302pbn7.jpg
     
    Last edited: Nov 1, 2016
  13. Nov 1, 2016 #12

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    If in doubt, label some signals and check the truth table. I have done as much as I should on a homework question.
     
  14. Nov 1, 2016 #13
    Thank you for your time.

    That's what I have, I guess it's correct.

    158d8d10a2e1.jpg

    Once again, thank you!
     
  15. Nov 1, 2016 #14

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    No. For A=0 and B=0, you need one row for C=0 and another row for C=1. Same for all other combinations of A and B. As I said before, see the truth table of (b)
    Also, the end result values of E are not what you want them to be. They should be the same as column F in your answer for (b)
    The columns for A, B, C, and the final signal must be identical to the columns of A, B, C, and F in your answer for (b)
     
  16. Nov 1, 2016 #15
    I don't quite see a way to make E identical to F. Maybe the graph is wrong and I missed something?

    ce3dd75136d7.jpg
     
  17. Nov 1, 2016 #16

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    This diagram is wrong if E does not match F of your answer to (b).
     
  18. Nov 1, 2016 #17

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    Part (a) has some examples of how to use NOR gates to negate a signal and combine signals. You need to study that and use those techniques.
     
  19. Nov 1, 2016 #18
    I can only think of

    proxy.php?image=http%3A%2F%2Fs41.radikal.ru%2Fi094%2F1611%2F9f%2F440b37f97bde.jpg

    15f2630d2b19.jpg

    Update
    And also of this:

    37dc90d04cc6.jpg

    ff3836cfae01.jpg

    and this:

    32c4c6e7c45f.jpg

    e8ffb434034c.jpg
     
    Last edited: Nov 1, 2016
  20. Nov 1, 2016 #19

    FactChecker

    User Avatar
    Science Advisor
    Gold Member

    The last one has input D that does not exist and its values in the truth table are wrong. Keep trying. Be methodical, there are too many options to guess at anything. You may try working backward. You want the final signal to be 1 only when A=1 and B=1 and C=0. The NOR is only 1 when both inputs are 0. Make the NOR for the final signal and manipulate the inputs as required. Then check it with a truth table.
     
  21. Nov 2, 2016 #20
    I made an A B C | F table, tried to make a Boolean formula F = A * B * C' from the only 1 output present, and tried to derive a graph from it, but it all goes to a three input AND gate, there isn't much information on NOR-only gates online.

    And reverse structuring isn't helping at all. How many columns are there between ABC and F? One? Two? Ten?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Logic gates, truth tables, circuits
  1. Logic Gates (Replies: 3)

  2. Simple logic gate (Replies: 1)

  3. Truth table of NAND gate (Replies: 12)

Loading...