· When there are analog values outside a computer, and we plan to read these to digital values, there are a variety of factors to consider,
· Consider the conversion process pictured below,
· Once this signal is processes through a typical A/D converter we get the following relations (these may vary slightly for different types of A/D converters).
· In most applications a sample is taken at regular intervals, with a period of `T' seconds.
· In practice the sample interval is kept as small as possible. (i.e., tau << T)
· If we are sampling a periodic signal that changes near or faster that the sampling rate, there is a chance that we will get a signal that appears chaotic, or seems to be a lower frequency. This phenomenon is known as aliasing.
· Quite often an A/D converter will multiplex between various inputs. As it switches the voltage will be sampled by a `sample and hold circuit'. This will then be converted to a digital value. The sample and hold circuits can be used before the multiplexer to collect data values at the same instant in time.
· A simple type of A/D converter is shown below. It is known as a successive approximation type.