SlideShare ist ein Scribd-Unternehmen logo
1 von 54
Home and Building Automation
                     Systems
                    An Overview
Summary
       Definitions
       Technology Overview
       Technology Focus
           MyHome / OpenWebNet
           KNX
           Modbus
       Modeling / Designing for Dog




    2            Dario Bonino - Home and Building Automation Systems   6/1/2012
Definitions

                          What are we talking about?



3   Dario Bonino - Home and Building Automation   6/1/2012
                                       Systems
Home Automation System (HAS)




4     Dario Bonino - Home and Building Automation Systems   6/1/2012
Home Automation System (HAS)
       Home automation
           Automation of the home, housework or
            household activity.
           (remote) control of:
               lighting
               HVAC (Heating, Ventilation and Air
                Conditioning)
               appliances
               and other systems
       Home automation system
           An integrated system (computer-based)
            offering home automation functionalities
           Integrates electrical devices in a house
               Through a communication network
               Possibly includes devices using different
                communication protocols

    5                Dario Bonino - Home and Building Automation Systems   6/1/2012
Building Automation System (BAS)




6     Dario Bonino - Home and Building Automation Systems   6/1/2012
Building Automation System (BAS)
       Building automation
           The advanced functionality
            provided by the control system of a
            building
               E.g., security & access control, fire
                detection & alarms, HVAC, lighting
                control, air quality, smoke
                detection, intrusion
                detection, environmental
                control, asset location/management
       Building Automation
        System(BAS)
           A computerized, intelligent network
            of electronic devices designed to
            monitor and control the
    7       mechanical, electronic, and lighting Systems
                    Dario Bonino - Home and Building Automation   6/1/2012
Home vs. Building Automation



                                                                              Building
                                   Home                                    Automation
                                   Automation




       Home Automation is almost a subset of
        Building Automation
           Most functionalities are shared
       Different protocols and technologies
    8             Dario Bonino - Home and Building Automation Systems   6/1/2012
Technology Overview

                 Which devices? Where? For what?



9   Dario Bonino - Home and Building Automation   6/1/2012
                                       Systems
Technology Overview
     Building Automation
          RS-485




                                                                        Home
                                                                        Automation




10          Dario Bonino - Home and Building Automation Systems   6/1/2012
Network Technology
    Bus                                         Powerline
        MyOpen                                      Echelon
        KNX                                         X10
        Modbus                                      Insteon
        Echelon                                 Wireless
        Dali                                        ZigBee
        CAN                                         Z-Wave
        MBus                                        EnOcean




    11        Dario Bonino - Home and Building Automation Systems   6/1/2012
Application Area
    Automation                                       Entertainment
        Real-time Control                                UPnP
            CAN                                          DLNA
        KNX, MyHome, Insteon, Ec                     General purpose
         helon, Modbus, X10, ZigBe
                                                          Bluetooth
         e, Z-Wave, EnOcean
                                                          WiFi
    Lighting
        Dali
        (all Automation)
    Metering
        Mbus
        RS-485
        KNX, Modbus, Echelon, Zig
         Bee, Z-Wave,…

    12             Dario Bonino - Home and Building Automation Systems   6/1/2012
Challenges
    Integration
        Different electrical requirements
        Different interaction modalities
        Different behaviors (temporal, etc.)
    Interoperation
        Different protocols
        Different interaction modalities
            Master/slave
            Peer-to-peer
            Etc.
    Modeling
        Different technologies & assumptions
        A single shared, common description

    13            Dario Bonino - Home and Building Automation Systems   6/1/2012
Technology Focus

          Assumptions, Networks, Idiosyncrasies



14   Dario Bonino - Home and Building Automation   6/1/2012
                                        Systems
MyOpen / OpenWebNet
    MyOpen system
        Initially proposed by Bticino (Legrand group)
        Proprietary bus (SCS)
        Proprietary low-level protocol
        Simple configuration (can be carried by electricians)
        Accessible via OpenWebNet gateways




    15         Dario Bonino - Home and Building Automation Systems   6/1/2012
OpenWebNet
    Allows external applications to
     communicate, monitor and control MyHome devices
    Open Specification
    Open protocol designed to work on minimal network
     requirements
        E.g., phone connections




    16         Dario Bonino - Home and Building Automation Systems   6/1/2012
OpenWebNet
    DTMF compatible
        E.g., *1*1*12##  Light 12, On
    Defines 2 types of communication sessions
        Command session
            To send commands
            To ask for device states
            To require measure values
        Event session
            To monitor all the bus events, asynchronously




    17            Dario Bonino - Home and Building Automation Systems   6/1/2012
