Implementing an elevator door control system

Floating-Point Diagram: otis_elevator_regular

Fixed-Point Diagram: otis_elevator_fixed_point

Location: Examples > Fixed Point

A simplified elevator door control system — shown below — consists of a DC motor driving a gearbox that in turn manipulates the door position through a series of pulleys. The controller accepts open and close commands as inputs, and controls the magnitude and polarity of voltage that is applied to the DC motor. An encoder provides motor rotor shaft position feedback to the control system.


This tutorial describes how to implement an elevator door control system in floating point, then convert the controller to scaled, fixed point.