Microsoft PowerPoint - STU_EC_Ch07.ppt

Similar documents
Microsoft PowerPoint - STU_EC_Ch08.ppt

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11

BC04 Module_antenna__ doc

GH1220 Hall Switch

Microsoft PowerPoint - STU_EC_Ch02.ppt

untitled

邏輯分析儀的概念與原理-展示版

Microsoft PowerPoint - STU_EC_Ch04.ppt

Pin Configurations Figure2. Pin Configuration of FS2012 (Top View) Table 1 Pin Description Pin Number Pin Name Description 1 GND 2 FB 3 SW Ground Pin.

Microsoft PowerPoint - STU_EC_Ch01.ppt

Microsoft PowerPoint - ATF2015.ppt [相容模式]

T stg -40 to 125 C V cc 3.8V V dc RH 0 to 100 %RH T a -40 to +125 C -0.3 to 3.6V V -0.3 to VDD+0.3 V -10 to +10 ma = 25 = 3V) VDD

Microsoft Word - LR1122B-B.doc

<4D F736F F D C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

LH_Series_Rev2014.pdf

Cube20S small, speedy, safe Eextremely modular Up to 64 modules per bus node Quick reaction time: up to 20 µs Cube20S A new Member of the Cube Family

Microsoft PowerPoint - ryz_030708_pwo.ppt

穨control.PDF

Microsoft PowerPoint - Ch5 The Bipolar Junction Transistor

Microsoft Word - SP-DM13A-A.003.doc

Knowledge and its Place in Nature by Hilary Kornblith

9 什 么 是 竞 争 与 冒 险 现 象? 怎 样 判 断? 如 何 消 除?( 汉 王 笔 试 ) 在 组 合 逻 辑 中, 由 于 门 的 输 入 信 号 通 路 中 经 过 了 不 同 的 延 时, 导 致 到 达 该 门 的 时 间 不 一 致 叫 竞 争 产 生 毛 刺 叫 冒 险 如

iml88-0v C / 8W T Tube EVM - pplication Notes. IC Description The iml88 is a Three Terminal Current Controller (TTCC) for regulating the current flowi

Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft Word - ML63S_8.doc

Microsoft PowerPoint _代工實例-1

Microsoft Word - AP1515V02

Microsoft Word - LD5515_5V1.5A-DB-01 Demo Board Manual

1.ai

iml v C / 0W EVM - pplication Notes. IC Description The iml8683 is a Three Terminal Current Controller (TTCC) for regulating the current flowin

Microsoft Word - PZ series.doc

iml v C / 4W Down-Light EVM - pplication Notes. IC Description The iml8683 is a Three Terminal Current Controller (TTCC) for regulating the cur

JOURNAL OF EARTHQUAKE ENGINEERING AND ENGINEERING VIBRATION Vol. 31 No. 5 Oct /35 TU3521 P315.

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

%

入學考試網上報名指南

2/80 2

國立中山大學學位論文典藏

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish


Microsoft Word - P SDV series.DOC

untitled


CHCN.indd

OA-253_H1~H4_OL.ai

HC50246_2009

Microsoft PowerPoint - CA_02 Chapter5 Part-I_Single _V2.ppt

untitled

< B9E2BBFAD7DBBACFCDBCB2E1B6A8B8E52DC7E5CEFAB0E6312E706466>

MODEL 62000H SERIES 5KW / 10KW / 15KW 0 ~ 375A 0 ~ 1000V/2000V( ) : 200/220Vac, 380/400Vac, 440/480Vac 3U/15KW / & 150KW / ( 10 ms ~ 99 hours)

PowerPoint Presentation

( ) ( ) ( ) 1. OEM/ODM ANSI Z89.1 EN GB ANSI S

ESD.xls

中国人民大学商学院本科学年论文

國立中山大學學位論文典藏.PDF

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Exp

VASP应用运行优化

Microsoft PowerPoint - CH 04 Techniques of Circuit Analysis

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2

K301Q-D VRT中英文说明书141009

untitled

FILTRON 1. DC AC AC 220V 50HZ / / / / 4. 1) / DC AC FILTRON DC AC FILTRON DC 12V 12VDC D

Logitech Wireless Combo MK45 English

<4D F736F F F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E BBCE6C8DDC4A3CABD5D>

Gerotor Motors Series Dimensions A,B C T L L G1/2 M G1/ A 4 C H4 E

HC20131_2010

