Elevator door control with encoder

Recently we design a elevator door controller. This was designed to replace a vintage type controller in the system. Video shows the testing pace of the system. It involves reading a from 2 channel quadrature encoder to position the motor. Also once the position is achieved, pid position loop is used to hold the position of the motor. This prevents somebody trying to open a closed elevator door.