You are on page 1of 67

Mike Gibson.

FAE Echelon Corporation

Introduction to LonWorks ® and LonMark ® Open Systems

May 11, 2011
11:00AM – 12:00PM

Agenda
• • • • Welcome and Introductions LONWORKS ® / LonMark ® the Mission LONWORKS - the Technology LONMARK® - the Organization

2

LONMARK
THE MISSION

Computer Network • • • • • • • • Standardized Compatible products Interchangeable Interoperable Customizable Cost-efficient Multi-vendor Freedom of choice 4 .

Computer Network Operator Interface Enterprise Solutions IP/Ethernet LAN Switch/Router Computer Network 5 .

Device Network • • • • • • • • Standardized Compatible products Interchangeable Interoperable Customizable Cost-efficient Multi-vendor Freedom of choice 6 .

History of LON – Adoption / Time

ISO Standard 14908 Further Standards Adoption – Buildings, Gas Stations, Kitchen Equipment – Homes, Buildings, Trains, Freight Trains, Semiconductor Manufacturing ASIA – Buildings, Controls, Homes Standardized as ANSI/CEA-709.1-B Became more commonly known as LON® technology or simply, LON

LonMark International

The LonWorks® Platform

1990 …

2011

rke Ma tA o pti do n

Larger Markets Served
• • • • • • HVAC/R Building Lighting Kitchen Equipment Transportation Home Automation Smart Grid

Integrated Building Automation

Remote Monitoring and Control

FIRE
Functionality checks Detector service Fire, Life, Safety

LIGHTING
Schedules Occupancy Sensing

LIFTS
Breakdown Maintenance Traffic Performance

SECURITY
Doors PIR Integration

COMMUNICATIONS
Voice/Video/Data

ACCESS
Doors Buildings Occupancy Feed Forward

24/7 Monitoring
Breakdown Plant Tuning Conditioned Monitoring Car Park Utilisation

ENERGY
Utility Monitoring (Elec/Water/Gas/Oil) Tenant Building Air/Water Heat Lighting Back-up Generation

HVAC
Air-Handling Unit Boilers Pumps Fans Energy Control Variable Air Volume Air Quality

E

G

W

LonWorks Connected Kitchen In-Store Applications • Food Production Management • Product Quality Monitoring • Equipment Configuration • Crew Management • Customer Interface Enterprise Applications • Operations Management • Inventory Management • Product Development • Equipment Performance • Remote Diagnostics & Repair Firewall / VPN / Router Store Ethernet / IP LAN LonWorks Interface Embedded Production Supervisor • Production Alarm Management • Operations Scheduler • Data Logging FT-10 FT-10 / PL-20 Router Lighting HVAC PL-20 Refrigeration Signage Drive-thru Control Kitchen Equipment .QSR .

New Markets • Street Lighting • Demand Side Management • Solar Energy .

Adopted – LON Is • Flexible. Simple. Secure. Accepted. Integrated • Standards Based – LON Is • Solid Technology Foundation – LON Is • Proven. Scaleable Solutions – LON Is • No Built-In Obsolescence – LON Is .Trends lead to Open. Reliable.

THE TECHNOLOGY LONMARK .

and Installation Standards • Network Infrastructure Standards • HMI/Installation Standards LONMARK System Definition • Standardized Device FB’s • Standardized System FB’s LONMARK Functional Profiles • Standard Data Types • Standard Configuration Properties • Function Blocks (FB) • Device data exchange • Standard Network Management • Network Variable Services LONMARK Object Model ANSI/EIA 709.LONWORKS Platform Open System Building Blocks Building an open system platform • Design.1 Communications Protocol 14 .

ISO/IEC 14908 ANSI/EIA/CEA-709.1 Protocol • An open standard protocol for control applications – Reference document available from Global Engineering • Protocol implementations are available from multiple vendors – – – – Protocol can be ported to any processor Echelon’s implementation is called the LonTalk® protocol Echelon’s Neuron® firmware includes the LonTalk protocol Echelon development systems include a royalty-free unlimited license to use the Neuron firmware implementation 15 .LonMark Standards .

