Document 7801633

Download Report

Transcript Document 7801633

A versatile networked embedded
platform for KNX/EIB
TU Wien
Automation Systems Group
Fritz Praus
0025854
[email protected]
Outline
•
•
•
•
Project goals
KNX/EIB
Requirements
Hardware
– components
– design
• Software
– low level firmware
– various higher layers
TU Wien, Automation Systems Group, Fritz Praus
2
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
TU Wien, Automation Systems Group, Fritz Praus
3
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
TU Wien, Automation Systems Group, Fritz Praus
4
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
TU Wien, Automation Systems Group, Fritz Praus
5
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
TU Wien, Automation Systems Group, Fritz Praus
Power
TP-UART
USB
MB90F334A
RS-232
SD card
Ethernet
6
Hardware – Design
• Schematic
• PCB Layout
– Placement
– Conductors
– Power
TU Wien, Automation Systems Group, Fritz Praus
7
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
TU Wien, Automation Systems Group, Fritz Praus
8
Software – Higher layers
• Webserver
EIBnet/IP
IP network layer
–
device
status
implemented
– fully
IP (no
fragmentation)
–
KNX/EIB
sendRouter
and
– Gateway
ICMP (echo)
interface
– functionality
UDP
– Webpages located
– TCP (single)
at SD/MMC card
– ARP
– DHCP
– SLIP
TU Wien, Automation Systems Group, Fritz Praus
9
Thanks for your attention
TU Wien, Automation Systems Group, Fritz Praus
10