Published On: March, 14, 2019 By: Calvin Slater | Updated: July 17, 2019 by Greg Sheridan
Building Automation System Controllers are flexible, multi-purpose, freely programmable embedded devices that can be found in a variety of HVAC Controller, lighting, and security applications within a building. These devices perform a variety of tasks including monitoring and control of chiller and boiler plants, pumps, valves, fans, lights, indoor air quality, electric metering, occupancy detection and access control. In many cases these devices are not application specific. A Building Automation System Controller being used on one piece of equipment can be reconfigured or reprogrammed to control something else that is completely different! The OSD335x family of System-in-Package products featuring the AM335x provides an excellent foundation for the design of an Open-Hardware HVAC Controller. This is the first of four in a series of technical application notes for building a reference design using the OSD335x-SM. For more introductory background, please see the blog article Open-Hardware Building Automation System Controller Reference Design Using AM335x Based System in Package
1.Introduction
2.Background
3.Idea for Open Hardware HVAC Controller
4.Board Features
5.Design Objectives
6.Board Layout
6.1 Eliminating the Need for a Separate SOM
6.2 Using the Octavo Systems OSD3358-SM-RED as a Reference
7.About our Guest Author
8.Revision History
A PDF version of this App Note can be found here.
Most HVAC Controllers feature a quantity of two to sixteen configurable remote sensor inputs that can accept a variety of industry standard signals including resistance, relay contact, pulse, 4-20mA current signaling, and 0-10VDC scaled inputs. Control of equipment can be achieved through a mixture of on-board relay outputs or analog transmitters. Control applications are created in a visual block programming environment (similar to Node-Red) See Figure 2. Because these devices are freely programmable (even at runtime in some cases), they often possess a good amount of processing, memory, and storage resources. The amount of computing resources is typically much more than a comparable application specific preprogrammed device.
Historically these devices have been constructed using microcontrollers with 1MB or less of RAM. Typical microcontrollers have on-chip RAM and Flash built into a single piece of silicon. This is the limiting factor with regard to available volatile memory, because both RAM and flash must be implemented using the same silicon process on the device. Recently due to the several factors including increased performance demands (such as cloud connectivity and web services) and lower processor costs, newer generations of HVAC controllers are beginning to emerge that are System on Chip (SOC)/Microprocessor (MPU) based.
When examining the layout of these controllers it is observed that the System on Module (SOM) or Core Board module (the separate board containing the SOC, PMIC, RAM and Flash) is very similar to the layout of popular microprocessor hobbyist Single Board Computers (SBC). The only major difference between a hobbyist SBC and a production HVAC controller is that SBCs do not have a Baseboard that contains a power supply, connectors, transceivers, and passive devices that make the board ruggedized and suitable for industrial environments.
There are many Capes, Shields, or Hats out there that have some or many of these features, but not all of them. The idea here would be to integrate these system components into a single simple, relatively inexpensive, yet ruggedized, single PCB Baseboard that a user could instantly have the hardware (and much of the software) to make their own Open-Hardware HVAC Controller design. Assuming that the board can be made for a few hundred dollars this situation would be preferable to a production controller that can cost a significant amount more.
With this background in mind, the next step is to define the specifications for an open-hardware HVAC controller. The AM335x Based OSD335x-SM is a great platform for my controller. It integrates many of the components that would normally be on the SOM board into a single IC device. Figure 4 shows a conceptual board layout image. Below is a list of features needed to integrate into the board:
Overall, the design will also have the following considerations:
The OSD3358-512-BSM/ISM eliminates the need for a two-board solution. It also saves the cost of board-to-board header connectors, which are costly and are a possible point of failure. On many existing designs, the processor, crystal(s), external RAM, Flash, and passives as well as other various peripherals are located on a single board often referred to as a System on Module (SOM). These smaller SOM boards are always more expensive regarding cost per unit area due to the fact they are usually more than four layers, feature finer trace width, and have a greater number of high-speed signals, especially with regard to routing of external memory.
On most SOMs, signals are escaped from the board by being routed to edge, mezzanine, or pin-type, header connectors. Each style of connector choice comes with its own size, reliability, and cost impact. The OSD335x-SM System in Package eliminates these special connectors by replacing them with a rugged wide pitch Ball Grid Array (BGA) package that connects directly to the baseboard. The SiP is in essence a simplified and consolidated SOM with the only difference being that the EMMC flash is external to the System in Package on the OSD335x-SM.
The baseboard will be a four-layer design. This board, though slightly more expensive than a two-layer will help with signal integrity. The internal ground plane will help allow a matched signal return path for all traces. This will reduce the risk of the design radiating and not being capable of passing FCC testing. A four-layer board will also make it very easy to escape all necessary signals from the OSD335x-SM. The wide pitch of the OSD335x-SM BGA pins allows passing of two 6/6 mil traces between each ball gap making it possible to escape most signals on a single layer. However, having the extra layers available is very helpful. The dimensions of the board will be 4.80 inches (122mm) by 5.00 inches.
The width of the board will make it compatible with many widely available industrial enclosures known generically as UM122. It’s important that all of the board connectors are on either the right or left side edges of the board only, and that the width of the board is consistent across all future device designs. This is because these HVAC controllers are usually stacked vertically or horizontally in a row, inside controls enclosures with wire duct for the I/O on each side. See Figure 5. The form-factor should always be consistent as possible across the entire family of devices. Future designs may have varying heights to accommodate different peripherals but the width as well as the general locations of board edge connectors will remain the same. There will be no connections on the top or bottom so that adjacent boards do not interfere with any edge connectors.
The board will retain many of the same components used on the Octavo Systems OSD3358-SM-RED Reference, Evaluation, and Development Board wherever possible. Unneeded peripherals from that design will be deleted. The only major difference will be that this design uses the 100BASE-T Ethernet Phy called the LAN8710A because Gigabit Ethernet was not required.
The general layout for the board will be such that the large heat producing components such as the regulators will be located on the top. This will help promote convective cooling for the rest of the board, provided that the proper enclosure is design is used to allow for good airflow.
Analog circuits such as the Universal Inputs will be grouped into the same area. This will be located away from digital circuitry. The analog portion of the board will contain its own dedicated ground plane AGND with an unobstructed return path to the OSD’s AGND pin. Likewise, the ISO_GND signal for the RS-485 port will have its own ground region.
The above description is a high-level view of this design only. In the next part of this series we will examine each of these topics separately in greater detail. See Part 2 of this application note where we will begin with an in-depth discussion of Communication ports and I/O Interfaces.
This article was guest written by Calvin Slater who is a senior controls engineer that has spent eight years in the Building Automation System Control Industry and is highly interested in embedded hardware as well as open-source building automation frameworks. He is also a contributing editor for AutomatedBuildings.com where he has authored a series of articles on the system edge controller.
Revision Number | Revision Date | Changes | Author |
---|---|---|---|
1 | 3/13/2019 | Initial Release | C. Slater |
Building Automation System Controller Reference Design Using AM335x Based System in Package | Continue to “Part 2 : Communications and I/O” >> |
Octavo Systems LLC all rights reserved
OCTAVO is registered in the U.S. Patent and Trademark Office. OSD, C-SiP, and the Octavo Logo are trademarks of Octavo Systems LLC.
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields