A X-ray machine head filament circuit includes a controllable direct current power supply, a filament temperature control inverter driver, an X-ray tube cathode filament, and the filament temperature control inverter driver drives the controllable direct current power supply to reverse the filament of the X-ray tube cathode filament. After the current signal is used as a power supply, it also includes an inverter pulse generator, photoelectric receiver and driver, plastic optical fiber, and the inverter pulse generator output terminal is connected to the pulse receiving terminal of the photoelectric receiver and driver through the plastic optical fiber. The photoelectric receiver and driver converts the optical signal into an electric signal through the wire and connects it to the driving signal receiving terminal of the filament temperature control inverter driver.