A train platform safety device including a passenger and obstacle detection function, the train platform safety device comprising: multiple lifting/lowering units adapted to be provided on selected portions of an entrance and an exit of a platform at which a train stops; at least two moving bodies provided in the lifting/lowering units so as to move upward and downward; ropes provided horizontally so as to connect each of the moving bodies to each other; a motor moving the moving body upward and downward; and a detection means controlling the upward and downward movements of the moving body when the ropes hit a passenger or an obstacle while moving, characterised in that , the detection means includes a moving unit provided on one side of the moving body such that the moving body is moved upward or downward by upward and downward shakings occurring when the ropes hit a passenger or an obstacle while moving; and a controller controlling positions of the ropes according to a torque change value of the motor occurring while a position of the moving body , which is moving, changes when the ropes hit a passenger or an obstacle, wherein the moving unit is provided by passing through the moving body so as to move upward and downward, the moving unit including a support part provided on a lower part thereof so as to lift the moving body by being in contact with a lower surface of the moving body , and a guide shaft provided on an upper part of the moving unit , wherein a first end of a connector connecting rotating bodies to each other so as to rotate the rotating bodies is combined with an upper part of the guide shaft , and a second end of the connector is combined with a lower part of the support part . multiple lifting/lowering units adapted to be provided on selected portions of an entrance and an exit of a platform at which a train stops; at least two moving bodies provided in the lifting/lowering units so as to move upward and downward; ropes provided horizontally so as to connect each of the moving bodies to each other; a motor moving the moving body upward and downward; and a detection means controlling the upward and downward movements of the moving body when the ropes hit a passenger or an obstacle while moving, characterised in that , the detection means includes a moving unit provided on one side of the moving body such that the moving body is moved upward or downward by upward and downward shakings occurring when the ropes hit a passenger or an obstacle while moving; and a controller controlling positions of the ropes according to a torque change value of the motor occurring while a position of the moving body , which is moving, changes when the ropes hit a passenger or an obstacle, wherein the moving unit is provided by passing through the moving body so as to move upward and downward, the moving unit including a support part provided on a lower part thereof so as to lift the moving body by being in contact with a lower surface of the moving body , and a guide shaft provided on an upper part of the moving unit , wherein a first end of a connector connecting rotating bodies to each other so as to rotate the rotating bodies is combined with an upper part of the guide shaft , and a second end of the connector is combined with a lower part of the support part . <EOS>