knxlab tutorial

20
EIB/KNX-TRAINING AT THE ICT’S CENTER OF EXCELLENCE ASSIGNMENTS

Upload: majid-mohammadian

Post on 14-Apr-2015

125 views

Category:

Documents


0 download

DESCRIPTION

for KNX

TRANSCRIPT

Page 1: KNXLab Tutorial

EIB/KNX-TRAINING AT THE ICT’S CENTER OF EXCELLENCE

ASSIGNMENTS

Page 2: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

2

TABLE OF CONTENTS 1. EIB/KNX training at the ICT’s Center of Excellence ......................................................................... 3

1.1. History background........................................................................................................................... 3 1.2. Ongoing work – building automation laboratory.............................................................................. 3 1.3. EIB/KNX @ ICT .............................................................................................................................. 4

2. ETS Quick Start. Basic functions ........................................................................................................ 5 2.1. Assignment 1. Basic function “Switch”............................................................................................ 5 2.2. Assignment 2. Basic functions “Dimming/Shutter control” ............................................................. 7 2.3. Assignment 3. Basic function “Global OFF”.................................................................................... 8 2.4. Assignment 4. Unloading devices..................................................................................................... 8

3. Building automation functions .......................................................................................................... 10 3.1. Assignment 1. Project planning. Building automation ................................................................... 10 3.2. Environment description ................................................................................................................. 10 3.3. Assignment 2. Diagnostics. Device information............................................................................. 11 3.4. Assignment 3. Group telegrams: “Read” ........................................................................................ 11 3.5. Assignment 4. Group telegrams: “Send/Read value” ..................................................................... 11 3.6. Assignment 5. A single room temperature regulation .................................................................... 12 3.7. Assignment 6. Shutter safety function ............................................................................................ 12 3.8. Assignment 7. Project documentation, project archiving ............................................................... 13 3.9. Assignment 8. Floors-overlapping function.................................................................................... 13

4. Analysis of the EIB-Telegrams with the EITT.................................................................................. 15 4.1. Pre-assignment. Telegram analysis................................................................................................. 15 4.2. Assignment 1. Trace window.......................................................................................................... 15 4.3. Assignment 2. Sequence window ................................................................................................... 16

5. EIB/KNX training places at the ICT ................................................................................................. 17 5.1. Functionality. Components for the basic installation...................................................................... 17 5.2. Additional components ................................................................................................................... 18

Appendix A ................................................................................................................................................ 20 Workflow ............................................................................................................................................... 20

Page 3: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

3

Fig.2 LonWorks installation

Fig.1. Center of Excellence

INTRODUCTION 1. EIB/KNX training at the ICT’s Center of Excellence

1.1. History background Now for over a decade, the Institute of Computer Technologies (ICT) has been acquiring substantial knowledge on various aspects of control networks (fieldbus systems). They have been presenting the major areas for research and scientific work at the ICT. Both scientific and industrial research projects as well as training courses for students and interested experts have been organized and finished successfully. The Center of Excellence for fieldbusses was first and foremost planned as a source of information and support for industrial users of the fieldbus systems. The initial set-up was implemented in cooperation with the Institute of Electrical Measurements und included multi-vendor workbenches for the systems like CAN, EIB, FireWire, Interbus, LonWorks, P-Net and Profibus. Beside the transfer of the Know-How to the fieldbus users, the Center of Excellence performs the following functions: theoretical and practical support of the interoperability tests (on the base of the multi-vendor installations), assistance with systems planning and start-up, participation in the national and international standardization committees as well as student trainings in the course of the university study and performance of trainings for industrial partners, and organization of seminars and conferences.

1.2. Ongoing work – building automation laboratory Since not only industrial automation but also building automation has always been an interesting area for ongoing research activities, the construction of a Building Automation laboratory was initiated. The laboratory is designed to build on students’ understanding of the planning, installation and programming of the main building automation and management systems, like EIB/KNX, LonWorks and BACnet. Laboratory activities can include basic research, full-scale prototype design, field testing, as well as development of effective application principles. The courses offered for students at the laboratory will introduce underlying principles of building automation and control systems, related concepts, terminology and activities. Students will also study methods of commissioning and configuration of the networks. The course will lay a foundation of broad and general building automation concepts and provide students with sufficient instrument and control background to take full advantage of available technologies. The LonWorks set-up was updated in December 2003 and is now used also for distance education project, in which students from the TU Perm (Russia) access it during their practical works on the courses “Interfaces for Automation Systems” and “Real-Time Systems”.

Page 4: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

4

Fig. 3. EIB/KNX installation

