Electrical Engineering 2022 Paper II 50 marks Solve

Paper II — Q4

(a) (i) List various interrupts in microprocessor 8085 in order of decreasing priority. Specify which of these are edge-sensitive…

(a)
(i)

List various interrupts in microprocessor 8085 in order of decreasing priority. Specify which of these are edge-sensitive and which are level-sensitive.

Explain why TRAP is having good noise immunity as compared to other interrupts.

(ii)

What will be the action of running the given assembly program segment?

MVI A, 0B H

SIM 20 marks

(b)

The values of the components in the Maxwell bridge for balance condition are shown below in the circuit diagram. Write the balance equation and calculate the values of Ls, Rs and Q for the unknown sample coil :

[Figure: bridge supplied by 5 V AC, 100 Hz, with arms R1 = 1.6 kΩ (top left), unknown coil Ls and Rs (top right), R3 = 400 Ω in parallel with C3 = 0.2 μF (bottom left) and R4 = 500 Ω (bottom right), detector D between the mid-points] 20 marks

(c)

Determine the transfer function C(s) / R(s) for the signal flow graph of the system shown below using Mason's gain formula :

[Figure: signal flow graph R(s) to C(s) through G1(s), G2(s), G3(s), G4(s) in cascade, with a −1 self-loop at the node after G1 and three −1 feedback branches from the output node back to the nodes after G3, after G2 and after G1] 10 marks

हिंदी में प्रश्न पढ़ें
(a)
(i)

सूच्य-संसाधक 8085 के विभिन्न क्रमबंजकों (इन्टररट्स) को घटती हुई प्राथमिकता के क्रम में सूचीबद्ध कीजिए। स्पष्ट कीजिए कि इनमें से कौन धार (एज)-संवेदनशील है और कौन स्तर-संवेदनशील है।

समझाइए कि TRAP की रव (नॉइज) अप्रभाव्यता (इम्यूनिटी) अन्य क्रमबंजकों से ज्यादा क्यों है।

(ii)

दिए गए संयोजन प्रकर्म खण्ड के संचालन का क्या असर होगा?

MVI A, 0B H

SIM (20 अंक)

(b)

संतुलन की अवस्था में मैक्सवेल सेतु के घटकों का मान नीचे परिपथ आरेख में प्रदर्शित है। संतुलन समीकरण लिखिए तथा अज्ञात नमूना कुण्डली के लिए Ls, Rs और Q के मानों की गणना कीजिए :

[figure] (20 अंक)

(c)

मैनन के लब्धि सूत्र का प्रयोग करते हुए नीचे प्रदर्शित एक प्रणाली के संकेत प्रवाह आलेख (सिग्नल फ्लो ग्राफ) के लिए अन्तरण फलन C(s) / R(s) का मान ज्ञात कीजिए :

[figure] (10 अंक)

Q4 of the 2022 UPSC Mains Electrical Engineering Paper II, as printed
The question as printed in the 2022 Electrical Engineering paper

The figure this question refers to, in words

The question paper is a scan and the diagram did not survive as text. This is the figure as read from the original page — every component, value and label — so the question can be worked from the text below.

(b) Maxwell bridge: R1 = 1K6 and the unknown coil (Ls, Rs) form the upper arms, R3 = 400E in parallel with C3 = 0.2 μF and R4 = 500E the lower arms, 5 V AC 100 Hz source and detector D. (c) Signal flow graph: R to C through G1, G2, G3, G4 in cascade, a −1 self-loop at the node after G1, and −1 feedback branches from the output node to the nodes after G3, after G2 and after G1.

Model answer

Drafted with AI by UPSC Answer Check against this question's marking rubric, to the expected length. UPSC does not publish answers for Mains — this is one way to score well, not an official key. How we build rubrics and answers.

(a)(i) Interrupts of the 8085

In decreasing order of priority: TRAP (RST 4.5, vector 0024H), RST 7.5 (003CH), RST 6.5 (0034H), RST 5.5 (002CH) and INTR, the lowest, which is non-vectored and takes its address from the instruction supplied on the data bus in the interrupt-acknowledge cycle.

Sensitivity: RST 7.5 is edge-sensitive (positive-edge triggered); the edge sets an internal flip-flop, so the request is remembered even if the line goes low again, until it is serviced or cleared by SIM or RESET. RST 6.5, RST 5.5 and INTR are level-sensitive: the line must be held high until the processor samples it at the end of the current instruction. TRAP is both edge- and level-sensitive: it must make a low-to-high transition and remain high until it is acknowledged.

