Vayu - A Customizable Smart Air Cooler Controller

Components Used
Powered by

Triac & SCR Output Optocouplers 6Pin 400V Optocoupl Rand Phs Triac Drvr
512-MOC3020TVM



ESP8266 is a system on chip (SoC) which provides WIFI capability for embedded applications. This enables internet connectivity to embedded applications. ESP8266 modules are mostly used in Internet of Things(IoT) applications.
909-MOD-WIFI-ESP8266


Wall Mount AC Adapters ac-dc, 5 Vdc, 2 A, SW, wall-plug, EU, P5 center pos, level VI, black
490-SWH15-5-EB-P5

LDO Voltage Regulators 1A,Pos Fix Vltg LDO Linear Reg
595-TLV1117LV33DCYT
Power Supply Circuit
× 1220VAC to 5V and 3.3VDC Circuitry
What it does
A customizable smart air coolers/conditioners controller with IoT integration lets the manufacturers get a room for their production of the coolers from building the control unit. In the upcoming days, it is expected that most of our electronic devices will be connected thus leading to the sustainability of this unit.
How it works
The controller is an advanced PI-type controller with anti-windup for self-controlling and adapting. The PID calculations are made at 0.1Hz, this slow rate is okay since the temperature is a sluggish changing variable. The motor control is a phase angle control for smooth dimming and variable AC drive of the motor. Firstly, it looks for an input command from the WiFi, if something new is in the buffer, it reads it and changes its setpoint. Else it goes with the previously set setpoint. Then it calculates the PI value needed for the delay time of the phase angle control, then it drives the motor with Triac, three Triac are parallelly placed for the high current drive of the motor. This phase angle control is also done by the same microcontroller by detecting the zero cross, so there is an interrupt occurring when the microcontroller is not in deep sleep mode, when it wakes up (every 10s) it calculates the PI value and with that, the interrupt mask is set and loops with the drive power of the motor, thus driving the motor with the desired speed. After setting the speed, the microcontroller again goes to sleep mode, and this cycle repeats. The above agenda is written in the firmware which you can find in the attached GitHub link.
Tech used
PI control for setting the power of the compressor fan. The drive of the fan is obtained by phase angle control by zero-cross detection. And we made the PCB in EasyEda.
Downloads
Credits
Built by 2 contributors


Comments0
Join the discussion — share a question or tip.
Be the first to share your thoughts on this project.