EIA-709.1 Protocol Layers 709.1 Implements the ISO standard – 7 Layers Many other control protocols implement only 3 or 4 layers Application Presentation Session Transport Network Data Link Physical Physical Physical Media Media 16 .

infrared. Application Messages. Routers Framing.ANSI/EIA/CEA-709. Application Configuration. CRC Error Checking. power line.1 Protocol Layers OSI Layer 7 Application Purpose Application Compatibility Services Provided Network Configuration. File Transfer. Data Encoding.Polling). Application Specification. Alarming. fiber optic) 6 Presentation Data Interpretation 5 4 Session Transport Control End-to-End Reliability 3 2 Network Link Message Delivery Media Access and Framing 1 Physical Electrical Interconnect 17 . Duplicate Detection Unicast & Multicast Addressing. radio frequency. Foreign Frame Transmission. Scheduling Network Variables. Collision Avoidance. Predictive CSMA. Authentication Acknowledged & Unacknowledged Message Delivery. coaxial cable. Priority & Collision Detection Media-Specific Interfaces and Modulation Schemes (twisted pair. Data Logging. Network Diagnostics. Standard Types Request-Response (NWM.

1 Packet Layer 2 Layer 3 Layer 4 Layer 5/ 6 Layer 2 DATA Header Address Information Service Type Header CRC 2 Bytes Network Variable Selector Service Type ID Transaction Num Addr Format.A Typical EIA-709. Domain Length Source Addr (Subnet/Node) Dest Addr (Group) Domain ID (Zero Len Domain) Backlog Priority Alt Path 18 Unsigned Long 2 Bytes 2 Bytes 1 Byte 1 Byte 2 Bytes 1 Byte 0 Bytes 1 Byte 12 Bytes .

25Mbps 19 .Layer 1—Physical Layer Electrical interconnect – Transmission of bits over a communication channel (on the wire) 1 1 0 0 1 1 0 1 800ns @ 1.

4 ANSI/EIA/CEA-709.06kbps 1.25Mbps ANSI/EIA/CEA-709.2 Standard Yes Yes Yes Yes Yes PL-20N 3987bps ANSI/EIA/CEA-709.2 ANSI/EIA/CEA-709.4 ANSI/EIA/CEA-852 ANSI/EIA/CEA-709.3 EIA/TIA-232-E LONMARK Interoperability Guidelines Yes Yes Yes 20 .25Mbps N/A 2613bps 3987bps Definition ANSI/EIA/CEA-709.LONMARK Channel Types Name FO-20L FO-20S IP-852 PL-20A PL-20C Media Fiber Optic Fiber Optic EIA/CEA-852 IP Tunneling CENELEC A-band Power Line CENELEC C-band Power Line w/access protocol CENELEC C-band Power Line w/o access protocol Free Topology Twisted Pair RS-485 Twisted Pair Transformer-Isolated Twisted Pair Bit Rate 1.2 Yes TP/FT-10 TP/RS485-39 TP/XF-1250 78.25Mbps 1.13kbps 39.

Gigabit Ethernet) TP/XF-1250 Channel ~ 720 Peak / 576 Sustained PPS 1.25 Mbps FT-10 Channel ~ 220 Peak / 180 Sustained PPS 78 Kbps 5 Kbps PL-20 Channel ~ 20 PPS 21 .LONMARK Channels Types Some Common Standard Channels IP-852 Channel ~ 35.000 PPS on 10baseT(10 Mbit) scales with channel (100/1000 Mbit) Supports aggregation IP Backbone (Switched 100Mbit.

3-A TP/FT-10 Channel Singly-Terminated Bus Topology Star Topology Doubly-Terminated Bus Topology Mixed Topology Loop Topology = Termination • • Unshielded & Shielded Twisted pair – – Level IV.ANSI/EIA/CEA 709. 24AWG . CAT 5.16AWG Polarity insensitive wiring 22 64 (128 linked power) devices on a single channel segment .

Physical Layer—TP/FT-10 Link Power Actuator • Power and network data carried +5VDC power over a common twisted wire pair Sensor LPT-11 LPT-10 Device Node – Power is supplied by a common central power supply 48VDC 48VDC Power Power Supply Supply LPT-11 LPT-10 Node Device To additional LPT-11 LPT-10 Device nodes LPT-10 LPT-11 Node LPI-10 LPI-10 Link Power Interface Interface – No power supplies required in any of the devices in the network when used with the LPT-11 Link Power Transceiver – Supports free topology wiring architecture Device LPT-10 LPT-11 Node Device LPT-11 LPT-10 Node Device 23 .

n Priority Slots Non-priority Slots Packet Packet • Configurable priority messages – Reserved time slot – Reduces overall channel bandwidth • Priority slot number is assigned at installation time • No collisions possible during priority portion of packet cycle following preceding packet • Highest priority message has predictable response time 24 ..Link Layer—Media Access Priority Busy Channel Packet Cycle 1 2 3 ..

Layer 3—Network Layer • Message delivery 1 SUBNET 1 127 – How data frames are routed from a source device to one or more destination devices • Physical address 1 SUBNET 2 127 – 48-bit Neuron ID—used for initial configuration 1 SUBNET 3 127 • Logical addresses – Domain 127 GROUP 1 1 SUBNET 4 – Subnet – Node – Group 1 SUBNET 255 127 DOMAIN (32.385 Devices) Identifies subsystem on open media or large system Subset of a domain typically associated with a channel Identifies device within subnet Additional device identifiers independent of subnet 25 .

Subnet.or 4-byte network addresses Send messages to many devices using only a single 3-byte network address 26 . Neuron-ID • • • Optimize bandwidth with multiple addressing modes Application communications only requires 3. Group Destination All devices in the domain All devices in the subnet Specific device within a subnet All devices in the group Specific device Address Size (bytes) 3 3 4 3 9 Neuron ID Domain.Network Layer Addressing Modes Address Mode Domain-wide Broadcast Subnet-wide Broadcast Unicast Multicast Address Format Domain (Subnet = 0) Domain. Node Domain. Subnet Domain.

744.Network Layer Capacity • • • • • • • 18.446.086 domains 255 subnets per domain 127 devices per subnet 32.726.385 devices per unacknowledged group 27 .385 devices per domain 256 groups per domain 64 devices per acknowledged group 32.329.073.

LONMARK 709.Gigabit Ethernet) Connect channels together R R R Extend • Length • Devices count Isolate • Electronic noise • Network traffic R 28 .1 Network Routers IP Backbone (Switched 100Mbit.

1 Interfaces Workstations Laptop computers LONWORKS/IP Backbone (LAN-Switched 100Mbit.1 System Level Routing R Provides Direct LONMARK Object Binding (Connections) 29 .LONMARK 709.1 Network Routers Application Frameworks with 709.Gigabit Ethernet or WAN/Internet) R 709.

Layer 4 .999% probability of delivery S RepeatedUnicast or Multicast R Unacknowledged One message per transaction Conserves network bandwidth and provides highest performance S R Unacknowledged Unicast or Multicast Duplicate detection prevents repeated messages to the application 30 .Unicast S R R R R Acknowledged .Multicast Repeated Configurable number of messages per transaction Conserves bandwidth with large groups Better response time Three repeats provides > 99.Transport Layer Provides reliable delivery of message packets Three message delivery services Acknowledged Sending device requires acknowledgment from all receiving devices All acknowledgments are end-to-end Automatic retries if acknowledgement not received S R Acknowledged .

and requesting other remote actions • Authentication – Verifies identity of message sender… 31 . fetching values.Layer 5 .Session Layer • Adds control to the data exchanged by the lower layers • Request/response service R R R S R S R – Used for device management.

Session Layer Authentication Sender Authenticated Message 64 bit Random Challenge Key used to transform challenge Challenge Response Acknowledgment Receiver Key used to compare response to value transformed locally. • Verifies identity of message sender • Uses a 48-bit secret key known by each device • Sender must provide correct reply to 64-bit random challenge from the receiver 32 .

Interoperability Guidelines • Data interpretation – Standard representation of data types • Standardized functional behavior of a nodes – LONMARK objects – encapsulated network interaction of defined functions • Standardized support of smooth and trouble free installation – Self documentation of a network oriented external interface – Guidelines for Network Management 33 .

001 rads 0.65 0 ..6271 0 .65535 0.100% 30 Chars 0 .5% N/A 1 Count Ref: SNVT Master List und Programmer’s Guide .1 0.1 m/s 1 msec 0.6553 0 .65535 days 0 .Standard Network Variable Types Are The Core Of Interoperability SNVT_temp SNVT_angle SNVT_speed SNVT_elapsed_tm SNVT_lev_cont SNVT_ascii SNVT_count Temperature Phase/Rotation Speed Elapsed Time Continuous Level ASCII String Events Degrees Celsius degree Radians Meters/Sec HH:MM:SS Percent Characters Count -274.

Layer 6 .Presentation Layer Room Temp Temp Set Point Temp Sensor (Made in USA) Boiler System (Made in Europe) 23 Setpoint Display (Made in Korea) Set Point • Data exchanged using network variables – Propagation automatically handled by Neuron firmware – Provides fastest and most compact code • Devices from different manufacturers can exchange data with a common interpretation .

100% Control Knob Intruder Alarm Key Pad Arm / Disarm Alarm Bell • Sensors “publish” information. and actuators “subscribe” to the information of interest to them! 36 .Presentation Layer—Using Network Variables Motion Room Occupied Brightness Feedback Motion Detector Key Code Lamp 0% .

Presentation Layer—Adding Devices Motion Room Occupied Brightness Feedback Motion Detector Lamp 0% .100% Key Code Control Knob Intruder Arm / Disarm Alarm Key Pad Alarm Bell • Devices are logically connected (“bound”) together without affecting the application program in the device! 37 .

Presentation Layer Standard Network Variable Types 38 .

9 degrees F 39 .4 degrees C 84.9 degrees F 52.Presentation Layer—Standard Formatting • Standard formatting for standard types ensures consistent data presentation in tools and HMIs • Example – A SNVT_temp_p value of 2940 is displayed as follows: 29.

Application Layer Configuration Properties 40 .

Application Layer—Network Configuration and Diagnostics Network Management and Diagnostic Messages Query Status Proxy Command Clear Status Query Transceiver Status Query ID Respond to Query Update Domain Leave Domain Update Key Update Address Query Address Query Net Variable Config Update Group Address Data Query Domain Update Net Variable Config Set Node Mode Read Memory Write Memory Checksum Recalculate Wink Memory Refresh Query SNVT Network Variable Fetch Device Escape Code • Common standard foundation for network installation and diagnostic tools 41 .

Layer 7—Application Layer • Defines standard network services that use data exchanged by the lower layers – – – – – – – – Network configuration Network diagnostics File transfer Application configuration Application specification Alarming Data logging Scheduling 42 .

Application Layer— Application Model • Functional block – Portion of a device’s application that performs a task – Receives configuration and operational data inputs – Processes the data – Sends operational data outputs 43 .

Temp Send on Delta nvoFixPtTemp SNVT_temp nvoFloatTemp SNVT_temp_f nv2 nv3 Optional Network Variables Optional Configuration Properties Optional Configuration Properties nc70 .Functional Profile: HVAC Temperature Sensor HVAC Temp. Sensor Functional Profile: 1040 nv1 nvoHVACTemp SNVT_temp_p Mandatory Network Variable Mandatory Configuration Properties Mandatory Configuration Properties nc49 .Max Send Time nc52 .Temperature Offset 44 .Min Send Time nc64 .

Application Layer—Alarming Node Object Mandatory Network Variables nv1 nviRequest SNVT_obj_request Optional Network Variables nv3 nviTimeSet SNVT_time_stamp nv10 nvoAlarm2 SNVT_alarm_2 nvoAlarm SNVT_alarm nvoDateResync SNVT_switch nvoFileStat SNVT_file_status nvoFileDirectory SNVT_address nvoLogStat SNVT_log_status nv2 nvoStatus SNVT_obj_status nv4 nviDateEvent SNVT_date_event nviFileReq SNVT_file_req nviFilePos SNVT_file_pos nviLogReq SNVT_log_req Configuration Properties Mandatory Optional • Standard alarm reporting output. includes: – – – – – Alarm type Alarm priority Alarm time Sequence number Alarm description nv9 nv11 nv5 nv6 nv7 nv8 nv12 nv13 Device Major Version Device Minor Version Functional Block Major Version Functional Block Minor Version Location Maximum Status Send Time Minimum Send Time (Send Throttle) Network Configuration Source • Ensures consistent reporting of alarm events 45 .

Application Layer—Scheduling Calendar Mandatory network variables Optional network variables nv1 nviDateResync SNVT_switch Configuration properties Mandatory Schedule Dates Optional Effective Period Minimum Send Time Object Major Version Object Minor Version Override Behavior Override Value Schedule Name nv1 nvoDateEvent SNVT_date_event nv2 nviEnable SNVT_switch Configuration properties Mandatory Default Output Schedule Array ScheduleTime-value Pair Array Value Definition Optional Delay Time Effective Period Maximum NV Length Maximum Send Time NV Type Object Major Version Optional network variables nv1 nvoPresentValue SNVT_xxx Scheduler Mandatory network variables Object Minor Version Override Behavior Override Value Schedule Name Value Name Weekly Schedule • Standard profile for identifying events based on date and time • Supports scheduling applications that work with scheduling devices from multiple manufacturers 46 .

Application Layer—Data Logging Data Logger Mandatory Network Variables nv1 nv1 nviDataValue nviDataValue SNVT_xxx SNVT_xxx nviClear SNVT_switch Optional Network Variables nv4 nvoStatus SNVT_switch nv2 nv3 nviEnable SNVT_switch Configuration Properties Mandatory cpLogCapacity cpLogNotifyThreshold cpLogSize cpLogType nv5 nvoLevAlarm SNVT_alarm_2 Optional cpFanInEnable cpLogAlarmThreshold cpLogHighLimit cpLogLowLimit cpLogMinDeltaTime cpLogMinDeltaValue cpMaxAlSendTime cpMaxFanIn cpMaxNVLength cpMaxSendTime cpNVType cpObjMajVer cpObjMinVer cpPollRate cpSourceAddress cpTimestampEnable • Standard profile for collecting data in a log – Currently if final review by the LONMARK BAS Task Group • Collect data locally • Archive data remotely • View data locally or remotely 47 .

only 15% overhead for acknowledgements – Allows recovery from a lost packet within six packets 48 .Application Layer File Transfer Protocol • Standard service for transferring large blocks of data • Data stream sent in six packet data windows – Five unacknowledged application message packets – Followed by one request/response application message packet • Avoids overhead of acknowledging every packet – 85% of packets contain data.

1 Interfaces Workstations Laptop computers LONWORKS/IP Backbone (LAN-Switched 100Mbit.Gigabit Ethernet or WAN/Internet) R 709.LONMARK 709.1 System Level Routing R Provides Direct LONMARK Object Binding (Connections) 49 .1 Network Routers Application Frameworks with 709.

Non 709.1 Network Routing Thin (Web) Clients Windows Workstations (Gateway software) Laptop computers (Gateway software) IP Backbone (LAN-Switched 100Mbit.Gigabit Ethernet or WAN/Internet) G Gateways G LONMARK Controllers 50 .

LONMARK Configuration Frameworks User Interfaces Installation / Configuration Plug-in Tools Windows Workstations (with Web gateway) Laptop computers Thin (Web) Clients LONWORKS/IP Backbone (LAN-Switched 100Mbit.1 System Level Routing R 51 .Gigabit Ethernet or WAN/Internet) R 709.

1 connectivity Windows Workstations (with Web gateway) Laptop computers Thin (Web) Clients LONWORKS/IP Backbone (LAN-Switched 100Mbit.LONMARK System Architecture GUI with 709.Gigabit Ethernet or WAN/Internet) R 709.1 System Level Routing R G G Legacy Devices 52 Option al Web/X ML Gatew ay .

25 Mbit TP 53 .LONMARK Standards A System Architecture Overview Gateway 852 1.

LONMARK XML Standards Functional Profiles into XML SNVTs and SCPTs into XML and XIF Files into XML (coming soon) 54 .

THE ORGANIZATION LONMARK .

LONMARK Devices Guarantee Interoperability • LONMARK International – Independent Industry Association – Established in 1994 – Task groups focus on specific industry requirements – Define device SNVTs.lonmark. IP connectivity LONMARK Logo • What we provide – Interoperability design guidelines – Product conformance testing – Marketing assistance • LONMARK Stamp of Approval Means Devices Will Interoperate www.org . Profiles. Objects.

develop. and certify truly interoperable products • To deliver a comprehensive educational programs and professional certification testing program . interoperable systems using LONMARK certified products • To define.LONMARK Purpose • To promote interoperable products and collaborative marketing programs • To provide a forum to define application-specific design requirements • To create market demand for open.

Who is LONMARK International? • • • • Non-Profit Trade Association Independent. member supported organization Strong LONMARK Board of Directors Sponsor Companies – – – – – – – – Honeywell International McDonald’s Corporation Philips Schneider Siemens Trane Echelon Distech • World wide staff support .

LONMARK Membership .

1 LON is a China National Standard ASHRAE accepted and referenced standard Working with CECED (appliances) and IFSF (forecourts) on European standards • Joint effort with NAFEM on Kitchen Equipment standards • Working with various governments to create country specific national standards • Pursuing ISO standardization .Standardization Activities • • • • LON is an ISO standard: ISO 14908.

lonmark.Integrator Testing/Certification Program • Program to deliver a comprehensive professional testing and certification – Certified Professional – Certified System Integrator • Web-based exam • www.org/testing .

tech info.lmimagazine. applications • More info: www.LONMARK Magazine • • • • • Quarterly magazine European Edition International Edition Self funding through ads Great resource of case studies.com • Free subscription .

Activities • Global – Interactive Technology Demonstration with members products in a single integrated system • Permanent setup for worldwide access • Continuous upgrades. enhancements • Take to various trade events – Educational/Trade Show events • • • • • • AHR LONMARK Sessions LonCom LONMARK Sessions ISH – (Frankfurt) LIGHTFAIR Connectivity Week Electrical Building Technology Guangzhou (China) .

diagnostic tools. schedulers.The Future of LONMARK • Development new of LONMARK standards – – – – LON/IP-852. network management tools. Gateways • Professional Certification programs . alarm managers) • Product Certification – Certification of Programmable Controllers – Certification of Routers. Interfaces.1 – new enhancements oBIX – XML standards Referenced within standard ASHRAE specification Enhance profiles (data loggers.

initiatives. and tools • Focus on education .Summary • Demand is growing for open systems • LONMARK is expanding to meet the market needs • We are committed to – – – – – Expanding the market for LONMARK certified products Enhancing the standards as technology advances Providing value for our members Increasing the number of certified products Enhancing the success of our members • Develop new programs.

org – www.Getting Started • Where do I go for help? – www. Data Sheets. Brochures.org – www.lonmark. White Papers – Just ask… • Join the LONMARK organization 66 . Success Stories.lonmarkamericas.com • Attend training classes – Classes are available for anyone on a variety of subjects • Suggestions for a good Consulting Engineer? – Several very knowledgeable engineers are specializing in open systems • More information? – CDs.echelon.

Thank You ! • Questions 67 .