Algorithm design of an hybrid system embedding influence of soil for dynamic vibration control