Skip to main content

Flip Flops

Basics and Overview of Flip Flops

A flip flop is an electronic circuit with two stable states that can be used to store binary data. The stored data can be changed by applying varying inputs. Flip-flops and latches are fundamental building blocks of digital electronics systems used in computers, communications, and many other types of systems. Flip-flops and latches are used as data storage elements. It is the basic storage element in sequential logic. But first let’s clarify the difference between a latch and a flip flop.

Flip flop v/s Latch

The basic difference between a latch and a flip-flop is a gating or clocking mechanism. For example, let us talk about SR latch and SR flip-flops. In this circuit when you Set S as active the output Q would be high and Q’ will be low. This is irrespective of anything else. (This is an active low circuit so active here means low, but for an active high circuit active would mean high)
SR latch
SR Latch
A flip flop on the other hand is synchronous and is also known as gated or clocked SR latch.
SR Flip Flop
                                          SR Flip-Flop
In this circuit, the output is changed (i.e. the stored data is changed) only when you give an active clock signal. Otherwise, even if the S or R is active the data will not change. Let’s look at the types of flip flops to understand better.

SR Flip Flop

There are majorly 4 types of flip flops, with the most common one being SR flip flop. As shown above, it is the simplest and the easiest to understand. The two outputs as shown above are the inverse of each other. The outputs of a SR flip flop are highlighted in the table below.
SRQQ
0001
0101
1010
11

JK Flip-flop

Due to the undefined state in the SR flip flop, another is required in electronics. The JK flip flop is a improvement on the SR flip flop where S=R=1 is not a problem.
JK Flip Flop
                                                     JK Flip-Flop
The input condition of J=K=1, gives an output inverting the output state. However, the outputs are same when one tests the circuit practically.
JKQQ
0000
0100
1001
1101
0011
0110
1011
1110

D Flip Flop

D flip flop is a better alternative that is very popular with digital electronics. They are commonly used for counters and shift-registers and input synchronization.
D Flip Flop
                                        D Flip-Flop
In a D flip flop, the output can be only changed at the clock edge, and if the input changes at other times, the output will be unaffected.
ClockDQQ
↓ » 0001
↑ » 1001
↓ » 0101
↑ » 1110
The change of state of the output is dependent on the rising edge of the clock. The output (Q) is same as the input and can only change at the rising edge of the clock.

T Flip Flop

A T flip flops is like JK flip-flop. These are basically single input version of JK flip flops. This modified form of JK flip-flop is obtained by connecting both inputs J and K together. This flip-flop has only one input along with the clock input.
T Flip-flop
                                                      T Flip-Flop
These flip-flops are called T flip-flops because of their ability to complement its state (i.e.) Toggle, hence the name Toggle flip-flop.
TQQ (t+1)
000
111
011
110

Applications of Flip-Flops

These are the various types of flip-flops being used in digital electronic circuits and the applications of Flip-flops are as specified below.
  • Counters
  • Frequency Dividers
  • Shift Registers
  • Storage Registers

Comments

Popular posts from this blog

अंतिम दिन आज :नेपाल वायुसेवा निगमको कर्मचारी पदपूर्तिका लागि विज्ञापन

पदपूर्तिसमितिको सूचनाहरु
DSL Stands for "Digital Subscriber Line." DSL is a communications medium used to transfer  digital  signals over standard telephone lines. Along with cable Internet, DSL is one of the most popular ways  ISPs  provide  broadband Internet access. When you make a telephone call using a landline, the voice signal is transmitted using low frequencies from 0  Hz  to 4  kHz . This range, called the "voiceband," only uses a small part of the frequency range supported by copper phone lines. Therefore, DSL makes use of the higher frequencies to transmit digital signals, in the range of 25 kHz to 1.5  MHz . While these frequencies are higher than the highest audible frequency (20 kHz), then can still cause interference during phone conversations. Therefore, DSL filters or splitters are used to make sure the high frequencies do not interfere with phone calls. Symmetric DSL ( SDSL ) splits the upstream and downstream frequencies evenly, providing...