<<

July 2009

AZ121 Industrial Network Protocols (Part 3) Building Control Networking Trends Rudan Bettelheim Building Control Segment Marketing Manager

TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Agenda

►Introduction to Building Control Segment and Networking

Protocols

►Wired Protocols

►Application Level Protocols

►Protocol Use and Trends in Building Control

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 2 Industrial Network Protocols

Introduction to Building Control Segment and Networking

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 3 Building Control Sub-segments Building Control

Fire & Security Building Lighting Utility Meters HVAC Video Control Fire & Alarm Access Control Automation Surveillance

•Fire Detection •Garage Door •IP Camera •Elevators & •Utility Meters •Boilers & •Electronic •Fire Openers •IP Video Escalators •Utility Meters Furnaces Ballast Annunciation •Residential Equipment •Time & •Circulation •Emergency •Fire Alarm Access Control •IP Camera Attendance Modules Pumps Lighting Control Panel •Commercial Control •Sanitation •Utility Load •Compressors •Lighting Control •Fire Alarm Access Control •IP Video Monitor Control Control •Room •Architectural Notification •Electronic locks •IP Camera •Blinds, Doors & Thermostats & Lighting •Intruder Windows Controls •Street Lighting Detection •IP DVR •Commercial •Unitary Air •Traffic Light •Intruder •Automated Kitchen Conditioners Control Notification Surveillance Equipment •Commercial •Security Control Video •Warehouse Refrigeration Panel Processing/Analyt Handling •Humidity Control ics Equipment •Networked Load, Lighting, HVAC, Security Control

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Types of Networks

Peer to Star Mesh Tree Ring Line Bus Peer

•Low complexity •Effectively •Complex •Complex •Simple •Simple •Coordinator can unlimited range •High reliability •Avoids •Inherently •Simple •Easy to add be a bottleneck •Some •Reduces bottlenecks tolerant of single •Limited capacity nodes •Range is likely predictability bottlenecks •Very large fault •Low reliability •Limited range to be limited •Bottlenecks can •High capacity capacity •Limited capacity •Limited capacity •High capacity exist

Wireless

Wired

Powerline

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 5 MultitieredMulti-tiered Network Network Architecture Architecture

INTERNET Internet Anybody, anywhere

Enterprise Network () Within an organization, can be global

Site Network (Wired and/or Wireless Ethernet) Within a commercial site, between equipment clusters

Inter-Equipment: Real-Time Managing Node (Wired and/or Wireless − , 802.15.4/ZigBee®, WiFi, Ethernet, CAN, UART, USB) Between boxes, within an equipment cluster

Device Level Network (SPI, UART, I2C, USB, SSI) Within a box or circuit board

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Slide 6 MultitieredMulti-tiered Network Network Architecture Architecture

INTERNET Internet Anybody, anywhere

Enterprise Network (Ethernet) Within an organization, can be global

Network Processors Site Network (Wired and/or Wireless Ethernet) Within a commercial site, between equipment clusters

MPUs Inter-Equipment: Real-Time Managing Node (Wired and/or Wireless − Bluetooth, 802.15.4/ZigBee®, MPUs WiFi, Ethernet, CAN, UART, USB) Between boxes, within an equipment cluster

Device Level Network (SPI, UART, I2C, USB, SSI) Within a box or circuit board MCUs, DSPs

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Slide 7 Protocol Layer Architecture

User Device I/O Encoders Valves Drives SEMI Others Profiles NAFEM BACnet Application Layer DLNA Application Application Object Library • Data Management Services • Presentation Explicit Messages, I/O Messages • Industry-Specific Data-Sharing Protocols Session Message Routing, Connection Management

Encapsulation Ethernet Transport Transport A Transport B TCP UDP (DeviceNet) (ControlNet) CAN Network IP USB Future UART CAN ControlNet Ethernet Standards Networking- ® Data Link CSMA/NBA CTDMA CSMA/CD ZigBee

DeviceNet ControlNet Ethernet Standards Protocols Physical Link Physical Layer Physical Layer

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Slide 8 Industrial Network Protocols

Wireless Protocols

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 9 The 802 Wireless Space

WWAN IEEE® 802.22 Building Control IEEE® 802.20 Wireless WMAN Protocols WiMAX • 802.15.4/ZigBee/Wireles 802.16 sHART/ISA100.11 • Z-Wave • Wi-Fi Range WLAN WiFi • WiMAX • Sub 1 GHz 802.11 • Bluetooth

