Design Goals / Specifications

The design goals and specifications of the AutoDuct project are summarized below. The primary design goals (minimum viable product) are shown in bold.

The picture below shows how the motorized air duct shutter integrates into the stock decentralized ventilation system. The stock vent cover of the ventilation system is replaced by the motorized shutter unit which electrically connects to the bus system and the axial fan unit.


Mechanical Assembly

At the heart of this device is a mostly 3D-printed linear actuator which is used to open and close a shutter disc to prevent unwanted airflow. The 3D-printed leadscrew of the actuator is directly attached to a small brushed DC motor with an integrated gearbox.

Integrated into the encapsulated actuator unit two hall effect switches on a separate ring-shaped PCB are used to detect the end stop positions (open/close) of the shutter mechanism in combination with tiny magnets. The axial position of these magnets can be adjusted to compensate for mechanical tolerances in the assembly.

Note: the actuator unit does not use any additional (ball) bearings to keep the BOM simple and material cost low. Axial and radial forces are solely absorbed by the 3D-printed linear guides and the integrated bearings of the geared motor. This could potentially reduce longevity of the assembly but has not been an issue while testing multiple units over more than a year now. Use of silicone grease is highly recommended. 

Electronics

The electronics are based around a Microchip 32-bit microcontroller (PIC32MX), which might be a little bit overpowered for this project but was available from a previous project and has a neat footprint. The +3V3 rail is generated from the +12V bus by a step-down converter. The geared DC motor is driven by a dedicated H-bridge driver IC (DRV8801).

Behind the front cover of the assembly another small PCB is hidden. This PCB contains the Bluetooth low energy module (HM-17), a serial EEPROM, a real time clock (RTC) IC and a humidity and temperature sensor. User feedback is given via a white LED which shines through the 3D-printed enclosure and has brightness control via PWM.

Firmware

The main processor of the device (PIC32MX150F128B) runs a super simple multitasking OS which takes care of these main tasks:

Depending on the selected operating mode, the device will perform the following actions:

A custom bootloader was developed which enables over-the-air firmware updates via the Bluetooth low energy interface.