際際滷

際際滷Share a Scribd company logo
Counters
Presented By: Neetika Yadav
2
Counters
 Counter is a sequential circuit. A digital circuit which is used for a counting
pulses is known counter.
 Counters are of two types.
Asynchronous or ripple counters.
Synchronous counters.
 Depending on the way in which the counting progresses, the synchronous or
asynchronous counters are classified as follows 
Up counters
Down counters
Up/Down counters
3
Types
Asynchronous Counters (or Ripple counters)
 the clock signal (CLK) is only used to clock the first FF.
 Each FF (except the first FF) is clocked by the preceding FF.
Synchronous Counters
 the clock signal (CLK) is applied to all FF
 all FF shares the same clock signal,
 the output will change at the same time.
4
Modulus (MOD)
 the number of states it counts in a complete cycle before it goes back
to the initial state.
No. of states = 2n
= MOD number
Where n is no of flip flops
E.g. MOD-4 use 2 FF (2-bit), MOD-8 use 3 FF (3-bit), etc..)
 Modulus (MOD)  the number of states it counts in a complete cycle
before it goes back to the initial state.
So in general, an n-bit ripple counter is called as modulo-N counter.
5
Ripple Counter
 an asynchronous counter where only the first flip-flop is clocked by an
external clock.
 All subsequent flip-flops are clocked by the output of the preceding
flip-flop.
 Asynchronous counters are also called ripple-counters because of the
way the clock pulse ripples it way through the flip-flops.
6
2-bit ripple up counter
External clock is applied to the clock input of flip-flop A and QA output is applied to the
clock input of the next flip-flop i.e. FF-B.
It contains two flip flops. A 2-bit ripple counter can count up to 4 states. It counts from 0 to 3.
7
2 bit Ripple Down Counter
It contains two flip flops. A 2-bit ripple counter can count up to 4 states.
It is known as down counter as it counts down from 3 to 0.
8
Up/Down Counter
 In the UP/DOWN ripple counter all the FFs operate in the toggle mode.
 So either T flip-flops or JK flip-flops are to be used.
 The LSB flip-flop receives clock directly. But the clock to every other FF
is obtained from (Q or Q bar) output of the previous FF.
 UP counting mode (M=0): The Q output of the preceding FF is
connected to the clock of the next stage if up counting is to be achieved.
For this mode, the mode select input M is at logic 0 (M=0).
 DOWN counting mode (M=1) : If M =1, then the Q bar output of the
preceding FF is connected to the next FF. This will operate the counter
in the down counting mode.
9
3-bit binary up/down ripple counter
 3-bit : hence three FFs are required.
 UP/DOWN : So a mode control input is essential.
 For a ripple up counter, the Q output of preceding FF is connected to
the clock input of the next one.
 For a ripple down counter, the Q bar output of preceding FF is
connected to the clock input of the next one.
10
3-bit binary up/down ripple counter
11
Working
 Case 1: With M = 0 (Up counting mode)
 If M = 0 and M bar = 1, then the AND gates 1 and 3 in fig. will be enabled whereas the AND gates 2
and 4 will be disabled.
 Hence QA gets connected to the clock input of FF-B and QB gets connected to the clock input of FF-
C.
 These connections are same as those for the normal up counter. Thus with M = 0 the circuit work
as an up counter.
 Case 2: With M = 1 (Down counting mode)
 If M = 1, then AND gates 2 and 4 in fig. are enabled whereas the AND gates 1 and 3 are disabled.
 Hence QA bar gets connected to the clock input of FF-B and QB bar gets connected to the clock
input of FF-C.
 These connections will produce a down counter. Thus with M = 1 the circuit works as a down
counter.
12
Synchronous counters
 If the "clock" pulses are applied to all the flip-flops in a counter
simultaneously
 changes in the output occur in synchronisation with the clock signal.
13
Ring Counter
 By looping the output back to the input, (feedback) we can convert a
standard shift register circuit into a ring counter. Consider the circuit
below.
14
4-bit Ring Counter
15
4-bit Johnson Counter

More Related Content

Similar to presentationforcountersin digitalelectronics (20)

COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)
SUBHA SHREE
COUNTERS [Synchronous and Asynchronous]
COUNTERS [Synchronous and Asynchronous]COUNTERS [Synchronous and Asynchronous]
COUNTERS [Synchronous and Asynchronous]
Electronics for Biomedical
COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)
Sairam Adithya
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptx
Thapar Institute
COUNTERS.pptx
COUNTERS.pptxCOUNTERS.pptx
COUNTERS.pptx
SaifURehmanSidhu
unit 5.pptx
unit 5.pptxunit 5.pptx
unit 5.pptx
ssuser022fec
Counters
CountersCounters
Counters
Ketaki_Pattani
Ade(unit 4) Counters
Ade(unit 4) CountersAde(unit 4) Counters
Ade(unit 4) Counters
ANKITSURWADE
B sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registersB sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registers
Rai University
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
Jainee Solanki
Unit4_DE.pptx
Unit4_DE.pptxUnit4_DE.pptx
Unit4_DE.pptx
PriyankaJain98423
Chapter 6 Register and countedfsdfr.pptx
Chapter 6 Register and countedfsdfr.pptxChapter 6 Register and countedfsdfr.pptx
Chapter 6 Register and countedfsdfr.pptx
SamanArshad11
counters.ppt
counters.pptcounters.ppt
counters.ppt
NarendrakumarAnnadur
CSL 202, Counters using Flipflops
CSL 202, Counters using FlipflopsCSL 202, Counters using Flipflops
CSL 202, Counters using Flipflops
CKSunith1
Ring counter
Ring counterRing counter
Ring counter
Ghufran Hasan
Basics Counters
Basics Counters Basics Counters
Basics Counters
Danial Mirza
digital Counter
digital Counterdigital Counter
digital Counter
shamshad alam
Selvapriya.pptx
Selvapriya.pptxSelvapriya.pptx
Selvapriya.pptx
FATHIMATHASLIMAMScCo
16148_counterrss2_Counters _under sequential circuits.ppt
16148_counterrss2_Counters _under sequential circuits.ppt16148_counterrss2_Counters _under sequential circuits.ppt
16148_counterrss2_Counters _under sequential circuits.ppt
anushachalla14
16148_counterrss2unit 2 computer arithamatic
16148_counterrss2unit 2 computer arithamatic16148_counterrss2unit 2 computer arithamatic
16148_counterrss2unit 2 computer arithamatic
anushachalla14
COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)
SUBHA SHREE
COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)COUNTERS(Synchronous & Asynchronous)
COUNTERS(Synchronous & Asynchronous)
Sairam Adithya
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptx
Thapar Institute
Ade(unit 4) Counters
Ade(unit 4) CountersAde(unit 4) Counters
Ade(unit 4) Counters
ANKITSURWADE
B sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registersB sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registers
Rai University
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
Jainee Solanki
Chapter 6 Register and countedfsdfr.pptx
Chapter 6 Register and countedfsdfr.pptxChapter 6 Register and countedfsdfr.pptx
Chapter 6 Register and countedfsdfr.pptx
SamanArshad11
CSL 202, Counters using Flipflops
CSL 202, Counters using FlipflopsCSL 202, Counters using Flipflops
CSL 202, Counters using Flipflops
CKSunith1
Basics Counters
Basics Counters Basics Counters
Basics Counters
Danial Mirza
16148_counterrss2_Counters _under sequential circuits.ppt
16148_counterrss2_Counters _under sequential circuits.ppt16148_counterrss2_Counters _under sequential circuits.ppt
16148_counterrss2_Counters _under sequential circuits.ppt
anushachalla14
16148_counterrss2unit 2 computer arithamatic
16148_counterrss2unit 2 computer arithamatic16148_counterrss2unit 2 computer arithamatic
16148_counterrss2unit 2 computer arithamatic
anushachalla14