1.3. EIB/KNX @ ICT The EIB/KNX set-ups (Fig. 3, described below) give an overview of the instabus EIB-products palette and are intended to make the advantages of the EIB/KNX-technology (simplicity of installation, configuration and maintenance, and high price/performance rate) understandable for the trainees. Beside the fixed installations, there are additional components available (switches, temperature regulators, motion detectors, etc.), which help to easily extend the present functionality and to vary complexity of the laboratory works. Further, a weather station and some radio communication devices can be installed in the laboratory. Practical exercises (described in the next chapters) will help to get familiar with EIB/KNX technology, from wiring to project development and diagnostics, components configuration and programming, and telegrams analysis. As long as remote access is an integral component of all building automation systems, the laboratory can take advantage of this feature and can later be connected to the system of distance education, which was designed and successfully tested within the scope of cooperative work with the TU Perm (Russia). The developed remote control model and networking capability deliver interactive technical training to a large number of distant trainees, independently of their location. They will be able to access every single piece of the equipment within the laboratory over the Internet in a unitary and useable way, which makes using of the laboratory facilities much more efficient.

Page 5: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

5

2. ETS Quick Start. Basic functions

2.1. Assignment 1. Basic function “Switch” Goal

to learn project planning, configuring devices, establishing connection between a PC and the EIB/KNX-installation, uploading individual addresses and applications.

Task to realize a simple switching of lamps by means of a 2-fold push button, a dimmer and a

load switch, whereas the left rocker switches the lamp L on/off with the correspondingly upper/lower push, and the right rocker switches over the light group D.

Flow of work

1. Create a new project. 2. Define a building infrastructure. Do not forget to include a distribution board with the

power supply and the interface for the installation. Consider that the power supply and the interface belong to the same line (1.1).

3. Insert the necessary devices, define their individual addresses:

– dimmer UP 525/02 (use its push button functionality); – dimmer N527/02; – load switch N510/03.

Page 6: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

6

4. Define group addresses: – L on/off; – D on/off.

5. Set up the parameters of the devices and link their communication objects to the

appropriate group addresses. Consider the sending option of the communication objects.

6. By means of the ETS menu item Extra -> Options -> Communication configure and test

the connection interface.

Page 7: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

7

7. Go online. Download the individual addresses and applications into the devices.

8. Test functionality on the workbench.

2.2. Assignment 2. Basic functions “Dimming/Shutter control” Task

to realize dimming function and shutter control: the outer left rockers of the 4-fold push button dim the light group D, the centre left rockers control slats position and shutter motion.

Flow of work

1. Insert the necessary devices: – sunblind switch N523/02; – push button UP245 (application 241301).

2. Set-up appropriate parameters for the 4-fold push button and the sunblind switch.

Page 8: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

8

3. Define new group addresses: – D dim; – Shutter up/down; – Slats open/close.

4. Link the communication to the appropriate group.

5. Download the individual addresses and applications into the devices. 6. Test functionality on the workbench.

2.3. Assignment 3. Basic function “Global OFF” Task

to realize a central function OFF, which is activated with a 1-fold push button and leads to switching all the lights off and moving the shutter up.

Flow of work

1. Insert a new device – push button UP 116/01.

2. Set OFF-parameter for both upper and lower push. 3. Define a new middle group “Global functions” and a group address “Light OFF” and link

the communication objects of all the devices used for the “Light OFF” function to this group address.

4. Download the individual address of a new device and updated applications of the

previously used devices, which were changed. 5. Test functionality on the workbench.

2.4. Assignment 4. Unloading devices Goal

to learn how to bring programmed devices (with uploaded physical address and applications) to their initial state (Phys. Address = FFFFhex, no group address, no application);

to learn how to find out physical addresses of the devices on the bus.

Flow of work

Page 9: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

9

1. In the “Building” or “Topology” window, select the 2-fold push button (UP 525/01) and the load switch.

2. Choose the menu item “Unload” (Commissioning -> Unload or use mouse right-click on the selected device(s)).

3. Start the unloading process by pressing “OK”-button. 4. Check if the devices applications were successfully unloaded: try to manipulate the push-

button on the workbench. Does it work? 5. Check if the devices’ physical addresses were unloaded

successfully: use a section “Device(s) in Programming mode” of the diagnostics-window “Individual Addresses” and press programming button of the UP 525. Which address was loaded to the device?

6. Unload the other devices of the project.

Page 10: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

10

3. Building automation functions

3.1. Assignment 1. Project planning. Building automation Goal

to learn how to check the project correctness (disgnostics); Task

