Flip-Flop types, their Conversion and Applications - GeeksforGeeks (2024)

In this article, we will go through the Flip-Flop types, their Conversion and their Applications, First, we will go through the definition of the flip-flop with its types in brief, and then we will go through the conversion of the flip-flop with its applications, At last, we will conclude our article with some FAQs.

Table of Content

  • Flip-Flop
  • Types
  • S-R Flip Flop
  • J-K Flip Flop
  • D Flip Flop
  • T Flip Flop
  • Conversion for Flip Flops
  • Applications

What is a Flip-Flop?

The flip-flop is a circuit that maintains a state until directed by input to change the state. A basic flip-flop can be constructed using four-NAND or four-NOR gates. Flip-flop is popularly known as the basic digital memory circuit. It has its two states as logic 1(High) and logic 0(low) states. A flip flop is a sequential circuit which consist of single binary state of information or data. The digital circuit is a flip flop which has two outputs and are of opposite states. It is also known as a Bistable Multivibrator.

Types of Flip-Flops

Given Below are the Types of Flip-Flop

  • SR Flip Flop
  • JK Flip Flop
  • D Flip Flop
  • T Flip Flop

Logic diagrams and truth tables of the different types of flip-flops are as follows:

S-R Flip Flop

In the flip flop, with the help of preset and clear when the power is switched ON, the states of the circuit keeps on changing, that is it is uncertain. It may come to set(Q=1) or reset(Q’=0) state. In many applications, it is desired to initially set or reset the flip flop that is the initial state of the flip flop that needs to be assigned. This thing is accomplished by the preset(PR) and the clear(CLR).

Block Diagram of S-R Flip Flop

Given Below is the Block Diagram of S-R Flip Flop

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (1)

S-R Flip Flop

Circuit Diagram and Truth Table of S-R Flip Flop

Given Below is the Diagram of S-R Flip Flop with its Truth Table

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (2)

Operations of S-R Flip Flop

Given Below is the Operations of S-R Flip Flop

  • Case 1(PR=CLR=1): The asynchronous inputs are inactive and the flip flop responds freely to the S,R and the CLK inputs in the normal way.
  • Case 2(PR=0 and CLR=1):This is used when the Q is set to 1.
  • Case 3(PR=1 and CLR=0):This is used when the Q’ is set to 1.
  • Case 4(PR=CLR=0): This is an invalid state.

Characteristics Equation for SR Flip Flop

QN+1 = QNR’ + SR’

J-K Flip Flop

In JK flip flops, The basic structure of the flip flop which consists of Clock (CLK), Clear (CLR), Preset (PR).

Block Diagram of J-K Flip Flop

Given Below is Block Diagram of J-K Flip Flop

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (3)

J-K Flip Flop

Circuit Diagram and Truth Table of J-K Flip Flop

Given Below is the Diagram of J-K Flip Flop with its Truth Table

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (4)

Operations of J-K Flip Flop

Given Below is the Operations of J-K Flip Flop

  • Case 1 (PR=CLR=0 ):This condition is in its invalid state.
  • Case 2 (PR=0 and CLR=1):The PR is activated which means the output in the Q is set to 1. Therefore, the flip flop is in the set state.
  • Case 3 (PR=1 and CLR=0):The CLR is activated which means the output in the Q’ is set to 1. Therefore, the flip flop is in the reset state.
  • Case 4 (PR=CLR=1):In this condition the flip flop works in its normal way whereas the PR and CLR gets deactivated.

Race Around Condition in J-K Flip Flop

When the J and K both are set to 1, the input remains high for a longer duration of time, then the output keeps on toggling. Toggle means that switching in the output instantly i.e. Q=0, Q’=1 will immediately change to Q=1 and Q’=0 and this continuation keeps on changing. This change in output leads to race around condition.

Characteristics Equation for JK Flip Flop

QN+1 = JQ’N + K’QN

D Flip Flop

The D Flip Flop Consists a single data input(D), a clock input(CLK),and two outputs: Q and Q’ (the complement of Q).

Block Diagram of D Flip Flop

Given Below is the Block Diagram of D Flip Flop

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (5)

D FLIP FLOP

Circuit Diagram and Truth Table of D Flip Flop

Given Below is the Diagram of D Flip Flop with its Truth Table

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (6) Flip-Flop types, their Conversion and Applications - GeeksforGeeks (7)

Operation of the D Flip-Flop

