NivaarExam PrepOfficial exam papers ↗

04-BS-4 · May 2015

Question 7 of 7: Combinational Logic Design — Vehicle Alarm and Control

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format: National Exams, May 2015 — 04-BS-4 Electric Circuits and Power. Closed book; one aid sheet (both sides) and a Casio/Sharp approved calculator permitted; 3 hours. Seven questions; any five constitute a complete paper (only the first five in the answer book are marked). All seven are solved here as a study resource. Marks: each question 20 (four 5-mark parts).

Reference texts: C. K. Alexander & M. N. O. Sadiku, Fundamentals of Electric Circuits (KCL/KVL, Thévenin, first-order transients, AC power); R. Boylestad & L. Nashelsky, Electronic Devices and Circuit Theory (bridge rectifier, RC filter); S. J. Chapman, Electric Machinery Fundamentals (magnetic circuits); M. M. Mano & M. Ciletti, Digital Design (combinational logic). Canadian frame: 60 Hz mains, SI units.

Question 7: Combinational Logic Design — Vehicle Alarm and Control (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. Seven Boolean inputs A–G with the stated active-high meanings. "Any door open" is the complement of C (all-closed), and "belt not engaged" is the complement of D. "Key removed" is A'.

Find. Minimal combinational expressions and gate circuits for the alarm, engine-start, door-lock and door-unlock outputs.

Approach. Translate each English clause into a product (AND) term, OR the clauses for a given output, and factor common sub-expressions. All four outputs are purely combinational — no memory is required.

a) Alarm

The three triggering clauses are: ignition active with a fault, $B\,(C'+D')$; in motion with a fault, $G\,(C'+D')$; and key removed with lights on, $A'E$. Since the first two share the fault term $(C'+D')$, factor it:

$$\boxed{\text{Alarm}=(B+G)(C'+D') + A'E}$$

BGC'D'A'EAlarm
a) Alarm logic: OR gates form (B+G) and (C'+D'); their AND is combined in a final OR with the A'·E term.

b) Engine start

All four enabling conditions must hold simultaneously — a single AND of ignition-active, all-doors-closed, belt-engaged and gear-in-Park:

$$\boxed{\text{Start}=B\,C\,D\,F}$$

BCDFStart
b) Engine-start: a four-input AND gate.

c) Automatic door lock

Doors lock when they are closed and the car is moving:

$$\boxed{\text{Lock}=C\,G}$$

CGLock
c) Door-lock: a two-input AND gate.

d) Automatic door unlock

Doors unlock when the car is stationary and the key has been removed:

$$\boxed{\text{Unlock}=G'\,A'}$$

G'A'Unlock
d) Door-unlock: a two-input AND of the complements G' and A'.

These outputs are consistent: the engine-start term $BCDF$ requires exactly the "no-fault" conditions ($C=D=1$) that keep the alarm's $(C'+D')$ factor at 0, so a correctly-started engine never trips the ignition-active alarm branch. Lock and unlock are logical opposites on the motion variable, and unlock additionally requires the key removed, matching the specification.

Question 7 — logic outputs
OutputBoolean expression
Alarm (a)(B + G)(C' + D') + A'E
Engine start (b)B·C·D·F
Door lock (c)C·G
Door unlock (d)G'·A'
Back to the paper →