Case study: HVAC controller
Native BACnet/IP in an HVAC equipment controller, across a standard product line
A large HVAC equipment manufacturer embeds the CAS BACnet Stack in its controller, so building automation systems can monitor and control heating modes, fan speeds and setpoints over BACnet/IP in every unit it ships.
The challenge
Commercial and industrial buildings run on a building automation system, and in most of them that system speaks BACnet. An HVAC unit that cannot answer it is a unit the controls contractor has to wrap in a third-party gateway, map point by point, and support for the life of the building.
For an equipment manufacturer, that is a cost on every job and a question in every bid. The controller already knew the unit’s heating mode, fan speed and setpoints. It needed to publish them as BACnet objects that any building automation system can discover, read and write, on every unit in the product line.
Why the CAS BACnet Stack
- The CAS BACnet Stack is a royalty-free C/C++ library with the source code included: one licence, no per-device fees, however many units ship.
- The controller’s own firmware stays in charge of its data. The stack calls back into the product for each value a client reads or writes, and handles the protocol: discovery, ReadProperty and ReadPropertyMultiple, writes with priorities, and change-of-value subscriptions.
- The engineers who maintain the stack answer integration questions directly, and the free CAS BACnet Explorer lets the manufacturer discover and test each unit on the bench.
The solution
- Controller firmware
- CAS BACnet Stack (BACnet server)
- BACnet/IP over the building network
- Building automation system
The stack runs inside the controller as a BACnet/IP server. The controller registers its callbacks, adds one BACnet device, and adds the objects the building system needs: values for the heating mode and fan speed, and writable setpoints. A regular call to the stack’s tick does the rest.
Because the stack is part of the standard product line, every unit leaves the factory as a native BACnet device. BBMD and foreign device registration are built in, so a unit can be reached across subnets on a larger site.
Results
- Building automation systems monitor and control heating modes, fan speeds and setpoints over BACnet/IP.
- BACnet ships as standard across the product line for commercial and industrial buildings.
- No gateway is needed between the unit and the building system.
More of what manufacturers build with it
- Ultra-low temperature freezers: a BACnet/IP server on a TI AM335x Linux controller
- Fan coil units: a BACnet MS/TP server on an STM32 with an RTOS
- Lighting and shading control: a BACnet/IP server on a DIN-rail ESP32
- Air curtain controller: BACnet/IP and BACnet MS/TP on embedded Linux
- IoT air disinfection device: BACnet on an ESP32 with FreeRTOS
- Compressor fleet management: BACnet/IP on a custom ARM controller
- Digital twin for data centers: the BACnet API inside a software platform
Have a similar project?
Building something like this?
Tell Chipkin your platform, whether your device is a BACnet server or a client, and the data link you need. A Chipkin engineer replies with how the stack fits and where to start.
- Consultation: talk directly with BACnet specialists about your project.
- Run an example: every profile example project publishes a Windows and a Linux binary.