X-ray Circuit and Generator