to realize a complex home automation system: For the environment (see description below) define a home structure (with several rooms) and proper group addresses. Work out your own solution and discuss it with colleagues in small groups.

3.2. Environment description The 2-fold push button (on the dimmer UP 525) switches the lamp L on/off with the left rocker. The right rocker moves the shutter up and down. The right LED-indicator shows when the shutter control is overlapped with the wind alarm function. The 4-fold push button controls the lamps D and H: the left outer rocker switches the D lamp on/off, the left middle rocker is used for switching the H lamp on/off and dimming it, the right middle rocker sends value to D (up=65%, down=33%). The 1-fold push button (UP 116/01) activates central OFF function (entire lighting off, shutter up). The left rocker of the 2-fold push button (UP 116/11) switches the entire lighting on/off. Optionally: motion detector switches the lamp L on.

Flow of work

2. Create a new project. Give a proper name, give in suitable project description and a “customer” details.

3. Define the home structure with several rooms. Hint: every time try to use different ways of working with ETS (a toolbar button, or menu item, or pup-up menu of the mouse right-click).

4. Put the proper main and middle groups of group addresses (either 2- or 3-levels).

NB: the neighboring working places must have the same group addresses forfurther implementation of the central floor-overlapping functions!

5. Define a bus topology (with Bus Topology View). NB: assign the bus area with the number of your working place!

6. Add the devices from the catalog to the appropriate rooms in the building view, give them suitable descriptions, and set their parameters.

7. Define proper group addresses and assign them to the communication objects of the devices correspondingly with the environment description.

8. Assign the physical addresses to the devices (using Topology view). Hint: the accurate descriptions will help for a better overview of the devices.

9. Diagnostics task (Projekt prüfen): – proof, if all the devices have physical addresses assigned, – proof, if all necessary system devices (power supply, drossel choke, interface, etc.) are

included into the project;

Page 11: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

11

– proof group addresses (all group addresses should be assigned to devices, and every device should be assigned to at least one group address).

10. Load physical addresses, and afterwards applications to the devices. 11. Test the functionality on the workbench.

3.3. Assignment 2. Diagnostics. Device information Goal

to learn how to carry out the diagnostics of the system and read device information.

Flow of work

Use menu item “Diagnostics” to 1. find a device on the bus: using the “Building view” window, choose a device and send a

command “blink” to its addressing-LED; 2. find out if a physical address is used; 3. find out a physical address of a device on the bus (switch it to the addressing mode and find

“All devices in addressing mode” in the Diagnostics window); 4. find all devices, which belong to the same line. 5. read the information of a push button (Which AST-type is used? Which mask version has the

BCU? Is the application program running? Is the addressing mode activated? Is power supply in order?). Press the learning pin of the push button. Read updated device information. What has been changed?

6. read device information of a push-button. Intentionally load wrong application to the device. Read device information once again. What has been changed?

3.4. Assignment 3. Group telegrams: “Read” Goal

to learn how to read group telegrams on the bus for diagnosis purposes.

Flow of work

1. Open a dialog window “Group telegrams”. 2. Start the telegrams logging (use appropriate button on the toolbar or a menu item) and press

some of the push-buttons of your workbench. 3. Stop the telegrams logging. 4. Choose a filter to sort out telegrams for the L lighting. Activate the push-buttons responsible

for L functioning. 5. Analyze the received telegrams.

3.5. Assignment 4. Group telegrams: “Send/Read value”

Goal

to learn how to send group telegrams on the bus for diagnosis purposes or to read values.

Flow of work

1. Send a telegram to the bus: – Select a group address “L on/off” in the Group addresses view.

Page 12: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

12

– In the pop-up menu appearing on the mouse right-click, choose “Read/Send value”. Choose the “Send” tab. Type a value “0” or “1” in and send the command to the bus.

2. Read a value from the bus: – If the “Read” tab is chosen, the marked group address will be displayed. After pressing a

button “Read”, the ETS tries to read the actual value of the object, for which the selected group address is defined as a sending one.

– Why do you get no response to your read request? What should you change to get a proper response?

3.6. Assignment 5. A single room temperature regulation Task

to realize a single room temperature regulation with RTR, with additional conditions: – if a window is open (a signal from a window contact or simulation via a push button

interface), the “Frost protection” mode is activated, and a temperature is reduced to the defined level. This function helps to save high energy costs.

– with an external timer, the mode “Night temperature reduction” will be activated (the timer simulation via a push button interface).

– the status of the RTR should be displayed and controlled via an operator panel UP585.

Flow of work

1. Insert necessary devices into the project, set up their parameters. Hint: use the inputs of a push button for simulation of a timer and open windows.

