Electronics and Communication for the Junior Engineer Papers: Analog Circuits, Digital Design, Communication, Control Systems and Microprocessors
2. Digital design: codes, combinational and sequential circuits, converters
Number systems: binary 1011 is 11 in decimal, hexadecimal 2F is 47, and the two's complement of 0101 (+5) in four bits is 1011 (−5), found by inverting and adding 1. Gray code changes one bit at a time: binary 1011 becomes 1110 (the leading bit is copied and each later Gray bit is the XOR of adjacent binary bits). Boolean laws simplify logic: A + AB = A, A + A'B = A + B, and De Morgan's laws, (A·B)' = A' + B' and (A + B)' = A'·B'. A Karnaugh map groups adjacent 1s in powers of two (1, 2, 4, 8) to remove variables.
| Block | Rule to remember |
|---|---|
| Multiplexer | 2ⁿ inputs need n select lines: an 8 : 1 MUX has 3 select lines |
| Decoder | n inputs give 2ⁿ outputs, one active at a time: a 3 : 8 decoder |
| JK flip-flop | J = K = 1 toggles the output; J = K = 0 holds it |
| Counters | n flip-flops count 2ⁿ states (a 4-bit ripple counter counts 0 to 15); a decade counter is mod-10; a ring counter has n states and a Johnson counter 2n |
| ADC / DAC | Resolution = reference ÷ 2ⁿ: an 8-bit ADC on a 5 V reference has a step of about 19.5 mV |
Combinational circuits (adders, multiplexers, decoders) depend only on the present inputs; sequential circuits (flip-flops, registers, counters) also depend on stored state and need a clock. A half adder gives Sum = A ⊕ B and Carry = A·B; a full adder adds a carry-in.
Number systems: binary 1011 is 11 in decimal, hexadecimal 2F is 47, and the two's complement of 0101 (+5) in four bits is 1011 (−5), found by inverting and adding 1. Gray code changes one…
3. Communication: modulation, sampling and channel capacity
In amplitude modulation the modulation index is m = V_m ÷ V_c, the total power is P_t = P_c (1 + m²/2) so a 100 W carrier at m = 0.5 gives 112.5 W, and the bandwidth is 2 f_m (both sidebands carry the same information). In frequency modulation the index is β = Δf ÷ f_m and Carson's rule gives the bandwidth ≈ 2(Δf + f_m): a 75 kHz deviation with a 15 kHz audio signal needs about 180 kHz. FM resists noise better than AM at the cost of bandwidth.
| Topic | Rule and example |
|---|---|
| Sampling theorem | f_s ≥ 2 f_max (Nyquist rate); a 4 kHz speech band is sampled at 8 kHz |
| PCM bit rate | f_s × bits per sample: 8,000 × 8 = 64 kbps for one telephone channel |
| Shannon capacity | C = B log₂(1 + S/N): B = 3 kHz and S/N = 1,023 gives 3,000 × 10 = 30 kbps |
| Wavelength and antenna | λ = c ÷ f: 100 MHz gives 3 m, so a half-wave dipole is 1.5 m long |
| Radar range | R = c t ÷ 2: an echo after 200 µs means 30 km |
In amplitude modulation the modulation index is m = V_m ÷ V_c, the total power is P_t = P_c (1 + m²/2) so a 100 W carrier at m = 0.5 gives 112.5 W, and the bandwidth is 2 f_m (both…
4. Control systems and microprocessors
A closed-loop system feeds the output back and compares it with the reference; an open-loop system does not, so it cannot correct disturbances. A first-order system G(s) = K ÷ (τs + 1) has time constant τ, and a system is stable when every pole of the closed-loop transfer function has a negative real part (the left half of the s-plane); the Routh array tests this without finding the roots. For a unity-feedback loop with G(s) = 8 ÷ (s + 2) the static position constant is K_p = 8 ÷ 2 = 4, so the steady-state error to a unit step is 1 ÷ (1 + K_p) = 0.2, and the closed loop 8 ÷ (s + 10) settles at 0.8.
Microprocessors: the 8085 has an 8-bit data bus and a 16-bit address bus, so it addresses 2¹⁶ = 65,536 bytes (64 KB); the 8086 has a 16-bit data bus and a 20-bit address bus and addresses 2²⁰ = 1 MB. A memory of 4 K locations needs 12 address lines (2¹² = 4,096). Address lines set the memory that can be reached and data lines set the word that moves at a time. The program counter holds the address of the next instruction.
A closed-loop system feeds the output back and compares it with the reference; an open-loop system does not, so it cannot correct disturbances. A first-order system G(s) = K ÷ (τs + 1) has…
Worked Numericals: Op-amp Gain, Filter Cut-off, Sampling and ADC Step
| Problem | Working | Result |
|---|---|---|
| Inverting amplifier, R_f = 100 kΩ, R_in = 10 kΩ | gain = −R_f/R_in | −10 |
| Non-inverting amplifier with the same resistors | gain = 1 + R_f/R_in | 11 |
| RC low-pass with R = 1.59 kΩ, C = 0.1 μF | f_c = 1/(2πRC) | ≈ 1 kHz |
| Minimum sampling rate for a 4 kHz signal | Nyquist: f_s ≥ 2 f_max | 8 kHz |
| Step size of an 8-bit ADC with a 5 V range | 5 V/255 | ≈ 19.6 mV |
Second Pass: Gain, Cut-off, Resolution, Bandwidth and Channel Capacity
A non-inverting op-amp has gain 1 + Rf/R1; an RC low-pass filter has cut-off fc = 1/(2πRC); an n-bit converter has 2ⁿ levels and a step of range ÷ 2ⁿ; AM needs a bandwidth of twice the highest modulating frequency; and Shannon's capacity is C = B log₂(1 + S/N).
| Item | Working | Answer |
|---|---|---|
| Rf = 47 kΩ, R1 = 1 kΩ, non-inverting | 1 + 47 | 48 |
| R = 10 kΩ, C = 0.1 µF | 1/(2π × 10⁻³) | ≈ 159 Hz |
| 10-bit ADC, 10 V range | 10/1,024 | ≈ 9.8 mV |
| B = 3 kHz, S/N = 1,023 | 3,000 × log₂1,024 | 30 kbit/s |
A non-inverting op-amp has gain 1 + Rf/R1; an RC low-pass filter has cut-off fc = 1/(2πRC); an n-bit converter has 2ⁿ levels and a step of range ÷ 2ⁿ; AM needs a bandwidth of twice the…
Key takeaways
- Common-emitter gain is about −R_C ÷ r_e with r_e ≈ 25 mV ÷ I_E; negative feedback gives A ÷ (1 + Aβ) and trades gain for stability and bandwidth; gain-bandwidth product is constant.
- Oscillation needs loop gain 1 and phase 0° or 360°; Class A efficiency is at most 25% (resistive load) and Class B about 78.5%.
- Two's complement is invert and add 1; an n-select MUX has 2ⁿ inputs; n flip-flops count 2ⁿ states; ADC step = reference ÷ 2ⁿ.
- AM power is P_c(1 + m²/2) with bandwidth 2f_m; FM bandwidth is about 2(Δf + f_m); sample at no less than twice the highest frequency.
- Stable systems have poles in the left half-plane; the 8085 addresses 64 KB through 16 address lines and the 8086 addresses 1 MB through 20.
- Inverting gain is −R_f/R_in, non-inverting gain is 1 + R_f/R_in; sample at least twice the highest signal frequency.
Practice questions (25)
Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.
A common-emitter amplifier is biased at an emitter current of 1 mA (r_e ≈ 25 Ω) and has a collector resistor of 2.5 kΩ. Its voltage gain is about:
Show answer
Answer: A — −100
The gain is −R_C ÷ r_e = −2,500 ÷ 25 = −100, and the minus sign shows that the output is inverted. A positive gain would belong to a common-collector or non-inverting stage, and −2,500 uses R_C without dividing by r_e.An amplifier has an open-loop gain of 1,000 and negative feedback with β = 0.1. The closed-loop gain is about:
Show answer
Answer: A — 9.9
A_f = A ÷ (1 + Aβ) = 1,000 ÷ (1 + 100) = 9.9, very close to 1 ÷ β = 10 because the loop gain Aβ is large. The value 1,100 simply adds the loop gain to the open-loop gain, which is not the feedback formula.A Wien-bridge oscillator has R = 1 kΩ and C = 0.16 µF. Its frequency of oscillation is about:
Show answer
Answer: A — 995 Hz
f = 1 ÷ (2πRC) = 1 ÷ (2π × 1,000 × 0.16 × 10⁻⁶) ≈ 995 Hz. Leaving out the 2π gives about 6.25 kHz, the commonest slip, and the other values come from a wrong power of ten in the capacitance.
Show the other 22 questions
The two's complement representation of +5 in four bits (0101), used to represent −5, is:
Show answer
Answer: A — 1011
Invert 0101 to get 1010 and add 1 to get 1011. The inverted form 1010 alone is the one's complement, which has the extra negative-zero problem, so the added 1 is the step that defines two's complement.An 8-bit analog-to-digital converter uses a 5 V reference. The size of one step (the resolution) is about:
Show answer
Answer: A — 19.5 mV
An 8-bit converter has 2⁸ = 256 levels, so one step is 5 V ÷ 256 ≈ 19.5 mV. Dividing by 128 gives 39 mV, which would be a 7-bit converter, and the other values ignore the number of bits.A carrier of 100 W is amplitude modulated with a modulation index of 0.5. The total transmitted power is:
Show answer
Answer: A — 112.5 W
P_t = P_c (1 + m²/2) = 100 × (1 + 0.25 ÷ 2) = 112.5 W; only the sidebands carry information, and they hold 12.5 W. The 150 W figure is for m = 1, and 125 W comes from omitting the division by 2.A frequency-modulated signal has a peak deviation of 75 kHz and a highest modulating frequency of 15 kHz. By Carson's rule the bandwidth is about:
Show answer
Answer: A — 180 kHz
Carson's rule gives 2(Δf + f_m) = 2 × (75 + 15) = 180 kHz. The 30 kHz figure is the AM-style 2f_m, which ignores the deviation, and 150 kHz is 2Δf alone.The 8085 microprocessor has a 16-bit address bus, so the amount of memory it can directly address is:
Show answer
Answer: A — 64 KB
Sixteen address lines give 2¹⁶ = 65,536 locations, which is 64 KB of byte-wide memory. The 1 MB figure belongs to the 8086, which has 20 address lines, so the number of address lines, not data lines, sets the reach.An inverting op-amp amplifier has R_f = 100 kΩ and R_in = 10 kΩ. Its voltage gain is:
Show answer
Answer: A — −10
The inverting gain is −R_f/R_in = −10. The value +11 is the non-inverting gain for the same resistors.A non-inverting op-amp amplifier has Rf = 47 kΩ and R1 = 1 kΩ. Its voltage gain is:
Show answer
Answer: A — 48
Gain = 1 + Rf/R1 = 1 + 47 = 48. The value −47 belongs to the inverting configuration.An RC low-pass filter has R = 10 kΩ and C = 0.1 µF. Its cut-off frequency is nearest to:
Show answer
Answer: A — 159 Hz
RC = 10⁴ × 10⁻⁷ = 10⁻³ s, so fc = 1/(2π × 10⁻³) ≈ 159 Hz. Leaving out the 2π gives 1 kHz.A 10-bit analog-to-digital converter has an input range of 0 to 10 V. The size of one step is nearest to:
Show answer
Answer: A — 9.8 mV
A 10-bit converter has 1,024 levels, so the step is 10/1,024 ≈ 9.77 mV. Dividing by 1,000 would give a rounder but inexact 10 mV.A message signal with a highest frequency of 5 kHz amplitude-modulates a carrier. The bandwidth of the AM signal is:
Show answer
Answer: A — 10 kHz
AM has an upper and a lower sideband, each as wide as the modulating frequency, so the bandwidth is 2 × 5 = 10 kHz.A channel of bandwidth 3 kHz has a signal-to-noise power ratio of 1,023. By Shannon's formula the capacity is:
Show answer
Answer: A — 30 kbit/s
C = B log₂(1 + S/N) = 3,000 × log₂1,024 = 3,000 × 10 = 30,000 bit/s. The 3.07 Mbit/s multiplies by the ratio itself.A system has the characteristic equation s² + 4s + 4 = 0. The system is:
Show answer
Answer: A — Critically damped
Comparing with s² + 2ζωₙs + ωₙ² gives ωₙ = 2 and 2ζωₙ = 4, so ζ = 1. The roots are equal and real, which is critical damping.The Nyquist rate for a signal whose highest frequency component is 4 kHz is:
Show answer
Answer: A — 8 kHz
The sampling rate must be at least twice the highest frequency, 2 × 4 = 8 kHz, to allow perfect reconstruction.A carrier of 100 W is amplitude modulated with a modulation index of 1. The total transmitted power is:
Show answer
Answer: C — 150 W
Total power = Pc(1 + m²/2) = 100 × 1.5 = 150 W. Check: sidebands carry 50 W in all. Using 1 + m gives the tempting 200 W.A frequency-modulated wave has a peak frequency deviation of 75 kHz and a modulating frequency of 15 kHz. The modulation index is:
Show answer
Answer: C — 5
β = Δf ÷ fm = 75 ÷ 15 = 5. Check: 5 × 15 = 75. Inverting gives the tempting 0.2.The signal-to-quantisation-noise ratio of an n-bit uniform PCM system for a full-scale sine wave is about 6.02n + 1.76 dB. For an 8-bit system it is about:
Show answer
Answer: A — 49.9 dB
6.02 × 8 + 1.76 = 48.16 + 1.76 = 49.9 dB. Each added bit gives about 6 dB. Quoting 48 dB drops the 1.76 dB constant.A system has the transfer function G(s) = 1/(s + 2). Its time constant is:
Show answer
Answer: A — 0.5 s
For 1/(τs + 1) form, G = 0.5/(0.5s + 1), so τ = 0.5 s. The pole at −2 gives a decay of e^(−2t), a time constant of 1/2, not 2.A unity-feedback system has the open-loop transfer function G(s) = K/[s(s + 1)]. The type of the system and its steady-state error for a step input are:
Show answer
Answer: A — Type 1, zero error
One pole at the origin makes it Type 1, which follows a step with zero steady-state error. Type 0 would have a finite error, the tempting answer for those who count (s + 1).A JK flip-flop with J = K = 1 operates in which mode on each clock pulse?
Show answer
Answer: A — Toggle (output changes state)
J = K = 1 makes the output toggle at every clock pulse. J = K = 0 would hold, the tempting wrong option.An inverting op-amp integrator has R = 10 kΩ and C = 0.1 µF. A constant 1 V input is applied for 1 ms. The output voltage is:
Show answer
Answer: D — −1 V
Vout = −(1/RC) ∫Vin dt = −(1 ÷ 10⁻³) × 10⁻³ × 1 = −1 V, since RC = 10⁴ × 10⁻⁷ = 1 ms. The inverting stage gives the negative sign, the tempting omission.Assertion (A): FM is less affected by amplitude noise than AM.
Reason (R): The information in FM is carried by variations in frequency, and the receiver limits the amplitude.
Which one of the following is correct?Show answer
Answer: A — Both A and R are true, and R is the correct explanation of A
Noise mostly disturbs amplitude, which the limiter removes while the frequency information stays, so R explains A. FM needs a wider bandwidth, the price of this advantage and the tempting claim to forget.Consider the following statements about the superheterodyne receiver:
1. The incoming signal is converted to a fixed intermediate frequency.
2. The typical intermediate frequency of an AM broadcast receiver is 455 kHz.
Which of the statements given above is/are correct?Show answer
Answer: A — Both 1 and 2
Mixing with a local oscillator gives a fixed IF, and 455 kHz is standard for AM broadcast. The 10.7 MHz figure belongs to FM receivers, the tempting wrong value.