Title: A line voltage monitor for determining AC supply regulation to a diagnostic x-ray source