Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
called intelligent field devices incorporate more function- for intelligent field devices.
Storage
3.3 Requirements on CMDs MCU MCU MCU
Point-to-Point IF Point-to-Point IF Point-to-Point IF
IF
• Resources: Compared to SACs and ICDs, the per- MCU based CMD PC based CMD
formance and memory demands on CMDs are even Network Interface Network Interface N-IF: Network interface
MCU PC IF: Interface
higher. CMDs have to operate with data from the
HMI HMI
whole BAS and therefore are supposed to process
higher data volumes (in the order of KBytes to
MBytes). Additionally, management tasks require Figure 2. BAS devices
more processing power and (persistent) storage for
software and data. 5 First experiences
• Interfaces: To be able to fulfill configuration and
management tasks, a connection to the BAN is In the top section of Fig. 3, a mapping of the
mandatory. Such an interconnection can be achieved general model to a modular architecture intended for
using so-called network adapters (e.g., SAC with a KNX/EIB [4] is shown. Beneath, possible implementa-
serial connection). The demands on the response tions derived from this architecture are displayed.
time can be seen more relaxed since management As a first proof of concept, different platforms have al-
tasks are not time critical. Additionally, interfaces ready been implemented following our modular architec-
for varying UIs have to be provided. ture. On the one hand an integrated, compact and power-
• Power consumption: Since server, workstation and ful platform named KNXcalibur was built. It is applica-
PC-based CMDs are supplied via the power grid, ble in each of the mentioned device classes, but especially
power consumption is not of concern. with ICDs and MCU based CMDs with an integrated web-
• Environment: CMDs with fully fledged UIs will server in mind [5]. On the other hand ”header boards”
be normally located in mild environments (offices). with modular components (power supply, point-to-point
Therefore, small size and robustness against rough interface, process interface, network interface) and pin
environmental conditions are less important. For headers to connect different MCUs have been developed
other CMD representatives, relaxed environmental for building SACs. A wireless network interface for ICDs
conditions can be expected as well. support will be available on a separate board.
KNXcalibur is based on the Fujitsu 16 bit MB90330
family. A maximum operating frequency of 24 MHz, 4
3 When ICDs are used for management access only, response time is UARTs, a 8/10 bit A/D converter and a SPI (Serial Periph-
less of a concern than when they are used for routing process data. eral Interface) as well as an external bus interface similar
MODULAR ARCHITECTURE faces. Moreover, a PEI connector, which offers digital and
CPU Power Storage
Texas Instruments MSP430 SD Card Flash
analog access to external sensors and actuators, is present
Fujitsu MB90F334A in all cases.
Atmel AVR ATmega16
Serial connection to the PC side has been realised using
Point-to-Point Network Interfaces Process Interface EIA-232. True level converters (MAX232) and SUB-D
Interfaces and HMI
EIA-232 USB Ethernet TP-UART connectors are placed.
On KNXcalibur an USB connection has been imple-
mented using the on-chip USB hardware. USB-B (USB
Zigbee GUI
PEI/EMI
device) and USB-A (mini host) connectors are present.
To connect KNXcalibur to Ethernet, the Cirrus Logic
CS8900A Ethernet LAN controller has been selected for
use on the platform. It is a single chip, low-cost controller
POSSIBLE IMPLEMENTATION
Router Wireless Router IP Tunneling Router IP Gateway for embedded applications, which supports 10 MBit/s link
Storage speed and is accessed via an ISA bus interface.
TP-UART
Ethernet
Ethernet
Zigbee
MB90F334A
MB90F334A
MB90F334A
USB
USB
USB
IEEE 802.15.4 compliant RF transceiver with baseband
TP-UART
TP-UART
TP-UART
TP-UART
TP-UART/ Ethernet
AVR ATmega16
MB90F334A
MB90F334A
EIA-232/PEI
MSP430
GUI
PC
Power Power
Power 6 Conclusion
Due to the modular design concept, our hardware ar-
Figure 3. Hardware architecture for KNX/EIB
chitecture is not limited to the use in a predefined appli-
cation area. The design of a central component (KNXcal-
to the ISA bus are provided. Moreover, USB functionality
ibur) is already finished. A low power platform based on
with device (USB 2.0 full speed) and mini host support is
the MSP 430 is currently under development. Moreover,
integrated into the controller.
interfaces to other BANs like BACnet [6] or LonWorks [7]
To support ultra low power SAC devices, a Texas In-
are under investigation.
struments 16 bit MSP430 MCU has been selected. It sup-
In addition to this hardware architecture, an approach
ports a maximum operating frequency of 8 MHz and se-
to modular software has to be developed to enable Hard-
rial communication interfaces, which can be operated as
ware/Software Co-Design. Moreover, tools supporting
asynchronous UART or synchronous SPI interfaces.
appropriate configuration and management will be neces-
As an alternative MCU for SAC devices and an exper-
sary.
imental platform for IDCs, the Atmel AVR ATmega16 is
used. It is an 8 bit controller with a maximum operating
References
frequency of 16 MHz.
A mixed input voltage is required for all our compo- [1] “Building Automation and Control Systems (BACS) – Part
nents. The MB90330 and MSP430 run on 3.3 V whereas 2: Hardware”, IS0 16484-2, 2004.
the ATmega16 needs 5 V. For USB support 5 V are re- [2] W. Kastner, G. Neugschwandtner, S. Soucek, and H. M.
quired. Therefore, two low drop voltage regulators are Newman, “Communication Systems for Building Automa-
used, which can be powered via an external mains adap- tion and Control”, Proceedings of the IEEE, vol. 93, no. 6,
tor, via the USB or via the KNX/EIB network using link pp. 1178–1203, June 2005.
[3] “Information technology – Open Systems Interconnection –
power (only small loads up to 10 mA can be driven in the
Basic Reference Model: The Basic Model”, ISO/IEC 7498-
latter case).
1, 1994.
To support persistent storage of large amounts of data [4] “KNX Specification”, Konnex Association, 2004.
on KNXcalibur without requiring writing to the MCU on- [5] F. Praus, “A versatile networked embedded platform for
chip flash memory and to extend the latter, a SD/MMC KNX/EIB”, Master’s thesis, TU Vienna, 2005.
card connection has been integrated. The SD/MMC card [6] “BACnet – A Data Communication Protocol for Building
is accessed via SPI. For the MSP430 and AVR ATmega16 Automation and Control Networks”, ANSI/ASHRAE 135,
2004.
no further memory is required, since they are intended to
[7] “Control Network Protocol Specification”, ANSI/EIA/CEA
serve in SAC devices. 709.1, 1999.
Simple buttons and LEDs are used as process inter-