2. Define proper group addresses, assign them to the communication objects of the devices. 3. Pay attention to the proper programming of the operator display panel UP585! 4. Load physical addresses and applications to the devices. 5. Test the programmed functionality on the workbench, simulating external activation of the

night temperature reduction mode, or frost protection mode. 6. Switch between Standby/Comfort modes using the operator panel UP 585. 7. Use diagnostics tool to read the actual temperature value.

3.7. Assignment 6. Shutter safety function Goal

– to extend the project with a safety function. There is a risk for closed lamellas to be damaged with a sudden windflaw (e.g. with a summer thunderstorm). The same holds for marquee, which are very often used in summer, or for winter garden ventilation windows and production workshop roof light. To avoid damage, they should be driven up with a coming danger.

To implement this safety function, there is an object “Safety”, commonly realized for shutter switches . This object initiates the safety function if a connected wind sensor or a BUS weather station sends a signal of a strong wind (optionally this can be done with rain sensor, if a protection from rain is required). After the safety function receives the first alarm signal, there is so called “control time”. Within this period at least one “0” telegram should be sent. In this case, not only a windflaw (then “1” is sent) will initiate the safety function, but also a sensor breakdown (device or wire crash) will be noticed.

Page 13: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

13

Hint: shall the safety function be activated, the proper communication object should be assigned to a cyclic sending sensor. Otherwise the shutter switch drives the shutter up (to the safe position), and every attempt to manually (using a push button) move the shutter will be unsuccessful until there is a “0” telegram sent to the safety object. For this task, a new group address is needed, which will be assigned to a binary input (=”wind sensor”), to a safety communication object of a shutter switch, as well as to a communication object of the display panel.

Flow of work

1. Define a new group address “Wind sensor” in the main group “Floor-overlapping functions”, middle group “Shutter”.

2. Link one input channel of a push button interface and a shutter switch with this group address.

3. Pay attention to the programming of the binary input: – for this channel, unmark the “Write” flag; otherwise it will be overwritten with “0” of the

acknowledgement telegram of a display panel, and the shutter will move in spite of the alarm. Alternatively, you can define a separate group address for the acknowledgement telegrams.

3. Set parameters for the shutter switch: – enable the safety function of the device; – set reasonable control time;

4. Load the changed applications to the bus participants. 5. Test functionality on the workbench. 6. Disconnect the binary output. Wait for the control time expires. How does the shutter switch

behave? Why? Simulate a power breakdown (use reset-switch of the choke). How does the shutter switch behave? Why?

3.8. Assignment 7. Project documentation, project archiving Goal / Flow of work

1) print out various reports from project documentation; 2) save the project data as a separate file.

3.9. Assignment 8. Floors-overlapping function Goal

to realize a central OFF function, which covers not only one room or one floor, but the entire house.

Flow of work

1. On one of the working places, change the functionality of the system (e.g. assign push-buttons to other lamps). Plan some floor-overlapping function.

2. Correspondingly change the home structure (add a new building part /”1st floor”/ and rooms), insert devices used for the new scheme and assign them new physical addresses accordingly to the new topology. Load physical addresses to the devices. NB: do not forget a line coupling unit!

3. Define new group addresses and assign them to the proper communication object of the bus components.

Page 14: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

14

4. Load the applications to the devices. Test functionality Remember that group addresses for the floors-overlapping functions must be the same like for the previously planned structure and functionality!

5. Load the physical address and the application to the line coupling unit. 6. Test a central OFF function for switching the all lighting off (on two neighboring working

places).

Page 15: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

15

4. Analysis of the EIB-Telegrams with the EITT

EITT serves to test the compliance of EIB devices to the EIB Interworking Standards (EIS) and (if applicable) to the agreed EIB Management Services. It serves furthermore to check the product functions as described by the manufacturer. A single EIB device is connected to an EIB network, all inputs to this device are simulated by EITT. Automatic test procedures are set up to check the expected answers. The EIB device is referred to as BDUT (bus device under test, Figure 4). Manufacturers may use EITT to test the compliance of their developed EIB devices prior to their submission to the EIB Certification Procedure. EITT is also able to check and interpret the telegram structure on the bus.

Goal

to learn: 1. how to find out what happens on the bus; 2. how the communication works; 3. how to interpret the telegrams; 4. how to create a telegram; 5. how to create a sequence of telegrams.

Fig. 4. The Trace Buffer collects all transmitted and received telegrams

4.1. Pre-assignment. Telegram analysis Analyze the following telegrams (telegrams structure, etc. will be provided):

BCA1FA000CE400802C0C0C BCA10A1002E10081 BCA10A1002E10080

