Patent attributes
Operating an electrical load controller includes, in one aspect, detecting zero-crossings of an AC waveform, determining periods each corresponding to a full cycle of the AC waveform, determining a frequency of the AC waveform based on the determined periods, and controlling a supply of AC power to a load based thereon using the determined frequency to fire a switching circuit of the electrical load controller. In another aspect, a method includes maintaining a minimum on-time for which a control signal to the switching circuit is to remain in an ON state to fire the switching circuit; based on a desired load level setting of the electrical load controller, setting a corresponding control signal turn-on time to turn the control signal to the ON state to conduct the supply of AC power to the load, the control signal turn-on time corresponding to a firing angle of half cycles of the AC power; selecting a control signal turn-off time to turn the control signal to the OFF state, where the selecting is made between (i) a first turn-off time equal to the set turn-on time plus the minimum on-time, and (ii) a second turn-off time equal to a default turn-off time for turning the control signal to the OFF state, the control signal turn-off time corresponding to a second angle of half cycles of the AC power; and controlling the supply of AC power to the load by selectively controlling the switching circuit to conduct the supply of AC power to the load, the controlling the supply of AC power to the load including: based on turning the control signal to the ON state during a half cycle of the AC power at the set control signal turn-on time, holding the control signal in the ON state until the selected control signal turn-off time during the half cycle.