CE162 Lec06

  • Multiplexer / Data selector
    • 4选1数据选择器 / Four input Multiplexer
    • Other applications of Multiplexers
  • Decoder
    • 3线-8线译码器
    • 2线-4线译码器
    • Application
  • Digital signals
    • Digital Representation of Signals
    • Bandwidth and Sampling Rate
    • Aliasing(混叠)
    • Electronic Sampling: A basic Sample and Hold circuit
    • Practical Sample and Hold Circuit
    • Performance
    • Quantization

Multiplexer / Data selector

  • 是一种数据开关,用于从多个数据源中选择其中一路传送到公共的数据线上,能够实现这种功能的逻辑电路称为数据选择器或多路开关(Multiplexer )
  • Its original application as a way of transmitting digital data from a number of sources down a single channel, by enabling each source in turn onto the channel
  • 完成从一组输入数据中选出某一个的功能
  • 即在通道选择信号的控制下,将多个通道的数据分时传送到公共的数据通道上

4选1数据选择器 / Four input Multiplexer

  • One of inputs I0 – I3 is routed to (被路由到) output, Y, depending on inputs A and B
  • AB确定时,相当于输入I的某一路确定
  • Input G enables or disables the whole device; can be used when multiplexers are cascaded (级联) to handle more inputs
  • Truth Table of four input multiplexer
  • 表达式
    • Y = I0 A‾\overline{A}A B‾\overline{B}B G‾\overline{G}G + I1A‾\overline{A}A B G‾\overline{G}G+ I2 A B‾\overline{B}B G‾\overline{G}G+ I3 A B G‾\overline{G}G
    • Y = I0m0 + I1m1 + I2m2 + I3m3 (mi为AB构成的最小项)
  • Logic diagram for a four input multiplexer
  • Actual circuits may have two or more
    strobe/enable inputs, to facilitate cascading devices and separate the strobe and enable functions
  • The output may also be available in true and complement forms

Other applications of Multiplexers

Multiplexers can implement combinational logic directly from Truth Table to avoid wiring individual gates, - known as a ‘random logic’ implementation.

The same basic circuit element (the multiplexer) can be ‘programmed’ to realize any required function of a certain number of inputs.

  • example

    • Suppose we have an 8 to 1 multiplexer and want to generate an ‘odd’ parity bit from three inputs ABC
    • connect a signal to each data input
  • Variable Entered K-Map technique
    (并不知道以上这一部分在说什么)

Decoder

  • A device to detect a specific bit combination (a code).
  • In general: n input lines, 2n output lines to indicate presence of one or more n-bit codes.
  • A simple decoder can be achieved with a combination of NOT gates and a multi-input AND gate.
  • More generally, combinations of multiplxers and demultiplexers may be used as decoders.
  • ‘decoder’ = ‘demultiplexer’

3线-8线译码器

  • 逻辑符号

  • 真值表
    To activate the outputs, G1 must be HIGH and BOTH G2A and G2B must be LOW

2线-4线译码器

  • 逻辑图

    Can be implemented with multiple AND gates and NOT gates

Application

  • part of RS232 receiver
  • logic function generator
  • Interpret an instruction register
  • memory matrix

Digital signals

Digital Representation of Signals

  • All digital systems process data in discrete chunks
  • Advantages
    • Error-free transmission (无误传输)
    • Processing, transmission and storage. Many signal processing operations can only be done on digitised signals. Digital signals can usually be ‘compressed’, meaning the amount of data actually required is much less than the raw sampling process generates (省)

Bandwidth and Sampling Rate

  • It is the range of frequencies present in the raw analogue signal that determines the minimum required sampling rate
  • Nyquist’s Theorem: A signal can be reproduced exactly from samples taken at a rate that is at least twice the highest frequency found in the signal
  • Ideal: the highest frequency corresponds to the signal bandwidth
  • In practice, for theoretical reasons it is not possible to define exactly what is a signal’s bandwidth, so an approximation is used instead. Any components above the nominal bandwidth (标称带宽) are regarded as ‘insignificant’
  • This is reflected in practice by choosing sample rates slightly higher than the Nyquist figure

