To control a 24W fan using a triac circuit, you can use a simple optocoupler-based design. This circuit can be triggered by a 240V AC signal, which is used to turn on the fan. You can use a single triac to control the fan. This write-up can give you a rough idea.
Conventional Ceiling fans operate with voltage divider circuit. Alternatively Ceiling fans can even be operated with Silicon Controlled Rectifiers TRIAC, and 555 timer circuits. This circuit is very cheap in its build. Circuit Diagram Tab 1 shows the TRIAC ceiling fan circuit while circuit...