jw↗JULES WEBBMECHATRONICS ENGINEERING
← Back to selected workCASE STUDY 05 / 07

AUTOMATION / INDUSTRIAL CONTROL

Control the motion.
Respect the states.

ENMT211 · 2025 · Wednesday PM Group A

A five-floor elevator controller that combines request scheduling, encoder calibration, PI positioning and door interlocks on an Omron CP1H PLC.

CONTROL LAB / BROWSER RECREATION

Send it somewhere.

LIVE STATE MACHINE
jw.
05
04
03
02
01
CURRENT POSITION01IDLE / AT FLOOR

CAR REQUESTS

TARGET—
ENCODER1,985
DOOR INTERLOCKLOCKED
PENDING REQUESTSNONE
AT FLOORTRAVELOPENINGDOOR OPENCLOSING

Press a hall call or a car button. Requests are latched; the car serves its direction before reversing. Travel requires closed doors. This interactive recreation illustrates the control concepts; it does not execute the Omron PLC program or reproduce its physical PI dynamics.

5 floorsDIRECTION-AWARE SCHEDULING
CP1HOMRON PLC
PIENCODER POSITIONING

01 / THE CONTROL ARCHITECTURE

Requests become state transitions.

The controller handles internal car requests and external directional calls. It serves nearby compatible calls in its travel direction, reverses when no useful calls remain ahead, and updates the target only when the stopping distance allows it.

Calibration begins at the lower limit, zeros the high-speed encoder counter and records the floor-switch positions. Averaging each switch’s entry and exit positions establishes a repeatable floor centre.

02 / MOTION AND INTERLOCKS

Arrival is more than a position.

PI control brings the car to the target encoder count. A slew limit on motor command smooths acceleration. The ladder logic separates travel, safe-to-open and door-open states so a floor request cannot bypass the door interlock.

Doors open only when the car is at a floor and stationary. Open requests take priority, with a five-second dwell and a held-open condition before closing.

Control logic is a model of what can happen.

The project was tested in the simulator and on a scaled physical elevator. Translating the behaviour into explicit states made scheduling, motion and door logic easier to reason about and test together.

Wednesday PM Group A: Jules Webb, Sebastian Harris and Beaumont Bone. Omron CP1H, CX-Programmer, ladder logic and structured text. Based on the May 2025 team report and supplied simulator image.