Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
8 views10 pages

DLD Lab 3

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 10

Department of Electrical Engineering

Faculty Member: Sir Mughees Ahmad Dated: 26 February 2024

Semester:2nd SectionBSCS13E

Group No.:13 & 14

EE-221: Digital Logic Design

Assessment Rubrics for Lab No # 3: Design of Simple Practical


Circuits
PLO4/CLO4 PLO4/ PLO5/ PLO8/ PLO9/CLO7
CLO4 CLO5 CLO6
Name Reg. Viva / Lab Analysis Modern Ethics Individual Total
Performanc of data in Tool and and Team marks
No e Lab Usage Safety Work Obtaine
Report d

5 Marks 5 Marks 5 Marks 5 Marks 5 Marks 25


Marks
Rimsha Nosheen 47183
2

Mehreen 46255
7
Ans-Ur-Rehman 47391
4

Farhan Naveed 46662


9

EE-221: Digital Logic Design Page 1


Lab No 2 : Digital Design of Simple Practical Circuits
Prelab:

1. Design the practical circuits given in Task 1 and Task 2 by giving the truth table of the
problems and then giving the circuit (logic diagram) for the designs

Shown in the lab Tasks 1 and 2 below.

2. Provide only Truth Table of Task 3.

Shown in the lab Tasks 3 below.

Lab Tasks:

0V report giving all the steps and


Practically demonstrate the Task 1 circuit in the lab. Upload the lab
circuit implementation

Task No 1

As part of an aircraft’s functional monitoring system, a circuit is required


Green LED to indicate the
status of the landing geargear
Right Wing prior to landing. A green LED (Light Emitting Diode) display turns on if
sensor
all three gears Nose
are gear sensor extended when the “gear down” switch has been activated in
properly
preparation for landing.
Left Wing A red
gear LED display turns on if any of the gear fails to extent properly prior
sensor
to landing. When landing gear is extended, its sensor produces a HIGH voltage. When a landing
gear is retracted its sensor produces a LOW voltage. Write the truth table Red LED
for the aircraft landing
system. Implement with basic logic gates.

5V

Logic Circuit

EE-221: Digital Logic Design Page 2


Truth Table:

Left wine gear Nose gear Right wine gear Green Light Red Light

1 1 1 1 0

1 1 0 0 1

1 0 1 0 1

1 0 0 0 1

0 1 1 0 1

0 1 0 0 1

0 0 1 0 1

0 0 0 0 1

Proteus Simulation:

1. Along with not gate:

EE-221: Digital Logic Design Page 3


2. Along with LEDS:

EE-221: Digital Logic Design Page 4


Modelsim WaveForm:

Practical Circuits:

EE-221: Digital Logic Design Page 5


Task No 2

Design a three-way switch for lighting a bulb. Suppose the Switch A is installed at the entrance of
the room, switch B is installed to the bedside table, Switch C is installed outside the room. Now
three way switching can facilitate the switching ON/OFF from any location. The mechanism is
such that if a single switch is on the bulb should be ON. Now if the second switch is turned on the
bulb if switched on earlier is switched off. If two switches are already on and third switch is turned
on then it should switch on the bulb. Implement with basic gates.

Truth Table:

S1 S2 S3 output
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1

Proteus Simulation:

EE-221: Digital Logic Design Page 6


Modelsim WaveForm:

EE-221: Digital Logic Design Page 7


Practical Circuits:

EE-221: Digital Logic Design Page 8


Task No 3:

The system is a speed warning device. It receives, on two lines, an indication of the speed limit on
the highway. There are three possible values 45, 55, or 65 MPH. It receives from the automobile,
on two other lines, an indication of speed of the vehicle. There are four possible values under 45,
between 46 and 55, between 56 and 65, and over 65 MPH. It produces two outputs. The first f,
indicates whether the car is going above the speed limit. The second g, indicates that the car is
driving at “dangerous speed” – defined as either over 65 MPH or more than 10 MPH above the
speed limit. Show how each of the inputs and outputs are coded (in terms of binary values) and
complete the truth table for the system.

Speed limit:

Speed limit of the car is such that where it is 00 it says 45 MPH, 01 says 55 MPH and 10 says 65
MPH, and 11 says nothing.

Speed of Vehicle:

Speed of the vehicle is such that 00 is when its less than 45 MPH, 01 is when its in between 46
and 55 MPH, 10 is when its in between 56 and 65 and 11 is when its greater than 65 MPH.

f:

It indicates whether the car is going above speed limit or not 1 for yes and 0 for no.

g:

It indicates that the car is driving at “dangerous speed” 1 for yes and 0 for no.

EE-221: Digital Logic Design Page 9


Truth Table:

Speed Limit Vehicle Speed f g

00 00 0 0

00 01 1 0

00 10 1 1

00 11 1 1

01 00 0 0

01 01 0 0

01 10 1 0

01 11 1 1

10 00 0 0

10 01 0 0

10 10 0 0

10 11 1 1

11 00 - -

11 01 - -

11 10 - -

11 11 - -

EE-221: Digital Logic Design Page 10

You might also like