OpenWebNet - Messages
    Tag structure
        *tag1*tag2*tag3*...*tagN##
    Tag
        Allowed characters
            {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, #}
        Delimitator
            *
        Message end
            ##
    Content and structure changes for
        Commands / State requests
        Requests of measure values

    18            Dario Bonino - Home and Building Automation Systems   6/1/2012
OpenWebNet – Commands/States
    3-tag structure
        *WHO*WHAT*WHERE##                                WHO      Functionality Description
                                                            0      Scenarios
    WHO
                                                            1      Lighting
        The command/request
                                                            2      Actuators
         functionality (among a set of
         pre-defined values)                                3      Load control
                                                            4      Temperature control
    WHAT
                                                            5      Anti-burglar systems
        The action to perform
                                                            6      Intercom
        Possible actions are specified
                                                            7      Multimedia
         for each WHO value
                                                           13      Gateway management
    WHERE                                                 15      CEN commands
        Identifies the message                          16 / 22   Sound diffusion
         destination
                                                           17      Scenarios for MH200N gateways
            Single device, device
             groups, scenarios, zones, etc.                18      Energy management
                                                           25      CEN plus/ plus scenarios/ clean contacts
    WHAT and WHERE can have
                                                          1001     Automation diagnostics
     additional parameters
                                                          1004     Thermal control diagnostics
        WHAT#PAR1#PAR2...#PARn
                                                          1013     Device diagnostics
        WHERE#PAR1#PAR2...#PARn
    19             Dario Bonino - Home and Building Automation Systems        6/1/2012
OpenWebNet – Commands/States
    Switch on the lamp with id=12
        *1*1*12##
    Switch on the webcam with id=4000
        *7*0*4000##
    Switch off the temperature control for the zone 1
        *4*303*1##
    Switch off all lights
        *1*0*0##




    20       Dario Bonino - Home and Building Automation Systems   6/1/2012
Idiosyncrasies / Peculiarities
    Explicit State Notion
            Same format for State changes and Commands
            State change events only in monitoring sessions
            State change events only for “active devices”, buttons and
             switches do not generate events.
    States and commands only “defined” for “active”
     devices
        Buttons and switches do not have an explicit state
         (independent from the controlled object)




    21            Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX
    Formal merger of 3 leading systems for Home and
     Building Automation
        EIB
        EHS
        BatiBus
    All devices carry a “bit” of intelligence on-board
    2 Operating modes
        S-MODE (System Mode)
            Requires centralized binding & parameterization (with ETS)
        E-MODE
            Simple manipulation without PCs
            Similar to MyOpen


    22            Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX - Architecture




23    Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX - Application
    Device implement “Distributed Applications”
        Based on datapoints
    Datapoints:
        Represent process and control variables in the system
        May be
            inputs
            Outputs
            parameters
            diagnostic data
            …
    Standardized Datapoint Types, grouped into
     Functional Blocks

    24           Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX – Application (2)
    Communication System and Protocol offer a reduced
     instruction set to
        Read and Write (set and get) Datapoint values
    Application semantics is mapped to
        Data format
        Bindings
          3 binding schemes
              Free
              Structured
              Tagged binding




    25           Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX - Binding
    Free binding:
        No a priori prescription on which Datapoints may be
         linked
        Free addressing
        Customized multicast grouping at the level of individual
         Datapoints
        Central to S-Mode
    Structured binding
        Precise pattern for linking a whole set of
         Datapoints, usually corresponding to a Functional Block
         or Channel
        Free-address
            E.g., Controller and Push-button Modes
    Tagged binding
    26
        … too complex- … and Building Automation Systems
               Dario Bonino Home                            6/1/2012
KNX – Binding Example
GroupAddress
(multicast access to
a datapoint)



                                                    Binding

                                                                          GroupAddress
                                                                          (multicast access to
                                                                          a datapoint)




27            Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX – Network technology
    TP 1 (basic medium inherited from EIB)
        Twisted pair cabling
        SELV network and supply system
        Asynchronous character oriented data transfer and half duplex bi-
         directional communication
        Transmission rate: 9600 bit/s
        CSMA/CA collision avoidance
        All topologies may be used and mixed (line, star, tree, ….)
    PL 110
        Communication over the mains supply network
        Spread frequency shift keying signaling
        Asynchronous transmission of data packets and half duplex bi-
         directional communication
        Central frequency 110 kHZ
        Trasmission rate:1200 bit/s
        CSMA, compliant to EN 50065-1

    28          Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX – Network technology
    RF
        868,3 MHz band for Short Range
        Frequency Shift Keying, maximum duty cycle of 1%
        32768 cps (chips per second)
        Manchester data encoding
    KNXnet/IP
        Standard protocol for KNX devices connected to an IP
         network
        IP network as a fast backbone in KNX installations
        Tunnels KNX Frames over IP



    29         Dario Bonino - Home and Building Automation Systems   6/1/2012
KNX – Network topology
    Line
        Up to 256 devices
        Connected into Areas via
         a Main Line
    Area
        Up to 16 lines per area
        Up to 16 Areas
        Connected via a
         Backbone Line
    Max. Number of devices
        65536

    30           Dario Bonino - Home and Building Automation Systems   6/1/2012
Idiosyncrasies / Peculiarities
    Implicit State Notion
        Only a subset of device states can be queried
    State Events
            State change events can be published by carefully configuring the KNX
             devices
                S-MODE
                Specific group address for notifications
                Pass-through gateway configuration
            All devices can publish state changes
            In-operation events available
    KNXNet/IP
        Tunnel mode  event-based
        Supports partial device discovery
    EIBNet/IP
        Requires participation to a multicast delivery group:
            239.192.39.238
    31              Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus
    Application layer messaging protocol (level 7 of the
     OSI model)
    Provides client/server communication between
     devices
        different types of buses or networks
    Industry serial de facto standard since 1979
    Request/reply protocol
        Services specified by function codes
    MODBUS function codes
        elements of MODBUS request/reply PDUs


    32         Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus – Network Architecture




33    Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus - Protocol
    Defines a simple protocol data unit (PDU)
        Independent of the underlying communication layers
        Mapping of MODBUS protocol on specific buses can
         introduce some additional fields on the application data
         unit (ADU)




    34         Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus – Protocol (2)
    Function Code
        Indicates to the server what kind of action to perform
        Is coded in one byte
        Valid codes are in the range of 1 ... 255 decimal
            the range 128 – 255 is reserved and used for exception
             responses
        Function code "0" is not valid
        Sub-function codes are added to some function codes to
         define multiple actions




    35            Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus - Function codes




36    Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus – Protocol (3)
                    Successful Transaction




                      Failing Transaction




37    Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus – Data Model
    Based on 4 primary tables
        Distinctions between inputs and outputs, and between bit-
         addressable and word-addressable data items, do not
         imply any application behavior
        All four tables can overlay one another
        Each table supports up to 65536 data items
        Read or write of items can span multiple consecutive
         data blocks up to a data size limit which is
         dependent on the transaction function code



    38         Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus – Data Model




            Multiple data blocks                            Single data block


39    Dario Bonino - Home and Building Automation Systems    6/1/2012
Modbus - Addressing
    precise PDU
     addressing rules
        Each data block is
         addressed from 0 to
         65535
        Each element within a
         data block is
         numbered from 1 to n
    pre-mapping
     between the
     MODBUS data model
     and the device
     application is totally
     vendor device
     specific Dario Bonino - Home and Building Automation Systems
    40                                                              6/1/2012
Modbus - Transaction




41    Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus – Network technology




42    Dario Bonino - Home and Building Automation Systems   6/1/2012
Modbus – Network technology (2)
    TCP/IP over Ethernet
    Asynchronous serial transmission over a variety of
     media
        wire : EIA/TIA-232-E, EIA-422, EIA/TIA-485-A
        fiber, radio, etc.
    MODBUS PLUS
        high speed token passing network




    43         Dario Bonino - Home and Building Automation Systems   6/1/2012
Idiosyncrasies / Peculiarities
    Explicit State Notion
        Can only be queried (read)
    No command notion
        Only write operations on registers
    Client/Server approach
        Does not support event-based interaction
            Polling
    No explicit device notion
        Registers exposed through a Modbus Gateway
        Devices identified by their slave id
    No device discovery
        Available registers are defined by the vendor

    44            Dario Bonino - Home and Building Automation Systems   6/1/2012
Modeling/Design for Dog

     How to conciliate reality with Dog requirements



45       Dario Bonino - Home and Building Automation   6/1/2012
                                            Systems
Dog – Device Abstraction
    Based on DogOnt
        http://elite.polito.it/ontologies/dogont.owl
    Devices are described in terms of network-
     independent
        Functionalities
            Commands
            Notifications
        States
            State Values
    Event-based interaction
    Network specific idiosyncrasies must be wrapped
     and reconciled to the Dog abstract model
    46            Dario Bonino - Home and Building Automation Systems   6/1/2012
Dog – Implementation Constraints
    For each technology
        1 Network driver (mandatory)
            Handles networks-specific communication
                Connection
                Polling vs. Event Monitoring
                Connection loss recovery
        1 Gateway driver (optional)
            Handles different gateways using the same network protocol
                E.g., for installations with multiple sub-networks
        >1 Device drivers
            1 for each supported device
            On-line conversions between operations on the abstract model
             and on real devices

    47              Dario Bonino - Home and Building Automation Systems   6/1/2012
Reconciling to Dog

Dog                                               OpenWebNet

    Device representation                           WHERE tag
        URI                                         WHAT tag
        Commands                                    WHO tag
                                                     Monitoring session
        States
    Event- based interaction
        Notifications




    48            Dario Bonino - Home and Building Automation Systems   6/1/2012
Reconciling to Dog

Dog                                               KNX

    Device representation                           Individual Address
        URI                                         Group Address
        Commands                                    Datapoints

        States
                                                     State events
                                                         Only if purposely
    Event- based interaction                             configured
        Notifications                               Device discovery

    49            Dario Bonino - Home and Building Automation Systems   6/1/2012
Reconciling to Dog

Dog                                               Modbus

    Device representation                           Register
        URI                                             Read
        Commands                                        Write
                                                     Slave ID
        States


    Event- based interaction
        Notifications
                                                                        Polling

    50            Dario Bonino - Home and Building Automation Systems   6/1/2012
And the other technologies?
    Z-Wave
        Does not support event-based interaction (partially?)
            Polling
        Based on device discovery
            Device creation at run-time (in Dog)
        Same implementation constraints
    Echelon
        Almost equal to Modbus
        Connection based on web services
    …


    51            Dario Bonino - Home and Building Automation Systems   6/1/2012
Questions?




52    Dario Bonino - Home and Building Automation Systems   6/1/2012
Thanks!




53    Dario Bonino - Home and Building Automation Systems   6/1/2012
License
    This work is licensed under the Creative Commons “Attribution-
     NonCommercial-ShareAlike Unported (CC BY-NC-SA 3,0)” License.
    You are free:
        to Share - to copy, distribute and transmit the work
        to Remix - to adapt the work
    Under the following conditions:
        Attribution - You must attribute the work in the manner specified by the
         author or licensor (but not in any way that suggests that they endorse you
         or your use of the work).
       Noncommercial - You may not use this work for commercial
        purposes.
      Share Alike - If you alter, transform, or build upon this work, you may
        distribute the resulting work only under the same or similar license to
        this one.
    To view a copy of this license, visit
     http://creativecommons.org/licenses/by-nc-sa/3.0/


    54           Dario Bonino - Home and Building Automation Systems   6/1/2012

Weitere ähnliche Inhalte

Was ist angesagt?

Building Management System BMS Introduction
Building Management System BMS  IntroductionBuilding Management System BMS  Introduction
Building Management System BMS IntroductionGAUTAM KOPPALA (JORGE)
 
Building management system
Building management systemBuilding management system
Building management systemcharan malyala
 
Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)
Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)
Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)Dimple Poddar
 
