Had almost exactly this with my Honda EU22i last summer when I was running it to top up the batteries in the static caravan during a particularly grim week of cloud cover.
Mine would run beautifully for about 15-20 minutes then just... die. Restarted fine, same thing again. Classic thermal cutout behaviour, I thought — but it wasn't that at all.
Turned out the fuel cap vent was partially blocked. The engine was essentially creating a vacuum in the tank and starving itself. Loosened the cap slightly during a test run and it ran for two hours without a hiccup. Bit embarrassing how long it took me to find that one.
That said, your AVR theory isn't far-fetched either. A failing AVR can cause voltage instability that trips the overload protection, especially if you're running anything with a motor start load — compressors, pumps, that sort of thing. Worth putting a cheap clamp meter on the output while it's running and watching for voltage sag before it cuts.
A few things worth checking in rough order:
- Fuel cap vent (free fix, start here)
- Air filter — a clogged one causes similar symptoms under load
- Spark arrestor if you've been using it a while
- Oil level sensor — these can get flaky and trigger a false low-oil shutdown
What generator is it, and what are you running off it? Load profile makes a big difference in narrowing this down. Also, does it cut out cleanly and silently, or does it splutter before dying? That detail tells you a lot.