Recently uploaded (20)

Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).pptLectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
J. Agricultural Machinery
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptxMathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
ppkmurthy2006
Cloud Computing concepts and technologies
Cloud Computing concepts and technologiesCloud Computing concepts and technologies
Cloud Computing concepts and technologies
ssuser4c9444
Cyber Security_ Protecting the Digital World.pptx
Cyber Security_ Protecting the Digital World.pptxCyber Security_ Protecting the Digital World.pptx
Cyber Security_ Protecting the Digital World.pptx
Harshith A S
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdfCS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
PonniS7
BS_EN_ISO_19650_Detailed_Presentation.pptx
BS_EN_ISO_19650_Detailed_Presentation.pptxBS_EN_ISO_19650_Detailed_Presentation.pptx
BS_EN_ISO_19650_Detailed_Presentation.pptx
VinkuMeena
Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...
dhanashree78
Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...
Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...
Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...
ASHISHDESAI85
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
Sachpazis: Foundation Analysis and Design: Single Piles
Sachpazis: Foundation Analysis and Design: Single PilesSachpazis: Foundation Analysis and Design: Single Piles
Sachpazis: Foundation Analysis and Design: Single Piles
Dr.Costas Sachpazis
google_developer_group_ramdeobaba_university_EXPLORE_PPT
google_developer_group_ramdeobaba_university_EXPLORE_PPTgoogle_developer_group_ramdeobaba_university_EXPLORE_PPT
google_developer_group_ramdeobaba_university_EXPLORE_PPT
JayeshShete1
AI, Tariffs and Supply Chains in Knowledge Graphs
AI, Tariffs and Supply Chains in Knowledge GraphsAI, Tariffs and Supply Chains in Knowledge Graphs
AI, Tariffs and Supply Chains in Knowledge Graphs
Max De Marzi
How to Make an RFID Door Lock System using Arduino
How to Make an RFID Door Lock System using ArduinoHow to Make an RFID Door Lock System using Arduino
How to Make an RFID Door Lock System using Arduino
CircuitDigest
decarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptxdecarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptx
gonzalezolabarriaped
Taykon-Kalite belgeleri
Taykon-Kalite belgeleriTaykon-Kalite belgeleri
Taykon-Kalite belgeleri
TAYKON
US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...
US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...
US Patented ReGenX Generator, ReGen-X Quatum Motor EV Regenerative Accelerati...
Thane Heins NOBEL PRIZE WINNING ENERGY RESEARCHER
How to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using ArduinoHow to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using Arduino
CircuitDigest
GM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptxGM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptx
crdslalcomumbai
Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).pptLectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
J. Agricultural Machinery
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptxMathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
ppkmurthy2006
Cloud Computing concepts and technologies
Cloud Computing concepts and technologiesCloud Computing concepts and technologies
Cloud Computing concepts and technologies
ssuser4c9444
Cyber Security_ Protecting the Digital World.pptx
Cyber Security_ Protecting the Digital World.pptxCyber Security_ Protecting the Digital World.pptx
Cyber Security_ Protecting the Digital World.pptx
Harshith A S
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdfCS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
PonniS7
BS_EN_ISO_19650_Detailed_Presentation.pptx
BS_EN_ISO_19650_Detailed_Presentation.pptxBS_EN_ISO_19650_Detailed_Presentation.pptx
BS_EN_ISO_19650_Detailed_Presentation.pptx
VinkuMeena
Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...
dhanashree78
Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...
Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...
Integration of Additive Manufacturing (AM) with IoT : A Smart Manufacturing A...
ASHISHDESAI85
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
Sachpazis: Foundation Analysis and Design: Single Piles
Sachpazis: Foundation Analysis and Design: Single PilesSachpazis: Foundation Analysis and Design: Single Piles
Sachpazis: Foundation Analysis and Design: Single Piles
Dr.Costas Sachpazis
google_developer_group_ramdeobaba_university_EXPLORE_PPT
google_developer_group_ramdeobaba_university_EXPLORE_PPTgoogle_developer_group_ramdeobaba_university_EXPLORE_PPT
google_developer_group_ramdeobaba_university_EXPLORE_PPT
JayeshShete1
AI, Tariffs and Supply Chains in Knowledge Graphs
AI, Tariffs and Supply Chains in Knowledge GraphsAI, Tariffs and Supply Chains in Knowledge Graphs
AI, Tariffs and Supply Chains in Knowledge Graphs
Max De Marzi
How to Make an RFID Door Lock System using Arduino
How to Make an RFID Door Lock System using ArduinoHow to Make an RFID Door Lock System using Arduino
How to Make an RFID Door Lock System using Arduino
CircuitDigest
decarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptxdecarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptx
gonzalezolabarriaped
Taykon-Kalite belgeleri
Taykon-Kalite belgeleriTaykon-Kalite belgeleri
Taykon-Kalite belgeleri
TAYKON
How to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using ArduinoHow to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using Arduino
CircuitDigest
GM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptxGM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptx
crdslalcomumbai