Ppt on zero energy building
Ppt on zero energy buildingPpt on zero energy building
Ppt on zero energy buildingganesh sharma
 
Building automation & controls
Building automation & controlsBuilding automation & controls
Building automation & controlsIllinois ASHRAE
 
Building management system (bms)
Building management system (bms)Building management system (bms)
Building management system (bms)AHMED NADIM JILANI
 
Basements light and ventilation
Basements light and ventilationBasements light and ventilation
Basements light and ventilationDanishPathan7
 
Case study on passive cooling and heating
Case study on passive cooling and heatingCase study on passive cooling and heating
Case study on passive cooling and heatingShubhamJangra15
 
modular coordination
modular coordinationmodular coordination
modular coordinationShailja km
 
Intelligent Buildings standards
Intelligent Buildings standardsIntelligent Buildings standards
Intelligent Buildings standardsMahmmoud Krraz
 
Building Management Services
Building Management Services Building Management Services
Building Management Services Aroh Thombre
 
Kinetic architecture building elements
Kinetic architecture  building elementsKinetic architecture  building elements
Kinetic architecture building elementsSakshi Jain
 
sustainable housing case study
sustainable housing case studysustainable housing case study
sustainable housing case studyAr. Prerna Chouhan
 
Fire guidelines by nbc part 2
Fire guidelines by nbc part 2Fire guidelines by nbc part 2
Fire guidelines by nbc part 2R821992
 
