- 1、本文档共33页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Analog-to-Digital Converter We Have Learned ... 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 Encoding Bits Requirements of MSP430 for ADC Provide continuous sampling of multiple analog inputs and store sampled data Requirements of MSP430 for ADC Provide continuous sampling of multiple analog inputs and
文档评论(0)