Prerequisite – Counters

Johnson counter also known as creeping counter, is an example of synchronous counter. In Johnson counter, the complemented output of last flip flop is connected to input of first flip flop and to implement n-bit Johnson counter we require n flip-flop.It is one of the most important type of shift register counter. It is formed by the feedback of the output to its own input.Johnson counter is a ring with an inversion.Another name of Johnson counter are:creeping counter, twisted ring counter, walking counter, mobile counter and switch tail counter.

Total number of used and unused states in n-bit Johnson counter:

number of used states=2n

number of unused states=2^{n}– 2*n

** Example:**

If n=4

4-bit Johnson counter

Initially, suppose all flip-flops are reset.

**Truth Table:**

where,

CP is clock pulse and

Q1, Q2, Q3, Q4 are the states.

Question: Determine the total number of used and unused states in 4-bit Johnson counter.

Answer: Total number of used states= 2*n

= 2*4

= 8

Total number of unused states= 2^{n} – 2*n

= 2^{4}-2*4

= 8

Everything has some advantages and disadvantages.

**Advantages of Johnson counter:**

- The Johnson counter has same number of flip flop but it can count twice the number of states the ring counter can count.
- It can be implemented using D and JK flip flop.
- Johnson ring counter is used to count the data in a continuous loop.
- Johnson counter is a self-decoding circuit.

**Disadvantages of Johnson counter:**

- Johnson counter doesn’t count in a binary sequence.
- In Johnson counter more number of states remain unutilized than the number of states being utilized.
- The number of flip flops needed is one half the number of timing signals.
- It can be constructed for any number of timing sequence.

**Applications of Johnson counter:**

- Johnson counter is used as a synchronous decade counter or divider circuit.
- It is used in hardware logic design to create complicated Finite states machine. ex: ASIC and FPGA design.
- The 3 stage Johnson counter is used as a 3 phase square wave generator which produces 1200 phase shift.
- It is used to divide the frequency of the clock signal by varrying their feedback.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the **DSA Self Paced Course** at a student-friendly price and become industry ready.

## Recommended Posts:

- Ripple Counter in Digital Logic
- Non-binary Counter in Digital Logic
- Ring Counter in Digital Logic
- Mod 6 Johnson Counter (with D flip-flop)
- Encoder in Digital Logic
- Counters in Digital Logic
- Difference between SOP and POS in Digital Logic
- BCD Adder in Digital Logic
- Multiplexers in Digital Logic
- Latches in Digital Logic
- 5 variable K-Map in Digital Logic
- Shift Registers in Digital Logic
- Binary Representations in Digital Logic
- Magnitude Comparator in Digital Logic
- Full Subtractor in Digital Logic
- Functional Completeness in Digital Logic
- Adders and Subtractors in Digital Logic
- Binary Decoder in Digital Logic
- Half Adder in Digital Logic
- Self Dual functions in Digital Logic

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.