BUILDING SERVICES-II (ELECTRICAL)
BUILDING SERVICES-II (ELECTRICAL)BUILDING SERVICES-II (ELECTRICAL)
BUILDING SERVICES-II (ELECTRICAL)Kethees Waran
 

Was ist angesagt? (20)

Building Management System BMS Introduction
Building Management System BMS  IntroductionBuilding Management System BMS  Introduction
Building Management System BMS Introduction
 
Building management system
Building management systemBuilding management system
Building management system
 
Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)
Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)
Building management system (LINK IN DESCRIPTION FOR DOWNLOAD)
 
Ppt on zero energy building
Ppt on zero energy buildingPpt on zero energy building
Ppt on zero energy building
 
Ventilation Systems
Ventilation SystemsVentilation Systems
Ventilation Systems
 
Building automation & controls
Building automation & controlsBuilding automation & controls
Building automation & controls
 
Building management system (bms)
Building management system (bms)Building management system (bms)
Building management system (bms)
 
Basements light and ventilation
Basements light and ventilationBasements light and ventilation
Basements light and ventilation
 
Case study on passive cooling and heating
Case study on passive cooling and heatingCase study on passive cooling and heating
Case study on passive cooling and heating
 
Smart buildings
Smart buildingsSmart buildings
Smart buildings
 
Smart building
Smart buildingSmart building
Smart building
 
modular coordination
modular coordinationmodular coordination
modular coordination
 
Natural lighting
Natural lightingNatural lighting
Natural lighting
 
Intelligent Buildings standards
Intelligent Buildings standardsIntelligent Buildings standards
Intelligent Buildings standards
 
Intelligent buildings
Intelligent buildingsIntelligent buildings
Intelligent buildings
 
Building Management Services
Building Management Services Building Management Services
Building Management Services
 
Kinetic architecture building elements
Kinetic architecture  building elementsKinetic architecture  building elements
Kinetic architecture building elements
 
