Corso “DOMOTICA ED EDIFICI INTELLIGENTI” – UNIVERSI TA’ DI URBINODocente: Ing. Luca RomanelliMail: [email protected]
1
Protocolli per la domotica
BACnet
Domotica ed edifici intelligenti – Università di Urbino
BACnet BACnet BACnet BACnet ---- Introduction BACnetIntroduction BACnetIntroduction BACnetIntroduction BACnet
Domotica ed edifici intelligenti – Università di Urbino
Who is behind BACnet?
Domotica ed edifici intelligenti – Università di Urbino 3
BACnet structure:Main elements of BACnet
Objects represent data and functionality
Services assign tasks, give
BACnet Objekt
SequenzRegler
AnalogInput
BinaryOutput
AnalogInput
Device
T
Schedule
Domotica ed edifici intelligenti – Università di Urbino 4
Services assign tasks, give commands, exchange data
Busses andnetworks
transport the data
Functions interactions of multiple objects
� Each BACnet device contains a setof so-called "BACnet objects "
� BACnet objects represent the parts of aplant
BACnet Device (e.g. DESIGO PX)
Sequence
Analoginput
Analoginput
Device
T
Domotica ed edifici intelligenti – Università di Urbino 5
plant
� More than 20 standard BACnet objects have already been defined for buildingautomation and control applications(HVAC, fire, security, ...)- others will follow
BACnet object
Sequencecontroller
Binaryoutput
Schedule
What is a BACnet object?
• BACnet uses an object-oriented approach for the network view of a device.
Object:
Over 20
• An "object" (e.g. analog output) has a set of "properties" (e.g. operating limit,
status, etc.) and represents a functional behaviour.
Domotica ed edifici intelligenti – Università di Urbino 6
standardobjects
• Each object has a unique object_identifier within a device.
• The device object, however, has an object_identifier that is unique system-
wide.
Structure of a BACnet object
• A BACnet object consists of a set of properties.Property :
Required
Optional
Proprietary
• A property of an object is either REQUIREDREQUIREDREQUIREDREQUIRED or OPTIONALOPTIONALOPTIONALOPTIONAL.
• Properties are used to parameterise the object's
functionality and present the results.
Domotica ed edifici intelligenti – Università di Urbino 7
• A property of an object is either REQUIREDREQUIREDREQUIREDREQUIRED or OPTIONALOPTIONALOPTIONALOPTIONAL.
• The Object_Identifier, Object_Name and Object_Type properties are mandatory in every object.
• The data type of a property can either be simple (e.g. integer, string), or it can have a complex
structure.
• The definition of proprietary objects and proprietary properties is permitted and governed by the
BACnet standard.
� Description of a BACnet device's major objects:
� Device Object (this is MUST!)
Standard objects
• Mapping of process values and calculated values:
Analog, multistate and binary input objectsAnalog, multistate and binary input objectsAnalog, multistate and binary input objectsAnalog, multistate and binary input objects
Analog, multistate and binary output objectsAnalog, multistate and binary output objectsAnalog, multistate and binary output objectsAnalog, multistate and binary output objects
Domotica ed edifici intelligenti – Università di Urbino 8
• Description of a command sequence:
Command objectCommand objectCommand objectCommand object
Analog, multistate and binary output objectsAnalog, multistate and binary output objectsAnalog, multistate and binary output objectsAnalog, multistate and binary output objects
Analog, multistate and binary value objectsAnalog, multistate and binary value objectsAnalog, multistate and binary value objectsAnalog, multistate and binary value objects
• Handling of weekly schedules and exception schedules:
Scheduler objectScheduler objectScheduler objectScheduler object
Calendar objectCalendar objectCalendar objectCalendar object
� Flexible event and alarm handling of any property content:
EventEnrollment object
Standard objects (continued)
• Time and receiver dependent event and alarm distribution in the system:
NotificationClass objectNotificationClass objectNotificationClass objectNotificationClass object
• Read and write large quantities of data:
File objectFile objectFile objectFile object
Domotica ed edifici intelligenti – Università di Urbino 9
• Representation of an application program:
Program objectProgram objectProgram objectProgram object
File objectFile objectFile objectFile object
• Grouping of objects and properties in a devicedevicedevicedevice:
Group objectGroup objectGroup objectGroup object
• Representation of any closed-loop control block:
Loop objectLoop objectLoop objectLoop object
• Grouping of objects and properties in a networknetworknetworknetwork:
Global Group objectGlobal Group objectGlobal Group objectGlobal Group object
� Generating the average, minimum and maximum value of a monitored data point:
� Averaging object
Standard objects (continued)
• Logging of any data point:
Trend Log objectTrend Log objectTrend Log objectTrend Log object
Domotica ed edifici intelligenti – Università di Urbino 10
• Other objects:
Pulse Converter Pulse Converter Pulse Converter Pulse Converter
Object Accumulator Object Object Accumulator Object Object Accumulator Object Object Accumulator Object
Trend Log MultipleTrend Log MultipleTrend Log MultipleTrend Log Multiple
Life Safety PointLife Safety PointLife Safety PointLife Safety Point
Life Safety ZoneLife Safety ZoneLife Safety ZoneLife Safety Zone
Required for all BACnet
The device object - the ID card of a BACnet device
Property Identifer Property Datatype Conformance CodeObject_Identifier BACnetObjectIdentifier RObject_Name Character String RObject_Type BACnetObjectType R
R=RequiredO=Optional
Domotica ed edifici intelligenti – Università di Urbino 11
Required for all BACnetobjects
Siemens Building Technologies
Object identifier: 00000001 000001Object name: System controllerObject type: 1 device
Identity Card for DESIGO PX
IDD<<Systemcontroller<<DESIGO PX<<<<DEVICE<<<<<<<<<<<<348794003D<<0010040<0701196<<<<<<<<<<6<<<<<<<<<<<<<<<
• Unique, system-wide identification• One device object per BACnet device• 222 devices system-wide• Mapped to a 32 bit number
Object type Entity number10 bits 22 bits
Device object (continued)
Property Identifer Property Datatype ConformanceCode
Object_Identifier BACnetObjectIdentifier RObject_Name Character String RObject_Type BACnetObjectType RSystem_Status BACnetDeviceStatus RVendor_Name CharacterString RVendor_Identifier Unsigned16 RModel_Name CharacterString RFirmware_Revision CharacterString RApplication_Software_Version CharacterString RLocation CharacterString ODescription CharacterString OProtocol_Version Unsigned R
Domotica ed edifici intelligenti – Università di Urbino 12
Protocol_Services_Supported BACnetServicesSupported RProtocol_Object_Types_Supported BACnetObjectTypesSup ported RObject_List BACnetARRAY[N] of BACnetObjectIdentifier RMax_APDU_Length_Accepted Unsigned RSegmentation_Supported BACnetSegmentation RVT_Classes_Supported List of BACnetVT Class O 1
Active_VT_Sessions List of BACnetVT Session O 1
Local_Time Time OLocal_Date Date OUTC_Offset INTEGER ODaylight_Savings_Status BOOLEAN OAPDU_Segment_Timeout Unsigned O2
APDU_Timeout Unsigned RNumber_of_APDU_Retries Unsigned RList_of_Session_Keys List ofBACnetSessionKey OTime_Synchronisation_Recipients List of BACnetRecipi ent O3
Max_Master Unsigned(1..127) O4
Max_Info_Frames Unsigned O4
Device_Address_Binding List of BACnetAddressBinding R
BACnet standard objectsDevice object
The device object contains the following functions and information:
� Vendor and identification (SBT has Vendor ID= 7)� Descriptive texts� BACnet firmware version, application SW versions� System status� Transmission status
Domotica ed edifici intelligenti – Università di Urbino 13
� Date and time� Coordinated universal time (UTC) offset� Daylight saving time changeover
� BACnet address list of all other BACnet objects inside the BACnet device� Maximum number of nodes on the network� ... + proprietary extensions
Analog output object
Property Identifer Property Datatype ConformanceCode
Object_Identifier BACnetObjectIdentifier RObject_Name Character String RObject_Type BACnetObjectType RPresent_Value Real RDescription CharacterString ODevice_Type Character OStatus_Flags BACnetStatusFlags REvent_State BACnetEventState OReliability BACnetReliability OOut_Of_Service BOOLEAN R
Representationof the
process data
Domotica ed edifici intelligenti – Università di Urbino 14
Out_Of_Service BOOLEAN RUnits BACnetEngineeringUnits RMin_Pres_Value REAL OMax_Pres_Value REAL OResolution REAL OPriority_Array BACnetPriorityArray RRelinquish_Default REAL RCOV_Increment REAL O1
Time_Delay Unsigned O2
Notification_Class Unsigned O2
High_Limit REAL O2
Low_Limit REAL O2
Deadband REAL O2
Limit_Enable BACnetLimitEnable O2
Event_Enable BACnetEventTransitionBits O 2
Acked_Transitions BACnetEventTransitionBits O 2
Notify_Type BACnetNotifyType O2
O1 - this property is required if the object supports COV reporting
O2 - these properties are required if the object supports intrinsic reporting
Standard BACnet objectMapping of process values and calculated values
Analog inputAnalog outputAnalog value
Binary input
Domotica ed edifici intelligenti – Università di Urbino 15
Binary inputBinary outputBinary value
Multistate inputMultistate outputMultistate value
Standard BACnet objectAnalog input, overview of functions
� Addressing (address)
� Output of the present measured value (present value)
� Idle function with backup value handling (out of service, default value)
� Alarms and changes of state
� Configuration of alarms and changes of state(event enable, alarm enable, high limit, low limit, neutral zone, time delay, notification class)
Domotica ed edifici intelligenti – Università di Urbino 16
notification class)
� Reporting of alarms and changes of state(alarm state, status flag, event state, event time stamp)
� Alarm acknowledgement(reset, acked transition, time of acked, ack initials)
� Block state reporting (reliability)
Standard BACnet objectProcess value mapping
Analog inputAnalog outputAnalog value
Binary input
Domotica ed edifici intelligenti – Università di Urbino 17
Binary inputBinary outputBinary value
Multistate inputMultistate outputMultistate value
Standard BACnet object Binary output, overview of functions 1
� Addressing (address, feedback address)
� Process value processing and output(program value, program enable, present value, polarity)
� Force/overwrite value(operator value, operator enable, priority array)
Domotica ed edifici intelligenti – Università di Urbino 18
� Idle function with backup value handling(out of service, default value)
� Feedback signal (feedback value)
Standard BACnet object Binary output, overview of functions 2
� Alarms and changes of state
� Configuration of alarms and changes of state(event enable, alarm enable, time delay, notification class)
� Signalisation of alarms and changes of state(alarm state, status flag, event state, event time stamp)
� Alarm acknowledgement
Domotica ed edifici intelligenti – Università di Urbino 19
� Alarm acknowledgement(reset, acked transition, time of acked, ack initials)
� Block state signalisation (reliability)
Operating hours
� Configuration(operating hours enable, operating hours limit, expiration date)
� Display and signalisation (operating hours, total operating hours)
Standard BACnet Object Binary output, operating hours
Operating hours Total operating hours
System event
Domotica ed edifici intelligenti – Università di Urbino 20
t
Operating hours limit
Operating hours event
System event
Reset operating hours
Current operating hours Reset total operating hours
Expiration date
BACnet structureMain elements of BACnet
Objects represent data and functionality
Services assign tasks, give commands, exchange data
BACnet Objekt
SequenzRegler
AnalogInput
BinaryOutput
AnalogInput
Device
T
Schedule
Domotica ed edifici intelligenti – Università di Urbino 21
Servicescommands, exchange data
Busses andnetworks
transport the data
Functions interactions of multiple objects
Models: client/server relationship
� The client uses the services provided by the server
Client/server
The The The The clientclientclientclient
subscribes to changes of value
assigns trend logging tasks
Please?
Domotica ed edifici intelligenti – Università di Urbino 22
Client/serverrelationship
The The The The serverserverserverserver
contains a map of the device function and executes the
requested services on it
assigns trend logging tasks
sets alarm limits
Application layer services arebased on the client/server model
� Types of communication used by BACnet:� Peer-to-peer communication (e.g., Toutside can be exchanged between two BACnet devices)
� Connectionless� Unconfirmed Services: (Service primitives)
� UNCONF_SERV.request - UNCONF_SERV.indication
� Confirmed Services: (Service primitives)
� CONF_SERV.request - CONF_SERV.indication
Domotica ed edifici intelligenti – Università di Urbino 23
� CONF_SERV.confirm - CONF_SERV.response
request
confirm
indication
response
� 38 application layer services
BACnet services
• 6 service classes
Alarm and event services
File access services
Domotica ed edifici intelligenti – Università di Urbino 24
• Proprietary services
File access services
Object access services
Remote device management services
Virtual terminal services
Network security services
Client/serverrelationship
� 9 alarm and event related services
� AcknowledgeAlarm
� Confirmed and UnconfirmedCOVNotification
� Confirmed and UnconfirmedEventNotification
BACnet services (continued)
Domotica ed edifici intelligenti – Università di Urbino 25
� Confirmed and UnconfirmedEventNotification
� GetAlarmSummary
� GetEnrollmentSummary
� SubscribeCOV
� LifeSafetyOperationService
• 2 file access services
AtomicFileRead
AtomicFileWrite
� 10 object access services for access to and manipulation of object properties
� AddListElement
� RemoveListElement
� CreateObject
� DeleteObject
� ReadProperty
BACnet services (continued)
Bread
Domotica ed edifici intelligenti – Università di Urbino 26
� ReadProperty
� ReadPropertyConditional
� ReadPropertyMultiple
� WriteProperty
� WritePropertyMultiple
� ReadRange
� 2 network security services
� 12 remote device management services
� DeviceCommunicationControl
� Confirmed and UnconfirmedPrivateTransfer(for proprietary services)
� Confirmed and UnconfirmedTextMessage
BACnet services (continued)
Domotica ed edifici intelligenti – Università di Urbino 27
� Confirmed and UnconfirmedTextMessage
� ReinitializeDevice
� TimeSynchronisation
� UTCTimeSynchronisation
� WhoIs/Iam
� WhoHas/IHave
� 3 virtual terminal services
Extendability of the BACnet protocol
� The BACnet protocol is designed such that it can be extended at any time:
� Extensions by the BACnet standard committee(SSPC-135)
� Proprietary extensions by vendors
Domotica ed edifici intelligenti – Università di Urbino 28
� The following extensions can be made:
� Objects: new objects and/or properties� New services
This makes BACnet a safe investment for the future!
BACnetBACnetBACnetBACnet
AAAA DESIGO TopologyDESIGO TopologyDESIGO TopologyDESIGO Topology
IP
RouterI*net
INSIGHT INSIGHT INSIGHT
WEB
Browser
BACnet
Router
BACnet
Router
PX-WEB
INSIGHTPXM20
3rd
DESIGO WEB
(Web-Server)
Domotica ed edifici intelligenti – Università di Urbino 29
PXC-U PXR PXCPXE
PX-WEB
RXC RXC
RXC RXC RXCQAX
QAX
I/O-Module
I/O-Open
3rd
3rd
3rd
3rd
DTSDTSDTSDTS
3rd
PXC-U
I/O-Module
I/O-Open
3rd3rd3rd
M-Bus
Mod
Bus
QAX QAX
BACnetBACnetBACnetBACnet
BACnet ExampleBACnet ExampleBACnet ExampleBACnet Example
� PXM20 needs the current value from the BACnet Object AI (Analog Input)
• AI has various Properties
Domotica ed edifici intelligenti – Università di Urbino 30
AIAIAIAI
• One of the Properties of the AI is its Present
Value
• We make use of the Read_Property Service
BACnet structureMain elements of BACnet
Objects represent data and functionality
Services assign tasks, give
BACnet Objekt
SequenzRegler
AnalogInput
BinaryOutput
AnalogInput
Device
T
Schedule
Domotica ed edifici intelligenti – Università di Urbino 31
Services assign tasks, give commands, exchange data
Busses andnetworks
transport the data
Functions interactions of multiple objects
Functions:BACnet change of value (COV) reporting
� Permits one or more clients to permanently or temporarily subscribe to changes of value on a server
• The list of subscribers is not visible over the network
• COV notification is based on fixed criteria:
If the present_value changes by the
Domotica ed edifici intelligenti – Università di Urbino 32
File Edit App lications Settings Help
Date: 2. 9. 94Tim e: 14:45
User : MullerLevel: 3
Unacknowledged al arms: 1High priority al arms : 3
2 1.0 C
2 2 . 4 C2 3 2 P
0 %7 5 %
O ff
O n
O ut site : 2 9.5 C
7 5 %
2 2. 4 C
On
MS60 - Shell
SubscribeCOV
COVNotification
COV Client
COV Server
File Edit App lica tions Settings Help
Date: 2. 9. 94Time: 14:45
User : MullerLevel: 3
Unacknowledged al arms: 1High priority al arms : 3
21 .0 C
2 2 . 4 C2 3 2 P
0 %7 5 %
Of f
O n
O uts ite : 2 9.5 C
7 5 %
2 2. 4 C
O n
MS60 - Shell
COV Clientorororor
If the status flag changes
• Standard analog, binary, multistate
and loop objects can support
COV reporting
If the present_value changes by the
value specified in the "COV_increment"
Example of COV handling
BACS BACS Operating device
BUS Input
Ref
Analog Output Block Z Block A
PD
COV Client
COV Client
Management Level
Domotica ed edifici intelligenti – Università di Urbino 33
Analog Input Analog Output
Block B Block Q
Block V
Binary Input Binary Output
Ref
BUS Input
Ref
BUS Input
Ref
PD
Client
COV
Server
COV Server
Automation
Level
Example of COV handling
1. The client subscribes to a value (data point) of the server.
2. The server acknowl-edges and then
sends the value immediately.
COV Client
Router Router
File Edit Applications Settings Help
Date: 2.9.94Time: 14:45
User : MullerLevel: 3
Unacknowledged alarms: 1High priority alarms : 3
21.0 C
2 2 . 4 C2 3 2 P
0 % 7 5 %
Off
O n
Ou t sit e : 2 9 .5 C
7 5 %
2 2 .4 C
On
MS60 - Shell
1
1
2
Domotica ed edifici intelligenti – Università di Urbino 34
4. The client renews or
withdraws the subscription.
sends the value immediately.
3. The server sends the value whenever
it changes.
COV Server COV ServerCOV Client
2
3
41
34
Functions:Time-dependent switching
� The time-dependent switching function is:� dependent on date, weekday, time of day� unless the current date corresponds to an entry in the exception list
BACnet realises this function with two objects:
Domotica ed edifici intelligenti – Università di Urbino 35
BACnet realises this function with two objects:
The schedule objectschedule objectschedule objectschedule object provides a weekly schedule
List of switching times with values (binary, analog, multistate)
Link to the objects to be influenced
Exception list also with switching times and values
The calendar objectcalendar objectcalendar objectcalendar object is a list of exceptional days
It can be referenced by the exception list in the schedule object
� Linking of schedule object and commanded objects via references
BACnet scheduler objects
• The commanded objects can be local (in the same device as the schedule object) or in a different device on
the network.
The schedule objectschedule objectschedule objectschedule object plays the central role!
Domotica ed edifici intelligenti – Università di Urbino 36
Analog ValueObject
CalendarObject
Commanded Object Exception Period
ScheduleObject
Schedule Object
the network.
• Separate schedule objects are required for different data types (binary, analog and multistate).
BACnet scheduler objects: object structure
� ScheduleHeader
Weekly schedule
• Calendar object
Header
Exception periods
Present value (ON/OFF)Present value
Domotica ed edifici intelligenti – Università di Urbino 37
Weekly schedule
(list of day, time and value)
Exceptions with/without
calendar object references
(list of time and value)
Commanded objects
Priority
Exception periods
(period information)
Basics of BACnet alarming
� Alarms inform the operator about abnormal states in the monitored plant or in the management system
• Alarms can be acknowledged and reset by the operator
File Edit Applications Settings Help
Date: 2.9.94Time: 14:45
User : MullerLevel: 3
Unacknowledged alarms: 1High priority alarms : 3
21.0 C
2 2 . 4 C2 3 2 P
0 % 7 5 %
Of f
O n
Ou ts ite : 2 9. 5 C
7 5 %
2 2 .4 C
On
MS60 - Shell
Acknowledge
Alarm,event
Alarm, event
File Edit Applications Settings Help
Date: 2.9.94Time: 14:45
User : MullerLevel: 3
Unacknowledged alarms: 1High priority alarms : 3
2 1 .0 C
2 2 . 4 C2 3 2 P
0 % 7 5 %
Of f
O n
Ou ts ite : 2 9. 5 C
7 5 %
2 2 .4 C
On
MS60 - Shell
Domotica ed edifici intelligenti – Università di Urbino 38
• The BACnet alarm and event concepts support these requirements
• There are differences between events and alarms
GetAlarmSummary: active alarms only
GetEnrollmentSummary: all events and alarms
• Two actions - Intrinsic Reporting* and Algorithmic Reporting
* Intrinsic Reporting is used in Europe* Intrinsic Reporting is used in Europe* Intrinsic Reporting is used in Europe* Intrinsic Reporting is used in Europe
Acknowledge
� Alarmable objects:
� Input, output and value objects, loop and trend support intrinsic reporting
� Alarm conditions (e.g. upper/lower limit of the present value)
� Alarm distribution via assigned NotificationClass object
BACnet alarming:Intrinsic reporting - alarm monitoring in the object
Domotica ed edifici intelligenti – Università di Urbino 39
Analog valueobject
Notification classobject
BACnet alarmingAlarm distribution example
BACnet
Routing
Queue Queue
Routing Acknowledge
Alarm, system event
Notification classPriorityAlarm function
Notification class
Domotica ed edifici intelligenti – Università di Urbino 40
NotificationClass Class# 5 Priority Alarm function Destination list
NotificationClass Class# 6 Priority Alarm function Destination list
Alarm System events
PD
Alarm System events
Common alarm
Reset
NotificationClass Class# 1 Priority Alarm function Destination list
Source Class#6 Alarm_State Reset
Source Class#5 Alarm_State Reset
NotificationClass Class# 5 Priority Alarm function Destination list
NotificationClass Class# 6 Priority Alarm function Destination list
Alarm System events
PD
Alarm System events
Common alarm
Reset
NotificationClass Class# 1 Priority Alarm function Destination list
Source Class#6 Alarm_State Reset
Source Class#5 Alarm_State Reset
Source Device Object Class#1
Alarm System events
Source Device Object Class#1
Alarm System events
Destination listProcess recipientsCategory
BACnet structureMain elements of BACnet
Objects represent data and functionality
Services assign tasks, give commands, exchange data
BACnet Objekt
SequenzRegler
AnalogInput
BinaryOutput
AnalogInput
Device
T
Schedule
Domotica ed edifici intelligenti – Università di Urbino 41
commands, exchange data
Busses andnetworks
transport the data
Functions interactions of multiple objects
BACnet Protocol Layer Model
Application Layer
Network Layer
BVLL (option)
UDP/IP (option) PTPMS/TP
BACnet Layers
Application Layer
Network Layer
Data Link Layer
ISO/OSI Layers
Domotica ed edifici intelligenti – Università di Urbino 42
UDP/IP (option)
ISO8802-2 Type 1
(IEEE802.2)
Ethernet
ISO8802-3
(IEEE802.3)
ARCNET EIA-485 EIA-232
LonTalk
PTPMS/TPData Link Layer
Physical Layer
US specific - not supported
by DESIGO
Simplified Message Frame
Appl.Data
NWData
e.g. NW#
EthernetAddress
EthernetMessage Frame
Appl.Data
NWData
e.g. NW#BVLL
IPAddress
e.g.143.99.51.130
UDPPort
0xBAC0
EthernetAddress
Ethernet/IPMessage Frame
APDU
NPDUBACnet MAC Address
BACnet Application Layer
BACnet Network Layer
BVLLUDP
IPEthernet
Ethernet LonTalk
Msg Code
LSAP0x82
LSAP
Domotica ed edifici intelligenti – Università di Urbino 43
Appl.Data
NWData
e.g. NW#
LonTalkMsg. Code
0x4E
LonTalkAddress
Subnet/Node
LonTalkMessage Frame
Ethernet
BACnet Address
BACnet MAC Address Network Number
BA
Cne
t with
Lon
Tal
k
BA
Cne
t with
Eth
erne
t
BA
Cne
t with
Eth
erne
t/IP
NPDU: Network Protocol Data UnitAPDU: Application Protocol Data UnitBVLL: BACnet Virtual Link LayerLSAP: Link Service Access Point
TCP/IP-NetworkTechnology
Example:BACnet onTCP/IP� Each BACnet device is a
TCP/IP node
� Networks use a standard IP Router
Domotica ed edifici intelligenti – Università di Urbino 44
Router
� BBMD is required for the distribution of broadcast messages
BBMD – BACnet Broadcast Management Device
Message Path Multiple IP Segments
ApplicationLayer
Network
Application
NL
PXM20_1
BACnetRouter1
NL
BACnetRouter2
IP Router
IP broadcastboundary
Domotica ed edifici intelligenti – Università di Urbino 45
NetworkLayer
LON
NL
LON IP
LON
LON
Ethernet/IP
NL
IP LONIP IP
IP RouterBBMD BBMD
LonTalk Segment 1
BACnet Network #1
IP Segment 1
BACnet Network #100
IP Segment 2
Introduction to LON and BACnetIntroduction to LON and BACnetIntroduction to LON and BACnetIntroduction to LON and BACnet
Interoperability
INTEROPERABILITYINTEROPERABILITYINTEROPERABILITYINTEROPERABILITY Capability of compatible devices to implement
EXCHANGEABILITYEXCHANGEABILITYEXCHANGEABILITYEXCHANGEABILITY Possibility of exchanging devices within a
system without changing the functionality
and behaviour of the system
Interoperability – Openness in Three Steps
Domotica ed edifici intelligenti – Università di Urbino 47
INTEROPERABILITYINTEROPERABILITYINTEROPERABILITYINTEROPERABILITY Capability of compatible devices to implement
functions and applications within an overall
system and to ensure them
COMPATABILITYCOMPATABILITYCOMPATABILITYCOMPATABILITY Possibility of allowing devices to physically
communicate with each other based on a
standard
Open
ness
BACnet ConceptsBACnet ConceptsBACnet ConceptsBACnet Concepts
Protocol Implementation
Conformance Statement:
Domotica ed edifici intelligenti – Università di Urbino 48
� Manufacturer and device information� Physical media and lower protocol layers� Application services and their role (Initiate oder Execute)� Application Objects (Input, Output, Schedule ….)� Character sets supported
BACnet ConceptsBACnet ConceptsBACnet ConceptsBACnet Concepts
BACnetInteroperability
BuildingBlocks:
� Data sharing� Alarm and Event Management
Domotica ed edifici intelligenti – Università di Urbino 49
� Alarm and Event Management� Scheduling� Trending� Device and Network Management
Definitions of functions which are important in a (Building Automation und Control System) BACS to be able to operate and monitor the special objects
Data Sharing (DS)
BIBBs: Interoperability Area Data Sharing – some examples
How do we use data in BACS?
Domotica ed edifici intelligenti – Università di Urbino 50
DS Client BIBBs�DS-RP-A�DS-RPM-A�DS-WP-A�DS-WPM-A
DS Server BIBBs�DS-RP-B�DS-RPM-B�DS-WP-B�DS-WPM-B
client server
Request
Answer
Data Sharing (DS)
BIBBs – More Details
A.1.12 BIBB - Data Sharing-COV-B (DS-COV-B)The A device is a user of data from device B
Domotica ed edifici intelligenti – Università di Urbino 51
A.1.3 BIBB - Data Sharing-ReadPropertyMultiple-A (DS- RPM-A)The A device is a user of data from device B and requests multiple values at one time
BACnet BACnet Interoperability: Device Profiles
Device Profiles - a classification of BACnet devices
B-OWS (Operator Workstation)B-BC (Building Controller)B-AAC (Advanced Application Controller)B-ASC (Application-Specific Controller)B-SA (Smart Actuator )B-SS (Smart Sensor)
Domotica ed edifici intelligenti – Università di Urbino 52
B-SS (Smart Sensor)
Each Device Profile has a minimum of BIBBs expected of it
For an accurate assessment of inteoperability then the PICS and BIBBS should be used together
B-OWS B-BC B-AAC B-ASC B-SA B-SSData Sharing DS-RP-A,B DS-RP-A,B DS-RP-B DS-RP-B DS-RP-B DS-RP-B
DS-RPM-A DS-RPM-A,B DS-RPM-B DS-WP-B DS-WP-BDS-WP-A DS-WP-A,B DS-WP-B
DS-WPM-A DS-WPM-B DS-WPM-BDS-COVU-A,B
B-OWS B-BC B-AAC B-ASC B-SA B-SSAlarm & Event AE-N-A AE-N-B AE-N-B
BACnet BACnet BACnet BACnet
Device ProfilesDevice ProfilesDevice ProfilesDevice Profiles
Domotica ed edifici intelligenti – Università di Urbino 53
BIBBs, grouped according to interoperability areas
Supported Services in the Advanced Application Controller
Alarm & Event AE-N-A AE-N-B AE-N-BMgmt AE-ACK-A AE-ACK-B AE-ACK-B
AE-INFO-A AE-INFO-B AE-INFO-BAE-ESUM-A AE-ESUM-B
Conformance Testing
� Manufacturer must supply a PICS with a device
� PICS contains a list of standard objects and services used by the device
� Device must be then tested for conformance to verify the correct implementation of these standard objects and services
Domotica ed edifici intelligenti – Università di Urbino 54
implementation of these standard objects and services
� Testing is now underway in Europe
Who else has the BTL logo … ?
�MBS GmbHUniversal-Gateways
�Honeywell GmbHDDC Automationsstation XL 1000A1000
�Kieback & Peter GmbH & Co KGDDC 3500
�Neuberger Gebäudeautomation GmbH & CoModulmatic PMC, CM1410
Domotica ed edifici intelligenti – Università di Urbino 55
Modulmatic PMC, CM1410
�Sauter AGDDC EYK220 & EYK300
�Messner InvensisAutomationsstation AS29/B
�tac Tour Andover ControlsbCX1 Router / Controller
Main idea ………...
….. to bridge the gap between...
Manufacturers
Domotica ed edifici intelligenti – Università di Urbino 56
Manufacturers
Specifiers
Introduction to LON and BACnetIntroduction to LON and BACnetIntroduction to LON and BACnetIntroduction to LON and BACnet
Topologies
BACnet
� BACnet provides for flexible adaptation to the transmission paths in the building.� LonTalk
� TP twisted pair, e.g. FTT 78kBd� PL power line� RF radio frequency Only TP is
Domotica ed edifici intelligenti – Università di Urbino 58
RF radio frequency� IR infrared� CX coax (coaxial cable)� FO fiber optics
� PTP (point-to-point), RS 232� Half routers in the terminal units, transmission via analog telephone
(PSTN), ISDN, fixed line (short-distance modem etc.)
� Ethernet and IP networks� Use of the existing cabling in the buildingI
Only TP isrecommended forBACnet because ofmessage length
BACnet
� Ethernet and IP networks� Use of the existing cabling in the building� Fastest technology� (Some vendors already offer high-end controllers with this connection)
Domotica ed edifici intelligenti – Università di Urbino 59
AdvantagesInternational standardVarious media (UTP, coax, FO)Protocol implemented in chipNo further development tools
DisadvantagesRelatively high costsNot adapted to any particular systemWill not work with IP V6
BACnet
�LonTalkimplemented on a special chip offering great flexibility with regard to transport media
Domotica ed edifici intelligenti – Università di Urbino 60
� TP twisted pair, e.g. FTT 78kBd� PL power line� CX coax (coaxial cable)� FO fiber optics� RF radio frequency� IR infrared
Only TP isrecommended forBACnet because ofmessage length
BACnet
�LonTalkimplemented on a special chip offering great flexibility with regard to transport media
Domotica ed edifici intelligenti – Università di Urbino 61
AdvantagesVarious media (TP, ...)Scalable from 32k – 1.25 Mbps
DisadvantagesHigh costs due to development toolLimited distancesNot adapted to any particular systemLimited application size
� LonTalk protocol layers 2...6 in the NEURON ® chip
� Different physical media (Siemens uses FTT10 with 78KBaud)
� Unacknowledged LonTalk ® services only
� Device address consists of
� BACnet network number
� LonTalk subnet/node identifier
®
T
BACnet
Domotica ed edifici intelligenti – Università di Urbino 62
� LonTalk subnet/node identifier
� Simultaneous operation ofBACnet and LonMark ® devices on aLonTalk ® segment is not advisable
TT
T
T
Possibilities with BACnet
� PTP (point-to-point) RS 232� Half routers in the terminal units,
transmission via analog telephone (PSTN), ISDN, fixed line(short-distance modem etc.)
Domotica ed edifici intelligenti – Università di Urbino 63
FunctioningModems at both ends of the PTP connection act as half routers.When the connection is established, they operate as a router andsend/receive data within the internetwork.
TopologiesBACnet network
BACnetNetwork 4
File Edit Applications Settings Help
Date: 2 .9.94Time: 14 :45
User : MullerLevel: 3
Unacknowledged alarms: 1High priority alarms : 3
21.0 C
2 2 . 4 C2 3 2 P
0 % 7 5 %
Off
On
Out sit e : 29 .5 C
7 5 %
2 2 .4 C
On
MS60 - Shell
BACnetNetwork 1
Standard
File Edit Applications Settings Help
Date: 2.9.94Time: 14:45
User : MullerLevel: 3
Unacknowledged alarms: 1High priority alarms : 3
21.0 C
2 2 . 4 C2 3 2 P
0 % 7 5 %
Off
O n
Out sit e : 29 .5 C
7 5 %
2 2 . 4 C
On
MS60 - Shell
File Edit Applications Settings Help
Date: 2.9.94Time: 14:45
User : MullerLevel: 3
Unacknowledged alarms: 1High priority alarms : 3
2 1 .0 C
2 2 . 4 C2 3 2 P
0 % 7 5 %
Off
O n
Out sit e : 29 .5 C
7 5 %
2 2 . 4 C
On
MS60 - Shell BACnetPTP
BACnet Internetwork
Domotica ed edifici intelligenti – Università di Urbino 64
Network 4
IP- Internetwork
LON Subnet LON Subnet
LON Subnet LON SubnetBACnetNetwork 2
BACnetNetwork 3
BACnet-LON / IP-Router
BACnet-LON / IP-Router
LON-Router LON-Router
StandardIP Router
LON Subnet
DESIGO RMSLonMarkObjectEnvironment
Corso “DOMOTICA ED EDIFICI INTELLIGENTI” – UNIVERSI TA’ DI URBINODocente: Ing. Luca RomanelliSocietà : Building Automation srlMail: [email protected]
Domotica ed edifici intelligenti – Università di Urbino 65
Protocolli
BACnet - fine