Given Below is the operation of D Flip-Flip

  • Case 1 (PR=CLR=0):This conditions is represents as invalid state where both PR(present) and CLR(clear) inputs are inactive.
  • Case 2 (PR=0 and CLR=1):This state is set state in which PR is inactive (0) and CLR is active(1) and the output Q is set to 1.
  • Case 3 (PR=1 and CLR=0):This state is reset state in which PR is active (1) and CLR is inactive (0) and the complementary output Q’ is set to 1.
  • Case 4 (PR=CLR=1):In This state the flip flop behaves as normal, both PR and CLR inputs are active(1).

Characteristics Equation for D Flip Flop

QN+1 = D

T Flip Flop

The T Flip Flop consists of data input (T), a clock input (CLK), and two outputs: Q and Q’ (the complement of Q).

Block Diagram of T Flip Flop

Given Below is the Block Diagram of T Flip Flop

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (8)

T FLIP FLOP

Circuit Diagram and Truth Table of T Flip Flop

Given Below is the Circuit Diagram and Truth Table of T Flip Flop

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (9) Flip-Flop types, their Conversion and Applications - GeeksforGeeks (10)

Operation of the T Flip-Flop

Given Below is the Operation of T Flip-Flop

  • Case 1 (T=0):In this condition the flip-flop remains in its current state regardless of clock input,Also the Output Q will remain unchanged unit the value of T will not change.
  • Case 2 (T=1):In this condition the flip flop will change when T input is 1,At each rising or falling edge of the clock signal the output Q will be in complementary state.

Characteristics Equation for T Flip Flop

QN+1 = Q’NT + QNT’ = QN XOR T

Conversion for Flip Flops

The Excitation Table of the Flip Flop can be given as

EXCITATION TABLE:

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (11)

Steps To Convert from One Flip Flop to Other

Let there be required flipflop to be constructed using sub-flipflop:

  1. Draw the truth table of the required flip-flop.
  2. Write the corresponding outputs of sub-flipflop to be used from the excitation table.
  3. Draw K-Maps using required flipflop inputs and obtain excitation functions for sub-flipflop inputs.
  4. Construct a logic diagram according to the functions obtained.

Convert SR To JK Flip Flop

The Table for the SR To JK is given as

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (12)

Excitation Functions and Logic Diagram

Function and Logic Diagram for the conversion is given below

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (13)

Convert SR To D Flip Flop

The Table for the SR To JK is given as

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (14)

Excitation Functions and Logic Diagram

Function and Logic Diagram for the conversion is given below

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (15) Flip-Flop types, their Conversion and Applications - GeeksforGeeks (16)

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: The Flip Flop are used in the Counter Circuits for Counting pulse or events.
  • Frequency Dividers: The Flip Flop are used in Frequency Dividers to divide the frequency of a input signal by a specific factor.
  • Shift Registers: The Shift registers consist of interconnected flip-flops that shift data serially.
  • Storage Registers: The Storage Resistor uses Flip Flop to store data in binary information.
  • Bounce elimination switch: The Flip Flop are used in Bounce elimination switch to eliminate the contact bounce.
  • Data storage: The Flip Flop are used in the Data Storage to store binary data temporarily or permanently.
  • Data transfer: The Flip Flops are used for data transfer in different electronic parts.
  • Latch: The Latches are the Sequential circuit which uses Flip Flop for temporary storage of data
  • Registers: The Registers are mode from the array of flip flop which are used to store data temporarily.
  • Memory: The Flip Flops are the main components in the memory unit for data storage.

Conclusion

In this article we have gone through definition of the flip flop in brief with its different types, we have also gone through conversion of flip and the Application of the Flip Flop.

Flip-Flop Types – FAQs

What is the difference between edge-triggered and level-triggered flip-flops?

The Edge flip flop changes only when there is specific transitions of the clock signal and level trigger flip flop changes only to continuous level of the clock signal.

How does a master-slave flip-flop differ from a simple flip-flop?

The Master Salve have two interconnected flip-flops whci operates as master and other as slave.

What are the key differences between synchronous and asynchronous flip-flops?

The Synchronous flip flops only changes to clico signal and Asynchronous flip flop changes independent of the clock signal.



K

Kriti Kushwaha

Improve

Previous Article

Latches in Digital Logic

Next Article

Conversion of S-R Flip-Flop into D Flip-Flop

Please Login to comment...

Flip-Flop types, their Conversion and Applications - GeeksforGeeks (2024)
Top Articles
Latest Posts
Article information

Author: Ouida Strosin DO

Last Updated:

Views: 6137

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Ouida Strosin DO

Birthday: 1995-04-27

Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

Phone: +8561498978366

Job: Legacy Manufacturing Specialist

Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.