Paper II — Q2
(a) The open-loop transfer function of a feedback control system incorporating a dead time element is given by: G(s) =…
The open-loop transfer function of a feedback control system incorporating a dead time element is given by: G(s) = (Ke^(-Ts))/(s(s+1)) where K > 0 and T > 0 are variable scalar parameters. For a given value of T, show that the closed loop system for all values will be K < K₀ where K₀ = ω₀ cosec (ω₀T), and ω₀ is the smallest value of ω satisfying the equation ω = cot (ωT). 20 marks
Compare I/O mapped I/O and memory mapped I/O interfacing techniques used in 8085 microprocessor. 10 marks
What are the operating modes of Port-A of 8255? Explain handshake operation in I/O ports. (4+3+3=10 marks)
In a parallel circuit, in one branch the current, I₁ = (100 ± 2) A and in the other branch the current, I₂ = (200 ± 5) A. Determine the total current considering the following errors: (i) Limiting error (ii) Probable error. Comment upon the results as well. (2+6+2=10 marks)
हिंदी में प्रश्न पढ़ें
एक पुनर्निवेश नियंत्रण प्रणाली के विवृत-पाश अंतरण फलन में सम्मिलित मृत समय तत्व (डेड टाइम एलिमेंट) निम्न प्रकार है: G(s) = (Ke^(-Ts))/(s(s+1)) जहाँ K > 0 एवं T > 0 अस्थिर अविश प्राचल हैं। प्रदर्शित कीजिए कि T के दिए गए किसी मान के लिए, संयुक्त पाश प्रणाली के सभी मान K < K₀ होंगे जहाँ K₀ = ω₀ cosec (ω₀T), और ω₀ = ω का न्यूनतम मान है, जो समीकरण ω = cot (ωT) को संतुष्ट करता है।
8085 सूक्ष्म संसाधित्र में प्रयुक्त I/O तलरूपित I/O एवं स्मृति तलरूपित I/O अंतरापृष्ठ तकनीकों की तुलना कीजिए।
8255 के द्वार-A की संचालन प्रणालियाँ क्या हैं? I/O द्वारों पर हस्तामिलन संचालन की व्याख्या कीजिए।
एक समांतर परिपथ की एक शाखा में I₁ = (100 ± 2) A एवं दूसरी शाखा में I₂ = (200 ± 5) A धाराएँ हैं। निम्नलिखित त्रुटियों को ध्यान में रखते हुए कुल धारा का निर्धारण कीजिए: (i) सीमांत त्रुटि (ii) संभावित त्रुटि। परिणामों पर टिप्पणी भी कीजिए।
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) Stability limit of a loop with dead time
Characteristic equation. With unity feedback, 1 + G(s) = 0 gives s(s + 1) + Ke^(−Ts) = 0
Boundary of stability. On the stability boundary a closed-loop pole lies on the jω-axis. Put s = jω: −ω² + jω + K(cos ωT − j sin ωT) = 0 Real part: K cos ωT = ω² …(1) Imaginary part: K sin ωT = ω …(2) Dividing (1) by (2): cot ωT = ω, that is, ω = cot(ωT) From (2), the gain on the boundary is K = ω/sin(ωT) = ω cosec(ωT)
Why the smallest root is the one that matters. The open-loop phase is ∠G(jω) = −90° − tan⁻¹ω − ωT (in degrees, with ωT converted) It falls monotonically from −90° as ω rises, so it reaches −180° first at the frequency where tan⁻¹ω + ωT = 90°. That condition is tan(ωT) = cot(tan⁻¹ω) = 1/ω, which is ω = cot(ωT). So the smallest positive root ω₀ is the first phase-crossover frequency. The magnitude there is
|G(jω₀)| = K/(ω₀√(1 + ω₀²))
Nyquist argument. G(s) has no open-loop poles in the right half-plane (the pole at the origin is bypassed). The closed loop is therefore stable if the Nyquist plot does not encircle −1, which requires its first crossing of the negative real axis to lie to the right of −1: K/(ω₀√(1 + ω₀²)) < 1 ⇒ K < ω₀√(1 + ω₀²) Since ω₀T = 90° − tan⁻¹ω₀, sin(ω₀T) = cos(tan⁻¹ω₀) = 1/√(1 + ω₀²). So √(1 + ω₀²) = cosec(ω₀T) and K < K₀ = ω₀ cosec(ω₀T) The later crossings (phase −540°, −900°, …) occur at larger ω, where |G| = K/(ω√(1 + ω²)) is smaller still, so they cannot reach −1 if the first crossing does not. Hence, for a given T, the closed loop is stable for all 0 < K < K₀.
Numerical check (T = 1 s). ω = cot ω gives ω₀ = 0.860 rad/s, and K₀ = 0.860 × √(1 + 0.740) = 1.135. With K = 1 the plot crosses at −0.881, so the loop is stable. Other values: T = 0.5 s gives K₀ = 2.15; T = 2 s gives K₀ = 0.61. More dead time lowers the permissible gain. As T → 0, ω₀ → ∞ and K₀ → ∞, which recovers the result that the second-order loop without delay is stable for every K.
(b)(i) I/O-mapped I/O versus memory-mapped I/O in the 8085
- Address space. In I/O-mapped (peripheral-mapped) I/O a port has an 8-bit address, giving 256 input and 256 output ports in a space separate from memory. In memory-mapped I/O a port is given a 16-bit address inside the 64 KB memory map and is treated as a memory location.
- Control signals. In I/O-mapped I/O the CPU makes IO/M̄ = 1, and decoding with RD̄/WR̄ gives IOR̄ and IOW̄. In memory-mapped I/O, IO/M̄ = 0 gives MEMR̄ and MEMW̄.
- Instructions. I/O-mapped ports are reached only by IN port and OUT port (2 bytes, 10 T-states), and data always passes through the accumulator. The 8-bit port address appears on both A7–A0 and A15–A8. Memory-mapped ports can be reached by every memory-reference instruction (MOV r,M, MOV M,r, LDA, STA, LDAX, STAX, ADD M, ANA M, CMP M), with any register, and arithmetic or logic can be done directly on port data.
- Hardware and memory. I/O-mapped I/O needs only 8-bit decoding and leaves the full 64 KB for memory. Memory-mapped I/O needs 16-bit decoding (or partial decoding with fold-back addresses) and reduces the memory space available.
- Typical choice. I/O-mapped I/O suits small systems with few ports. Memory-mapped I/O suits systems that need many ports or flexible data handling.
(b)(ii) Port A modes of the 8255 and handshaking
Modes of Port A (set by the control word, D7 = 1)
- Mode 0, basic I/O. Port A is a simple latched output or an unlatched input port, with no handshake signals.
- Mode 1, strobed I/O. Port A works as input or output with three Port C lines as handshake signals. For input these are PC4 = STB̄_A, PC5 = IBF_A and PC3 = INTR_A. For output they are PC7 = OBF̄_A, PC6 = ACK̄_A and PC3 = INTR_A.
- Mode 2, strobed bidirectional bus. This mode is available only for Port A and uses five lines, PC3–PC7 (INTR, STB̄, IBF, ACK̄, OBF̄). The interrupt-enable flip-flops are set through the BSR mode: PC4 for input (INTE_A) and PC6 for output. For example, the control word B0H sets Port A to mode 1 input and Port B to mode 0 output.
Handshaking. A handshake synchronises a slow or asynchronous peripheral with the CPU, so that a byte is neither lost nor read twice. Each side signals when data is ready and when it has been taken.
Input handshake (mode 1)
- The peripheral places data on PA0–PA7 and pulses STB̄ low, which latches the data into Port A.
- IBF goes high, telling the peripheral that the input buffer is full and it must wait.
- On the rising edge of STB̄, if INTE_A = 1, INTR goes high to interrupt the CPU (or the CPU polls IBF).
- The CPU reads Port A. The falling edge of RD̄ clears INTR and the rising edge clears IBF, so the peripheral may send the next byte.
Output handshake (mode 1)
- The CPU writes a byte to Port A. The rising edge of WR̄ clears INTR and drives OBF̄ low, meaning "data ready".
- The peripheral takes the data and pulses ACK̄ low, which returns OBF̄ high.
- On the rising edge of ACK̄, if INTE_A = 1, INTR goes high to ask the CPU for the next byte.
(c) Total current with limiting and probable errors
Nominal value: I = I₁ + I₂ = 100 + 200 = 300 A
(i) Limiting error. For a sum, the absolute limiting errors add, which is the worst case with both errors at their extremes and of the same sign: δI = ±(2 + 5) = ±7 A I = 300 ± 7 A (relative limiting error ±2.33%)
(ii) Probable error. Treating ±2 A and ±5 A as probable errors of independent random measurements, they combine as the root sum of squares: r = ±√(2² + 5²) = ±√29 = ±5.39 A I = 300 ± 5.39 A (relative probable error ±1.80%)
Comment. The limiting error is a guaranteed bound: the true value cannot lie outside 293–307 A. It is pessimistic, because it assumes both branch errors are simultaneously at their maxima and add. Independent random errors partly cancel, so the probable error is smaller. About half of repeated results would fall within ±5.39 A. The ±5 A error of I₂ dominates both results, so a more accurate I₂ measurement would improve the total most.
How this answer will be evaluated
What earns full marks: Comprehensive and accurate with clear derivations, comparisons, and calculations.
Evaluation rubric
Each sub-part is marked on its own, against the marks and word limit printed on the paper.
- (a) For G(s) = Ke^(−Ts)/(s(s + 1)), show that the closed loop is stable for all K < K₀ = ω₀ cosec(ω₀T), where ω₀ is the smallest root of ω = cot(ωT). 20 marks
derive— given → assumptions → stepwise derivation → result → check
Must cover
- Characteristic equation s(s + 1) + Ke^(−Ts) = 0; put s = jω and separate: K cos ωT = ω², K sin ωT = ω
- Dividing gives ω = cot(ωT); the boundary gain is K = ω cosec(ωT)
- Phase ∠G(jω) = −90° − tan⁻¹ω − ωT decreases monotonically, so the first −180° crossing is at the smallest root ω₀ (tan⁻¹ω₀ + ω₀T = 90°)
- Nyquist argument: no open-loop RHP poles, so stability needs |G(jω₀)| < 1, i.e. K < ω₀√(1 + ω₀²) = ω₀ cosec(ω₀T) = K₀; later crossings have smaller |G|
Loses marks
- Using a Padé approximation without saying the result is approximate
- Taking any root of ω = cot ωT rather than the smallest
- Only algebra, no stability argument
Earns more
- Numerical illustration (T = 1: ω₀ = 0.860, K₀ = 1.135)
- Limit T → 0 gives K₀ → ∞ (second-order loop always stable)
Extra mark
- Nyquist sketch
- (b)(i) Compare I/O-mapped I/O and memory-mapped I/O in the 8085. 10 marks
compare— paired headings or point-wise contrast → key differences → significance → conclusion
Must cover
- Address: 8-bit port address (256 in + 256 out), separate from memory, vs 16-bit address shared with the 64 KB memory map
- Control: IO/M̄ = 1 giving IOR̄/IOW̄ vs IO/M̄ = 0 giving MEMR̄/MEMW̄
- Instructions: only IN/OUT (2 bytes, 10 T-states, via accumulator) vs all memory-reference instructions (MOV r,M, LDA, STA, ADD M, ANA M) with any register
- Hardware: simpler 8-bit decoding and full memory space retained vs 16-bit decoding and memory space reduced
Loses marks
- Swapping the IO/M̄ levels
- Claiming IN/OUT can use any register
Earns more
- Port address duplicated on A15–A8 and A7–A0 in IN/OUT
- Arithmetic/logic directly on port data in memory-mapped scheme
Extra mark
- Typical use: small systems with few ports vs systems needing many ports
- (b)(ii) State the operating modes of Port A of the 8255 and explain handshake operation. 10 marks
explain— definition/context → points in order → small example → short close
Must cover
- Mode 0: simple I/O, no handshake; Mode 1: strobed I/O using PC3–PC5 (input) or PC3, PC6, PC7 (output); Mode 2: bidirectional strobed bus (Port A only) using PC3–PC7
- Input handshake: STB̄ latches data, IBF goes high, INTR on STB̄ rising edge (if INTE), RD̄ clears INTR and IBF
- Output handshake: WR̄ makes OBF̄ low and clears INTR; peripheral returns ACK̄, OBF̄ goes high, INTR on ACK̄ rising edge requests the next byte
- Purpose of handshaking: synchronise a slow or asynchronous peripheral with the CPU without data loss
Loses marks
- Saying BSR is a Port A mode
- Mode 2 attributed to Port B
Earns more
- INTE flip-flops set via BSR (PC4 for input, PC6 for output)
- Control-word example (e.g. B0H for Port A mode 1 input)
Extra mark
- Timing diagram of the handshake
- (c) Find the total current for I₁ = (100 ± 2) A and I₂ = (200 ± 5) A using limiting and probable errors, and comment. 10 marks
calculate— given → formula → substitution → result with units → interpretation
Must cover
- Nominal I = 300 A
- Limiting error: ±(2 + 5) = ±7 A ⇒ 300 ± 7 A (±2.33%)
- Probable error: ±√(2² + 5²) = ±5.39 A ⇒ 300 ± 5.39 A (±1.80%)
- Comment: limiting error is a guaranteed worst case assuming both errors at extremes with the same sign; probable error assumes independent random errors and is smaller and more realistic
Loses marks
- Adding relative errors for a sum
- Using RSS for limiting error
Earns more
- Relative errors quoted
- States that the larger error (±5 A) dominates
Extra mark
- Statistical meaning: about 50% of results lie within the probable-error band
What "Compare" is asking you to do
Set the items against each other on named dimensions. In UPSC practice compare already carries both halves — likeness and difference — and where the stem names the dimensions, as in region, nature and climatic impact, those are the headings the examiner expects to see.
Structure that answers it
Dimensions named → both items on dimension 1 → dimension 2 → dimension 3 → where they converge and where they part
Where marks are lost
Two self-contained descriptive blocks with the comparison left for the reader to make. Marks here sit on the dimensions, so an answer that names none of them gives the examiner nothing to award.
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 2024 Paper II
- Q1 (a) What are the limitations of (i) Proportional (P), (ii) Integral (I), (iii) Derivative…
- Q2 (a) The open-loop transfer function of a feedback control system incorporating a dead tim…
- Q3 (a) An underdamped second order system having a transfer function of the form M(s) = (Kωₙ…
- Q4 (a) The capacitance of a piezoelectric transducer is 2000 pF and charge sensitivity is 30…
- Q5 (a) The block diagram of a position control system is shown in the figure. Determine the…