Gerolor Motors Series Dimensions A,B C T L L G1/2 M8 G1/ A 4 C H4 E

A Community Guide to Environmental Health

E15-3D1 1. Specifications Compact 4-Way Cassette type Model name MMU- AP0071MH2UL AP0091MH2UL AP0121MH2UL AP0151MH2UL AP0181MH2UL Cooling Capacity kbt

* RRB *

52C

10_DataSheet_LMS-Q1560_xx-xx-2013_PRELIMINARY_IP.indd

~ a 3 h NCEP ~ 24 3 ~ ~ 8 9 ~ km m ~ 500 m 500 ~ 800 m 800 ~ m a 200

Tel:

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

PTS7_Manual.PDF

a b c d e f g C2 C1 2

UDC Empirical Researches on Pricing of Corporate Bonds with Macro Factors 厦门大学博硕士论文摘要库

r_09hr_practical_guide_kor.pdf

热设计网

瞿佑詞校勘輯佚及板本探究

QQGQ2.E Power Supplies, Information Technology Equipment Including Ele... 1/10

國立中山大學學位論文典藏.PDF

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

前 言 一 場 交 換 學 生 的 夢, 夢 想 不 只 是 敢 夢, 而 是 也 要 敢 去 實 踐 為 期 一 年 的 交 換 學 生 生 涯, 說 長 不 長, 說 短 不 短 再 長 的 路, 一 步 步 也 能 走 完 ; 再 短 的 路, 不 踏 出 起 步 就 無 法 到 達 這 次

Microsoft PowerPoint - talk8.ppt

中 國 茶 詩 與 文 人 茶 道 生 活 顏 鸝 慧 人 社 科 院 / 人 文 藝 術 教 學 中 心 摘 要 飲 茶 的 起 源, 歷 來 眾 說 紛 紜, 根 據 文 獻 資 料 顯 示, 在 唐 代 之 前, 飲 茶 只 是 一 種 區 域 性 的 生 活 風 俗 然 西 漢 時 已 有

RF & MICROWAVE COMPONENTS

ch_code_infoaccess

audiogram3 Owners Manual

...2 SK 500 G SK 500 G / /

C o n t e n t s Acceptance Allow Love Apologize Archangel Metatron Archangel Michael Ask for

PowerPoint Presentation

Table of Contents A. Product Outline.. 3 B. Features.. 4 C. Block Diagram... 5 D. Pin Assignments. 6 E. Physical Specifications... 7 F. DC Characteris

林教授2.PDF

OVLFx3C7_Series_A3_bgry-KB.pub

Microsoft Word - 第四組心得.doc

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

History 97 97Universal Universal 98Universal 98Magnetek Magnetek ighting Group Universal Technologies ighting Energy Saving Incorporation

Transcription:

樹德科技大學資訊工程系 Chapter 7: Flip-Flops and Related Devices Shi-Huang Chen Fall 2010 1 Outline Latches Edge-Triggered Flip-Flops Master-Slave Flip-Flops Flip-Flop Operating Characteristics Flip-Flop Applications One-Shots The 555 Timer 2 1

Latches A latch ( 閂 ) is a temporary storage device that has two stable states (bistable). It is a basic form of memory. The S-R (Set-Reset) latch is the most basic type. It can be constructed from NOR gates or NAND gates. With NOR gates, the latch responds to active-high inputs; with NAND gates, it responds to active-low inputs. R S S NOR Active-HIGH Latch R NAND Active-LOW Latch 3 S-R (SET-RESET) Latch (1) The active-high S-R latch is in a stable (latched) condition when both inputs are LOW. Assume the latch is initially RESET ( = 0) and the inputs are at their inactive level (0). To SET the latch ( = 1), a momentary HIGH signal is applied to the S input while the R remains LOW. To RESET the latch ( = 0), a momentary HIGH signal is applied to the R input while the S remains LOW. 0 R 10 Latch initially RESET 01 0 S 0 0 R S 01 Latch initially SET 10 4 2

S-R (SET-RESET) Latch (2) The active-low S-R latch is in a stable (latched) condition when both inputs are HIGH. Assume the latch is initially RESET ( = 0) and the inputs are at their inactive level (1). To SET the latch ( = 1), a momentary LOW signal is applied to the S input while the R remains HIGH. To RESET the latch a momentary LOW is applied to the R input while S is HIGH. Never apply an active set and reset at the same time (invalid). 1 S 10 Latch initially RESET 01 1 R 1 S 1 R 01 Latch initially 10 SET 5 S-R (SET-RESET) Latch (3) The three modes of basic S-R latch operation (SET, RESET, no-change) and the invalid condition. 6 3

