My inverter keeps flipping between battery/mains slowly at first, then faster. Why?
I seems your invertor is detecting a false brown out condition (low Vac)   or a DC reference voltage is too high inside.