- 1、本文档共41页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
嵌入式MSP430
CS4101 嵌入式系統概論Analog-to-Digital Converter Prof. Chung-Ta King Department of Computer Science National Tsing Hua University, Taiwan We Have Learned ... Outline Introduction to analog-to-digital conversion ADC of MSP430 Sample code of using ADC10 in MSP430 Analog-to-Digital Converter (ADC) To know nature phenomena, which is analog, and make it feasible for computer to handle, we need to convert it into digital signals To transform the analog, continuous signals into digital ones, the ADC samples the input at fixed interval and do the conversion Analog Signals A signal representing continuous things, e.g. Fluctuations in air pressure (i.e. sound) strike the diaphragm of a microphone, which causes corresponding fluctuations in a voltage or the current in an electric circuit The voltage or current is an analog of the sound Analog-to-Digital Conversion ADC: convert an analog input, e.g., a voltage V, into a binary value that processor can handle The input V(t) is a continuous function, i.e., V can take any value within a permitted range and can change in any way as a function of time t The output V[n] is a sequence of binary values. Each has a fixed number of bits and can represent only a finite number of values. Typically input is sampled regularly at intervals of Ts, so the continuous nature of time has also been lost. Of course, we also have DAC (digital-to-analog converter)! Analog-to-Digital Conversion Digital representations of analog waveforms Sampling in Time The value of the analog signal is measured at certain intervals in time. Each measurement is referred to as a sample Terminologies in Sampling Sampling rate: How often analog signal is measured (samples per second, Hz), e.g. 44,100 Hz? Sampling resolution: Number of bits to represent each sample (“sample word length,” “bit depth”), e.g. 16 bit Encoding of Discrete Signals If we use N bits to encode the magnitude of one of the discrete-time samples, we can capture 2N possible values Sampling Rate and En
您可能关注的文档
- 山东省济南市槐荫区2016-2017学年八年级上期末考试英语试题附答案(word版).docx
- 山东省济宁市2014届高三英语上学期期末考试新人教版.doc
- 山东省日照市2017届高三下学期第二次模拟考试数学(理)试题.doc
- 山东省济钢高中2017届高三开学考试英语试题.docx
- 山东省济宁市微山县第一中学2015-2016学年高一英语上学期入学检测试题(普通班).doc
- 山东省淄博市2013高三英语第二次模拟考试(淄博二模)新人教版.doc
- 山东省济南市2016届高三5月针对性考试(模拟)考试英语试题.doc
- 山东省_2007年_高考英语真题(附答案+听力mp3)_历年历届试题(详解).doc
- 山东省2013中考英语试题集锦(带答案).doc
- 山东省淄博市2015年中考英语试题含答案(word版).doc
文档评论(0)