Control and planning of human balance in the phase space