We investigate the potential of perovskite KNN ceramics synthesized for high-performance piezoelectric applications via inclusion of BNKT and BiGaO3 into its matrix. The material is engineered to achieve R-O-T phase-boundary which is known for enhanced piezoelectric properties. We analyse the dielectric, ferroelectric characteristics, microstructure through SEM imaging, and piezoelectric behaviour of the pristine ceramic. Subsequently, the material is exposed to controlled 200 shock wave of 2.2 Mach having pressure intensity of about 2 MPa, and its properties are reevaluated. The results reveal remarkable improvement in piezoelectric coefficient from 270 pC/N to 285 pC/N and enhancement in Curie temperature from 409oC to 446oC due to shock wave treatment. A ceramic microgenerator are fabricated using synthesized KNNS-BNKT-BG ceramics to demonstrate the practical application of the shock-treated material, Its voltage generation capability is evaluated under two conditions: finger tapping with a force of 25 N yielded a voltage of around 24V and controlled shock wave exposure over the microgenerator at varying distances from the shockwave source yielded maximum voltage of 38V at 3cm away from the conduit. This investigation aims to optimize the device's performance and assess its suitability for harsh environments where shockwaves are prevalent such as in aerospace and defence.