How Analogue to Digital Conversion Works

How Analogue to Digital Conversion (ADC) systems work to convert analogue signal into a digital format which can be transmitted on networks.

By Tim Trott | How Stuff Works | October 17, 2002
949 words, estimated reading time 3 minutes.

Converting an analogue signal to a digital format will require first taking samples at regular intervals. At least two samples must be taken during each cycle of the analogue signal.

The sample level must be held so that a comparison can be made against a range of test voltages, each of which corresponds to a unique digital code. Unless we use an infinite number of codes it will not usually be possible to obtain an exact match between the analogue sample level and the digital code level.

However, using the nearest available level above and/or below will result in only a small imperfection known as a quantisation error. In this way, the regular analogue signal samples are allocated a digital code, which can now be transmitted over the digital network. In the same way that computer-generated data bytes are converted from parallel to serial format, the quantised analogue samples are converted into a serial form to pass over a single network channel.

It may be necessary to add synchronising bits, error checking and/or correcting bits before transmission, but from this point onwards there is no essential difference between this converted analogue signal and a computer-generated data signal.

The highest frequency in a telephone-quality speech signal is 3000 Hz. Hence, at least two samples for one cycle of this signal result in a sample rate of 6000 samples per second. This is to take a sample every 150ms.

If the analogue signal is between +5 volts and -5 volts and we are using an eight-bit code with no redundancy, then the 256 available codes give:- 10/256 = 39 mV between levels.

These eight bits must be transmitted in the next 150 ms - so the data rate needs to be just over 50 kbps.

While this data rate is similar to that which is possible over the present telephone line, it is intended to be entering a digital system having a much wider bandwidth, where data rates in the order of Mbps are to be expected. This telephone service will be multiplexed along with other speech, video and fax services plus digital data traffic. It may well be compressed in a similar way to computer files to maximise the available bandwidth.

Other analogue speech circuits could be electronically switched to the input of the Analogue to Digital converter, which would similarly process these. Because each would need to be sampled at the same rate (twice per cycle), then each will generate eight (for example) data bits. Hence, if six telephone circuits are required, this will create 8 x 6 bits which must be transmitted in 150 bits. The data rate is therefore 48 bits in 150ms or 320 kbps, which is still a modest rate for a digital system.

These would then be multiplexed into a common channel along with data from other services to form a data stream. Each service could have a specified time slot within this data stream, which must be known to the receiving terminal so that it can be recovered correctly. This would result in some channels being unused at any given time and this would be an uneconomic use of available bandwidth.

An alternative method may be to have time slots for general use. Any of the services, phone, fax, video, data etc. will then be allocated to any available time slot within the data stream until all are in use.

Although this makes better use of the available resources it requires additional information to be sent to identify what each time slot is being used for. This system also allows for "intelligent" control where, for example, all phone calls can be given priority access to the time slots such that no matter how busy the system is, all incoming and outgoing phone calls are not delayed. On the other hand, where a data link needs to be made, if several time slots are available then all of these can be used to create a high-speed circuit. The flexibility of this type of multiplexing allows circuits to be established for a range of different services in the most efficient way to make the best use of the bandwidth available.

Although data, such as a computer file, can be transferred at just about any rate, or even paused, this does not apply to a phone circuit. There is an international agreement limiting the delay on a phone circuit since this can cause the service to become unacceptable. You will encounter an example of this when an interviewer uses a satellite link to question a guest in some distant location. Due to the very long route, the signal must take, there is a significant delay imposed between the two participants, which frequently causes problems. Interactions seem to be coming at inappropriate times and the usual smooth flow breaks down. If this is a problem for people who are experienced in such situations it would be catastrophic for the general public. For this reason, the way that phone circuits and data circuits are handled must have different considerations as they pass through the communication network. The data from a computer file can be separated into discrete blocks, follow different routes having different delays, and be temporarily stored on the route, before being finally received and reassembled in the correct order for use.

This is not possible with the data from a phone circuit, which must remain in the correct sequence and not subject to any significant delay.

Although telephone speech signals have been referred to, these are not the only analogue signals that may need to be transmitted over the network. The method of digitising these will be the same but may require different sample rates and/or coding bits. Examples will include music, video and control signals.

Was this article helpful to you?
 

Related ArticlesThese articles may also be of interest to you

CommentsShare your thoughts in the comments below

If you enjoyed reading this article, or it helped you in some way, all I ask in return is you leave a comment below or share this page with your friends. Thank you.

There are no comments yet. Why not get the discussion started?

We respect your privacy, and will not make your email public. Learn how your comment data is processed.