Elevator Project

Project Description

This embedded systems project models elevator behavior using scheduling logic and finite state machines. It focuses on how elevators respond to sensor inputs, manage state transitions, and handle passenger requests efficiently. Key metrics such as wait time, ride time, total travel time, and overall system performance were used to evaluate different designs.

I worked on this project in a pair. My partner was Sarp Akalin. I've known Sarp since elementary school, huge thanks to him for working on this project together! Wouldn't have been possible otherwise.

Project Phases

  1. Understanding requirements and building a model of elevator behavior
  2. Designing a finite state machine to manage elevator operations
  3. Implementing passenger scheduling and request handling logic
  4. Building and testing the simulation
  5. Analyzing performance across different configurations
  6. Comparing results and identifying the most effective setup

Design Documents

Elevator Design Document (Final)
Download PDF
Design Document v1
Download PDF
Design Document v2
Download PDF

Summary of Analysis

Three elevator configurations were tested and compared:

  • Capacity = 15, floorTicks = 5, doorTicks = 2, passPerTick = 3
  • Capacity = 20, floorTicks = 7, doorTicks = 3, passPerTick = 4
  • Capacity = 10, floorTicks = 3, doorTicks = 2, passPerTick = 3

The evaluation focused on completion rate, average wait time, total travel time, weighted passenger time, ride time per floor, and variability in performance.

While all three configurations performed well overall, Configuration 3 consistently delivered the fastest and most reliable passenger experience.

Even though it had the smallest capacity, its faster movement and higher throughput made it more efficient than the larger alternatives.

Key Learnings

  • Finite state machines are a reliable way to structure embedded control systems.
  • Data-driven comparison is essential when evaluating design tradeoffs.
  • Smaller systems can outperform larger ones when optimized for flow and timing.
  • User-focused metrics like wait time and consistency matter just as much as raw capacity.
  • Simulation is a powerful way to test and refine system designs before implementation.

Reflections

Elevator Reflection 1
Download PDF
Elevator Weekly Reflection 2
Download PDF
Elevator Weekly Reflection 3
Download PDF
Elevator Weekly Reflection 4
Download PDF

← Back to ADEN Course