{"id":4563,"date":"2025-03-26T12:49:17","date_gmt":"2025-03-26T07:19:17","guid":{"rendered":"https:\/\/study.madeeasy.in\/?p=4563"},"modified":"2025-07-16T14:22:23","modified_gmt":"2025-07-16T08:52:23","slug":"counters","status":"publish","type":"post","link":"https:\/\/www.madeeasy.in\/study\/ee\/boolean-algebra\/counters","title":{"rendered":"Counters"},"content":{"rendered":"<p style=\"text-align: justify;\">A digital counter is a set of flip-flops whose states change in response to the pulses applied at the input to the counter.<\/p>\n<p style=\"text-align: justify;\">As its name implies, a counter is used to count the pulses.<\/p>\n<p style=\"text-align: justify;\">Counters can be classified into two types, based on the application of the clock pulse to the different flip-flops.<\/p>\n<p style=\"text-align: justify;\">1. Asynchronous counter \u21d2 Ripple counter, serial (or) series<br \/>\n2. Synchronous counter \u21d2 Parallel counter<\/p>\n<table class=\"table table-striped table-bordered table-condensed\" style=\"margin: 0 auto; width: 99%;\">\n<tbody>\n<tr>\n<th><b>Asynchronous Counter<\/b><\/th>\n<th><b>Synchronous Counter<\/b><\/th>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">All the flip-flops are not clocked\u00a0<\/span><span style=\"font-weight: 400;\">simultaneously.<\/span><\/p>\n<\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">All the flip-flops are clocked simultaneously.<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Output of one flip-flop is used to generate\u00a0<\/span><span style=\"font-weight: 400;\">clock for the another flip-flop.<\/span><\/td>\n<td>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">There is no connection between the output of\u00a0<\/span><span style=\"font-weight: 400;\">one flip-flop and the clock of the another flip-flop.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Only fixed sequence of states can be\u00a0<\/span><span style=\"font-weight: 400;\">designed by using these counters.<\/span><\/p>\n<\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Any required sequence of states can be\u00a0<\/span><span style=\"font-weight: 400;\">designed by using these counters.<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Design and implementation is very simple\u00a0<\/span><span style=\"font-weight: 400;\">even for more number of states (if they are\u00a0<\/span><span style=\"font-weight: 400;\">in proper sequence).<\/span><\/td>\n<td>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Design and implementation become tedious and\u00a0<\/span><span style=\"font-weight: 400;\">complex as the number of states increases.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Operation is slower as the clock must be\u00a0<\/span><span style=\"font-weight: 400;\">propagated through all the flip-flops before <\/span><span style=\"font-weight: 400;\">reaching the last flip-flop.<\/span><\/p>\n<\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Operation is faster, as all the flip-flops get the\u00a0<\/span><span style=\"font-weight: 400;\">clock simultaneously.<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Decoding errors will occur.<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">No decoding errors will occur.<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">e.g. Ripple up counter, Ripple down counter<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">e.g. Ring counter, Johnson counter.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">Modulus of the Counter<\/h3>\n<ul style=\"text-align: justify;\">\n<li style=\"text-align: justify;\">The total number of distinct states, that are indicated by a counter in the counting sequence is called the modulus of the counter. It is also called as \u201cMOD or MOD-number\u201d.<\/li>\n<li style=\"text-align: justify;\">For a counter having \u201cn\u201d number of flip-flops, MOD \u2264 2n.<\/li>\n<li style=\"text-align: justify;\">A counter which goes through all the possible states is called the \u201cfull modulus counter\u201d.<\/li>\n<li style=\"text-align: justify;\">If an n-bit counter having MOD = 2n and the sequence of the states is either ascending or descending order then the counter can be called as a \u201cBinary counter\u201d also called as (2n : 1) scalar counter.<\/li>\n<li style=\"text-align: justify;\">A counter in which the maximum number of states can be changed is called the \u201cvariable modulus counter\u201d.<\/li>\n<li style=\"text-align: justify;\">The final state of the counter sequence is called the terminal count.<\/li>\n<li style=\"text-align: justify;\">Sometimes the \u201cmodulo-M counter\u201d also can be called as \u201cdivide-by-M counter\u201d.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4564 size-full\" src=\"https:\/\/study.madeeasy.in\/wp-content\/uploads\/2025\/03\/Counter.jpg\" alt=\"Counter\" width=\"368\" height=\"85\" srcset=\"https:\/\/www.madeeasy.in\/study\/wp-content\/uploads\/2025\/03\/Counter.jpg 368w, https:\/\/www.madeeasy.in\/study\/wp-content\/uploads\/2025\/03\/Counter-300x69.jpg 300w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/p>\n<ul>\n<li style=\"text-align: justify;\">So a counter can be used as a frequency divider circuit.<\/li>\n<li style=\"text-align: justify;\">The output clock of a counter is nothing but the signal present at the output of the flip-flop which is getting the input clock very lately in asynchronous counters. It serves as the clock signal to the next stage flip-flop in asynchronous counters. In synchronous counters, all the flip-flops have same clock and the output signal of the flip-flop is generally used to drive the input of next stage flip-flop.<\/li>\n<li style=\"text-align: justify;\">When two counters are cascaded with MOD-M followed by MOD-N, then the MOD of the resultant counter is \u201cM \u00d7 N\u201d and the counter is called \u201cMOD-MN\u201d counter.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4565 size-full\" src=\"https:\/\/study.madeeasy.in\/wp-content\/uploads\/2025\/03\/resultant.jpg\" alt=\"Resultant\" width=\"414\" height=\"187\" srcset=\"https:\/\/www.madeeasy.in\/study\/wp-content\/uploads\/2025\/03\/resultant.jpg 414w, https:\/\/www.madeeasy.in\/study\/wp-content\/uploads\/2025\/03\/resultant-300x136.jpg 300w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/><\/p>\n<ul>\n<li style=\"text-align: justify;\">Cascading of the counters is nothing but connecting the clock output of one counter as a clock input to the next following counter.<\/li>\n<li style=\"text-align: justify;\">Here, both A and B may be asynchronous (or) both may be synchronous (or) one may be synchronous and another may be asynchronous.<\/li>\n<\/ul>\n<h3>Applications of the Counters<\/h3>\n<p>1. To create time delays.<br \/>\n2. To generate a required sequence of bits.<br \/>\n3. To produce non sequential binary counts.<br \/>\n4. Used as frequency divider circuits.<br \/>\n5. To count the number of clock pulses (or) number of items in an industry.<br \/>\n6. To perform the timing function as in digital watches.<br \/>\n7. To calculate the pulse repetition rate.<br \/>\n8 For distance measurement in RADAR system.<br \/>\n9. Used in analog to digital conversion circuits.<\/p>\n<p style=\"text-align: center;\"><a class=\"btn btn-danger\" role=\"button\" href=\"https:\/\/study.madeeasy.in\/ee\/boolean-algebra\/multiplexers\/\" target=\"_blank\" rel=\"noopener\">&lt;&lt; Previous<\/a> | <a class=\"btn btn-success\" role=\"button\" href=\"https:\/\/study.madeeasy.in\/ee\/boolean-algebra\/8085-microprocessor\/\" target=\"_blank\" rel=\"noopener\"> Next &gt;&gt;<\/a><br \/>\n<strong> Must Read: <\/strong> <a href=\"https:\/\/study.madeeasy.in\/subjects\/what-is-boolean-algebra\" target=\"_blank\" rel=\"noopener\"><strong>What is Boolean algebra?<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A digital counter is a set of flip-flops whose states change in response to the pulses applied at the input<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1291,5],"tags":[1347,1346,1496,1494,1436,1497,1443,1345,1344,1495],"class_list":["post-4563","post","type-post","status-publish","format-standard","hentry","category-boolean-algebra","category-ee","tag-applications-of-the-counters","tag-binary-counter","tag-counting-circuits","tag-decade-counter","tag-digital-logic","tag-electronics-design","tag-logic-gates","tag-mod","tag-modulus-of-the-counter","tag-up-down-counter"],"_links":{"self":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/4563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/comments?post=4563"}],"version-history":[{"count":0,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/4563\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/media?parent=4563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/categories?post=4563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/tags?post=4563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}