Signal Quantizer

Snapshot of the front panel of the simulator:



Description of the simulated system

In this simulator the sampling of an analog, continuous-time signal by an AD converter (analog-digital) is simulated.

When an analog, continuous-time signal y(t) of signal range [Ymin, Ymax] is sampled by an AD (analog-digital) converter of n bits: bn-1, bn,..., b1, b0, the resolution, i.e. the maximum signal range represented by the LSB (least significant bit), is

q = (Ymax - Ymin)/(2n - 1)

Example: Given a signal y between Ymax = 100% and Ymin = 0% which is sampled using a 8 bit AD converter. The resolution is

q = (Ymax - Ymin)/(2n - 1)
= (100% - 0%)/(28 - 1)
= 100%/255
= 0.392 %


Aim

The aim of the tasks below is to give an understanding of how the sampled (discrete-time signal) depends on the number of bits in the AD converter.


Motivation

Sampling av continuous-time signals takes place in all applications where a computer is used to read measurement data. It is important to be able to calculate the resolution of the digital signal generated by the AD converter to decide if the accuracy is acceptable.


Tasks

  1. Change the input signal u, and observe how the resolution of the digital signal depends on the number of bits n. You can select n between 2 and 12.
  2. There will be a difference between the analog signal and the digital (sampled) signal. What is the maximum value of this difference? Verify the result by running a proper simulation.

[SimView] [TechTeach]


Updated 21. January 2008. Developed by Finn Haugen. E-mail: finn@techteach.no.