Graphical Abstract Providing a general nonlinear model of piezoelectric microwires with the ability in adjusting stability conditions to improve the system characteristics. It was implemented by applying the piezo-voltage and/or actuating just a piece of the substrate electrostatically