Title: ECE 551Semester Project Elevator Controller
1ECE 551-Semester Project Elevator Controller
-
- Depeng Yang, Saijun Zhang
- November 30, 2006
- Electrical Computer Engineering Department
- University of Tennessee
- Knoxville, TN 37996-2100
2Outline
- Project Background
- System Requirements
- Input/Output description
- System Diagram
- Master FSM (finite states machine) description
- Slave FSM description
3Project Background
- This microelectronic system designed for this
project aims to control a four floors elevator
with 2 cars. - The system is made up of input/output devices
coupled with digital logic circuit implemented in
a single application-specific integrated circuit
(ASIC). - This project involved the design, simulation,
realization and demonstration of an elevator
controller with 2 cars. - VHDL, a hardware description language, is used in
this project.
4System Requirements
- This project is for controlling a four floors
elevator. The elevator should - 1) keep its direction unchanged when
it goes - 2) do not move until it gets the
request.
5Input/Output Assignment
Basic Input/output of Spartan3 Demo Board
8 switches4 push buttons 4 7-seg LEDs8 LEDs
6Input/Output Assignment (cont.)
- 1 6 switches (sw0 to sw5) that are in upper
stand for the request from each floor outside the
cars. When it are in down, it means no reuest. - sw0 in upper stands for request for
going up from the first floor outside the
cars - sw1 in upper stands for request for
going up from the second floor outside the cars - sw2 in upper stands for request for
going down from the second floor outside the
cars -
- sw5 in upper stands for request for
going down from the 4th floor outside the cars. -
-
7Input/Output Assignment (cont.)
- 2 4 push buttons stand for the floor the people
inside the car want to go to. - BTN0 means the people inside want to
go to the first floor - BTN1 means the people inside
want to go to the second floor - BTN2 means the people inside
want to go to the third floor - BTN3 means the people inside
want to go to the first floor -
3 4 7-seg LEDs show which floor the car is
in. 4 LEDs show the different car condition,
respectively. The number displayed by LED0 shows
car1 condition and the number displayed by LED1
shows car2 condition.
4 four LEDs when it is on show which door is
open.
8System Diagram
This diagram shows how the blocks are connected.
The switchs signal will be sent to FSM, and push
buttons signal will be sent to FSM. After
checking with FSM, the signal will go to drive
LED.Clock divide module will send different
frequencies for different module. These above
parts are handle by Saijun. FSM part is handle by
Depeng. System requirement and states set in FSM
are talked by us.
9System Diagram
10Main FSM Controller
- Master FSM deal with outside request
- Slave FSM deal with inside request
- Master FSM invokes slave FSM when elevator stops
at one floor
11Master FSM
- Function of master FSM Keep direction
12Master FSM Keep direction
13Master FSM Keep direction
14Slave FSM
- S1 car door is open. Passengers enter into the
elevator - S2 people in car press the button which
represents the floor they want to reach - S3 people press the button
- S4 people press the button
- S5 Car door is close. Car goes on.
15Master and slave FSM
16