Objective. In order to control the vibration of the beam structure more effectively and improve the safety and availability of the beam structure, an application study of the Lagrange equation for vibration control of smart sensors for power grid monitoring is proposed. The vibration of the beam structure, the displacement of the beam structure under the excitation of seismic acceleration, the response analytical electrical formula, and the displacement response formula of the beam structure under the action of the kinematic force are deduced. The optimal parameters of the beam-TMDI system are given, and the parameter sensitivity analysis is carried out. Then, the control effect of the TMDI system is studied by numerical analysis, and the vibration reduction effect of the TMDI system and the tuned mass damper (TMD) system is compared. Experimental results show that when the mass ratio
μ
of the TMDI system and the TMD system are both set to a fixed value of 0.005, and the parameter
β
of the TMDI system is set to 0, namely
β
=
b
=
0
, at this time, the TMDI system degenerates into a TMD system. The TMD natural frequency is 14.179 rad/s and the damping ratio is 0.0432 by the DH optimization method, while the TMD natural frequency is 14.1812 rad/s, and the damping ratio is 0.0436 by the augmented Lagrangian optimization algorithm. Conclusion. The vibration displacement response spectrum of a beam structure obtained by the frequency domain method can effectively reflect electricity in the displacement response of a beam structure. The parameters that minimize the vibration response of the beam structure can be accurately obtained by using the augmented Lagrangian parameter optimization method. The sensitivity of the TMDI system is controlled by the inertial device, and the inertial device has a significant impact on its robustness. The vibration reduction performance of the TMDI system is obviously better than in the conventional TMD systems.