5.5.4 · D3 · HinglishEmbedded Systems & Real-Time Software

Worked examplesADC - DAC — resolution, sampling rate, Nyquist

3,050 words14 min read↑ Read in English

5.5.4 · D3 · Coding › Embedded Systems & Real-Time Software › ADC - DAC — resolution, sampling rate, Nyquist

Yeh page parent topic ka drill-ground hai. Hum har tarah ki situation lete hain jo resolution, sampling rate, aur Nyquist ke ideas produce kar sakte hain — aur har ek ko zero se, bol-bol ke work out karte hain. Yahan koi bhi symbol use nahi hota jo parent note ne build nahi kiya, aur jahan koi naya aata hai hum use wapas earn karte hain.


The scenario matrix

Is topic ki har problem asal mein thodi si shapes mein se ek hoti hai. Yeh rahe.

# Cell (case ka type) Kya cheez tricky banati hai Covered by
A Resolution — normal seedha LSB / code arithmetic Ex 1
B Resolution — boundary / full-scale top code par " vs " ka trap Ex 2
C Resolution — degenerate (1 bit, chhota signal) signal 1 LSB se bhi chhota → dead code Ex 3
D Sampling — below Nyquist (aliasing) frequency fold back ho jaati hai Ex 4
E Sampling — above Nyquist (safe) verify karo koi folding nahi, margin nikalo Ex 5
F Sampling — exactly at (limiting value) boundary SAFE nahi hai Ex 6
G Multiple tones / choose karna sabse zyada frequency ko clear karna hoga Ex 7
H Real-world word problem words → numbers → filter choice mein translate karo Ex 8
I Exam twist (SNR ↔ bits, backwards) 6.02N formula ko ulta solve karo Ex 9
J DAC reconstruction — staircase zero-order hold, ke upar images Ex 10

Hum A → J order mein jayenge. Pehle, do axes ki ek shared picture jinpar har problem jeeti hai.

Figure — ADC - DAC — resolution, sampling rate, Nyquist
Recall Teen formulas jo hum baar baar use karenge (sab parent se hain)

Full-scale range ko codes mein split karo gaps ke saath ::: Ek voltage se code ::: Nyquist rule ::: ; Nyquist frequency Alias frequency ::: SNR ceiling :::

Yahan number of bits hai (yes/no switches ki count), reference voltage hai (input range ka top), hertz mein ek signal frequency hai, aur sampling rate hai samples per second mein. Aur kuch assume nahi kiya gaya.


Cell A — Resolution, normal case


Cell B — Resolution boundary par (the trap)


Cell C — Degenerate: signal ek LSB se bhi chhota


Cell D — Nyquist se neeche sampling → aliasing

Figure — ADC - DAC — resolution, sampling rate, Nyquist

Cell E — Nyquist se upar sampling (safe) + margin


Cell F — Limiting value: exactly par sampling


Cell G — Multiple tones: sampling rate choose karo


Cell H — Real-world word problem


Cell I — Exam twist: SNR formula ulta chalao


Cell J — DAC reconstruction & the staircase

Figure — ADC - DAC — resolution, sampling rate, Nyquist


Connections

  • ADC - DAC — resolution, sampling rate, Nyquist (index 5.5.4) — parent topic
  • Quantization Noise & SNR — Ex 9 mein use kiya gaya ceiling
  • Anti-Aliasing Filters — cells D aur H ka fix
  • Zero-Order Hold & Reconstruction — Ex 10 ka staircase
  • Fourier Transform & Frequency Domain — images aur folding exist kyun karte hain
  • Successive Approximation vs Sigma-Delta ADC — yeh numbers hardware kaise bante hain
  • Sensor Interfacing on Microcontrollers — Ex 3 se dead-code fix