+ All Categories
Home > Documents > EKT 121 / 4 ELEKTRONIK DIGIT I

EKT 121 / 4 ELEKTRONIK DIGIT I

Date post: 18-Jan-2018
Category:
Upload: gordon-wright
View: 243 times
Download: 0 times
Share this document with a friend
Description:
3.1 Flip-flop & Register ~ Latches ~ Edge-triggered flip-flops ~ Master-slave flip-flops ~ Flip-flop operating characteristics ~ Flip-flop applications ~ One-shots ~ The 555 timer
49
Chapter 3: Chapter 3: Sequential Logic Circuit Sequential Logic Circuit EKT 121 / 4 EKT 121 / 4 ELEKTRONIK DIGIT I ELEKTRONIK DIGIT I
Transcript
Page 1: EKT 121 / 4 ELEKTRONIK DIGIT I

Chapter 3: Chapter 3: Sequential Logic CircuitSequential Logic Circuit

EKT 121 / 4EKT 121 / 4ELEKTRONIK DIGIT IELEKTRONIK DIGIT I

Page 2: EKT 121 / 4 ELEKTRONIK DIGIT I

3.1 Flip-flop & Register~ Latches~ Edge-triggered flip-flops~ Master-slave flip-flops~ Flip-flop operating characteristics~ Flip-flop applications~ One-shots~ The 555 timer

Page 3: EKT 121 / 4 ELEKTRONIK DIGIT I

IntroductionIntroduction

LatchesLatches and and flip-flopsflip-flops are the basic single-bit are the basic single-bit memory elements used to build sequential memory elements used to build sequential circuit with one or two inputs/outputs, circuit with one or two inputs/outputs, designed using individual logic gates and designed using individual logic gates and feedback loops.feedback loops.

Page 4: EKT 121 / 4 ELEKTRONIK DIGIT I

IntroductionIntroduction Latches:Latches:

– The output of a latch depends on its The output of a latch depends on its current inputs and on its previous output current inputs and on its previous output and its and its change of statechange of state can happen at can happen at any any timetime when when its inputs changeits inputs change. .

Flip-Flops:Flip-Flops:– The output of a flip-flop also depends on The output of a flip-flop also depends on

current inputs and its previous output but current inputs and its previous output but the the change of statechange of state occurs at occurs at specific timesspecific times determined by a determined by a clock inputclock input..

Page 5: EKT 121 / 4 ELEKTRONIK DIGIT I

Latches:Latches:– S-R LatchS-R Latch– Gated S-R Latch Gated S-R Latch – Gated D-LatchGated D-Latch

Flip-Flops:Flip-Flops:– Edge-Triggered Flip-Flop (S-R, J-K, D)Edge-Triggered Flip-Flop (S-R, J-K, D)– Asynchronous InputsAsynchronous Inputs– Master-Slave Flip-FlopMaster-Slave Flip-Flop– Flip-Flop Operating CharacteristicsFlip-Flop Operating Characteristics– Flip-Flop ApplicationsFlip-Flop Applications– One-shots & The 555 TimerOne-shots & The 555 Timer

IntroductionIntroduction

Page 6: EKT 121 / 4 ELEKTRONIK DIGIT I

LatchesLatches Type of temporary storage device that has Type of temporary storage device that has

two stable (bi-stable) states two stable (bi-stable) states Similar to flip-flop – the outputs are Similar to flip-flop – the outputs are

connected back to opposite inputsconnected back to opposite inputs Main difference from flip-flop is the Main difference from flip-flop is the

method used for changing their statemethod used for changing their state S-R latch, Gated/Enabled S-R latch and S-R latch, Gated/Enabled S-R latch and

Gated D latch Gated D latch

Page 7: EKT 121 / 4 ELEKTRONIK DIGIT I

S-R (SET-RESET) LatchS-R (SET-RESET) Latch

Active-HIGH input S-R Latch Active-LOW input S-R Latch

Page 8: EKT 121 / 4 ELEKTRONIK DIGIT I

Logic symbols for the S-R and S-R Logic symbols for the S-R and S-R latchlatch

Page 9: EKT 121 / 4 ELEKTRONIK DIGIT I

Negative-OR equivalent of the NAND Negative-OR equivalent of the NAND gate S-R latch gate S-R latch

Page 10: EKT 121 / 4 ELEKTRONIK DIGIT I
Page 11: EKT 121 / 4 ELEKTRONIK DIGIT I

Truth table for an active-LOW input S-R latch

Page 12: EKT 121 / 4 ELEKTRONIK DIGIT I

Assume that Q is initially LOW

Waveforms

1 3 4 5 6 72

Page 13: EKT 121 / 4 ELEKTRONIK DIGIT I

A gate input is added to the S-R latch to make the latch synchronous. In order for the set and reset inputs to change the latch, the gate input must be active (high/Enable). When the gate input is low, the latch remains in the hold condition.

Gated S-R Latch

