+ All Categories
Home > Documents > mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for...

mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for...

Date post: 30-Mar-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
82
Transcript
Page 1: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 2: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 3: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 4: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

RS flip-flop using NOR gate

Page 5: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 6: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 7: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Triggering and triggering methods

Triggering : Applying train of pulses, to set or

reset the memory cell is known as Triggering. Triggering methods:-

There are basically two types of triggering.

1. Edge triggering : (i) Positive edge triggering,

(ii) Negative edge triggering

2. Level triggering : (i) Positive level

triggering, (ii) Negative level triggering

Page 8: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

1. Edge triggering :

The circuits which change their outputs only

corresponding to the positive or negative

edge of the clock input are called as

edge triggered circuit.

Page 9: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Symbol of positive edge triggered flip-flop

Page 10: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Symbol of Negative edge triggered

flip-flop

Page 11: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Level triggering :

The circuits which change their outputs only

corresponding to the positive or negative level of

the clock input are called as level triggered circuit.

Page 12: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Symbol of positive level triggered

flip-flop

Page 13: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Symbol of negative level triggered

flip-flop

Page 14: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

clock

Clocked R-S flip-flop:-

R

S

Page 15: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Clock

Page 16: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 17: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

S-R flip-flop with preset and clear

In the flip-flop when the power is switched on, the

state of the circuit is uncertain.

In many applications it is desired to initially set or

reset the flip-flop, i.e. the initial state of the flip-

flop is to be assigned.

This is accomplished by using preset (Pr) and clear (Cr) inputs.

Page 18: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

S-R flip-flop with preset and clear

Page 19: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Logic symbol for S-R flip-flop with

preset and clear:-

Page 20: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 21: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 22: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

The forbidden state of S-R flip-flop when

S = R = 1 can be eliminated by converting

it into JK flip-flop.

The data inputs are J and K which are

ANDed with Q and Q respectively to

obtain S and R inputs i.e. S = J × Q

R = K ×Q.

J-K flip-flop:-

Page 23: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

J-K flip-flop:-

Page 24: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Logic symbol:-

Page 25: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 26: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

J-K flip-flop using NAND gate:-

Page 27: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 28: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

for J = K = 0, Q retains its previous value.

for J = 1 and K = 0 sets the flip-flop.

for J = 0 and K = 1 RESETS the flip-flop.

for J = K = 1 Flip flop toggles

between’0’and’1

Page 29: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Race around condition

If J = K = 1 and Q = 0 and pulse is applied at the clock

input.

After a time interval ∆t equal to propagation delay the

output will change to Q = 1.

Now we have J = K = 1 and Q = 1 and after another time

interval of ∆t the output will change back to Q = 0.

Hence, for the duration tp of the clock pulse the output

will oscillate back and forth between 0 and 1.

At the end of clock pulse the value of Q is uncertain. This

situation referred to as a race around condition.

Page 30: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 31: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Master-slave J-K flip-flop:-

Page 32: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 33: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

D-type flip-flop:-

Page 34: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 35: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 36: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

T-type flip-flop:-

T = 1,

Symbol of T flip-flop

Page 37: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

IC 7474 - Dual D-type positive edge triggered flip-flop

Page 38: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 39: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

IC 7475 Edge triggered D-flip-flop

Page 40: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 41: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

IC 74373 latch

Page 42: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 43: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

EXCITATION TABLE OF FLIP-FLOP

The truth table of flip-flop is also referred to as the

characteristic table.

In the design of sequential circuit, if the present

state and next state of the circuit are specified and

we have to find the input conditions that must

prevail to cause the desired transition of the state.

The tabulation of these conditions is known as

excitation Table.

Page 44: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 45: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

APPLICATION OF FLIP-

FLOP

1.Bounce elimination switch

2. Latch

3. Registers

4. Counters

5. Memory

Page 46: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

COUNTERS

A circuit used for counting the number of pulses is

known as a counter. The counters are referred to as

