This paper introduces a novel approach to bipedal robot gait generation by proposing a higher-order form through the parameter equation of first-order Bessel interpolation. The trajectory planning for the bipedal robot, specifically for stepping up or down stairs, is established based on a three-dimensional interpolation equation. The experimental prototype, Roban, is utilized for the study, and the structural sketch of a single leg is presented. The inverse kinematics expression for the leg is derived using kinematic methods. Employing a position control method, the angle information is transmitted to the robot's joints, enabling the completion of both downstairs simulation experiments and physical experiments with the Roban prototype. The analysis of the experimental process reveals a noticeable phenomenon of hip and ankle joint tilting in the robot. This observation suggests that low-cost bipedal robots driven by servo motors exhibit low stiffness characteristics in their joints.