Page 14: EKT 121 / 4 ELEKTRONIK DIGIT I

A gated S-R latchA gated S-R latch

Page 15: EKT 121 / 4 ELEKTRONIK DIGIT I

Gated S-R latch waveform: Gated S-R latch waveform:

1 2 3 4 5

Page 16: EKT 121 / 4 ELEKTRONIK DIGIT I

Truth Table for Gated S-R LatchTruth Table for Gated S-R Latch

S R G Q Q’

0 0 0 Q Q’ Hold

1 0 0 Q Q’ Hold

0 1 0 Q Q’ Hold

1 1 0 Q Q’ hold

0 0 1 Q Q’ hold

1 0 1 1 0 set

0 1 1 0 1 reset

1 1 1 0 0 not allowed

Page 17: EKT 121 / 4 ELEKTRONIK DIGIT I

Gated D Latch (74LS75)Gated D Latch (74LS75)

The D (data) latch has a single input that is used to set and to reset the flip-flop. When the gate is high, the Q output will follow the D input. When the gate is low, the Q output will hold.

Page 18: EKT 121 / 4 ELEKTRONIK DIGIT I

Gated S-R Latch Q output waveform if the inputs are Gated S-R Latch Q output waveform if the inputs are as shown: as shown:

• The output follows the input when the gate is high but is in a hold when the gate is low.

Page 19: EKT 121 / 4 ELEKTRONIK DIGIT I

Gated D Latch (74LS75)Gated D Latch (74LS75)

Page 20: EKT 121 / 4 ELEKTRONIK DIGIT I

Edge-triggered Flip-flop LogicEdge-triggered Flip-flop Logic Positive edge triggered and Negative edge-Positive edge triggered and Negative edge-

triggeredtriggered

• All the above flip-flops have the triggering input called clock (CLK/C)

Page 21: EKT 121 / 4 ELEKTRONIK DIGIT I

Clock Signals & Synchronous Clock Signals & Synchronous Sequential CircuitsSequential Circuits

A clock signal is a periodic square wave that A clock signal is a periodic square wave that indefinitely switches values from 0 to 1 and 1 to 0 indefinitely switches values from 0 to 1 and 1 to 0 at fixed intervals. at fixed intervals.

Rising edges of the clock

(Positive-edge triggered)

Falling edgesof the clock

(Negative-edge triggered)

Clock signal

Clock CycleTime

1

0

Page 22: EKT 121 / 4 ELEKTRONIK DIGIT I

Operation of a positive edge-triggered Operation of a positive edge-triggered S-R flip-flopS-R flip-flop

(d) S=1, R=1is invalid or not allowed

Page 23: EKT 121 / 4 ELEKTRONIK DIGIT I

Example:Example:

Page 24: EKT 121 / 4 ELEKTRONIK DIGIT I

A positive edge-triggered D flip-flop A positive edge-triggered D flip-flop formed with an S-R flip-flop and an formed with an S-R flip-flop and an

inverter.inverter.

D CLK/C Q Q’_________________

1 ↑ 1 0 SET (stores a 1)

0 ↑ 0 1 RESET (stores a 0)

Page 25: EKT 121 / 4 ELEKTRONIK DIGIT I

Example: Example:

Page 26: EKT 121 / 4 ELEKTRONIK DIGIT I

Truth Table for J-K Flip FlopTruth Table for J-K Flip Flop

J K CLK Q Q’

0 0 Q0 Q0’ Hold

0 1 0 1 Reset

1 0 1 0 Set

1 1 Q0’ Q0 Toggle (opposite state)

Page 27: EKT 121 / 4 ELEKTRONIK DIGIT I

Transitions illustrating the toggle Transitions illustrating the toggle operation when J =1 and K = 1.operation when J =1 and K = 1.

Page 28: EKT 121 / 4 ELEKTRONIK DIGIT I

The edge-triggered J-K will only accept the J and K inputs during the active edge of the clock. The small triangle on the clock input indicates that the device is edge-triggered. A bubble on the clock input indicates that the device responds to the negative edge. no bubble would indicate a positive edge-triggered device.

Edge-triggered J-K flip-flopEdge-triggered J-K flip-flop

Page 29: EKT 121 / 4 ELEKTRONIK DIGIT I

A simplified logic diagram for a positive A simplified logic diagram for a positive edge-triggered J-K flip-flop.edge-triggered J-K flip-flop.

Page 30: EKT 121 / 4 ELEKTRONIK DIGIT I

Example: Positive edge-triggered Example: Positive edge-triggered

Page 31: EKT 121 / 4 ELEKTRONIK DIGIT I

Example: Negative edge-trigerred Example: Negative edge-trigerred

Page 32: EKT 121 / 4 ELEKTRONIK DIGIT I

Logic symbol for a J-K flip-flop with Logic symbol for a J-K flip-flop with active-LOW preset and clear inputs.active-LOW preset and clear inputs.

Page 33: EKT 121 / 4 ELEKTRONIK DIGIT I

