The application discloses an online collaborative optimization method and
system based on
reflux power and
soft switch constraint, mainly solves the problems of
reflux power increase caused by transient power and equivalent
voltage fluctuation in the existing
power frequency cycle and hard switching caused by crossing the
soft switch boundary when refluxing. The scheme comprises the following steps: sampling the real-time state variables running in the dual active bridge micro-
inverter circuit; calculating the internal and external
phase displacement and the objective function based on the sampled photovoltaic side
voltage, photovoltaic side current,
leakage inductance current, bridge arm equivalent
voltage and grid side voltage; outputting the
soft switch judgment
signal of the bridge arm commutation current at the commutation event k moment according to the judgment
signal; based on the judgment
signal, the optimization variables are iteratively updated online to obtain the optimal optimization variables; based on the optimal optimization variables, the corrected internal and external
phase displacement are calculated, and the driving signal of the switching tube is outputted to realize the online collaborative optimization of the
reflux power and the soft switch constraint of the dual active bridge micro-
inverter. The application can reduce the reflux under all working conditions and meet the soft switch, and can be used for reflux power suppression of the dual active bridge converter.