Aliasing(混叠)

  • This phenomenon of one signal ‘pretending’ to be another is called aliasing, and is a fundamental property (and problem!) in all sampled data systems that needs to be taken into account at an early stage in a system design
  • Sampling a signal at less than the Nyquist rate fs < 2fc. Aliasing occurs
  • Sampling the rate at more that the Nyquist rate fs > 2fc. No aliasing

Electronic Sampling: A basic Sample and Hold circuit

Conversion from analogue to digital form needs away of temporarily storing the input so conversion can be carried out(从模拟到数字的转换需要暂时储存输入才可以进行)

The circuit does this by briefly closing an electronic switch that connects input signal to a capacitor(该电路通过短暂闭合一个电子开关来实现这一点,该电子开关将输入信号连接到电容上)

While switch is closed (a short circuit), the capacitor voltage tracks the input(跟踪输入), then freezes it when the switch opens

For this circuit to work:

The internal resistance(内阻)of the signal source needs to be as low as possible (ideally zero)

The ‘ON’ resistance of the switch needs to be as low as possible, and its ‘OFF’ resistance infinite

The input resistance of the amplifier needs to as high as possible (ideally infinite)

In practice, these requirements can only be met approximately

Practical Sample and Hold Circuit


开关:an n-channel Junction Field-Effect Transistor

电路适用:audio frequencies

Sample pulse的极值 = power supply rail voltages (say ±12 V)

Ground = 0 V

负:diode conducts(二极管导通), FET gate 最大负电位,source-drain connection打开,当模拟输入信号的平均电平在0v左右时,电路工作得最好。

正:diode is cut off, the resistor R (≈ 22 k) 确保gate和analogue input电位相等(即跟踪输入电压)(跟踪:两路关联)FET acts as a moderately low resistance(中低等电阻),电容器将充电/放电直到与输入电压相同(理想情况下,当FET导电时,电容上的电压实际上会跟踪输入电压) 。在采样脉冲的下降沿,FET is again cut off,输入电压的值at that instant will be retained across the capacitor.

Performance

Raw samples(原始样本): This is achieved by replacing the hold capacitor with a resistor, and demonstrates that sampling is a kind of modulation, where the sample pulse train is multiplied by the input signal.(这是通过用电阻代替保持电容来实现的,并证明了采样是一种调制,采样脉冲序列乘以输入信号。)
Sample-and-hold. Here the ‘hold’ capacitor is in place; otherwise conditions are the same
In both pictures, the ‘voltage tracking’ behavior during the sample pulse can just be seen.

Filter output is inverted and delayed with respect to the unsampledoriginal(滤波器输出相对于未采样的原始值是反向的和延迟的)

Quantization

Quantization= procedure of converting a discrete-time continuous-amplitude signal (after sampling) into discrete-time discrete-amplitude signal (Divide the amplitude range into equal intervals)(将离散时间连续幅值信号(采样后)转换为离散时间离散幅值信号的过程)

If we want to represent a signal in a computer, it has to be as a binary number of some fixed number of bits, n, leading to an amplitude resolution of N = 2n levels.(E.g. for n = 8 bits, N = 256)

Quality (reducing distortion) improves with the number of bits, but cost and complexity also increase, so the minimum number that gives acceptable quality is used.(质量(减少失真)随着比特数的增加而提高,但成本和复杂性也在增加,因此使用了能提供可接受质量的最小数量。)
电话语音 八位采样

Signal to Noise ration (SNR) (信噪比):信号功率与噪声功率的比值
(这里的噪声产生原因是量子化的引入)

Quantization levels: The value of each sample is represented by a value selected from a finite set of possible values
Quantization width = (Vmax-Vmin)/(no. of levels –1)
Quantization error: 量化过程中由于舍入到最接近的水平而产生的误差

Coding
In the coding process, each discrete value(离散值)is represented by a certain number of bits
Relationship between bits and levels: 2number-of-bits >= no. of levels