Example: Example:

Page 34: EKT 121 / 4 ELEKTRONIK DIGIT I

• The J-K flip-flop has a toggle mode of operation when both J and K inputs are high.Toggle means that the Q output will change states on each active clock edge. • J, K and Cp are all synchronous inputs. • The master-slave flip-flop is constructed with two latches.• The master latch is loaded with the condition of the J-K inputs while the clock is high. When the clock goes low, the slave takes on the state of the master and the master is latched. • The master-slave is a level-triggered device. • The master-slave can interpret unwanted signals on the J-K inputs.

Edge-triggered flip-flop logic symbols Edge-triggered flip-flop logic symbols (cont’d)(cont’d)

Page 35: EKT 121 / 4 ELEKTRONIK DIGIT I

Basic logic diagram for a master-slave Basic logic diagram for a master-slave J-K flip-flop.J-K flip-flop.

Page 36: EKT 121 / 4 ELEKTRONIK DIGIT I

Pulse-triggered (master-slave) J-K flip-Pulse-triggered (master-slave) J-K flip-flop logic symbols.flop logic symbols.

Page 37: EKT 121 / 4 ELEKTRONIK DIGIT I

Truth Table for Master-Slave J-K Flip Truth Table for Master-Slave J-K Flip FlopFlop

J K CLK Q Q’

0 0 Q0 Q0’ Hold

0 1 0 1 Reset

1 0 1 0 Set

1 1 Q0’ Q0 Toggle (opposite state)

Page 38: EKT 121 / 4 ELEKTRONIK DIGIT I

Flip-Flop ApplicationsFlip-Flop Applications

Parallel Data StorageParallel Data Storage Frequency DivisionFrequency Division CountingCounting

Page 39: EKT 121 / 4 ELEKTRONIK DIGIT I

Flip-flops used in a basic register for Flip-flops used in a basic register for parallel data storage.parallel data storage.

Page 40: EKT 121 / 4 ELEKTRONIK DIGIT I

J-K flip-flop as a divide-by-2 J-K flip-flop as a divide-by-2 device. device. QQ is one-half the is one-half the

frequency of CLK.frequency of CLK.

Page 41: EKT 121 / 4 ELEKTRONIK DIGIT I

Two J-K flip-flops used to divide the clock Two J-K flip-flops used to divide the clock frequency by 4. frequency by 4. QQAA is one-half and is one-half and QQBB is one- is one-

fourth the frequency of CLK.fourth the frequency of CLK.

Page 42: EKT 121 / 4 ELEKTRONIK DIGIT I

Flip-flops used to generate a binary count Flip-flops used to generate a binary count sequence. Two repetitions (00, 01, 10, 11) are sequence. Two repetitions (00, 01, 10, 11) are

shown.shown.

Page 43: EKT 121 / 4 ELEKTRONIK DIGIT I

Flip-Flop Operating CharacteristicsFlip-Flop Operating Characteristics Propagation Delay TimesPropagation Delay Times Set-up TimeSet-up Time Hold TimeHold Time Maximum Clock FrequencyMaximum Clock Frequency Pulse WidthPulse Width Power DissipationPower Dissipation

Page 44: EKT 121 / 4 ELEKTRONIK DIGIT I

Comparison of operating parameters for 4 IC families of flip-flop of the same type

Page 45: EKT 121 / 4 ELEKTRONIK DIGIT I

There are several other parameters that will also be listed in a manufacturers data sheet.

• Maximum frequency (FMaximum frequency (Fmaxmax)) - The maximum frequency allowed at the clock input.

• Clock pulse width (LOW) [tClock pulse width (LOW) [tWW(L)](L)] - The minimum width that is allowed at the clock input during the LOW level.

• Clock pulse width (HIGH) [tClock pulse width (HIGH) [tWW(H)](H)] - The minimum width that is allowed at the clock input during the high level.

• Set or Reset pulse width (LOW) [tSet or Reset pulse width (LOW) [tww(L)](L)] - The minimum width of the LOW pulse at the set or reset inputs.

Page 46: EKT 121 / 4 ELEKTRONIK DIGIT I

Basic operation of a 555 TimerBasic operation of a 555 Timer

ThresholdThreshold Control VoltageControl Voltage TriggerTrigger DischargeDischarge ResetReset OutputOutput

Page 47: EKT 121 / 4 ELEKTRONIK DIGIT I

Functional Diagram of 555 TimerFunctional Diagram of 555 Timer

Page 48: EKT 121 / 4 ELEKTRONIK DIGIT I

555 Timer as a one shot555 Timer as a one shot

tw = 1.1R1C1 = 1.1(2000)(1F) = 2.2ms

Page 49: EKT 121 / 4 ELEKTRONIK DIGIT I

Astable operation of 555 TimerAstable operation of 555 Timer

tH = .7 (R1+R2)C1 =2.1ms tL = .7R2C1 = 0.7ms


Recommended