A Study on Stable Motion Control of Humanoid Robot