The invention relates to a switching
control system and method for gaits of a humanoid
biped robot based on the
magneto-rheological technology. The
control system comprises a plurality of compliance controllers, and the compliance controllers comprise
magneto-rheological units, length adjusting units and feedback circuit units. The switching method for the gaits comprises the steps that interpolation is carried out on walking (running) final states and running (walking) initial states planned in advance into a continuous, smooth and derivable curve, meanwhile, the motion track of a
gait switching instant joint is repeatedly optimized and calculated online, the
mass center positions, speed and accelerated speed of rods of the
robot are changed by controlling the reciprocating movement of pistons of the compliance controllers, and when the
robot tends to incline forwards, a front leg is lengthened, a rear leg is shortened, and the
mass center of the
robot is adjusted backwards; and when the robot tends to incline backwards, the front leg is shortened, the rear leg is lengthened, the
mass center of the robot is adjusted forwards, the stability of the robot is controlled, and free switching of walking and running of the robot is achieved.