sustainable housing case study
sustainable housing case studysustainable housing case study
sustainable housing case study
 
Fire guidelines by nbc part 2
Fire guidelines by nbc part 2Fire guidelines by nbc part 2
Fire guidelines by nbc part 2
 
BUILDING SERVICES-II (ELECTRICAL)
BUILDING SERVICES-II (ELECTRICAL)BUILDING SERVICES-II (ELECTRICAL)
BUILDING SERVICES-II (ELECTRICAL)
 

Ähnlich wie Home and building automation systems

Research Activities in Ambient Intelligence
Research Activities in Ambient IntelligenceResearch Activities in Ambient Intelligence
Research Activities in Ambient IntelligenceFulvio Corno
 
Smart buildings - architectures and technologies
Smart buildings - architectures and technologiesSmart buildings - architectures and technologies
Smart buildings - architectures and technologiesFulvio Corno
 
Home and building automation systems sun slice
Home and building automation systems   sun sliceHome and building automation systems   sun slice
Home and building automation systems sun sliceDario Bonino
 
DOG: an Ontology-Powered OSGi Domotic Gateway
DOG: an Ontology-Powered OSGi Domotic GatewayDOG: an Ontology-Powered OSGi Domotic Gateway
DOG: an Ontology-Powered OSGi Domotic GatewayFulvio Corno
 
Interoperation Modeling
Interoperation ModelingInteroperation Modeling
Interoperation ModelingDario Bonino
 
Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...
Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...
Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...mfrancis
 
Alleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminaryAlleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminaryAntonio Conati Barbaro
 
homeandbuildingautomationsystems.pptx
homeandbuildingautomationsystems.pptxhomeandbuildingautomationsystems.pptx
homeandbuildingautomationsystems.pptxSharanabasappaDegoan
 
NRF based wireless light and Fan dimmer controlling system.
NRF based wireless light and Fan dimmer controlling system.NRF based wireless light and Fan dimmer controlling system.
NRF based wireless light and Fan dimmer controlling system.IRJET Journal
 
Everything about Internet of Things
Everything about Internet of ThingsEverything about Internet of Things
Everything about Internet of ThingsMuhammad Nasr
 
NEW Advanced low cost voice recognition based smart homeoffice
NEW Advanced low cost voice recognition based smart homeofficeNEW Advanced low cost voice recognition based smart homeoffice
NEW Advanced low cost voice recognition based smart homeofficemohammed shoaib uddin
 

Ähnlich wie Home and building automation systems (20)

Research Activities in Ambient Intelligence
Research Activities in Ambient IntelligenceResearch Activities in Ambient Intelligence
Research Activities in Ambient Intelligence
 
Smart buildings - architectures and technologies
Smart buildings - architectures and technologiesSmart buildings - architectures and technologies
Smart buildings - architectures and technologies
 
Home and building automation systems sun slice
Home and building automation systems   sun sliceHome and building automation systems   sun slice
Home and building automation systems sun slice
 
DOG: an Ontology-Powered OSGi Domotic Gateway
DOG: an Ontology-Powered OSGi Domotic GatewayDOG: an Ontology-Powered OSGi Domotic Gateway
DOG: an Ontology-Powered OSGi Domotic Gateway
 
Open home automation infrastructure
Open home automation infrastructureOpen home automation infrastructure
Open home automation infrastructure
 
Interoperation Modeling
Interoperation ModelingInteroperation Modeling
Interoperation Modeling
 
Be lazy... make automation
Be lazy... make automationBe lazy... make automation
Be lazy... make automation
 
Iswc2008
Iswc2008Iswc2008
Iswc2008
 
Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...
Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...
Orange Home Automation Infrastructure – open interaction from the Cloud - Jea...
 
Alleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminaryAlleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminary
 
Unit 4
Unit 4Unit 4
Unit 4
 
homeandbuildingautomationsystems.pptx
homeandbuildingautomationsystems.pptxhomeandbuildingautomationsystems.pptx
homeandbuildingautomationsystems.pptx
 
Dog Ont
Dog OntDog Ont
Dog Ont
 
Human Alert Sensor Design
Human Alert Sensor DesignHuman Alert Sensor Design
Human Alert Sensor Design
 
NRF based wireless light and Fan dimmer controlling system.
NRF based wireless light and Fan dimmer controlling system.NRF based wireless light and Fan dimmer controlling system.
NRF based wireless light and Fan dimmer controlling system.
 
Everything about Internet of Things
Everything about Internet of ThingsEverything about Internet of Things
Everything about Internet of Things
 
PLC
PLCPLC
PLC
 
Human Alert Sensor
Human Alert SensorHuman Alert Sensor
Human Alert Sensor
 
NEW Advanced low cost voice recognition based smart homeoffice
NEW Advanced low cost voice recognition based smart homeofficeNEW Advanced low cost voice recognition based smart homeoffice
NEW Advanced low cost voice recognition based smart homeoffice
 
Vega Impianti En 1
Vega Impianti En 1Vega Impianti En 1
Vega Impianti En 1
 