modulo N (mod N) counter there are two types of

counters.

1. Asynchronous counter (ripple counter)

2. Synchronous counter

In case of asynchronous counter, all the flip-flops

are not clocked simultaneously, whereas in

synchronous counter all flip-flops are clocked

simultaneously. Ring counter and twisted ring

counters are examples of synchronous counter.

Page 47: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Normal binary counter counts from 0 to 2N - 1,

where N is the number flip-flops in the counter.

In some cases, we want it to count to numbers

other than 2N - 1. This can be done by allowing

the counter to skip states that are normally part

of the counting sequence. There are a few

methods of doing this.

One of the most common methods is to use the

CLEAR input on the flip-flops.

Page 48: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

The 2-bit ripple counter circuit has four different states,

each one corresponding to a count value. Similarly, a

counter with n flip-flops can have 2 to the power

n states. The number of states in a counter is known as

its mod (modulo) number. Thus a 2-bit counter is a

mod-4 counter.

A mod-n counter may also described as a divide-by-

n counter. This is because the most significant flip-flop

produces one pulse for every n pulses at the clock input of

the least significant flip-flop .

Thus, the above counter is an example of a divide-by-4

counter.

Page 49: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Ring counter:-

Page 50: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Waveforms of ring counter

Page 51: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Twisted Ring Counter

In ring counter, if Q1 is connected to

serial input instead of Q1 then the circuit

is called as twisted ring counter. The flip-

flops are cleared first and then clock is

applied.

Page 52: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 53: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 54: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Design a 3-bit synchronous counter using JK flip-

flop

To design this counter, 3 flip-flops are required and 8 states are present. The excitation table of flip-flop can be written as –

Page 55: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 56: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 57: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

The k-maps and simplified expressions for

all the flip-flops are as follows -

Thus, the simplified equations are

JC = QBQA KC = QBQA

JB = QA KB = QA

JA = 1 KA = 1

Page 58: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

3-bit synchronous counter using JK FF

Page 59: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Design 3 bit synchronous counter using T flip-flops

A 3 bit counter goes through 8 states thus it requires three

flip-flops. The excitation table of T flip-flop is given as -

Page 60: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 61: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 62: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 63: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

ASYNCHRONOUS COUNTER-up

counter

Page 64: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Count sequence

Page 65: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Timing diagram of 3 bit asynchronous

counter-up counter

Page 66: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Asynchronous Down Counters

Page 67: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Timing diagram of 3 bit asynchronous

counter-down counter

Page 68: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

A 3 bit asynchronous up-down counter

Page 69: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

STUDY OF IC 7490:-

Page 70: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Timing diagram:-

Page 71: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Count sequence:-

Page 72: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Design a MOD 6 asynchronous counter using

IC 7490.

Page 73: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 74: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

MOD 20 counter using IC 7490

Page 75: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Design MOD 8 counter using IC 7490

Page 76: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 77: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

APPLICATIONS OF COUNTERS

1. In digital clock.

2. In time measurement.

3. In the frequency counters.

4. In digital voltmeters.

5. In counter type A/D converter.

6. In digital triangular wave generator.

7. In frequency divider circuits.

Page 78: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

COMPARISON OF SYNCHRONOUS AND ASYNCHRONOUS COUNTER

Page 79: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

COMPARISON OF COUNTERS AND REGISTERS:-

Page 80: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as
Page 81: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

DISADVANTAGE OF RIPPLE COUNTERS

Every flip-flop has its own propagation delay. In ripple counter

the output of previous flip-flop is used as clock for next flip-flop.

Thus, the propagation delay goes on accumulating.

Thus, as the number of flip-flops goes on increasing, the

propagation delay increases. The frequency of clock pulse for

reliable operations of counter is given by –

Page 82: mitpolytechnic.ac.inmitpolytechnic.ac.in/.../SEM-3/BEM/newppddt.pdfCOUNTERS A circuit used for counting the number of pulses is known as a counter. The counters are referred to as

Recommended