AVR regulator