Mobile robot becomes more and more perfect with people research continuously, obstacle avoidance is one of the most basic function in the process of operation. At present, the robot simulation system is an important tool of researching robot. In this paper, hardware design and software design were done by NSTRSS and real-time dynamic obstacle avoidance simulation of mobile robot is completed successfully. The experimental result shows that the simulation has 3D scene, lively effect and a good operation interface.