TRAP's noise immunity comes from this double requirement. A noise spike produces an edge but does not stay high, so it fails the level test; a slowly rising or persistent high without a fresh edge fails the edge test, which also prevents the same TRAP from being recognised twice. A purely edge-triggered line (RST 7.5) would latch a spike; a purely level-triggered line (RST 6.5, 5.5, INTR) would respond to any noise present at the sampling instant. TRAP, being non-maskable and reserved for power failure and similar emergencies, is given the most robust trigger.

(a)(ii) MVI A, 0BH followed by SIM

0BH = 0000 1011. The SIM instruction interprets the accumulator as: D7 SOD = 0, D6 SDE = 0, D5 unused, D4 R7.5 = 0, D3 MSE = 1, D2 M7.5 = 0, D1 M6.5 = 1, D0 M5.5 = 1.

Because MSE = 1 the mask bits take effect: RST 7.5 is unmasked (enabled), RST 6.5 is masked and RST 5.5 is masked. R7.5 = 0, so any pending RST 7.5 request in its flip-flop is not cleared. SDE = 0, so the serial output data latch SOD is left unchanged. The segment therefore enables only the RST 7.5 interrupt among the three maskable RST inputs; the interrupt system as a whole must still be turned on with EI for RST 7.5 to be serviced.

(b) Maxwell bridge

The arms are: R₁ = 1.6 kΩ; the unknown coil (Rs + jωLs) adjacent to it; R₃ = 400 Ω in parallel with C₃ = 0.2 μF; and R₄ = 500 Ω. The source is 5 V at 100 Hz and the detector is across the mid-points. At balance the ratio of the impedances in the two arms on each side of the detector is equal:

R₁/Z₃ = (Rs + jωLs)/R₄, with 1/Z₃ = 1/R₃ + jωC₃,

so Rs + jωLs = R₁R₄(1/R₃ + jωC₃). Equating real and imaginary parts gives the balance equations

Rs = R₁R₄/R₃ and Ls = R₁R₄C₃,

both independent of frequency, which is the advantage of this bridge.

Rs = 1600 × 500/400 = 2000 Ω; Ls = 1600 × 500 × 0.2 × 10⁻⁶ = 0.16 H.

Q of the coil at the test frequency: Q = ωLs/Rs = 2π × 100 × 0.16/2000 = 0.050. The same figure comes from Q = ωC₃R₃ = 2π × 100 × 0.2 × 10⁻⁶ × 400 = 0.050. This is a very low-Q coil (Q < 1), below the medium-Q range (about 1 to 10) for which the Maxwell inductance–capacitance bridge is best suited, and balance converges slowly (sliding balance); for high-Q coils the balancing resistance R₃ would have to be impractically large and Hay's bridge is used instead.

(c) Transfer function by Mason's gain formula

Number the nodes along the forward path: R, n₁ (after G₁), n₂ (after G₂), n₃ (after G₃), n₄ (after G₄), C. There is one forward path, P₁ = G₁G₂G₃G₄, and four loops, each with transmittance −1 on its return branch:

L₁ = −1 (the self-loop at n₁), L₂ = −G₄ (n₃ → n₄ → n₃), L₃ = −G₃G₄ (n₂ → n₃ → n₄ → n₂), L₄ = −G₂G₃G₄ (n₁ → n₂ → n₃ → n₄ → n₁).

Non-touching pairs: L₁ touches only n₁, so it does not touch L₂ (nodes n₃, n₄) or L₃ (n₂, n₃, n₄); it does touch L₄. L₂, L₃ and L₄ all share n₄. There are no non-touching triples.

Δ = 1 − (L₁ + L₂ + L₃ + L₄) + (L₁L₂ + L₁L₃) = 1 + 1 + G₄ + G₃G₄ + G₂G₃G₄ + G₄ + G₃G₄ = 2 + 2G₄ + 2G₃G₄ + G₂G₃G₄.

Every loop touches the forward path, so Δ₁ = 1. Hence

C(s)/R(s) = P₁Δ₁/Δ = G₁G₂G₃G₄/(2 + 2G₄ + 2G₃G₄ + G₂G₃G₄).

How this answer will be evaluated

Framework: 8085 interrupt structure; Maxwell inductance–capacitance bridge; Mason's gain formula