presentationforcountersin digitalelectronics

  • 2. 2 Counters Counter is a sequential circuit. A digital circuit which is used for a counting pulses is known counter. Counters are of two types. Asynchronous or ripple counters. Synchronous counters. Depending on the way in which the counting progresses, the synchronous or asynchronous counters are classified as follows Up counters Down counters Up/Down counters
  • 3. 3 Types Asynchronous Counters (or Ripple counters) the clock signal (CLK) is only used to clock the first FF. Each FF (except the first FF) is clocked by the preceding FF. Synchronous Counters the clock signal (CLK) is applied to all FF all FF shares the same clock signal, the output will change at the same time.
  • 4. 4 Modulus (MOD) the number of states it counts in a complete cycle before it goes back to the initial state. No. of states = 2n = MOD number Where n is no of flip flops E.g. MOD-4 use 2 FF (2-bit), MOD-8 use 3 FF (3-bit), etc..) Modulus (MOD) the number of states it counts in a complete cycle before it goes back to the initial state. So in general, an n-bit ripple counter is called as modulo-N counter.
  • 5. 5 Ripple Counter an asynchronous counter where only the first flip-flop is clocked by an external clock. All subsequent flip-flops are clocked by the output of the preceding flip-flop. Asynchronous counters are also called ripple-counters because of the way the clock pulse ripples it way through the flip-flops.
  • 6. 6 2-bit ripple up counter External clock is applied to the clock input of flip-flop A and QA output is applied to the clock input of the next flip-flop i.e. FF-B. It contains two flip flops. A 2-bit ripple counter can count up to 4 states. It counts from 0 to 3.
  • 7. 7 2 bit Ripple Down Counter It contains two flip flops. A 2-bit ripple counter can count up to 4 states. It is known as down counter as it counts down from 3 to 0.
  • 8. 8 Up/Down Counter In the UP/DOWN ripple counter all the FFs operate in the toggle mode. So either T flip-flops or JK flip-flops are to be used. The LSB flip-flop receives clock directly. But the clock to every other FF is obtained from (Q or Q bar) output of the previous FF. UP counting mode (M=0): The Q output of the preceding FF is connected to the clock of the next stage if up counting is to be achieved. For this mode, the mode select input M is at logic 0 (M=0). DOWN counting mode (M=1) : If M =1, then the Q bar output of the preceding FF is connected to the next FF. This will operate the counter in the down counting mode.
  • 9. 9 3-bit binary up/down ripple counter 3-bit : hence three FFs are required. UP/DOWN : So a mode control input is essential. For a ripple up counter, the Q output of preceding FF is connected to the clock input of the next one. For a ripple down counter, the Q bar output of preceding FF is connected to the clock input of the next one.
  • 10. 10 3-bit binary up/down ripple counter
  • 11. 11 Working Case 1: With M = 0 (Up counting mode) If M = 0 and M bar = 1, then the AND gates 1 and 3 in fig. will be enabled whereas the AND gates 2 and 4 will be disabled. Hence QA gets connected to the clock input of FF-B and QB gets connected to the clock input of FF- C. These connections are same as those for the normal up counter. Thus with M = 0 the circuit work as an up counter. Case 2: With M = 1 (Down counting mode) If M = 1, then AND gates 2 and 4 in fig. are enabled whereas the AND gates 1 and 3 are disabled. Hence QA bar gets connected to the clock input of FF-B and QB bar gets connected to the clock input of FF-C. These connections will produce a down counter. Thus with M = 1 the circuit works as a down counter.
  • 12. 12 Synchronous counters If the "clock" pulses are applied to all the flip-flops in a counter simultaneously changes in the output occur in synchronisation with the clock signal.
  • 13. 13 Ring Counter By looping the output back to the input, (feedback) we can convert a standard shift register circuit into a ring counter. Consider the circuit below.

Editor's Notes

  • #9: Let the selection of Q and Q bar output of the preceding FF be controlled by the mode control input M such that, If M = 0, UP counting. So connect Q to CLK. If M = 1, DOWN counting. So connect Q bar to CLK.