Question 7 of 7: Combinational Logic for a Two-Level Lift
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
EGBC National Examination — 04-BS-4 Electric Circuits and Power — December 2013. Closed book; one two-sided aid sheet; 3 hours. Any five of the seven questions constitute a complete paper (all seven are solved here as a study resource; all of equal value).
Reference texts: Sadiku & Alexander, Fundamentals of Electric Circuits, 6th ed.; Chapman, Electric Machinery Fundamentals (magnetic circuits); Boylestad & Nashelsky, Electronic Devices and Circuit Theory (rectifiers); Mano & Ciletti, Digital Design (logic).
Question 7: Combinational Logic for a Two-Level Lift (20 marks)
Given. A = person in car, B = car on 1st floor, C = car on 2nd floor, D/E = 1st/2nd floor corridor buttons, F/G = in-car buttons for 1st/2nd floor, H = doors closed. All gate types are permitted; assume no two sensors change simultaneously.
Find. combinational logic that (a) starts the upward move on the relevant corridor/wall call, and (b) starts the appropriate move on an in-car/in-platform button.
The eight sensors are Boolean. The two enabling rules — corridor buttons work only for an empty car ($A=0$) and in-car buttons only for an occupied car ($A=1$) — together with “doors closed” ($H=1$) and the floor sensor gate every command, so each output is a single product (AND) term.
(a) Corridor call to go up (1→2). Movement up is initiated by the 2nd-floor corridor button $E$, but only for an empty car on the first floor with the doors shut:$$\text{UP}_a=\overline{A}\cdot B\cdot H\cdot E.$$
Logic for part (a): UP = A′·B·H·E (empty car, on 1st floor, doors closed, 2nd-floor corridor call).
(b) In-car buttons. The in-car buttons act only with a person aboard ($A=1$) and doors closed. Pressing $G$ (go to 2nd) from the first floor drives up; pressing $F$ (go to 1st) from the second floor drives down:$$\text{UP}_b=A\cdot B\cdot H\cdot G,\qquad \text{DOWN}_b=A\cdot C\cdot H\cdot F.$$
Logic for part (b): occupied-car buttons — UP = A·B·H·G, DOWN = A·C·H·F.