“excalibur” a flexible knx/tp1 node tu wien automation systems group fritz praus 0025854...
TRANSCRIPT
![Page 1: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/1.jpg)
“Excalibur”A flexible KNX/TP1 node
TU WienAutomation Systems Group
Fritz Praus0025854
![Page 2: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/2.jpg)
TU Wien, Automation Systems Group 2
Outline
• Introduction– definition of terms– requirements
• Hardware– components– design
• Software– basic low level routines– various stacks
![Page 3: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/3.jpg)
TU Wien, Automation Systems Group 3
Definition of Terms
• Building Automation / Building Services– lighting, HVAC– security and access control, safety alarm systems,
elevators, …– (white goods, brown goods)
• Field buses for building automation– exchange of control data– small data amounts– robust
![Page 4: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/4.jpg)
TU Wien, Automation Systems Group 4
EIB/KNX
• open standard– EN 50090– specification maintained by Konnex Association
• well-established in D-A-CH• decentralized design• Twisted pair medium:
– CSMA with bitwise arbitration at 9600 bit/s– hierachical 3 layer structure possible
• Powerline, radio transmission, …
![Page 5: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/5.jpg)
TU Wien, Automation Systems Group 5
EIB/KNX Devices and Interfaces
• EIB/KNX devices– sensors, actuators– Router (TP/TP vs. IP tunnelling for high-traffic backbones)– gateways– PC-based (management, visualization)
• EIB/KNX (TP) interfaces– medium connection
• BCU, BIM: Transceiver + Microcontroller (Layer 7)• TP-UART: Transceiver + Layer 2 ASIC
– application module/processor• sensor/actuator module: PEI as free digital/analog I/O• µC/PC: RS232 (BCU/TP-UART), USB, IP
![Page 6: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/6.jpg)
TU Wien, Automation Systems Group 6
Requirements
• experimental embedded platform (lab use)• universally applicable
– wish list: EIB/KNX, RS232, IP, USB– extensible (i.e. LON, IO pins, ..)
• support high-level way of working – But offer powerful features
• low cost and compact• design openly available
![Page 7: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/7.jpg)
TU Wien, Automation Systems Group 7
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
![Page 8: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/8.jpg)
TU Wien, Automation Systems Group 8
Hardware – Design
• Schematic
• PCB Layout– Placement– Conductors– Power
![Page 9: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/9.jpg)
TU Wien, Automation Systems Group 9
Software – Low-Level Drivers
• TP-UART protocol– asynchronous serial communication– normal vs. analog mode (transceiver only)
• CS8900A protocol– ISA bus
• SD card protocol– SPI standard
• USB firmware– slave / mini host
![Page 10: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/10.jpg)
TU Wien, Automation Systems Group 10
Software – IP Stack
• IP• ICMP (echo)
• UDP• TCP (single)
• ARP• DHCP• SLIP
![Page 11: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/11.jpg)
TU Wien, Automation Systems Group 11
Software – EIB/KNX
• EIB/KNX Stack– cEMI
• EIBNet/IP– Gateway functionality– Tweety port
![Page 12: “Excalibur” A flexible KNX/TP1 node TU Wien Automation Systems Group Fritz Praus 0025854 fritz@praus.at](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e3b5503460f94b2d385/html5/thumbnails/12.jpg)
TU Wien, Automation Systems Group 12
Thanks for your attention