That's a great question, and the answer lies in the internal electronics of modern ceiling fans, specifically the presence of a microcontroller and non-volatile memory.
Here's the breakdown:
-
Electronic Control Module: Ceiling fans that have remote controls, wall controls with multiple speeds, or built-in dimming features aren't just simple motors anymore. They contain an electronic control module (often integrated into the receiver unit you install in the fan housing).
-
Microcontroller as the "Brain": This module has a small computer chip called a microcontroller. This chip receives commands (from the remote, wall switch pulses, etc.) and controls the motor speed and the light.
-
Non-Volatile Memory (NVM): Crucially, the microcontroller is paired with or contains a small amount of non-volatile memory (like EEPROM or Flash memory). Unlike the temporary memory (RAM) in devices that loses data when power is cut, non-volatile memory retains the information written to it even when the power supply is completely removed.
-
How it "Remembers":
- Writing to Memory: When you use the remote or control to change a setting (like setting the speed to medium or dimming the light to 50%), the microcontroller doesn't just execute that command; it also writes or saves that specific setting value (e.g., speed level '2', brightness level '50%') into its non-volatile memory.
- Retaining Data: When you turn off the fan at the wall switch (cutting off all power to the fan), the microcontroller loses power, but the data you saved in the non-volatile memory remains intact.
- Reading on Power Up: When you turn the wall switch back on, the microcontroller boots up. Its initial programming includes a step to read the last saved settings from the non-volatile memory.
- Restoring the State: The microcontroller then uses these retrieved settings to configure the fan motor controller and light dimmer to the state they were in before the power was cut.
In simple terms: It's like saving a file on your computer's hard drive (non-volatile memory) before shutting it down. When you turn the computer back on, you can open that file again because it was saved. The fan's control module "saves" its current settings in its non-volatile memory so it can recall them when power returns.
This feature is common in fans designed with electronic controls, allowing them to resume the last state (speed, light level) rather than defaulting to a fixed setting (like high speed and light on) every time the main power is cycled.