74HC74 as inverter

Discussion in 'General Electronics Chat' started by ceidas, May 3, 2012.

  1. ceidas

    ceidas Thread Starter Member

    Joined:
    Dec 26, 2011
    Messages:
    50
    Location:
    Athens (GMT+2)
    [​IMG]
    Hello,
    so this is a flip flop and i want someone to tell if this truth table is correct or not.

    D Qt Q(t+1)
    0 0 1
    1 1 0
    0 0 1
    ... ... ...

    Thank you.
    Last edited: May 3, 2012
  2. Bill_Marsden

    Bill_Marsden Moderator Staff Member

    Joined:
    Mar 24, 2008
    Messages:
    19,249
    Location:
    Dallas, TX (GMT-5 w/ DST)
    Your drawing has two Q's. Normally I would assume Q' (Q not) in that position, in which case it would be a ripple flip flop (toggle on, toggle off).

    Not sure what it would do with the Q output, don't think it would invert. Haven't thought about it.
  3. WBahn

    WBahn AAC Fanatic!

    Joined:
    Mar 31, 2012
    Messages:
    8,169
    Location:
    Larkspur, Colorado
    I'm assuming you changed the drawing since Bill_Marsden's response. As you have it now (one DFF with D = Q') then I agree it matches your truth table, but I would not refer to it as an "inverter" - and inverter inverts the state of its input immediately, whereas this has no input and only acts on a rising clock edge. This is normally called a TFF (Toggle type Flip Flop).
    Last edited: May 3, 2012
  4. t06afre

    t06afre AAC Fanatic!

    Joined:
    May 11, 2009
    Messages:
    5,939
    Your schematic is a T flip flop. For each clock pulse. The output will toggle. To say this circuit is a inverter will not be correct I think
  5. ceidas

    ceidas Thread Starter Member

    Joined:
    Dec 26, 2011
    Messages:
    50
    Location:
    Athens (GMT+2)
    Ok, forget about the inverter. Can you tell me, how this truth table can be true? I mean since D=Q', if the truth table is true, then Q'=Qt. Is that possible?
  6. WBahn

    WBahn AAC Fanatic!

    Joined:
    Mar 31, 2012
    Messages:
    8,169
    Location:
    Larkspur, Colorado
    My bad. I saw what I wanted to see and not what was written. I was too focused on the Qt and Q(t+1) entries.

    You are correct. D should be opposite of Qt in the table. With a D FF, Qnext is always equal to D (unless a reset/set is asserted). So flip the D values in your table and you are good.
  7. Bill_Marsden

    Bill_Marsden Moderator Staff Member

    Joined:
    Mar 24, 2008
    Messages:
    19,249
    Location:
    Dallas, TX (GMT-5 w/ DST)
    [​IMG]

    T Flip Flop

    Attached Files:

  8. ceidas

    ceidas Thread Starter Member

    Joined:
    Dec 26, 2011
    Messages:
    50
    Location:
    Athens (GMT+2)
    I am not really following on this.
  9. Bill_Marsden

    Bill_Marsden Moderator Staff Member

    Joined:
    Mar 24, 2008
    Messages:
    19,249
    Location:
    Dallas, TX (GMT-5 w/ DST)
    A flip flop changes states every time the input (the clock in this case) is toggled (changes states). Since a square wave is nothing but changing states, the output of a T flip flop will change states.

    Think of a button, push on, push off, over and over.

    It is the basis of all counters. There are other types of flip flops, but this one is basic.

    The datasheet of a 4013 has a truth table, this is a dual type D flip flop.
  10. ceidas

    ceidas Thread Starter Member

    Joined:
    Dec 26, 2011
    Messages:
    50
    Location:
    Athens (GMT+2)
    No, i mean, i know this stuff about the flip flops. I just dont get why you posted that particular image?
  11. Bill_Marsden

    Bill_Marsden Moderator Staff Member

    Joined:
    Mar 24, 2008
    Messages:
    19,249
    Location:
    Dallas, TX (GMT-5 w/ DST)
    Because your original drawing is a flip flop, and you are asking for a truth table. I gave you the truth table. You may not like the truth table, but it is what it is.
Similar Threads
Forum Title Date
General Electronics Chat cd4013 different than 74hc74 Dec 22, 2009
General Electronics Chat Inverter not working Aug 25, 2014
General Electronics Chat 5-Phase Inverter or VFD Aug 16, 2014
General Electronics Chat Q: How can you verify if an inverter is a pure sine wave inverter? Jul 12, 2014
General Electronics Chat Inverter DC/AC 220V/60Hz Jun 15, 2014

Share This Page