23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

41-8 Industrial Communication Systems<br />

files (XIF) define the logical interface of the node that means the function blocks and their network<br />

variables and configuration properties. These interface files are used later by system integration tools<br />

for configuration and network variable binding.<br />

Since the Neuron Chip does not support interrupts, the events and conditions of the tasks have to<br />

be checked periodically by a scheduler. The sequence of checks depends on the priority of the tasks. In<br />

each scheduler loop, all priority tasks are checked first. If none of these has to be processed, one of the<br />

non-priority tasks will be checked and processed if necessary. The other remaining non-priority tasks<br />

are checked at the end of the next loops, one in each loop. The scheduler jumps to the head of the<br />

non-priority task list again, when the tail is reached.<br />

41.5 Function Block-Based Design and System Integration<br />

The function block-based design and the system integration shall be explained with the example of a<br />

single-room sunblind control, which should realize an antiglare functionality. Such a room control<br />

typically consists of the following functions:<br />

• Antiglare control<br />

The antiglare function controls the position of the sunblind and the angle of the sunblind’s lamellas<br />

to prevent the glaring of persons, which are present in the room. A measurement of the current glare<br />

is the luminance level in the room. As soon as the luminance exceeds a certain threshold, the sunblinds<br />

will move down. If there is nobody in the room, the antiglare function will be switched off.<br />

• Sunblind actuator<br />

The sunblind actuator drives the motor of the sunblind. It receives the actuating values from the<br />

antiglare control function.<br />

• Luminance sensor<br />

The luminance sensor measures the current luminance level in the room in lux.<br />

• Occupancy sensor<br />

The occupancy sensor detects whether a person is within the room or not. Based on this information,<br />

it activates or deactivates the antiglare controller.<br />

• Manual control<br />

The position of the sunblind can be set manually using a sunblind switch, which overrides the<br />

antiglare control. Additionally, the building management system can override the position, for<br />

example, in the night or in case of fire.<br />

As defined above, network variables are basic <strong>communication</strong> objects to exchange values over the network.<br />

To separate specific automation functions and their related network variables within a node, the<br />

application of a node is subdivided into functional blocks [11]. Figure 41.4 shows the functional block of<br />

the sunblind controller, which realizes the antiglare functionality and, bound to this, the other needed<br />

functional blocks. These are the sunblind switch for the manual control, the light sensor for measuring the<br />

luminance, the occupancy sensor for the presence detection, and the sunblind actuator, which drives the<br />

sunblind. Functional blocks define an interface, which consists of input (nvi…) and output (nvo…) network<br />

variables and configuration properties. Configuration properties can be implemented as configuration<br />

network variables or as properties in configuration files. Configuration network variables (nci…) can be<br />

altered by other LonWorks devices using standard network variable propagation, but their size and count is<br />

limited. Properties in configuration files have no such limitations, but they can only be set by network tools.<br />

Bindings are not restricted to one-to-one interconnections. They are allowed to be of kind one-to-n<br />

and n-to-one, too. One-to-n bindings are used if more than one input variable needs the value of one<br />

output variable. N-to-one bindings, however, can be problematical since the input variable receives<br />

values from different outputs, which can overwrite each other concurrently.<br />

To ensure the interoperability among the LonWorks nodes, especially if they are from different manufacturers,<br />

their functions and their <strong>communication</strong> interfaces have to be standardized. Therefore, the<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!