In this paper the active vibration control of a four-story shear frame instrumented with piezoelectric actuators is presented. The piezoelectric actuators are hosted on the columns in two manners and the produced controlling forces by actuators are considered in the equation of motion. The smart structure modeling and control design is carried out using MATLAB software in state space form. Subsequent details of designing feedback control are addressed. Pole Placement Controller (PPC) and Linear Quadratic Regulator (LQR) are applied in control algorithms and their performances are discussed. The results of both methods are compared which show excellent agreement, demonstrating that piezoelectric based structural control is a proper approach for optimized smart structure design. Results also show that the location of the piezoelectric actuators significantly influences the efficiency of the control system.