4.2. Assignment 1. Trace window The Trace Window displays all telegrams sent by EITT and all telegrams received from the bus. Carry out the following tasks and analyze what you see.

Flow of work

1. Open a new trace buffer. Connect EITT to the EIB-installation. Activate the bus monitor mode. Push the lighting switch or any other button of the EIB-system and watch the trace buffer.

2. Display Filter: – Check out the display filter options (only sent/received). – Check the actual services in your trace buffer by display services. – Check the format of group addresses.

EIB

Bus Device Under Test (BDUT), consisting of product and application

Page 16: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

16

3. Telegram Filter: – Create a filter, e.g. which displays only L2 telegrams on the trace buffer.

4. Trigger Function – Create a trigger filter, which shows only the three telegrams appeared before and three

telegrams appeared after you have pushed a light switch. 5. Show Telegram Window

– Open the “Show Telegram Window” with the mouse double-click on the telegram. The telegram will be interpreted according to EIS type, if assigned (you can reassign EIS-type prior to watching the “Show Telegram Window”). Check out this feature. Select the correct EIS Object.

6. Disable all filters and trigger function.

4.3. Assignment 2. Sequence window The creation of the telegrams to be transmitted and to be expected is called a sequence. EITT generates an initial sequence called ‘Telegram Sequence 1’ when a new EITT document is created. Later the user may add further sequences as parts of this document. Each sequence relates to exactly one Sequence Window, which is characterized by its name. To create a telegram for the given object press the control button and enter the object number.

Goal

Work with the sequence windows to understand how the telegrams are created and executed.

Flow of work

1. Telegram Transfer from Trace Buffer to other windows – Copy a telegram from Trace Buffer to Telegram Sequence 1. Check the telegram direction

In/Out. Start the sequence. – Create a sequence, which switches the lights in turn. Start the sequence. How can you

change the rate? 2. Management Telegram:

– Create a sequence, which read the physical address of a BCU. 3. Faulty Telegrams:

– Create a faulty telegram: enter incorrect bit values in fields, which are not accessible via the EIS or Management Windows.

After the telegram data is checked, the result will be displayed below the edit field “faulty!”, showing that the entered data do not make up a valid telegram.

Page 17: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

17

5. EIB/KNX training places at the ICT

5.1. Functionality. Components for the basic installation For implementing the above mentioned laboratory works, each EIB training set-up is equipped to present main home automation functions: • Lighting

- switching downlight or wall lamps on/off, dimming function; - optional: lighting control in different scenarios.

• Heating - control of heating devices to keep required room temperature, also to save energy with

night temperature reduction and activation of frost protection by open windows (night reduction and open windows are activated via inputs of a push button).

• Sun protection - lighting/climate control; - “wind alarm” function.

• Safety Function - programmed actions by open windows, wind alarm.

The presented functionality is achieved by means of the following equipment (where available, the settings are given, loaded in the default project):

Data rails, connectors, line couplers

Power supply unit N 125/21

USB interface UP 146

Dimmer UP 525/01 with 2-fold push button UP 243, load: H

Default settings

1.1.1

D on / off/ dim Sunblind control

4-fold push button UP 245 + bus coupling unit UP 110

Page 18: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

18

Default settings

L on / offD on / off/ dim D value

Sunblind control

1.1.2

1-fold push button + bus coupling unit UP 116/01

2-fold push button +bus coupling unit UP 114/02

Default settings

1.1.4

"Wind alarm" Light OFF

"Night" "Window open"

Load switch N 510/03 (4 channels), load: channel D = L

Universal dimmer N 527/02, load: D

Shutter switch UP 523/02, load: channel A

Room temperature regulator 231/03 + bus coupling unit UP 114

5.2. Additional components Optionally, by means of additional components, the existing functionality of the basic installation can be replaced/extended by:

displaying of status/indications of different components and controlling them with an operator panel;

Page 19: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

19

motion detection for switching light and/or activating alarm; implementation of various scenarios.

The following components are available for this purpose:

Motion Detector UP 255

Display Panel UP 585

Scene Module N 300

Logic Module N 301

Page 20: KNXLab Tutorial

EIB at the ICT’s Center of Excellence Assignments

Olga PlaksinaVienna, January 2005

20

Appendix A

Workflow 1. Start ETS 2. Create new project / open an existing project. 3. Define a building structure. 4. Insert devices. 5. Define bus topology and arrange devices to the appropriate rooms. 6. Create group addresses. 7. Link communication objects to the appropriate group addresses. 8. Configure communication interface. 9. Download individual addresses. 10. Download applications.