Optimization of system and piezoelectric effect on PZT crystal