香港中文大学:《数学逻辑 Digital Logic》课程教学资源(PPT讲稿)Part 1 Introduction

Digital Logic (Part 1) Prof Kin Hong Wong Department of computer Science and Engineering 香港中文大學 ENGG1100 Introduction to Engineering Design The Chinese University of Hong Kong
ENGG1100 Introduction to Engineering Design Digital Logic (Part 1) Prof. Kin Hong Wong Department of Computer Science and Engineering

ENGG1100|Term2|201415 题香港中文大學 The Chinese University of Hong Kong Overview Part 1: Introduction 1.1 What is digital logic? 1.2 Digital operations(AND, OR, NOT 1.3 Truth table 1.4 Robot hardware 1.5 Software implementation of digital operations Part 2(next week): Hardware/software Implementation 2. 1 Robot system 2.1 Use of If-then-else(software method 1) 2.2 Use of switch case(software method 2) 2.3 Finite state machines V15.02.09 Introduction
ENGG1100 | Term 2 | 2014-15 Overview • Part 1: Introduction • 1.1 What is Digital logic? • 1.2 Digital operations (AND, OR, NOT) • 1.3 Truth table • 1.4 Robot Hardware • 1.5 Software implementation of digital operations • Part 2 (next week): Hardware/software Implementation • 2.1 Robot system • 2.1 Use of If-then-else (software method 1) • 2.2 Use of switch case (software method 2) • 2.3 Finite state machines V15.02.09 Introduction 2

ENGG1100|Term2|201415 题香港中文大學 The Chinese University of Hong Kong Motivations and plans The brain of our robot is a set of digital logic functions We will introduce three techniques in digital logic design Logic formula -Truth table Finite state machine We will use a program in a micro-controller system to implement these techniques V15.02.09 Introduction
ENGG1100 | Term 2 | 2014-15 Motivations and plans • The brain of our robot is a set of digital logic functions • We will introduce three techniques in digital logic design – Logic formula – Truth table – Finite state machine • We will use a program in a micro-controller system to implement these techniques V15.02.09 Introduction 3

ENGG1100|Term2|201415 题香港中文大學 The Chinese University of Hong Kong Exampl e Termina Magnetic sensors How to keep the robot S1 to move forward? Method If the robot deviates to the left, turn right If the robot deviates to Magnetic the right, turn left strip following robot (2013-4) · The above ru| es are logic functions and operations ight following robot (20145) V15.02.09 Introduction
ENGG1100 | Term 2 | 2014-15 Example • How to keep the robot to move forward? Method: – If the robot deviates to the left, turn right – If the robot deviates to the right, turn left • The above rules are logic functions and operations. V15.02.09 Introduction 4 Magnetic sensors S1 S2 Terminal Magnetic strip following robot (2013-4) Light following robot (2014-5)

1. 1 What is digital logic? Understanding the difference between Digital and analog operations V15.02.09 Introduction 5
1.1 What is digital logic? Understanding the difference between Digital and Analog operations V15.02.09 Introduction 5

ENGG1100|Term2|201415 题香港中文大學 The Chinese University of Hong Kong Analog and digital signals Analog signals: the signal can be any values within the valid range Voltage Example: Range =0>10 Volts 10M E.g. The signal can be 1 356 Volts or2.432∨o|ts Analog value Digital signals: It can only be HGH( or called‘1’) or loW(or called 0). Examples In TTL Transistor-transistor -logic OV standard High=1≈5vots,LoW=0≈0vot Time(ms Usually several bits(more than one Voltage digital bit)are used to represent a One digital Bit number corresponding to an 5V analog value E.g. 8-bit to represent a value from 0 to 28-1=255, or 32-bit to OV represent a value from o to 23-1 Time(ms V15.02.09 Introduction
ENGG1100 | Term 2 | 2014-15 Analog and digital signals • Analog signals: the signal can be any values within the valid range – Example: Range =0 → 10 Volts – E.g. The signal can be 1.356 Volts or 2.432 Volts • Digital signals: It can only be HIGH (or called ‘1’ )or LOW (or called ‘0’). Examples: – In TTL Transistor-transistor-logic standard: • High=‘1’ 5 volts, Low=‘0’ 0 Volt • Usually several bits (more than one digital bit) are used to represent a number corresponding to an analog value • E.g. 8-bit to represent a value from 0 to 28 -1 =255, or 32-bit to represent a value from 0 to 2 32 -1 V15.02.09 Introduction 6 Voltage Time (ms) Voltage Time (ms) 5 V 0 V 10 V 0 V 1 1 Analog value One Digital Bit

ENGG1100|Term2|201415 题香港中文大學 The Chinese University of Hong Kong What is the meaning of digital logic? a signal is represented by 1 or 0 Advantages Easy to be implemented in a circuit Less likely to be interfered by noise temperature and radiation Application, digital music Digital data saved in CDs Analog to Digital conversion( adC) 具 Digital to Analog conversion(DAC) V15.02.09 Introduction
ENGG1100 | Term 2 | 2014-15 What is the meaning of digital logic? • A signal is represented by ‘1’ or ‘0’ – Advantages: • Easy to be implemented in a circuit. • Less likely to be interfered by noise, temperature and radiation. • Application, digital music V15.02.09 Introduction 7 Analog to Digital conversion (ADC) Digital data saved in CDs Digital to Analog conversion (DAC)

1.2 Digital Operations AND, OR NOT V15.02.09 Introduction 8
1.2 Digital Operations AND, OR, NOT V15.02.09 Introduction 8

ENGG1100|Term2|201415 题香港中文大學 The Chinese University of Hong Kong Digital Operations Study how to combine inputs to generate outputs In arithmetic operations: 2 Add 3=5, result is 5 In digital operations: We need a truth table to see the result 3 popular digital operations you will learn here -AND OR Digita NOT(Negation) Input1 Digit Digital operation Digital Output Input2 V15.02.09 Introduction
ENGG1100 | Term 2 | 2014-15 Digital Operations • Study how to combine inputs to generate outputs – In arithmetic operations: 2 Add 3= 5, result is 5 – In digital operations: we need a truth table to see the result • 3 popular digital operations you will learn here – AND – OR – NOT (Negation) V15.02.09 Introduction 9 Digital operation Digital Input1 Digital Input2 Digital Output

ENGG1100|Term2|201415 题香港中文大學 The Chinese University of Hong Kong Exercises Multiple choice questions 1 Are these values digital or analog? emperature: Ans: Humidity: Ans 2) Are you a Chinese Univ. student, the answer is: ans ? ls the above answer analog or digital?: Ans 3)Do you have a mobile phone in your pocket, he answer is: ans Is the above answer analog or digital? Ans 4)What is the temperature in this room the e answer is ans Is the above answer analog or digital? Ans ? Answers 1)Analog, analog 2)Yes, digital 3) Yes, digital 4)20 Degrees, analog V15.02.09 Introduction 10
ENGG1100 | Term 2 | 2014-15 Exercises Multiple choice questions 1) Are these values digital or analog? • Temperature : Ans: _________? • Humidity : Ans: _________? 2) Are you a Chinese Univ. student, • the answer is : Ans_____? • Is the above answer Analog or digital? : Ans:_________? 3) Do you have a mobile phone in your pocket, • the answer is : Ans:______? • Is the above answer Analog or digital? Ans: ________? 4) What is the temperature in this room, • the answer is Ans:___? • Is the above answer Analog or digital? Ans: ________? V15.02.09 Introduction 10 Answers: 1) Analog, analog 2) Yes, digital 3) Yes, digital 4) 20 Degrees, analog
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- COMP7880:E-Business Strategies Internal organization of e-business activities.ppt
- 电子科技大学:数据选择和译码显示(实验PPT讲稿).ppt
- 《数字信息处理》课程教学资源(PPT实验)DFT及互相关的初步应用.ppt
- 西安电子科技大学:《电路与模拟电子技术》课程教材PPT课件(第二版)第1章 电路的基本概念与基本定律.ppt
- 滤波器传输函数的零点和极点对滤波特性的影响.ppt
- 大连民族学院:LED辐射强度空间分布及半值角的测量.ppt
- 清华大学:《Geant4》教学资源(PPT讲稿)第二讲 几何、物质、可视化.pptx
- 《数字信号处理》课程教学资源(PPT课件讲稿)数字滤波器设计 filter design techniques.ppt
- 西安电子科技大学电子工程学院:模糊与概率(PPT讲稿).ppt
- 信号与系统(PPT讲稿)Signals and System(Complex Exponentials、Unit Impulse and Unit Step Signal、Singular Functions).ppt
- 《电子工艺》课程PPT教学课件:第6章 印制电路板(印制电路板的制造与检验).ppt
- 电容器(PPT讲稿)电容器的标识、电容器的分类、电容器的检测.ppt
- 《数字信号处理 Digital Signal Processing》课程教学资源(讲义)课程简介.pdf
- 广东海洋大学:《数字信号处理 Digital Signal Processing》课程教学资源(PPT课件讲稿)第三章 z变换及离散系统的频域分析.pps
- 贵州电子信息职业技术学院:《视频监控系统》课程教学资源(PPT讲稿)模块三.ppt
- 彩灯系统循环电路(实验PPT).ppt
- 《电子工艺》课程实习教学资料(PPT课件)焊接技术.ppt
- 《数字电子技术》课程PPT教学课件:第五章 常用时序集成电路及其应用.ppt
- 贵州电子信息职业技术学院:《电子元器件基础》课程教学资源(PPT课件讲稿)项目1 电阻器(主讲:谢忠福).ppt
- 长安大学:《计算机原理及应用》课程教学资源(PPT讲稿)单片机原理及应用(段晨东).pptx
- 《电工学》课程教学资源(PPT课件讲稿)第9章 触发器和时序逻辑电路.ppt
- 电子科技大学:《现代电子技术实验》课程教学资源(PPT讲稿)移位寄存器及其应用研究.ppt
- 大连职业技术学院:《传感器与检测技术》课程PPT教学课件(第二版)第十一章 数字式传感器.pptx
- 华中科技大学:《数字逻辑电路》课程教学资源(PPT课件讲稿)第五章 同步时序逻辑电路.ppt
- Improving MapReduce Performance Using Smart Speculative Execution Strategy.ppsx
- 无线传感器网络的仿真.ppt
- 电子科技大学:滤波器传输函数的零点和极点对滤波特性的影响(PPT实验讲稿).ppt
- 《现代通信光电子学》课程教学资源(PPT讲稿)Chapter VII 半导体激光器 Semiconductor Lasers.ppt
- 海南大学:《数字电子技术 Digital Electronics Technology》课程教学资源(PPT课件讲稿)第2章 逻辑代数基础.ppt
- 西安电子科技大学:《宽带通信网技术》课程教学资源(PPT课件讲稿)课程简介 Broadband Communication Network Technologies(徐展琦).ppt
- 电子产品装配工艺(PPT讲稿)整机安装.ppt
- 《电路理论基础》课程教学资源(PPT课件讲稿)第4章 非线性直流电路.ppt
- 《彩色电视技术》课程教学资源(PPT讲义)第六章 PAL制彩色解码器(亮度通道实际电路分析、色度通道实际电路分析).ppt
- 西安交通大学:《物联网技术概论》课程教学资源(PPT课件讲稿)第三章 AR物联网感知技术(传感器技术).ppt
- 《数字逻辑与数字系统》课程教学资源(PPT课件讲稿)第七章 可编程逻辑器件PLD.ppt
- 《电视技术》课程教学资源(PPT课件讲稿)第四章 高频调谐器.ppt
- 电子科技大学:555集成定时器的应用(实验PPT).ppt
- 《数字信号处理》课程教学资源(PPT课件讲稿)Chapter 06 IIR数字滤波器的设计 IIR Digital Filter Design.ppt
- 赣南师范大学(赣南师范学院):《模拟电路》课程教学资源(PPT课件讲稿)第九章 功率放大电路(使用教材:童诗白《模拟电子技术基础》第三版).ppt
- 《电工电子学》课程教学资源(教学大纲)Electrical Engineering and Electronics.pdf