802.15.4 Millimeter-wave Bluetooth WPAN 802.15.1 802.15.3c

0.01 0.1 1 10 100 2000 Data Rate (Mbps)

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 10 802.15.4 Protocol Stack Positioning Less Sensitive

WirelessHART™ Specification

ISA SP100.11a Cost Sensitive Cost

ZigBee® 2007 Protocol

®

Cost isKing ZigBee RF4CE Networking Protocol

Market Consumer Commercial Industrial

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 11 IEEE® 802.15.4 Basics

Simple packet data protocol for lightweight wireless networks • Released in 2003, update in 2006 • O-QPSK Modulation (2.4 GHz) Frequency License Region Data Channels • DSSS Energy Spreading Scheme Band Required? Rate • Three bands, 27 channels specified (2003) • 2.4 GHz: 16 channels, 250 kbps 868.3 MHz • 868.3 MHz : 1 channel, 20 kbps No Europe 20kbps 1 • 902-928 MHz: 10 channels, 40 kbps • AES 128 Encryption and Authentication 902-928 MHz • Communication Features No Americas 40kbps 10 • Simple Frame Structure • Reliable Data Delivery • CSMA-CA 2405-2480 MHz No Worldwide 250kbps 16 • Message Acknowledgement • Network Support • Employs 64- IEEE & 16-bit short addresses • Supports Mesh, Star and Point-to-Point • Non-Beaconed • Beaconed • Optional super frame structure with beacons • Supports Guaranteed Time Slots (GTS)

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 12 ZigBee, 802.15.4, SMAC

►Protocol description APPLICATION/PROFIL ZigBe • Mesh network

