Recent studies integrating vibration control and structural health monitoring (SHM) use control devices and control algorithms to enable system identification and damage detection. In this study real-time SHM is used to enhance structural vibration control and reduce damage. A newly proposed control algorithm, including integrated real-time SHM and semi-active control strategy, is presented to mitigate both damage and seismic response of the main structure under strong seismic ground motion. The semi-active independently variable stiffness (SAIVS) device is used as semi-active control device in this investigation. The proper stiffness of SAIVS device is obtained using a new developed semi-active control algorithm based on real-time damage tracking of structure by damage detection algorithm based on identified system Markov parameters (DDA/ISMP) method. A three bay five story steel braced frame structure, which is equipped with one SAIVS device at each story, is employed to illustrate the efficiency of the proposed algorithm. The obtained results show that the proposed control algorithm could significantly decrease damage in most parts of the structure. Also, the dynamic response of the structure is effectively reduced by using the proposed control algorithm during four strong earthquakes. In comparison to passive on and off cases, the results demonstrate that the performance of the proposed control algorithm in decreasing both damage and dynamic responses of structure is significantly enhanced than the passive cases. Furthermore, from the energy consumption point of view the maximum and the cumulative control force in the proposed control algorithm is less than the passive-on case, considerably.