Not building anything, just testing out an idea.
Let's say there are several remote users with unreliable common AC line, which also drops low if overpowered.
The idea is to install a battery solution with bidirectional AC-DC converter to assist the AC line when voltage drops below set level and recharge when AC voltage is high. This would simply tap in to existing line. Imagine it as simply plugging a device in your AC socket...
It also must work as emergency backup power source in case of AC outage.
But here comes a problem: when AC is out, it is out for several users, but we want to protect only that one user. Mainly because, if AC is down, the power will backfeed to several users and they will overpower the battery.
So I think we can split the question to:
1. Is there a jellybean part, like an active rectifier or something, to prevent AC backfeed?
2. Should there be some kind of different solution? Like power measurement on primary side and cutting line off if it is negative? And then switching back on if AC levels back to normal.
3. I know there are similar off the shelf battery solutions out there, one in the UK. They market it as plug in AC socket at your home and it takes care of everything. Anyone know how it works?