Pipeline robots using the conventional driving mode have encountered a bottleneck in miniaturization. To address this problem, a micro piezoelectric pipeline robot based on the inertia stick-slip driving principle is proposed in this paper. The robot is well suited to the inspection needs of micro pipes. However, undesirable design parameters found during the structural optimization phase can lead to unstable operation and reduced load capacity of the robot, and can even cause the drive system to stop with chaotic behavior. Therefore, the nonlinear dynamics model of the four degree of freedom discrete system of the pipeline robot is established. The Runge-Kutta method is used to solve the dynamic response of each nonlinear subsystem. The nonlinear dynamical behavior of the system is analyzed through the bifurcation diagram, time domain diagram, phase diagram, Poincaré map and power spectrum diagram of each subsystem response. The stable operation intervals of the machine and electrical parameters in the drive system are given, and the conditions for the occurrence of chaotic behavior are determined. This research can be applied to most of the drive systems consisting of piezoelectric stacks and flexure hinges. It helps to determine and optimize the structural parameters of the piezoelectric actuator, thus avoiding chaotic behavior and ensuring that the actuator maintains good operational performance.