solution_5
solution_5
1 – Digital Electronics II
1B. Full-scale range = 3998 so the accuracy is 2/3998 of full-scale range. For an N-bit binary A/D
converter, the full-scale range is (2N–1) LSB giving an accuracy of 0.5/(2N–1).
0.5 2
Hence ≤ ⇒ 2 N ≥ 1000.5 ⇒ N ≥ 9.96 ⇒ N = 10
2 N − 1 3998
3B. 1 V and 8 V correspond to output values of 100 and 800 respectively, so if 1 V < x < 8 V, the output
will be in the range 100 to 799.
4C. A change of 5 V in V3 must give a change of –1 V in VOUT, a gain of –0.2. Hence RF/R3 = 0.2 ⇒
R3 = 50 kΩ.
When V3=0, the op-amp may be viewed an a non-inverting amplifier with a gain of (1 + RF/R3) =
1.2. The voltage at VOUT due to V2:0 is therefore given by:
To minimize the effect of op-amp bias currents, we should make the Thévenin impedances at the
input terminals equal. This means that G4+G2+G1+G0 = G3+GF = 120 µS.
The gains from V2, V1 and V0 to VOUT must be 0.1, 0.05 and 0.025 respectively. Thus we have
G2 = 120 µS × 0.1/1.2 = 10 µS ⇒ R2 = 100 kΩ. Similarly, R1 = 200 kΩ and R0 = 400 kΩ.
5C. The SYNC signal needs inverting because SYNC going high must cause the output to decrease. We
will need a negative bias voltage in order to obtain –0.3 V. Our circuit is therefore:
6B. The range of a 16-bit signed number is ±32767 and so to avoid distortion, the RMS value must be no
higher than 3276.7. From the notes, the RMS value of quantisation noise is 0.289 LSB which gives a
signal-to-noise ratio of 11338 which equals 81 dB
[
= q + 0.5q 2 ]
− 0.5 − w
q = −1 = 0.125 × (2w − 1) 2
Note that because | w |< 0.5 is given in the question, both integration limits are always negative and
so we can replace | q | → − q in the integrand. You can also get this answer graphically (and more
easily) by drawing the pdf and finding the area of the triangle representing pr (q < −0.5 − w) .
2
(b) pr ( z = +1) = 0.125 × ( 2 w + 1)
(c) We have
E ( z ) = 1 × pr ( z = +1) − 1 × pr ( z = −1)
(
= 0.125 × (2w + 1)2 − (2w − 1)2 = w )
Var ( z ) = E ( z 2 ) − E ( z ) 2 = E ( z 2 ) − w2
= 1 × pr ( z = +1) + 1 × pr ( z = −1) − w2
(
= 0.125 × (2w + 1) 2 + (2w − 1) 2 − w2 )
2 2
= w + 0.25 − w = 0.25
8C. Full-scale range of 20 V equals 4096 LSB so 0.5 LSB = 0.5 × 20/4096 = 2.44 mV.
The peak rate of change of a 10 V sinewave is 20πf volts per second. The voltage change in 5 ns is
therefore πf × 10-7. These are equal when f = 2.44 × 10-3 × 107 / π = 7.77 kHz.
For the second part I = C dV/dt from which Δt = C×ΔV/I = 2×10-10×2.44×10-3/10-9 = 488 µs.