This article analyzes the functions of opening and closing doors,obstacle detection,fault isolation,emergency door opening,etc.of the passenger compartment side doors of high-speed trains,and sorts out the control logic of opening and closing doors,obstacle detection control logic,and motor control logic of the passenger compartment side doors.The logic course of the door controller for the passenger com-partment side door lays the foundation for modeling the mechanism of the door system and building a digital twin model of the door.