The invention provides a method for realizing in-phase online
equalization of a modular
battery energy storage
system based on an NLM, and the method comprises the steps: S1, regularly obtaining SOCj, x and (1-SOC) j, x, rechargeable energy SOEj, x and dischargeable energy SODEj, x of a module DC side battery through a battery
management system BMS according to an
equalization control period Tequ; s2, acquiring an
equalization index of each module according to
engineering requirements, determining an input priority sequence during charging and discharging, and generating a
battery voltage queue of all modules; and S3, obtaining the size of a modulation wave in each
power control period, and determining the first k modules which should be input currently and the total number k of the input modules. In-phase equalization is realized by fully utilizing an alternating-current
reactive energy exchange process and a reactive state of the
system, a blind area of a traditional method is eliminated, an application range of the in-phase equalization is expanded, in-phase module equalization is realized in each
power frequency period, an operation boundary of the
system is not influenced at all, charging of some modules in one
power frequency period is realized, and charging efficiency is improved. Some modules
discharge, and the equalization speed is higher.