What earns full marks: Interrupts and SIM bits exactly right; bridge values 2000 Ω, 0.16 H, Q 0.05 with the equation derived; Mason's formula complete with the two non-touching pairs.

Evaluation rubric

Each sub-part is marked on its own, against the marks and word limit printed on the paper.

  1. (a) (i) 8085 interrupts in priority order with edge/level sensitivity and why TRAP resists noise; (ii) the effect of MVI A,0BH followed by SIM. 20 marks

    explain— definition/context → points in order → small example → short close

    Must cover

    • Priority: TRAP, RST 7.5, RST 6.5, RST 5.5, INTR
    • RST 7.5 edge; RST 6.5, 5.5, INTR level; TRAP edge and level
    • TRAP needs a rising edge AND a sustained high, so spikes fail
    • 0BH: MSE=1, RST 7.5 unmasked, RST 6.5 and 5.5 masked

    Loses marks

    • Calls TRAP edge-only or level-only
    • Reads 0BH as enabling RST 5.5 or 6.5
    • Wrong priority order

    Earns more

    • Vectors 0024H, 003CH, 0034H, 002CH; INTR non-vectored
    • RST 7.5 latched in a flip-flop until served or reset
    • SDE=0 leaves SOD unchanged; R7.5=0 keeps any pending 7.5
    • EI still needed before RST 7.5 is served

    Extra mark

    • TRAP non-maskable, reserved for power failure
    • Bit map D7 SOD, D6 SDE, D4 R7.5, D3 MSE, D2–D0 masks
  2. (b) Balance equation of the Maxwell bridge as drawn (R1 = 1.6 kΩ, R3 = 400 Ω ∥ C3 = 0.2 μF, R4 = 500 Ω) and the values of Ls, Rs and Q. 20 marks

    calculate— given → formula → substitution → result with units → interpretation

    Must cover

    • Balance: R1/Z3 = (Rs + jωLs)/R4, 1/Z3 = 1/R3 + jωC3
    • Rs = R1R4/R3 = 2000 Ω
    • Ls = R1R4C3 = 0.16 H
    • Q = ωLs/Rs = ωC3R3 = 0.050 at 100 Hz

    Loses marks

    • Equation with the arms in the wrong ratio
    • Rs or Ls not following from the printed values
    • Q computed without the test frequency

    Earns more

    • Real and imaginary parts equated separately
    • Notes the balance is independent of frequency
    • Identifies a low-Q coil, the bridge's proper range
    • States units on every result

    Extra mark

    • Contrasts with Hay's bridge for high-Q coils
  3. (c) C(s)/R(s) for the signal flow graph by Mason's gain formula. 10 marks

    derive— given → assumptions → stepwise derivation → result → check

    Must cover

    • Forward path G1G2G3G4
    • Loops: −1 self-loop after G1, −G4, −G3G4, −G2G3G4
    • Non-touching pairs: self-loop with −G4, self-loop with −G3G4
    • C/R = G1G2G3G4/(2 + 2G4 + 2G3G4 + G2G3G4)

    Loses marks

    • Misses the self-loop or a feedback path
    • Non-touching products omitted or wrongly included
    • Sign errors in the loop gains

    Earns more

    • Δ written out as 1 − ΣL + Σ(non-touching products)
    • Δ1 = 1 because every loop touches the path
    • Node labelling shown on the graph

    Extra mark

    • Checks the result by block-diagram reduction
What "Solve" is asking you to do

Choose the method, then carry it through to a final answer. Identifying what kind of problem this is and why that method applies is the first thing marked; a correct figure arrived at invisibly earns almost nothing.

Structure that answers it

Given data and what is required → method chosen, with the reason it applies → set-up (equation, circuit, free body, trial balance) → working, step by step → answer with units and any condition of validity

Where marks are lost

Doing the middle steps mentally and writing only the result. In mathematics papers, a further loss comes from giving a decimal where the exact value in surds or fractions was wanted, or from skipping the justification a part explicitly asks for.

All UPSC directive words, compared →

Practice this exact question

Write your answer and it is marked point by point against the model answer above — what you covered, what you missed, what you got wrong.

Evaluate my answer →

More from Electrical Engineering 2022 Paper II

Write this answer and get it marked in about 20 seconds

Free account: 5 AI evaluations a month, marked against the rubric above.

Start free

Already have an account? Log in