Self-heat generation of embedded piezoceramic patches used for fabrication of smart materials