An intelligent electrical circuit for controlling the operation of quartz metal halide discharge (QMH) lamps is proposed. The lamp can be operated steadily at high-frequency by integrating the microcontroller ATmega128. With the application of pattern recognition, the control system enables the lamp to be turned on and off automatically according to the environment condition and maintain high-performance constant power. The results show that the efficiency of the driving circuit can approach 94.3%. The proposed model will provide opportunities to design reliable and cost-effective QMH lamps.