Skip to content

Search

Search courses, labs, notes, tools…

Guided lab · ECE 3

PCM Encoding

Turn a DC voltage and a sine wave into 8-bit PCM frames, read the code on the scope, and measure the quantisation step

Time
60 min
Bench
Emona kit bench

Free. The lab opens after Google sign-in, which also keeps your progress.

Screenshot of the "PCM Encoding" virtual lab running on the Emona kit bench, wired and measuring

What you do in this lab

You will clock the PCM Encoder module and look at its clock, its frame-sync (FS) pulse and its serial PCM DATA. You will read the 8-bit code for 0 V, sweep a DC input from one end of the range to the other to find the codes 00000000 and 11111111, and use them to work out the size of one quantisation step. Finally you will encode a sine wave and watch the code change every frame.

Objectives

  • List the steps of PCM encoding: sample, quantise, give a binary code, send it bit by bit.
  • Find the start and end of a frame, each bit, bit-7 (MSB) and bit-0 (LSB) using the clock and the FS signal.
  • Read the 8-bit code for 0 V and explain why it is about 10000000 and not 00000000.
  • Measure the input range (about ±2 V) and work out the quantisation step Δ = 4 V/256 ≈ 15.6 mV.
  • Explain quantisation error and why more levels make it smaller.
  • Use the scope's EXT trigger input to get a stable picture.

Inside the lab

Step-by-step instructions with wiring checks, the readings you should get, questions with model answers and a short quiz. Sign in to open it.

Unofficial, free student project. Not affiliated with Emona Instruments or with any university. Emona and ETT-101 are trademarks of their owner.