S-R (SET-RESET) Latch (4) 7 S-R (SET-RESET) Latch (5) (c) No-change condition (d) Invalid condition 8 4

S-R (SET-RESET) Latch (6) 9 S-R (SET-RESET) Latch (7) Logic symbols 10 5

The 74LS279 quad S-R latch 11 Application Example The S-R latch used to eliminate switch contact bounce. 12 6

A Gated S-R Latch A gated latch is a variation on the basic latch. The gated latch has an additional S input, called enable (EN) that must be HIGH in order for the latch to EN respond to the S and R inputs. Show the output with relation to the input signals. R Assume starts LOW. Keep in mind that S and R are only active when EN is HIGH. S R EN 13 A Gated D Latch (1) The D latch is an variation of the S-R latch but combines the S and R inputs into a single D input as shown: D D EN EN A simple rule for the D latch is: follows D when the Enable is active. 14 7

A Gated D Latch (2) D Determine the output for the D latch, given the inputs shown. EN D EN Notice that the Enable is not active during these times, so the output is latched. 15 The 74LS75 quad gated D latches 16 8

Flip-Flops (1) A flip-flop differs from a latch in the manner it changes states. A flip-flop is a clocked device, in which only the clock edge determines when a new bit is entered. The active edge can be positive or negative. D D C C Dynamic input indicator (a) Positive edge-triggered (b) Negative edge-triggered 17 Flip-Flops (2) The truth table for a positive-edge triggered D flip-flop shows an up arrow to remind you that it is sensitive to its D input only on the rising edge of the clock; otherwise it is latched. The truth table for a negative-edge triggered D flip-flop is identical except for the direction of the arrow. Inputs Outputs D Comments 1 1 0 SET 0 0 1 RESET Inputs Outputs D Comments 1 1 0 SET 0 0 1 RESET (a) Positive-edge triggered (b) Negative-edge triggered 18 9

Flip-Flops (3) The J-K flip-flop is more versatile than the D flip flop. In addition to the clock input, it has two inputs, labeled J and K. When both J and K = 1, the output changes states (toggles) on the active clock edge (in this case, the rising edge). J Inputs K Outputs Comments 0 0 0 0 No change 0 1 0 1 RESET 1 0 1 0 SET 1 1 0 0 Toggle 19 Flip-Flops (4) Determine the output for the J-K flip-flop, given the inputs shown. Notice that the outputs change on the leading edge of the clock. J K Set Toggle Set Latch J K 20 10

Flip-Flops (5) A D-flip-flop does not have a toggle mode like the J-K flipflop, but you can hardwire a toggle mode by connecting back to D as shown. This is useful in some counters as you will see in Chapter 8. For example, if is LOW, is HIGH and the flip-flop will toggle on the next clock edge. Because the flip-flop only changes on the active edge, the output will only change once for each clock pulse. D D flip-flop hardwired for a toggle mode 21 Flip-Flops (6) Synchronous inputs are transferred in the triggering edge of the clock (for example the D or J-K inputs). Most flipflops have other inputs that are asynchronous, meaning they affect the output independent of the clock. Two such inputs are normally labeled preset (PRE) and clear (CLR). These inputs are usually active LOW. A J-K flip flop with active LOW preset and CLR is shown. PRE J K CLR 22 11

Flip-Flops (7) PRE Determine the output for the J-K flip-flop, given the inputs shown. J K J Set Toggle Set Reset Toggle CLR Latch K PRE CLR Set Reset 23 Flip-Flops (8) Flip-flop Characteristics Propagation delay time is specified for the rising and falling outputs. It is measured between the 50% level of the clock to the 50% level of the output transition. 50% point on triggering edge 50% point 50% point on LOW-to- HIGH transition of 50% point on HIGH-to- LOW transition of t PLH t PHL The typical propagation delay time for the 74AHC family (CMOS) is 4 ns. Even faster logic is available for specialized applications. 24 12

Flip-Flops (9) Flip-flop Characteristics Another propagation delay time specification is the time required for an asynchronous input to cause a change in the output. Again it is measured from the 50% levels. The 74AHC family has specified delay times under 5 ns. PRE 50% point CLR 50% point 50% point 50% point t PHL t PLH 25 Flip-Flops (10) Flip-flop Characteristics Set-up time and hold time are times required before and after the clock transition that data must be present to be reliably clocked into the flip-flop. Setup time is the minimum time for the data to be present before the clock. D Set-up time, t s Hold time is the minimum time for the data to remain after the clock. D Hold time, t H 26 13

