Simulation design of Duffing system based on singlechip