• Mostly on 2.4GHz band APPLICATION • 240kb/s ► NETWORK/SECURT Hardware platform LAYERS ZigBee • Dedicated RF stage required Alliance • MCU provides MAC and network layer MAC Platform IEE • S08 and i.MX (Arm7 core) solutions available from FSL PHY ►Applications • Commercial and Control Applicatio • and Control ZigBee Platform Stack • Utility/Plant Management Silico • Institution and Home Patient Monitoring

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. WirelessHART™ Overview ►Based on 802.15.4 – 2006 • Specification completed in 2007 ►Focuses on features for reliability and co-existence • Adds channel hopping ƒ Uses TDMA with a fixed 10ms time slot ƒ Black listing of bad channels ƒ Provides for sleeping routers • Higher default transmit power ƒ +10dBm • Mesh Network Topology ƒ Based on DUST Networks TSMP (Time Synchronized Mesh Protocol ƒ Provides flexible network organization ƒ Provides redundant paths ƒ Self organizing and self healing • Dynamic allocation ƒ Fixed bandwidth for prioritized data and commands • Supports AES-128 ciphers and key support ►Supports common HART devices • Wireless Field devices • Bridges, Gateways and Access Points provide seamless access throughout the network

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 14 MC1322x Platform in a Package (PiP)

24 MHz (Typical) 32.768 KHz (Optional)

Timer • Integrated 2.4GHz transceiver with 32-bit RF Clock & Module Oscillator/PLL Reset & Module SCI/UART CPU Clock Generation (CRM) Module ƒ 802.15.4 Compliant transceiver SCI/UART Module ƒ Analog Digital CPU Complex ARM7TDMI up to 26Mhz TX Modem ARM7 SSI/I2S 802.15.4 TX TDMI-S Module TX/RX MAC • Lowest power Balun Modem 32-bit Switch 2 Accelerator CPU I C ƒ RX (MACA) Module Significant power reduction – up to 75% Analog Modem Bus RX Interface & Keyboard ƒ 21mA maximum with and MCU Interface IEEE® 802.15.4 Transceiver Memory Arbitrator SPI ƒ 13mA average with radio and MUC (buck Advanced ARM Interface

Security Up to 64 GPIOUp to 64 GPIO Interrupt converter enabled) Module GPIO Controller (ASM) Control • Plenty of memory for ZigBee Applications MC1322X Block Diagram (AITC) SPI 12-bit FLASH 96 KB ADC ƒ 80K ROM (802.15.4 MAC) and 96K SRAM Module RAM Analog (SPIF) 12-bit • High performance mode Power 80 KB Buses & Address Data ADC Management ROM & 128 KB ƒ Battery JTAG & Optional TurboLink™ mode Buck Voltage Serial Monitor Nexus ƒ Over the air data rate of 2Mbps Converter Regulation FLASH ƒ Streaming compressed audio, voice/intercom, file/data transfer • Improved RF performance • Unique platform in a package ƒ -96dBm sensitivity (DCD Mode) ƒ High integrated package significantly reduces ƒ -100 dBm NCD mode (+3-4 mA current) external component count and cost ƒ +4dBm power output ƒ RF matching in package • Hardware accelerator reduces MCU ƒ Requires power, xtal and 50 Ohm antenna overhead ƒ MC13224 – 9.5 mm x 9.5 mm 99-pin LGA – 128 KB FLASH, 96 KB RAM, 80 KB ROM ƒ MAC accelerator (sequencer and DMA ƒ MC13225 – 9.5 mm x 9.5 mm 99-pin LGA interface) – 128 KB FLASH, 96 KB RAM, 80 KB ROM ƒ AES 128-bit hardware encryption/decryption – TurboLink™ • Best in class peripherals ƒ UART, SPI, KBI, 8 channel 12-bit ADC, 4x16-bit timer, I2C, SSI (I2S), 64GPIO

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 15 ISA100.11a Summary

► ISA is an open standards body following ANSI consensus procedures • ISA100 will be a family of wireless standards focused on the needs of the Automation Markets ƒ ISA100.11a which will focus on Process Automation ƒ Future areas of interest are Factory/Building Automation and Discrete Manufacturing ► Designed to support multiple “wired” protocols into a single wireless infrastructure • Supports wired protocols such as , DeviceNet, etc. • Working closely with IETF to use a 6loWPAN for IP support

► Increased Interference and Multi-path Fading Mitigation

• Frequency hopping

ƒ Channel Blacklist (Avoids Congested Channels) ƒ Frequency Selection (Uses specific channels) ► TDMA provides supports sleeping routers • Enhances network reliability through greater redundant paths ► Ideal For

• Industrial applications that need increased robustness to interference and multipath

• Environments with multiple wired protocols • Applications where battery operated routers are required

► Not Ideal For

• Low cost applications

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 16 Z-Wave

Z-Wave is a wireless mesh network standard, targeted at Home Automation applications

► Data throughput: 9.6 Kb/s or 40 Kb/s ► Frequency band: 900 MHz ISM

• 908.42MHz (USA)

• 868.42MHz (Europe)

• 919.82MHz (Hong Kong)

• 921.42MHz (Australia/New Zealand)

► Modulation: GFSK

► Network size: Up to 232 nodes

► Range: Approximately 30 m (100 ft)

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 17 Bluetooth (IEEE 802.15.1)

Bluetooth is a wireless standard for short range Personal Area Networks (PAN)

► Data throughput: ► Version 1.2: 1 Mb/s

► Version 2.0 + EDR: 3 Mb/s

► Frequency band: 2.4 GHz ISM

► Modulation: GFSK

► Range:

► Class 1: ~ 100m (max power 100 mW)

► Class 2: ~ 10m (max power 2.5 mW)

► Class 3: ~ 1m (max power 1 mW)

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 18 Wi-Fi (IEEE 802.11.)

WiFi (trademark of the Wi-Fi Alliance) is a wireless LAN, the wireless companion to Ethernet

► Range: Approximately 32 m (120 ft) indoors, and 95 m (300 ft) outdoors

Typical Protocol Frequency Max Bit Rate Modulation Throughput 802.11 2.4 GHz 0.9 Mb/s 2 Mb/s DSSS

802.11a 5 GHz 23 Mb/s 54 Mb/s OFDM

802.11b 2.4 GHz 4.3 Mb/s 11 Mb/s DSSS

802.11g 2.4 GHz 19 Mb/s 54 Mb/s OFDM

802.11n 2.4, 5 GHz 130 Mb/s 300 Mb/s OFDM

802.11y 3.7 GHz 54 Mb/s 54 Mb/s OFDM

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 19 Example of Embedded Wi-Fi (ZeroG )

►Complete focus on embedded markets • Single chip, highly integrated design • Lowest total system BOM for Wi-Fi • Very low power design

►ZeroG chip architecture enables maximum flexibility • Works with any combination of host MCU and OS • Very small system footprint: ƒ <1kB RAM required to host, <10kB ROM • NO additional system resources required

►Highly portable design results in fast time to market • Easy to design in to existing or new products… a Wi-Fi I/O

►Compatible with standard b/g access points

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 20 WiMAX (IEEE 802.16)

WiMAX (Worldwide Interoperability for Microwave Access) is a Wireless Metropolitan Area Network (WMAN) standard

► Frequencies: 2 to 11 GHz, and 10 to 66 GHz ► Modulation: Orthogonal Frequency-Division Multiplexing (OFDM), and Scalable Orthogonal Frequency-Division Multiple Access (SOFDMA) ► Data throughput: Up to 70 Mb/s ► Range: Up to 50 km (~30 M)

► Target applications:

► Connecting Wi-Fi hotspots to the Internet

► Providing a wireless alternative to cable and DSL for "last mile" broadband access

► Providing data and telecommunications services

► Providing a source of Internet connectivity as part of a business continuity plan

► Providing portable connectivity

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 21 Access and Remote Control Regional specific regulations allow low power on sub 1 GHz frequencies, for Access and Remote Control applications

►Frequencies: 13.5 to 915 MHz ►Data throughput: Up to 100 Kb/s ►Range: Up to approximately 30 m (~100 ft) ►Example products:

► MC33696 - ECHO MC33696: Frequency: 315 to 915MHz ► MC33596 – ROMEO3 Modulation: OOK and FSK (software selectable) Data rate: up to 19.2kbps MC33596: Temperature range: -40 to+85°C Supply voltage: 2.1V-3.6V, 5V Frequeny : 315 to 915MHz Package: LQFP32 or QFN32 Modulation: OOK and FSK (software selectable) Data rate: up to 19.2kbps Receiver: Temperature range: -40 to+85°C Sensitivity: -104dBm to –72dBm typ in 4 steps Supply voltage: 2.1V-3.6V, 5V Data Manager with clock recovery for Manchester coded signals Package: LQFP32 RSSI range: 70dB digital and 40dB analog Receiver: Channel bandwidth: 380kHz Current consumption: 10mA typ Sensitivity: -104dBm to –81dBm typ in 4 steps Data Manager with clock recovery for Manchester coded signals Transmitter: RSSI: 70dB digital and 50dB analog Output power: -19 to +7dBm in 4 steps Channel bandwidth: 400kHz FSK frequency deviation: programmable from 6kHz to 192kHz Current consumption: 10mA typ Current consumption: 13mA typ

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 22 Industrial Network Protocols

Wired Protocols

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 23 MultitieredMulti-tiered Network Network Architecture Architecture

INTERNET Internet Anybody, anywhere

Enterprise Network (Ethernet) Within an organization, can be global

Network Processors Site Network (Wired and/or Wireless Ethernet) Within a commercial site, between equipment clusters

MPUs Inter-Equipment: Real-Time Managing Node ® MPUs (Wired and/or Wireless − ZigBee , CAN, UART) Between boxes, within an equipment cluster

Freescale Controller Continuum Freescale Controller

Device Level Network (SPI, UART, I2C, CAN) Within a box or circuit board MCUs, DSPs

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Slide 24 Summary of Wired Transport Protocols

Protocol Type Topology Notes

UART RS232, Simple and in widespread use, but definition does not include Asynchronous Bus, and Point to Point RS485 addressing

Very robust, includes error detection, fault isolation, and content CAN Asynchronous Bus based addressing

Simple and in widespread use for device interconnect, uses SPI Synchronous Bus, and Point to Point separate chip select lines

Simple and in widespread use for device interconnect, includes I2C Synchronous Bus, and Point to Point address transmission

Tree (with hubs), and Point to USB Synchronous Point In widespread use

SDIO Synchronous Bus, and Point to Point Based on SPI, with optional additional data lines

Star, Tree (with routers, Ethernet Asynchronous switches and hubs), Ring, Line, Very widespread use Bus (early versions)

Several Powerline protocols are competing for acceptance as the Powerline Asynchronous Bus industry standar

Used for digital audio, connecting a processor to an audio SSI (I2S) Synchronous Point to Point CODEC

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 25 Powerline: PRIME (PLM)

►Protocol description • OFDM Power Line modem for CENELEC band A Utilities use for AMR • Communications up to 120kb/s in CENELC ban A

• MAC & PHY characteristics currently defined by PRIME

• ALL other protocol details are the subject of the PRIME2 project and are not currently available, these include OSI mapping, Data flow, Software flow, networking layers and application layers ►Hardware platform

• Requires dedicated DSP hardware and AFE (ADC/DAC/PGA coupler interface) • Typically requires hardware acceleration to aid OFDM communications

• PLM modem typically operates as master and communicates with SCI or SPI so no special mcu requirements hardware wise, software oh host TBD (PRIME2) ►Applications • Metering AMR, Street lighting

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Powerline: HomePlug (PLM)

►Protocol description • HomePlug® 1.0 — Released June 2001 — Specification for connecting devices via power lines in the home. Theoretical speed of 14 Mbit/s.

• HomePlug® 1.0 Turbo — Faster, unofficial specificatio n for connecting devices via power lines in the home. Theoretical speed of 85 Mbit/s.

• HomePlug® AV — Released December 2005 — Designed for transmitting HDTV and VoIP around the home. Theoretical PHY datarate of up to 189 Mbit/s.[1]

• HomePlug® Access BPL (BPL) — under development — A working group to develop a specification for to-the-home connection. • HomePlug® Command & Control (HPCC) — Released October 9, 2007 — It's a low-speed, very low- cost technology intended to complement the alliance's higher-speed powerline communications technologies. The specification enable advanced, whole-house control of lighting, appliances, climate control, security and other devices.

• HomePlug is now the umbrella for the IEEE1901 powerline standard ►Hardware platform • Primary interface is Ethernet MII with some devices supporting USB (mainly older products) ►Applications • WiFi bridge (room Ù room) • Ethernet over power • Video • Externally mounted Electricity meter (as in US) to in home Zigbee / HAN connectivity

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Konnex

► Protocol description Encompasses 4 hardware mediums Twisted Pair – UART based - legacy industrial control protocol Powerline modem – 110kHz - RF - 800Mhz FSK Ethernet.

► Baud Rate = 10/100Mbit for Ethernet, 2400-9600 /sec for others

► Hardware platform • UART base for Twisted pair and powerline modem. • Powerline modem device. • 800-915Mhz FSK transceiever (ECHO) • Ethernet modem

► Applications • Industrial Control & Building Control, Home Control

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. M-BUS (Wireless, Wired & PLM)

►Protocol description The M-Bus ("Meter-Bus") is a European standard for remote reading of heatmeters and it is also usable for all other types of consumption meters (Gas, water, electricity) as well as sensors and actuators. • BS EN 1434-3:1997 - Heat meters. Data exchange and interfaces

• IEC 870 – Datalink

• MBUS – Physical transceiver

• CENLEC TC294 -

►Hardware platform - Transceivers • Typically connect via asyn c serial, ie SCI/UART RS232

►Applications • Metering AMR, heat allocators, Gas, Water & Electricity meters

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Industrial Network Protocols

Application Level Protocols

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 30 Application Level Protocols

User NAFEM Device I/O Encoders Valves Drives SEMI Others BACnet Profiles DLNA Application Layer Application • Application Object Library • Data Management Services Protocols Presentation • Data-Sharing Explicit Messages, I/O Messages Industry-Specific Industry-Specific

Session Message Routing, Connection Management

• Industry or Market Segment specific • Typically use standard transport protocols • Define communication of application level information (e.g. room temperature) • Enable high level system (building) inter-operation • Enable equipment inter-operability (from different vendors) • Example: Security system communicates room occupancy to HVAC

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Slide 31 NAFEM and NDP

► NAFEM is the North American Association of Food Equipment Manufacturers ► NDP is the NAFEM Data Protocol for networking and interoperability of commercial kitchen equipment. ► Application examples: • Alarm Systems • Blast Chillers • Dishwashers • Beverage Dispensers • Food Waste Disposal Systems • Electronic Timers/Cooking Computers • Freezers • Fryers (Gas & Electric) • Gateway • Heater/Proofer Cabinets • Ovens • Thermometers

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Slide 32 BACnet “Building Automation and Controls network”

► Applications: HVAC control, Fire detection and alarm, Lighting control, Security, Smart elevators, Utility company interface ► BACnet specifies most all of the most common functions: analog and binary input, output, and values; control loops; schedules, etc., that clearly apply to almost any kind of monitoring or control application

► All BACnet objects provide a set of properties which are used to get information from the object, or give information and commands to an object. • 23 standard objects defined describe data, commands, scheduling and logical flow

► LAN options: Ethernet, ARCNET,EIA-485 (token ring (MS/TP), peer to peer PTP), BACNet/IP, Konnex, LonTalk ► Business model: Open standard, free for use with no restrictions BACnet vendors (sample) ABB Andover Automated Logic Bauer, Ingenieurbüro Carrier Control Applications Ltd. Delta Controls Honeywell Invensys Johnson Controls KMC Controls Liebert Lighting Control and Design Lutron Electronics Mammoth Siemens - SBT Trane

www..org/ York

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. ANSI/CEA 709.1(LON)

► Applications

• Networked communication in building control/factory automation

► Protocol description • Building Control protocol developed originally by Echelon Corporation and now defined in ANSI/CEA 709.1 – used within the LonWorks platform for network communications – primarily within building control • Defined to operate in a free topology network configuration with a twisted pair transceiver or work with a powerline transceiver– 709.1 standard defines physical layer implementation and all ISO layers to layer 7 – Application layer

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Nema DALI

► Protocol description 2 Wire Bus Power from DALI Control Half Duplex Comms via 1 wire DALI Data line Max of 63 addressable devices on 1 DALI bus.

► Baud Rate = 1200 bits/sec.

► Hardware platform • Modified UART based 1200 with Bi-phase Decode/Encode. + programmable STOP/START bits. • Interrupt on Receive and Transmit of Data. • Optical isolation required.

► Applications • Light Ballast, and being pushed as alternative for HBLED hi end.

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. DMX512

► Protocol description • Basically 3/5 wired protocol with 1 data signal constructed using 2 differential lines, common/ground and optional second set of Data lines. • Half Duplex communication running at bit rate 250Kbaud. • Level Shifted data from physical interface can be controlled via an 8bit SCI/UART with 2nd STOP bit insertion. (we have 9bit Data option)

► Hardware platform • UART based with programmable STOP bit size. • Differential mode output

► Applications • Standard Wired Comms Protocol used extensively in Industrial Lighting • Theatre Stage Lighting

• Exhibition Lighting

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. openACN: ACN standard “ANSI E1.17 -2006 Architecture for Control Networks”

► Protocol description • ACN standard “ANSI E1.17 -2006 Architecture for Control Networks” • Open standard for control of devices, aimed at entertainment technology • Developed by the Entertainment Services and Technology Association (ESTA). See ESTA's Control Protocols Working Group • openACN features: portable to different processors and IP stacks, support RLP, SDT and DMP

protocols, BSD licence • Currently openACN must be built from source code which is maintained in a Subversion repository.

Sourceforge ► Hardware platform • Typically runs over Ethernet • The protocol is designed to be layered on top of UDP/IP and therefore will run over standard, inexpensive Ethernet and 802.11 (Wi-Fi) network links. • ACN relies on UDP in order to pass its messages. Where reliability is required, the Session Data

Transport sub protocol allows semi-reliability of only the latest value for a particular "channel". ► Applications • Commercial Building Automation and Control • Home Automation and Control • It may replace DMX as the control protocol for lighting systems and will be used for controlling more complex devices like video playback servers (media servers) and audio mixers and has been proposed as the sole or primary transport for HD-MIDI.

www.engarts.eclipse.co.uk/acn/openacn.html en.wikipedia.org/wiki/Architecture_for_Control_Networks

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. enOcean

►Protocol description • Packets of data are transmitted at 120 kbit/s with the packet being 14 bytes long with a four byte data payload. RF energy is only transmitted for the 1's on the data, reducing the amount of power required. Three packets are sent at pseudo-random intervals reducing the possibility of packet collisions. Push switches also transmit a further three data packets on release of the switch push-button, enabling other features such as light dimming to be implemented. [4] • This technology also enables a wireless community of battery-free sensors to connect to transceivers that are powered for continuous operation. Therefore it can be used for wireless mesh networking (nonstandard mesh protocol). ►Hardware platform • Developed by EnOcean GmbH (a spin-off company of Siemens AG ) • Based around energy scavenging technology. An example is the ability to be powered from Peltier devices with a minimum of 2 degrees Celsius temperature difference on each side of a 15 mm square Peltier panel ►Applications • Home Automation and Control

en.wikipedia.org/wiki/Enocean

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. What is Ethernet AVB?

The IEEE 802.1 Audio/Video Bridging (AVB) is a comprehensive set of standards to enable high quality, low- latency streaming of time-sensitive applications to provide bandwidth and latency guarantees for streaming and interactive applications. This includes wired (802.3) and wireless (802.11)

These standards specify a means of providing • Time synchronization (IEEE 802.1AS, Level 2 1588) • Resource reservation protocol (IEEE 802.1Qat)

• Forwarding and queuing rules (IEEE 802.1 Qav)

The market includes applications requiring Isochronous or streaming service such as Consumer Electronics, Professional Audio/Video, Telecom, Instrumentation, and Automotive.

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Summary of HAN Standards Wired: ► Homeplug (Power line) • 3 separate protocols –Command and Control, HP 1.0, HP A/V ► MoCA (Multimedia over Cable Alliance) • AVHAN Focused • Primarily a North American standard where cable (coax) penetration is greatest • Chosen by Verizon ► HomePNA (cable and phone line) • Chosen by AT&T ► ITU G.hn • Attempt to come up with single standard for powerline, cable, and phone • Standard is in development ► CAT-5 • Not desirable for room to room networking in existing homes – the market wants no new cables.

Wireless:

► 802.11n (WiFi with Quality of Service) • Leading solution today for computer networking but not considered adequate for HD AV applications by service providers ► Wimedia (UWB wireless) • Current OFDM-based solution has bandwidth problems • CDMA UWB could be a long range solutions ► Zigbee • Well suited for MCHAN in many instances but not suitable for all applications including multiple family dwellings • Recently partnered with Homeplug at request of utilities to create a common applications layer for smart energy. ► Z-Wave • Used for existing home automation • Supported by Nokia

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Industrial Network Protocols

Protocol Use and Trends in Building Control

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 41 Networking Trends in Building Control

Standards in Building Control Networking “Is a bag of hurt”

►Multiple transport layer standards are being promoted for Powerline and Wireless ►Multiple application level standards are being promoted for Home Automation and Lighting Control ►Unclear application level standardization for Fire & Security and Metering

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 42 Building Control Transport Protocols

Building Automation Lighting Fire & Security Commercial Utility Meters HVAC Home Control Building Automation Automation

WiFi

< 1GHz Site & Inter- Equipment 802.15.4, ZigBee, WirelessHART, Z-Wave Wireless Bluetooth

Site & Inter- Ethernet Equipment Wired Powerline UART (RS232, RS485) UART (RS232, RS485)

Device Level SPI, UART, I2C, USB, SDIO, SSI

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Building Control Application Specific Protocols

Building Automation Lighting Fire & Security Commercial Utility Meters HVAC Home Control Building Automation Automation

BACnet BACnet

DLNA DLNA DLNA

LonWorks

HomePlug HomePlug (AV) HomePlug

PRIME DMX512

KONNEX DALI

X10 X10

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. IEEE® 802.15.4 Applications

WirelessHART™ Industrial Control

Building Control Cost Proprietary Smart ZigBee® Networks Energy (802.15.4 and Home SMAC) Control Medical Security Monitoring ZigBee® RF4CE Remote Control Gaming and Toys

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 45 The Internet of Things and WiFi

To Control To Connect

To Monitor To Interact

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 46 Metering Communication

Data Concentrator to Meter to Home Meter

WiMAX WiFi ZigBee ZigBee MBUS Z-Wave GPRS

Wireless Sub 1GHz NIVIS

HomePlug/HomePlug AV OpenMeter/PRIME HD-PLC KONNEX UPA LonWorks G.hn PLAN Wired (PLM)

Unclear: Consumer, Home Automation Supplier, Utility Utility, Appliance Manufacturer, IP Holder, STB Supplier, Smart Phone Supplier, HVAC Selector

Standard Supplier, Building Owner

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 47 Building Control Networking Trends

Sub-Segment Wired Trend Wireless Trend Installed base is primarily UART and Security systems moving towards Fire & Security proprietary based, with increasing trend short range wireless to simplify toward Ethernet based systems installation Wireless is used for hard to wire Many existing systems are UART based, Commercial Building sensors. Use of existing WiFi but a clear trend towards Ethernet based networks is preferred, but may Automation BACnet require too much power New construction increasingly includes Ethernet, but existing homes are ideal for ZigBee and Z-Wave compete for Home Automation Powerline. Lack of an established adoption as the dominant standard standard will slow adoption. X 10 is declining due to low reliability Competing standards for utility Competing Powerline standards for both connection from ZigBee to WiMAX, Utility Meters utility and home connection with slight trend towards ZigBee in home connection Competing UART based standards, all General interest in ZigBee and Z- require additional connection. X 10 is Wave, even some Bluetooth Lighting Control declining, and new competing Powerline applications. Expect strong growth standards are slowing adoption with LED lighting due to lower heat 2 Low level in system Expect SPI and I C to continue to be used for basic connectivity, with a trend towards USB and SDIO for more complex peripherals such as WiFi, firmware Freescale™ and connectivitythe Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. updates, and mass storage Flash MCF52 – V2 Core ColdFire MCU Roadmap MCF51 – V1 Core

General Purpose / Ethernet USB 1MB Low Power

MCF5225x MCF5216 MCF5282 Ethernet, CAN 10/100, CAN USB, Ext

512KB Bus, CAN

MCF51AC MCF52233/4/5 MCF5225x MCF521/2/3/4 Appliance MCF5281 MCF52223 10/100 + PHY MCF52236 Ethernet, CAN Motor 10/100, CAN 10/100 + PHY USB, Ext USB otg, 256KB CAN, Crypto Control Bus, CAN

MC51QE MCF51AC Ultra Low MCF52230/1 MCF52213 MCF51JM MCF52110 Appliance MCF52232 MCF51 MCF52211 Power 10/100 + PHY USB otg, USB otg, CAN, RTC Motor 10/100 + PHY CN128 USB otg,

128KB CAN 50MHz crypto Control Ext. Bus

MC51QE MCF52100 MCF51JM Ultra Low MCF51 MCF52210 MCF52212 RTC USB otg, CAN, Power CN64 USB otg USB otg, 64KB Ext. Bus 50MHz crypto

MC51FQE Ultra Low

32KB Power

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. MCF54 – V4 Core Core ColdFire MPU Roadmap Speed MCF53 – V3 Core MCF52 – V2 Core USB Ethernet Ethernet + USB Dual Ethernet + USB

MCF547x/8x MCF5445x PCI PCI CRYPTO CAN ATA V4 Core V3 Core MCF537x MCF532x 2* USB LCD Crypto Crypto

MCF5227x MCF523x MCF520x MCF5274/5 LCD eTPU UART CRYPTO Touchscreen, CAN I2C PWM CAN

V2 Core MCF5253 MCF5272 ATA, ADC USB 2* CAN PWM

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. Processors for Industrial Control, Networking and HMI High-End Networking P2020 QorIQ* MPC8640 1000 DMIPS and up P2010 QorIQ 4W - 10 W MPC8610 > $20 P1020 QorIQ* MPC8536 MPC8544 P1011 QorIQ High-End PLC/PAC MPC837x 500 – 1500 DMIPS MPC8360 Pin Compatible < 2.5 W – 5 W > $15

P10xx QorIQ PLC/PAC and HMI MPC5121e/23 300 – 800 DMIPS i.MX51x < 1.5 W MPC8314/15 < $10 - 20 MPC5xxx MPC8313 i.MX31 i.MX35x

i.MX27L I/O Control i.MX25x 200 – 400 DMIPS MCF5445x Power® < 1 W MCF532x ARM® < $10 ColdFire® Process Control MCF5227x MCF5xxx LCD Control ~100 DMIPS MCF52235 MCF5225x < 0.5 W < $5 MPC551x* 2 0 0 8 2 0 0 9

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 51 Industrial Control, Networking and HMI – CAN Support High-End Networking 1000 DMIPS and up ►CANopen can run fully on these 4W - 10 W processors with on-chip CAN > $20 controller

High-End PLC/PAC ►Other devices support CAN by 500 – 1500 DMIPS connecting external CAN controller < 2.5 W – 5 W > $15 • Freescale CAN PHY MCZ33897

P10xx QorIQ PLC/PAC and HMI MPC5121e/23 300 – 800 DMIPS < 1.5 W < $10 - 20 MPC51x

i.MX35x

I/O Control i.MX25x 200 – 400 DMIPS Power® < 1 W MCF532x ARM® < $10 ColdFire® Process Control MCF5227x MCF5xxx LCD Control ~100 DMIPS MCF52235 MCF5225x < 0.5 W < $5 MPC551x* 2 0 0 8 2 0 0 9

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 52 Q&A

►Thank you for attending this presentation. We’ll now take a few moments for the audience’s questions and then we’ll begin the question and answer session.

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or TM service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. 53 TM