Structural control techniques can be used to protect engineering structures. By computing instantaneous control forces based on the input from the observed reactions and adhering to a strong control strategy, intelligent control in structural engineering can be achieved. In this study, we employed intelligent piezoelectric patches to reduce vibrations in structures. The actuators and sensors were implemented using piezoelectric patches. We reduced structural oscillations by employing sophisticated intelligent control methods. Examples of such control methods include H-infinity and H2. An advantage of this study is that the results are presented for both static and dynamic loading, as well as for the frequency domain. Oscillation suppression must be achieved over the entire frequency range. In this study, advanced programming was used to solve this problem and complete oscillation suppression was achieved. This study explored in detail the methods and control strategies that can be used to address the problem of oscillations. These techniques have been thoroughly described and analyzed, offering valuable insights into their effective applications. The ability to reduce oscillations has significant implications for applications that extend to various structures and systems such as airplanes, metal bridges, and large metallic structures.