Text this: A programmable SCR-based AC voltage regulator