Utility voltage fluctuations not compensated by the low frequency voltage loop of the power factor correction (PFC) stage cause a perceptible variation in the light emitted by lamps, unpleasant for the human eye and known as flicker effect. A novel extension of the digital control for PFC stages analyzes the input voltage, detects the fluctuations in the range of human flicker sensitivity and modifies the PFC output voltage controller to avoid their propagation to the dc bus.The purpose of the controller is to make the PFC compatible with any second stage lamp driver, assuring the mitigation of the lamp light variation caused by utility disturbances in consistency with the human eye perception. The controller is implemented in a Field Programmable Gate Array (FPGA). A constant lamp luminance is achieved with this digital controller with no dependence of the next ballast stage. alternative family is the Field Programmable Gate Arrays (FPGAs) technology [9], [10]. These devices consist of predesigned elementary cells and interconnections that are fully programmable by the end user.In DC/DC conversion, it is common that digital controllers pay close attention on the voltage regulation with improved dynamic performance under input voltage and load transients [11], [12].Key properties of High Intensity Discharge (HID) lamps include higher energy efficiency, compact size, good colour rendering, whiter light (higher colour temperature), and longer lifetime [13]- [19]. Typical applications range from car headlamps, greenhouse lighting, interior lighting, industrial sector and urban lighting applications. Since the urban lighting consumption represents a non-negligible part of the total energy amount consumed on Earth, improvements of the supply, efficiency and light quality are investigated. Digital control is a key technology to provide higher performance [14]-[16] to the ballast system. In Fig. 1.a, a typical two -stage electronic ballast solution is shown including a power factor correction (PFC) [20] and an inverter. On the other hand, the same system is depicted in Fig. 1.b with a digital controller. Light emitted by HID lamps is very sensitive to voltage supply fluctuations, producing an effect on the human visual perception, known as flicker [21]-[26]. Flicker is a very uncomfortable effect, which would cause a lot of human physiological effects as it is indicated in [24] and [25]; so it is addressed as a safety and health issue at work. These fluctuations can be caused by the connection and disconnection of important loads (high-power motors, PFC bank capacitors, etc…), compressors, resistive welding machines or arc furnaces. Flicker frequency can be perceived by the eye-brain set, when it is within a range of frequency that extends from 0.5 to 25 Hz [23]; and the maximum flicker perception occurs at around 10 Hz [26].In two-stage electronic ballast, where the inverter may operate in open loop, the PFC outer loop and its output bulk capacitor, C, are the elements that attenuate the propagation of the utility volt...