| Ships are prone to problems such as over-current and relay protection malfunctions when they are docked and connected to shore power.In order to quickly locate faulty components when a fault occurs,it is proposed based on the fault diagnosis of the onshore power grid.A new fault diagnosis method for ship shore power is proposed.First,it briefly introduces the background and development of shore power technology in recent years,as well as the development of power system fault diagnosis technology.After comparing the difference between the onshore power system and the shipboard power system,it was finally decided to adopt the fault diagnosis method of the analytical model.In order to facilitate the subsequent simulation and comparison of results,the components and circuit breakers in the topological diagram of the ship’s shore power circuit have been coded.Secondly,it studies the fault diagnosis analysis model of the ship’s shore power system,analyzes the actual status of the protection and the circuit breaker,the relationship between the expected status and the alarm information,and the analysis of their action status.Through case simulation,the limitations of the traditional analytical model and the improved analytical model in the diagnosis of ship shore power faults are analyzed.It was finally decided to use the staged analytical model combining the advantages of the two for the subsequent construction of the ship shore power fault diagnosis system.Then,the particle swarm optimization and the improved binary particle swarm optimization are briefly introduced,and the genetic algorithm(GA),the binary particle swarm optimization(BPSO),and the improved binary particle swarm optimization(NBPSO)are compared through case simulation analysis.The application of the algorithm to the ship’s shore power fault diagnosis finally decided to use NBPSO as the optimization algorithm for solving the analytical model,and used it in the core diagnostic program in the ship’s shore power fault diagnosis system designed later.Finally,using java,css,javascript,html language and springboot framework,the fault diagnosis visualization page is written.And through the matlab-control dependency plug-in,the connection between the java back-end program and matlab is realized,and the core algorithm program written in matlab can be successfully called to complete the ship shore power fault diagnosis. |