The document presents the modeling and design of a smart piezoelectric cantilever beam using a PID controller for active vibration control, incorporating PZT patches as collocated sensors and actuators. The study analyzes the optimal placement of PZT patches on the beam and demonstrates that the best control results are achieved when these patches are positioned near the fixed end of the beam. The research utilizes finite element analysis and considers various parameters and conditions to enhance vibration suppression in the structure.