CE162Lec06的学习记录相关推荐

  1. Pytorch学习记录-torchtext和Pytorch的实例( 使用神经网络训练Seq2Seq代码)

    Pytorch学习记录-torchtext和Pytorch的实例1 0. PyTorch Seq2Seq项目介绍 1. 使用神经网络训练Seq2Seq 1.1 简介,对论文中公式的解读 1.2 数据预 ...

  2. HTML5与CSS3权威指南之CSS3学习记录

    title: HTML5与CSS3权威指南之CSS3学习记录 toc: true date: 2018-10-14 00:06:09 学习资料--<HTML5与CSS3权威指南>(第3版) ...

  3. springboot @cacheable不起作用_Springboot学习记录13 使用缓存:整合redis

    本学习记录的代码,部分参考自gitee码云的如下工程.这个工程有详尽的Spingboot1.x教程.鸣谢! https://gitee.com/didispace/SpringBoot-Learnin ...

  4. 【Cmake】Cmake学习记录

    Cmake学习记录 1.1 常例 add_library(gen_reference_infogen_reference_info/gen_reference_info.hgen_reference_ ...

  5. ASP.NETCore学习记录(一)

    ASP.NETCore学习记录(一) asp.net core介绍  Startup.cs  ConfigureServices  Configure  0. ASP.NETCore 介绍 ASP.N ...

  6. Android开发技术周报176学习记录

    Android开发技术周报176学习记录 教程 当 OkHttp 遇上 Http 2.0 http://fucknmb.com/2018/04/16/%E5%BD%93OkHttp%E9%81%87% ...

  7. add函数 pytorch_Pytorch学习记录-Pytorch可视化使用tensorboardX

    Pytorch学习记录-Pytorch可视化使用tensorboardX 在很早很早以前(至少一个半月),我做过几节关于tensorboard的学习记录. https://www.jianshu.co ...

  8. java之字符串学习记录

    java之字符串学习记录 public class StringDemo { public static void main(String[] args) { //静态初始化字符串 String s1 ...

  9. Redis的学习记录

    Redis的学习记录 1.先导了解 1.1 NOSQL概述 1.1.1 为什么要用NoSql? 1.1.2 NoSql了解 1.1.3 NoSql特点 1.1.4 NoSQL的四大分类 2. Redi ...

最新文章

  1. python做excel表格代码_python实现跨excel的工作表sheet之间的复制方法
  2. P2057 [SHOI2007]善意的投票 (最大流最小割)
  3. Windows server backup笔记 WSB
  4. Redis Labs再次修改许可,没用几个月的Commons Clause或被删除
  5. 「Ubuntu」ModuleNotFoundError: No module named ‘softwareproperties‘
  6. 我应该用哪种虚拟机?(一)
  7. B9.流行的框架与新技术
  8. 排球计分程序功能说明书
  9. 笔记《JavaScript 权威指南》(第6版) 分条知识点概要1—词法结构
  10. Routeros2.9.7安装总结
  11. python 请求头_Python爬虫:将headers请求头字符串转为字典
  12. upc 6605 所罗门王的宝藏
  13. 【题解】【中国大学MOOC】(北京大学)人工智能与信息社会测验——8人工智能与人类社会未来
  14. 如何用Excel制作工作计划,跟踪任务进度,快来学习吧
  15. 启用mysql系统找不到指定的文件类型_net start mysql 发生系统错误2 系统找不到指定的文件...
  16. 小程序模拟表格-可左右滑动
  17. AD从原理图到PCB超详细教程
  18. 前端之扇形图实现案例
  19. FLEX 组织结构图
  20. 怎么实现抓取同行网站访客号码

热门文章

  1. setsockopt与getsockopt的参数解析与使用
  2. win8信息服务器不可用怎么办,Win8打印机出现RPC服务器不可用怎么办?
  3. 那些年我们遇到的坑(1)-Description Resource Path Location Type Archive for required library
  4. 基于asp.net网上选课系统设计
  5. 基于javaweb+mysql的汽车配件销售管理系统(java+SpringBoot+layui+html+maven+mysql)
  6. 通用 Mapper 4.0.0 版本发布
  7. 宏基A500 固件升级
  8. 神探夏洛克 Sherlock: The Abominable Bride (2016)
  9. 2022电大国家开放大学网上形考任务-人体解剖生理学(本)非免费(非答案)
  10. HDU - 1008ACM