Mehr von Dario Bonino

Mehr von Dario Bonino (14)

OSGi compendium
OSGi compendiumOSGi compendium
OSGi compendium
 
OSGi introduction
OSGi introductionOSGi introduction
OSGi introduction
 
dfl
dfldfl
dfl
 
ficloud2015
ficloud2015ficloud2015
ficloud2015
 
citizen-centric-app
citizen-centric-appcitizen-centric-app
citizen-centric-app
 
Dog ont
Dog ontDog ont
Dog ont
 
bonino_thesis_final
bonino_thesis_finalbonino_thesis_final
bonino_thesis_final
 
bonino
boninobonino
bonino
 
The Dog Gateway - Intro
The Dog Gateway - IntroThe Dog Gateway - Intro
The Dog Gateway - Intro
 
Rilievo informatico di cavità naturali
Rilievo informatico di cavità naturaliRilievo informatico di cavità naturali
Rilievo informatico di cavità naturali
 
Dog2.3 Architecture
Dog2.3 ArchitectureDog2.3 Architecture
Dog2.3 Architecture
 
Dog Ont In Dog
Dog Ont In DogDog Ont In Dog
Dog Ont In Dog
 
Webs2008
Webs2008Webs2008
Webs2008
 
Dog Sim
Dog SimDog Sim
Dog Sim
 

Kürzlich hochgeladen

FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

Kürzlich hochgeladen (20)

FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Home and building automation systems

  • 1. Home and Building Automation Systems An Overview
  • 2. Summary  Definitions  Technology Overview  Technology Focus  MyHome / OpenWebNet  KNX  Modbus  Modeling / Designing for Dog 2 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 3. Definitions What are we talking about? 3 Dario Bonino - Home and Building Automation 6/1/2012 Systems
  • 4. Home Automation System (HAS) 4 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 5. Home Automation System (HAS)  Home automation  Automation of the home, housework or household activity.  (remote) control of:  lighting  HVAC (Heating, Ventilation and Air Conditioning)  appliances  and other systems  Home automation system  An integrated system (computer-based) offering home automation functionalities  Integrates electrical devices in a house  Through a communication network  Possibly includes devices using different communication protocols 5 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 6. Building Automation System (BAS) 6 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 7. Building Automation System (BAS)  Building automation  The advanced functionality provided by the control system of a building  E.g., security & access control, fire detection & alarms, HVAC, lighting control, air quality, smoke detection, intrusion detection, environmental control, asset location/management  Building Automation System(BAS)  A computerized, intelligent network of electronic devices designed to monitor and control the 7 mechanical, electronic, and lighting Systems Dario Bonino - Home and Building Automation 6/1/2012
  • 8. Home vs. Building Automation Building Home Automation Automation  Home Automation is almost a subset of Building Automation  Most functionalities are shared  Different protocols and technologies 8 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 9. Technology Overview Which devices? Where? For what? 9 Dario Bonino - Home and Building Automation 6/1/2012 Systems
  • 10. Technology Overview Building Automation RS-485 Home Automation 10 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 11. Network Technology  Bus  Powerline  MyOpen  Echelon  KNX  X10  Modbus  Insteon  Echelon  Wireless  Dali  ZigBee  CAN  Z-Wave  MBus  EnOcean 11 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 12. Application Area  Automation  Entertainment  Real-time Control  UPnP  CAN  DLNA  KNX, MyHome, Insteon, Ec  General purpose helon, Modbus, X10, ZigBe  Bluetooth e, Z-Wave, EnOcean  WiFi  Lighting  Dali  (all Automation)  Metering  Mbus  RS-485  KNX, Modbus, Echelon, Zig Bee, Z-Wave,… 12 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 13. Challenges  Integration  Different electrical requirements  Different interaction modalities  Different behaviors (temporal, etc.)  Interoperation  Different protocols  Different interaction modalities  Master/slave  Peer-to-peer  Etc.  Modeling  Different technologies & assumptions  A single shared, common description 13 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 14. Technology Focus Assumptions, Networks, Idiosyncrasies 14 Dario Bonino - Home and Building Automation 6/1/2012 Systems
  • 15. MyOpen / OpenWebNet  MyOpen system  Initially proposed by Bticino (Legrand group)  Proprietary bus (SCS)  Proprietary low-level protocol  Simple configuration (can be carried by electricians)  Accessible via OpenWebNet gateways 15 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 16. OpenWebNet  Allows external applications to communicate, monitor and control MyHome devices  Open Specification  Open protocol designed to work on minimal network requirements  E.g., phone connections 16 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 17. OpenWebNet  DTMF compatible  E.g., *1*1*12##  Light 12, On  Defines 2 types of communication sessions  Command session  To send commands  To ask for device states  To require measure values  Event session  To monitor all the bus events, asynchronously 17 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 18. OpenWebNet - Messages  Tag structure  *tag1*tag2*tag3*...*tagN##  Tag  Allowed characters  {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, #}  Delimitator  *  Message end  ##  Content and structure changes for  Commands / State requests  Requests of measure values 18 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 19. OpenWebNet – Commands/States  3-tag structure  *WHO*WHAT*WHERE## WHO Functionality Description 0 Scenarios  WHO 1 Lighting  The command/request 2 Actuators functionality (among a set of pre-defined values) 3 Load control 4 Temperature control  WHAT 5 Anti-burglar systems  The action to perform 6 Intercom  Possible actions are specified 7 Multimedia for each WHO value 13 Gateway management  WHERE 15 CEN commands  Identifies the message 16 / 22 Sound diffusion destination 17 Scenarios for MH200N gateways  Single device, device groups, scenarios, zones, etc. 18 Energy management 25 CEN plus/ plus scenarios/ clean contacts  WHAT and WHERE can have 1001 Automation diagnostics additional parameters 1004 Thermal control diagnostics  WHAT#PAR1#PAR2...#PARn 1013 Device diagnostics  WHERE#PAR1#PAR2...#PARn 19 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 20. OpenWebNet – Commands/States  Switch on the lamp with id=12  *1*1*12##  Switch on the webcam with id=4000  *7*0*4000##  Switch off the temperature control for the zone 1  *4*303*1##  Switch off all lights  *1*0*0## 20 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 21. Idiosyncrasies / Peculiarities  Explicit State Notion  Same format for State changes and Commands  State change events only in monitoring sessions  State change events only for “active devices”, buttons and switches do not generate events.  States and commands only “defined” for “active” devices  Buttons and switches do not have an explicit state (independent from the controlled object) 21 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 22. KNX  Formal merger of 3 leading systems for Home and Building Automation  EIB  EHS  BatiBus  All devices carry a “bit” of intelligence on-board  2 Operating modes  S-MODE (System Mode)  Requires centralized binding & parameterization (with ETS)  E-MODE  Simple manipulation without PCs  Similar to MyOpen 22 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 23. KNX - Architecture 23 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 24. KNX - Application  Device implement “Distributed Applications”  Based on datapoints  Datapoints:  Represent process and control variables in the system  May be  inputs  Outputs  parameters  diagnostic data  …  Standardized Datapoint Types, grouped into Functional Blocks 24 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 25. KNX – Application (2)  Communication System and Protocol offer a reduced instruction set to  Read and Write (set and get) Datapoint values  Application semantics is mapped to  Data format  Bindings  3 binding schemes  Free  Structured  Tagged binding 25 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 26. KNX - Binding  Free binding:  No a priori prescription on which Datapoints may be linked  Free addressing  Customized multicast grouping at the level of individual Datapoints  Central to S-Mode  Structured binding  Precise pattern for linking a whole set of Datapoints, usually corresponding to a Functional Block or Channel  Free-address  E.g., Controller and Push-button Modes  Tagged binding 26  … too complex- … and Building Automation Systems Dario Bonino Home 6/1/2012
  • 27. KNX – Binding Example GroupAddress (multicast access to a datapoint) Binding GroupAddress (multicast access to a datapoint) 27 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 28. KNX – Network technology  TP 1 (basic medium inherited from EIB)  Twisted pair cabling  SELV network and supply system  Asynchronous character oriented data transfer and half duplex bi- directional communication  Transmission rate: 9600 bit/s  CSMA/CA collision avoidance  All topologies may be used and mixed (line, star, tree, ….)  PL 110  Communication over the mains supply network  Spread frequency shift keying signaling  Asynchronous transmission of data packets and half duplex bi- directional communication  Central frequency 110 kHZ  Trasmission rate:1200 bit/s  CSMA, compliant to EN 50065-1 28 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 29. KNX – Network technology  RF  868,3 MHz band for Short Range  Frequency Shift Keying, maximum duty cycle of 1%  32768 cps (chips per second)  Manchester data encoding  KNXnet/IP  Standard protocol for KNX devices connected to an IP network  IP network as a fast backbone in KNX installations  Tunnels KNX Frames over IP 29 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 30. KNX – Network topology  Line  Up to 256 devices  Connected into Areas via a Main Line  Area  Up to 16 lines per area  Up to 16 Areas  Connected via a Backbone Line  Max. Number of devices  65536 30 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 31. Idiosyncrasies / Peculiarities  Implicit State Notion  Only a subset of device states can be queried  State Events  State change events can be published by carefully configuring the KNX devices  S-MODE  Specific group address for notifications  Pass-through gateway configuration  All devices can publish state changes  In-operation events available  KNXNet/IP  Tunnel mode  event-based  Supports partial device discovery  EIBNet/IP  Requires participation to a multicast delivery group:  239.192.39.238 31 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 32. Modbus  Application layer messaging protocol (level 7 of the OSI model)  Provides client/server communication between devices  different types of buses or networks  Industry serial de facto standard since 1979  Request/reply protocol  Services specified by function codes  MODBUS function codes  elements of MODBUS request/reply PDUs 32 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 33. Modbus – Network Architecture 33 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 34. Modbus - Protocol  Defines a simple protocol data unit (PDU)  Independent of the underlying communication layers  Mapping of MODBUS protocol on specific buses can introduce some additional fields on the application data unit (ADU) 34 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 35. Modbus – Protocol (2)  Function Code  Indicates to the server what kind of action to perform  Is coded in one byte  Valid codes are in the range of 1 ... 255 decimal  the range 128 – 255 is reserved and used for exception responses  Function code "0" is not valid  Sub-function codes are added to some function codes to define multiple actions 35 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 36. Modbus - Function codes 36 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 37. Modbus – Protocol (3) Successful Transaction Failing Transaction 37 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 38. Modbus – Data Model  Based on 4 primary tables  Distinctions between inputs and outputs, and between bit- addressable and word-addressable data items, do not imply any application behavior  All four tables can overlay one another  Each table supports up to 65536 data items  Read or write of items can span multiple consecutive data blocks up to a data size limit which is dependent on the transaction function code 38 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 39. Modbus – Data Model Multiple data blocks Single data block 39 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 40. Modbus - Addressing  precise PDU addressing rules  Each data block is addressed from 0 to 65535  Each element within a data block is numbered from 1 to n  pre-mapping between the MODBUS data model and the device application is totally vendor device specific Dario Bonino - Home and Building Automation Systems 40 6/1/2012
  • 41. Modbus - Transaction 41 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 42. Modbus – Network technology 42 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 43. Modbus – Network technology (2)  TCP/IP over Ethernet  Asynchronous serial transmission over a variety of media  wire : EIA/TIA-232-E, EIA-422, EIA/TIA-485-A  fiber, radio, etc.  MODBUS PLUS  high speed token passing network 43 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 44. Idiosyncrasies / Peculiarities  Explicit State Notion  Can only be queried (read)  No command notion  Only write operations on registers  Client/Server approach  Does not support event-based interaction  Polling  No explicit device notion  Registers exposed through a Modbus Gateway  Devices identified by their slave id  No device discovery  Available registers are defined by the vendor 44 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 45. Modeling/Design for Dog How to conciliate reality with Dog requirements 45 Dario Bonino - Home and Building Automation 6/1/2012 Systems
  • 46. Dog – Device Abstraction  Based on DogOnt  http://elite.polito.it/ontologies/dogont.owl  Devices are described in terms of network- independent  Functionalities  Commands  Notifications  States  State Values  Event-based interaction  Network specific idiosyncrasies must be wrapped and reconciled to the Dog abstract model 46 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 47. Dog – Implementation Constraints  For each technology  1 Network driver (mandatory)  Handles networks-specific communication  Connection  Polling vs. Event Monitoring  Connection loss recovery  1 Gateway driver (optional)  Handles different gateways using the same network protocol  E.g., for installations with multiple sub-networks  >1 Device drivers  1 for each supported device  On-line conversions between operations on the abstract model and on real devices 47 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 48. Reconciling to Dog Dog OpenWebNet  Device representation  WHERE tag  URI  WHAT tag  Commands  WHO tag  Monitoring session  States  Event- based interaction  Notifications 48 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 49. Reconciling to Dog Dog KNX  Device representation  Individual Address  URI  Group Address  Commands  Datapoints  States  State events  Only if purposely  Event- based interaction configured  Notifications  Device discovery 49 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 50. Reconciling to Dog Dog Modbus  Device representation  Register  URI  Read  Commands  Write  Slave ID  States  Event- based interaction  Notifications Polling 50 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 51. And the other technologies?  Z-Wave  Does not support event-based interaction (partially?)  Polling  Based on device discovery  Device creation at run-time (in Dog)  Same implementation constraints  Echelon  Almost equal to Modbus  Connection based on web services  … 51 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 52. Questions? 52 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 53. Thanks! 53 Dario Bonino - Home and Building Automation Systems 6/1/2012
  • 54. License  This work is licensed under the Creative Commons “Attribution- NonCommercial-ShareAlike Unported (CC BY-NC-SA 3,0)” License.  You are free:  to Share - to copy, distribute and transmit the work  to Remix - to adapt the work  Under the following conditions:  Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).  Noncommercial - You may not use this work for commercial purposes.  Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.  To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ 54 Dario Bonino - Home and Building Automation Systems 6/1/2012

Hinweis der Redaktion

  1. Interworking and (Distributed) Application Models for the various tasks of Home and Building Automation; this is after all the main purpose of the system.Schemes for Configuration and Management, to properly manage all resources on the network, and to permit the logical linking or binding of parts of a distributed application, which run in different nodes. KNX structures these in a comprehensive set of Configuration Modes.a Communication System, with a set of physical communication media, a message protocol and corresponding models for the communication stack in each node; this Communication System has to support all network communication requirements for the Configuration and Management of an installation, as well as to host Distributed Applications on it. This is typified by the KNX Common Kernel.Concrete Device Models, summarized in Profiles for the effective realization and combination of the elements above when developing actual products or devices, which will be mounted and linked in an installation.