This document describes research on applying a dry cell HHO gas generator with pulse width modulation (PWM) to optimize performance of a Sinjai spark ignition engine. The HHO gas generator's duty cycle was varied from 20-100% to determine the optimum cycle. A 40% duty cycle generated HHO gas at 33,121 MJ/kg specific energy input, 20.064% generator efficiency, and <60°C temperature. When applied to the Sinjai engine at standard ignition timing, there was a 2.27-3.05% increase in torque, power, and BMEP and a 7.76% decrease in fuel consumption. Retarding ignition timing to MBT setting further increased torque by