# US 2009/0271001 A1 · BACnet Protocol MS/TP Automatic MAC Addressing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0271001 A1
- Document ID: US20090271001A1
- Status: Published application
- Kind: A1
- Application number: 12/326,852
- Filed: 2008-12-02
- Published: 2009-10-29
- Earliest claimed: 2008-04-28
- Assignees: KMC Controls, Inc.
- Inventors: Bruce Dale Westphal; Jeptha Roy Hall; David Paul Bohlmann; Gregory A. Zuercher
- Web page: https://patentgrep.com/patent/US20090271001A1

## CPC

- G05B 15/02: electric
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A Building Automation System (BAS) includes at least one Direct Digital Control (DDC) controller operating as a BACnet MS/TP master considered to be an “Anchor”. The Anchor operates an algorithm or method which automatically assigns BACnet Protocol MS/TP Media Access Control (MAC) addresses to other BAS components (considered Nomads) being installed into the network. The Anchor gathers MAC addresses existing on the MS/TP network, and issues an available MAC Pool Announcement. Each Nomad randomly picks a temporary MAC address. When the Anchor verifies singular communication at the temporary MAC address, the Anchor assigns a permanent MAC address to the Nomad, which can later be locked into flash memory. Using the preferred algorithm and method, Nomad devices are automatically assigned unused MAC addresses to join the MS/TP network in a non-conflicting, orderly way, with all communications occurring within the confines of BACnet MS/TP Protocol.

## Claims

### Claim 1

A building automation system having at least two components which can communicate via a BACnet MS/TP network, comprising:
a DDC controller configured to communicate in a BACnet MS/TP network, the DDC controller being installable into a building as part of a BACnet MS/TP network;
a BAS component configured to communicate with the DDC controller via the BACnet MS/TP network, the BAS component having a BACnet MS/TP MAC address which is assigned by the DDC controller to the BAS component after installation of both the DDC controller and the BAS component into the BACnet MS/TP network in the building.

### Claim 2 (depends on 1)

The building automation system of claim 1, wherein the DDC controller has its MAC address within a first range of integers selected from within 0 to 127, and wherein the BAS component has its MAC address assigned within a second range of integers selected from within 0 to 255, and wherein the first range has no overlap with the second range.

### Claim 3 (depends on 1)

The building automation system of claim 1, wherein the DDC controller assigns the BACnet MS/TP MAC through an automated algorithm comprising:
analyzing MS/TP traffic on the BACnet MS/TP network to determine existing MAC addresses being used on the BACnet MS/TP network.

### Claim 4 (depends on 3)

The building automation system of claim 3, wherein, as part of the automated algorithm, the DDC controller makes a MAC pool announcement on the BACnet MS/TP network of available MAC addresses.

### Claim 5 (depends on 4)

The building automation system of claim 4, wherein, as part of the automated algorithm, the BAS component randomly selects an interim MAC address from out of the announced available MAC pool.

### Claim 6 (depends on 5)

The building automation system of claim 5, wherein, as part of the automated algorithm, the DDC controller queries MAC addresses from out of the announced available MAC pool, and the BAS component responds when the DDC controller queries the interim MAC address.

### Claim 7 (depends on 6)

The building automation system of claim 6, wherein, as part of the automated algorithm, the DDC controller analyzes whether a single response was received from a queried MAC address, and assigns a MAC address to the BAS component providing the single response.

### Claim 8 (depends on 6)

The building automation system of claim 6, wherein, as part of the automated algorithm, the DDC controller analyzes whether multiple responses were received from a queried MAC address, and reperforms the available MAC pool announcement, the queries and the analysis until no multiple responses are received from any queried MAC address.

### Claim 9 (depends on 8)

The building automation system of claim 8, wherein the reperformance is performed in a quasi-infinite loop, with the frequency of performing the quasi-infinite loop delayed upon successive loops.

### Claim 10 (depends on 1)

The building automation system of claim 1, wherein, after the DDC controller has assigned a BACnet MS/TP MAC address to all responding BAS components on the BACnet MS/TP network, the DDC controller can issue a command for all BAS components with a BACnet MS/TP MAC address assigned to lock the assigned address into memory.

### Claim 11 (depends on 10)

The building automation system of claim 10, wherein the DDC controller assigns the BACnet MS/TP MAC through an automated algorithm, and wherein the DDC controller has a physical control for initiation of the MAC lock command.

### Claim 12 (depends on 11)

The building automation system of claim 11, wherein the MAC lock command can also be initiated via a personal computer connection with the DDC controller.

### Claim 13 (depends on 10)

The building automation system of claim 10, wherein the DDC controller assigns the BACnet MS/TP MAC through an automated algorithm, and the MAC lock command can be initiated via a personal computer connection with the DDC controller.

### Claim 14 (depends on 1)

The building automation system of claim 1, wherein the DDC controller assigns the BACnet MS/TP MAC through an automated algorithm, and wherein the DDC controller has a physical control for initiation of the automated algorithm.

### Claim 15 (depends on 14)

The building automation system of claim 14, wherein the automated algorithm can also be initiated via a personal computer connection with the DDC controller.

### Claim 16 (depends on 1)

The building automation system of claim 1, wherein the DDC controller assigns the BACnet MS/TP MAC through an automated algorithm, and wherein the automated algorithm can be initiated via a personal computer connection with the DDC controller.

### Claim 17

A method of automating the assignment of MAC addresses to building automation system components which can communicate via a BACnet MS/TP network, comprising:
installing a DDC controller configured to communicate in a BACnet MS/TP network into a building, the DDC controller being installable into a building as part of a BACnet MS/TP network;
installing a BAS component configured to communicate with the DDC controller via the BACnet MS/TP network into the building;
having the DDC controller automatically assign the BAS component with a BACnet MS/TP MAC address after installation of both the DDC controller and the BAS component into the BACnet MS/TP network in the building.

### Claim 18

A method of assignment of MAC addresses to building automation system components which can communicate via a BACnet MS/TP network, comprising:
making a MAC pooi announcement on the BACnet MS/TP network of available MAC addresses;
having at least one building automation system component self-select an interim MAC address from out of the announced available MAC pool;
individually querying each of a plurality of MAC addresses from out of the announced available MAC pool, to which the building automation system component responds to the query at the self-selected interim MAC address; and
following receiving an acceptable response from the building automation system component, reassigning the building automation system component from the self-selected interim MAC address to a final MAC address for use on the BACnet MS/TP network.

### Claim 19 (depends on 18)

The method of claim 18, wherein an acceptable response is a single response was received from a queried MAC address, and further comprising:
analyzing to determine whether a single response was received to the queried MAC address on the BACnet MS/TP network.

### Claim 20 (depends on 18)

The method of claim 18, further comprising:
analyzing MS/TP traffic on the BACnet MS/TP network to determine existing MAC addresses being used on the BACnet MS/TP network prior to making the MAC pool announcement; and
wherein the final MAC address is automatically reassigned to keep a collection of all final MAC addresses being used on the BACnet MS/TP network in a defined order using consecutive MAC addresses to avoid gaps.
