In view of the low accuracy of the motion parameters generated by the typical ship trajectory generator, and the fact that the problem of wind, current and wave interference is not considered, this paper establishes a new ship trajectory generator by analyzing the changes in the ship’s attitude and speed under different motion states. Through simulation, the accuracy of the main motion parameters is significantly improved compared with the typical trajectory generator; the time-varying non-uniform wind, current and wave fields are constructed, and the interference effect of wind, current and waves on ship motion is analyzed by combining the empirical formulas of force and moment; an adaptive neuro fuzzy inference system (ANFIS) based on wind, current and wave interference is designed, and the fuzzy rules of the fuzzy system are determined by training and testing the measured data; the motion parameters of superimposed wind, current and wave interference are compared with the measured data, and the accuracy is further improved after superimposing wind, current and wave interference.