A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus...

10
A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 [email protected]

Transcript of A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus...

Page 1: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

A versatile networked embeddedplatform for KNX/EIB

TU WienAutomation Systems Group

Fritz Praus0025854

[email protected]

Page 2: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 2

Outline

• Project goals• KNX/EIB• Requirements• Hardware

– components– design

• Software– low level firmware– various higher layers

Page 3: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 3

Project Goals

• a versatile embedded platform for software

development in the area of home and building

automation

• integration of various communication interfaces

with focus on KNX/EIB

• working prototype

Page 4: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 4

KNX/EIB

• open standard– EN 50090– specification maintained by Konnex Association

• well-established in D-A-CH• decentralized design• media:

– Twisted pair (TP), Powerline, radio transmission

• devices:– interaction (sensors, actuators), routers, gateways,

PC-based

Page 5: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 5

Requirements

• universally applicable• low cost and compact• robust: electrically safe and easy to handle• flexible and extensible• sufficient resources: processing power,

memory, permanent storage, …• ease of use but powerful functions and low

level access• design openly available

Page 6: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 6

Hardware - Components

• Fujitsu MB90330F 16-bit Microcontroller – 24 MHz, 24Kbyte RAM,

384Kbyte flash memory– 4 UARTS and USB– external bus interface

• Crystal CS8900ACQ3 Ethernet Controller

• 2 TP-UARTs• SD/MMC card connection

Ethernet

Power

TP-UART

RS-232

USB

SD card

MB90F334A

Page 7: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 7

Hardware – Design

• Schematic

• PCB Layout– Placement– Conductors– Power

Page 8: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 8

Software – Low-Level Drivers

• UART firmware• TP-UART protocol

– asynchronous serial communication– normal vs. analog mode (transceiver only)

• CS8900A protocol– ISA bus

• SD card protocol– SPI standard

• USB firmware provided by Thesycon– slave / mini host

Page 9: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 9

Software – Higher layers

• IP network layer

– IP (no fragmentation)

– ICMP (echo)

– UDP

– TCP (single)

– ARP

– DHCP

– SLIP

• EIBnet/IP

– fully implemented

– Gateway and Router

functionality

• Webserver

– device status

– KNX/EIB send

interface

– Webpages located

at SD/MMC card

Page 10: A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at.

TU Wien, Automation Systems Group, Fritz Praus 10

Thanks for your attention