Elevator Project

advertisement
Eric Besso
CMPEN 270
Section 001
4/28/14
Elevator Design Project
1
Table of Contents
Specifications ---- (3)
Block Diagram --- (4)
Schematic Diagram --- (5-7)
Timing Diagram --- (8)
Structured Logic Device Diagram --- (9)
Circuit Description --- (10)
2
Specifications:

Building has 14 floors.

Must include 5 bit binary code, which indicates the floor the elevator is on, or
approaching.

Special access for the 14th floor.

5 control signals
o StopAtApproachingFloor.H: Causes the elevator motors to stop at the
next floor.
o GO.L: Causes elevator motors to start moving when asserted.
o OpenDoor.L: Causes the elevator door to open when asserted.
o SayHello.H: Causes the elevator to travel to basement (floor 0) and
door automatically opens.

Elevator (two outputs)
o Stopped.L: When the elevator stops.
o DoorOpen.H: Asserted when elevator door is open.

5-bit data, which indicated the floor.

Elevator must display the current floor the elevator is on when stopped.

Elevator must display the approaching floor when moving.

Elevator must accept a 5-bit binary code indicating the floor the elevator is
going to.
3

Elevator can never go to the 14th floor unless a 5-bit binary code (starting
with a 1) is properly entered first. If entered incorrectly, the elevator door
closes, the signal says hello, and the elevator goes directly to the basement.
B
l
o
c
k
D
i
a
g
r
a
m
:
4
Schematic:
5
Schematic Continued:
(Note: Labels are taken from schematic on page 5)
6
Bill of Materials:
7
DEVICE
QUANTITY
PART NUMBER
Dip Switch
5 Bit
Register
2
3
206-S
SY100E452JY
COST Per
Single
Device
$0.88
$10.25
4 Bit
Comparator
2 Bit
Comparator
2
SA74LS85A
$1.47
Ti
1
LM339ADR
$0.41
Ti
D Flip Flop
Inverter
Push Button
2 Input OR
X NOR
MUX 16:1
2 Input
AND
4:16
Decoder
1k Ω
Resistor
4
1
1
4
1
1
2
NC7SZ74K8X
SN74HCT04PWR
KS-01Q-01
NC7S32M5X
SN74HC266DR
ADG1206YCPZ-REEC7
NC7SZ08P5X
$0.46
$0.57
$0.62
$0.43
$0.59
$10.29
$0.33
Fairchild
Ti
ESwitch
Fairchild
Ti
Analog
Fairchild
1
CD74HC154EN
$2.23
Ti
10
MFP25BRD521K
$0.46
Yageo
300 Ω
Resistor
15
CF14JT300R
$0.08
StackPole
10 Ω
Resistor
1
AC05000001009JAC00
$1.27
Fairchild
33µF
Capacitor
1
C3216XSR0J336M130AC $0.88
TDK
LED’s
Wire
15
--------
520PWC
-----
Electron
Lowes
$0.13
$1.00
TOTAL=
$65.28
Manufacturer
CTS
Mircel
Timing Diagram:
8
Structured Logic Device Diagram:
(ASM)
9
Circuit Description:
10
When stopped, the circuit displays the current floor that the elevator is on. When
moving, the circuit then displays the current floor that it is approaching. The circuit
receives a 5-bit binary code indicating which floor the passenger has chosen the elevator
to move to. The circuit doesn’t allow access to the fourteenth floor unless the
programmable code has been correctly inputted. The secret code used to access the 14th
floor will only be compared if it begins with a 1. The 1 has to be inputted prior to the
floor being entered. If an incorrect code has been entered, the elevator will close its door
and send the car to the basement where automatically open the door once stopped. This
circuit accepts two signals generated from the elevator in addition to a 5-bit data signal.
The signals are Stopped.L and DoorOpen.H. Stopped.L is only asserted when the elevator
is stopped. DoorOpen.H is only asserted when the door to the elevator is open. The
circuit is then responsible for correctly asserting 5 signals to the elevator. The 5 signals
are Go.L, OpenDoor.L, CloseDoor.H, SayHello.H, and StopAtApproachingFloor.H.
When StopAtApproachingFloor.H is asserted, the elevator will stop at the next floor
when it is within one floor of the inputted floor. In order to make the elevator move, Go.L
is then asserted. OpenDoor.L causes the door to open once the elevator has reached its
destination and has stopped. CloseDoor.H closes the door once the input has been
verified and the elevator is ready to move. If the secret family code is incorrectly
inputted, SayHello.H asserts, closing the doors and sending the elevator to the basement
(floor 0).
11
Download