Flip-Flops (11) Flip-flop Characteristics Other specifications include maximum clock frequency, minimum pulse widths for various inputs, and power dissipation. The power dissipation is the product of the supply voltage and the average current required. A useful comparison between logic families is the speed-power product which uses two of the specifications discussed: the average propagation delay and the average power dissipation. The unit is energy. What is the speed-power product for 74AHC74A? Use the data from Table 7-5 to determine the answer. From Table 7-5, the average propagation delay is 4.6 ns. The quiescent power dissipated is 1.1 mw. Therefore, the speed-power product is 5.06 pj 27 Flip-Flop Applications (1) Example of flip-flops used in a basic register for parallel data storage For data storage applications, a group of flip-flops are connected to parallel data lines and clocked together. Data is stored until the next clock pulse. 28 14

Flip-Flop Applications (2) The J-K flip-flop as a divide-by-2 device. is one-half the frequency of. Frequency Division 29 Flip-Flop Applications (3) Example of two J-K flip-flops used to divide the clock frequency by 4. A is one-half and B is one-fourth the frequency of. If = 100 MHz A = 50 MHz B = 25 MHz 30 15

Flip-Flop Applications (4) 31 Flip-Flop Applications (5) Flip-flops used to generate a binary count sequence. Two repetitions (00, 01, 10, 11) are shown 32 16

Flip-Flop Applications (6) 33 One-Shot (1) The one-shot or monostable multivibrator is a device with only one stable state. When triggered, it goes to its unstable state for a predetermined length of time, then returns to its stable state. +V For most one-shots, the length of time in the unstable state (t W ) is determined by an external RC circuit. R EXT Trigger C EXT CX RX/CX Trigger t W 34 17

One-Shot (2) Nonretriggerable one-shot action 35 One-Shot (3) Retriggerable one-shot action 36 18

The 555 Timer (1) The 555 timer can be configured in various ways, including as a one-shot. A basic one shot is shown. The pulse width is determined by R 1 C 1 and is approximately +V t W = 1.1R 1 C 1. CC (4) (8) R 1 (7) RESET DISCH V CC The trigger is a negative-going pulse. (6) (2) C 1 THRES OUT TRIG CONT GND (1) (3) (5) t W = 1.1R 1 C 1 37 The 555 Timer (2) Internal functional diagram of a 555 timer, pin numbers are in () 38 19

The 555 Timer (3) Determine the pulse width for the circuit shown. t W = 1.1R 1 C 1 = 1.1(10 kω)(2.2 μf) = 24.2 ms +V CC +15 V R 1 (4) (8) 10 kω (7) RESET DISCH V CC (6) THRES OUT (3) C 1 2.2 μf (2) TRIG CONT GND (1) (5) t W = 1.1R 1 C 1 39 The 555 Timer (4) The 555 can be configured as a basic astable multivibrator with the circuit shown. In this circuit C 1 charges through R 1 and R 2 and discharges through only R 2. The output +V frequency is given by: CC f = 1.44 R R C ( + 2 ) 1 2 1 The frequency and duty cycle are set by these components. ( R + R2 ) Duty Cycle = ( R + 2R ) 1 1 2 100% R 1 R 2 C 1 (4) (8) RESET (7) DISCH (6) THRES (2) TRIG GND V CC OUT CONT (3) (5) (1) 40 20

The 555 Timer (5) Given the components, you can read the frequency from the chart. Alternatively, you can use the chart to pick components for a desired frequency. 100 +V CC C 1 (μf) 10 1.0 0.1 0.01 10 MΩ 1 MΩ 10 kω 100 kω 1 kω R 1 R 2 C 1 (4) (8) RESET V CC (7) DISCH (6) THRES OUT (2) TRIG CONT GND (1) (3) (5) 0.001 0.1 1.0 10 100 1.0k 10k 100k f (Hz) 41 Example: Frequency and Duty Cycle f = ( R 1 1.44 + 2R ) C 2 1 1.44 = = 5.64kHz (2.2kΩ + 9.4kΩ)0.022μF ( R1 + R2) Duty Cycle = 100% ( R + 2R ) 1 2.2kΩ + 4.7kΩ = 100% = 59.5% 2.2kΩ + 9.4kΩ 2 42 21