Digital electronics assiment question with solution

 Note remember page numbers


This is our complete and definitive guide to digital counters and all their types. In addition to learning about counters, we are going to understand the difference between up-counters and down-counters.


There’s just one really. At least just one that matters. An up-counter counts events in increasing order. A down-counter counts stuff in the decreasing order. An up-down counter is a combination of an up-counter and a down-counter. It can count in both directions, increasing as well as decreasing.



Depending on the type of clock inputs, counters are of two types: asynchronous counters and synchronous counters. We will take a look at all the types of counters and their circuits in detail below.



What are counters?

Counters are sequential logic circuits that, in digital electronics, are used to count the number of times an event or instance takes place.


A counter is made by cascading a series of flip-flops. As we know, flip-flops have a clock input. Depending on the type of clock input, counters are of two typesAsynchronous or ripple counters.


Synchronous counters


Since counters kind of depend on clocks like all sequential circuits, to understand their working, we will consider every clock cycle. Meaning, there will be changes in the states of some flip flops at every clock interval. We will try to understand the working in each clock cycle.




Based on the way the counters are used, here are the various types of counters:


Up counters

Down counters

Up-down counters

Decade counter

Ring counter

Johnson counter

What is a Mod n counter?

Mod n or Modulus of n, is a way of referring to the maximum count of a counter. Every counter has a limit with regards to the number they can count up or down to. Mod n expresses that limit.


It is an important label for a counter because it gives us the maximum count of the counter, as well as the number of flip-flops present in the counter.


A mod n counter can count up to n events. We can mathematically represent a mod n counter as




What is a synchronous counter?


In a synchronous counter, all the flip-flops are synchronized to the same clock input. This means that for every clock pulse, all the flip-flops will generate an output. Since the clocking is done in a parallel manner, synchronous counters are also known as parallel counters/simultaneous counters.




We can use JK flip-flop, D flip-flop or T flip-flops to make synchronous counters. In this post, we will be using the D flip-flop to design our counters. The methodology for designing the counters with other flip-flops varies with the type of flip-flops.




What are up counters, down counters and up-down counters?


Well as their names imply, up counters count upwards or incrementally. Down counters count downwards or in a decremental manner. Up-down counters can count both upwards as well as downwards.





Comments

Popular Posts