Most of active control in vibrational dynamic systems is used to reduce vibrations. However,the aim of this research is specifically the use of vibrations to generate electrical energy, in such a way that the vibration becomes a desired phenomenon. In this way, the intention is to use the Optimal Control via Linear Quadratic Regulator (LQR), resulting in greater transduction of vibrational energy to electric power, varying the excitation type and performing an analysis of the stabilityand the effects of control to the dynamic system.The analyzed system is a bimodal mass-spring-damper with piezoelectric coupling-mechanic who suffers excitations periodic and non-ideal. This work intends to determine which system generates more electric power.