• No results found

Experience with the Use of Linux on a

N/A
N/A
Protected

Academic year: 2021

Share "Experience with the Use of Linux on a"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-1

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

Manfred Lohöfener

Prof. Dr.-Ing. Manfred Lohöfener Hochschule Merseburg (FH) University of Applied Sciences Mechatronic Systems Geusaer Straße D-06217 Merseburg Germany Phone +49-(0)3461-46-2974, Fax -2965 http://www.fh-merseburg.de/~lohoefen/ [email protected]

Contact

FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-2

Introduction

File Server Fax Server Print Server Many Applications

Linux-PC

Several Distributions

Example (left)

Easy Installation of SuSE-Linux with YaST Debian, SuSE, Red Hat, Knoppix, …

(2)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-3

Why Linux?

Overall stability of the operating system

Availability also for embedded microcontrollers Scalability of the operating system

Solutions for realtime applications Most of the software available for free

Important Characteristics

Use on desktop PC

For office tasks (text, spread sheet, presentation, …)

First steps

Example (left)

Office suite OpenOffice with spread sheed http://www.openoffice.org/

http://www.fh-merseburg.de/~lohoefen/Literatur/Ref_Lyngby_Loh.pdf

FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

Linux for Students

Use in lessons for presentation and experiments Use in laboratory for program development

Introducing to students

First contact with Knoppix-CD on PC Install party with students

(3)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-5

Host Development

Informatics one of the three main columns of mechatronics

Demand for broadening the informatics knowledge

Significance

Example (left)

Development of C-programs using KDevelop

http://www.kdevelop.org/

FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-6

Host Development (2)

PC as example for a microcontroller Use of the parallel printer port LPT

LPT-adapter with 8 LEDs and 5 buttons (see picture)

Control with PC

LPT-Port

D-Sub-Pin Funktion

BA, Bit 0 … 7

2 … 9 Data Bit 0 … 7 (nicht

rückles-bar) BA+1, Bit 3 15 Error

BA+1, Bit 4 13 Select

BA+1, Bit 5 12 Paper End

BA+1, Bit 6 10 Ack (erzeugt Interrupt)

BA+1, Bit 7 11 Busy (invertiert)

BA+2, Bit 0 1 Strobe (invertiert)

BA+2, Bit 1 14 Auto Feed (invertiert)

BA+2, Bit 2 16 Init

BA+2, Bit 3 17 Select (invertiert)

BA+2, Bit 4 Int (Interruptfreigabe) BA+2, Bit 5 Dir (Daten auf Eingang)

Masse

(4)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-7

Embedded Linux

DIL/NetPC with Intel 206 MHz SA-1110 StrongARM on an evaluation board

Serial and Ethernet ports, TCP/IP stack, web server (HTTP, FTP) OS: Linux

Microcontroller

http://www.dilnetpc.com/ FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

Student Project

extension of the Evaluation board with a CAN-bus link

Next stage: Use of the board as embedded controller with CAN-bus linked I/O devices

CAN-bus

(5)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-9

Toshiba Topas

Toshiba Topas LX Reference Board with 92MHz TX3912 32bit RISC processor

Ports for touchscreen LCD display, keyboard, mouse, 10BaseT Ethernet and more

Evaluation board

http://www.fh-merseburg.de/~lohoefen/Literatur/Dekert_gr_stud_arb.pdf

FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-10

Toshiba Topas (2)

Use for applications with HMI (human machine interface) Graphics capabilities of the LCD display with QT

(6)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-11

Automation with Open Source

Open Source software for industrial automation projects

Complete Open Source tool chain 1st step: Model dynamical processes

and control systems as block diagrams 2nd step: Compile models to executable

binaries

3rd step: Use of a real time extension to

Linux

Modelling

Example

Build of block diagrams with Scilab/Scicos http://scilabsoft.inria.fr/

http://www.rtai.org/ http://www.fh-merseburg.de/~lohoefen/Literatur/Dekert_kl_stud_arb.pdf

FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

Visualization with Open Source

HMI and SCADA (Supervisory Control And Data

Acquisition)

Tools

(7)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-13

Concept

Task

Control

Design

System

Modelling

Simu-lation

Control

Algorithm

System Model

Compiler

C-Code

Micro-controller

Binary

HMI-Design

RT-OS

Boot Image

HMI-Terminal

JVisu-Webserver

System

Process-I/O

Bus-Connection

e.g. JVisu Panel Configurator

e.g. PC

with

Web-browser

e.g. RTAI-Linux

e.g. Scilab/

Scicos

e.g. KDevelop

Mechatronic System

e.g.

Realtime-Ethernet

FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-14

Conclusion

http://www.fh-merseburg.de/~lohoefen/Literatur/Experience_Handout.pdf

Expect an increasing importance of Open Source software

not only on the desktop PC but also both

on embedded control systems and

in the development of solutions for automation and mechatronics.

Thank you for your attention!

Paper

http://www.fh-merseburg.de/~lohoefen/Literatur/Experience_Loh.pdf

(8)

© Prof. Dr. M. Lohöfener 2003 11.11.04, 16:40, Experience_Loh-15

References

Walter, Klaus-Dieter:

Messen, Steuern, Regeln mit LINUX

Franzis-Verlag 2001 Schwebel, Robert:

Embedded Linux. Handbuch für Entwickler

mitp-Verlag Bonn 2001

Töpfer, Hannes; Schröder, Christian:

Dynamische, mechatronische Motorsteuerung. Echtzeit-Linux zur Ansteuerung hochdynamischer Direktantriebe

Elektronik 4.5.2004, 09, p. 86 ff Lohöfener, Manfred:

Simulation of Discrete Systems and Control Circuits with Spreadsheet in Education in Mechatronics

3rd International Workshop on Research and Education in Mechatronics, September 26 and 27, 2002, Technical University of Denmark, Lyngby

http://www.fh-merseburg.de/

~lohoefen/Literatur/Ref_Lyngby_Loh.pdf

Florian Goos

CAN-Anbindung des DIL/NetPC-SK5 Starterkit mit StrongARM-Controller

Studienarbeit, Fachhochschule Merseburg http://www.fh-merseburg.de/

~lohoefen/Literatur/studienarbeit_goos_dnp.pdf David Dekert

Praktikumsversuch mit dem Topas LX Board von Toshiba

Studienarbeit, Fachhochschule Merseburg http://www.fh-merseburg.de/

~lohoefen/Literatur/Dekert_gr_stud_arb.pdf David Dekert

Aufbau und Inbetriebnahme eines Linux-Echtzeit-Frameworks

Studienarbeit, Fachhochschule Merseburg http://www.fh-merseburg.de/

~lohoefen/Literatur/Dekert_kl_stud_arb.pdf David Dekert

Verteilte Prozessabbilder mit RTnet (Echtzeit Ethernet)

Diplomarbeit, Fachhochschule Merseburg

FACHHOCHSCHULE

MERSEBURG

University of Applied Sciences

Experience with the Use of Linux on a

Desktop PC and in Embedded Systems

Links

SUSE LINUX

http://www.suse.de/en/ SUSE LINUX AG Nürnberg

OpenOffice.org

http://www.openoffice.org/ OpenOffice.org Organization

The KDevelop-Project

http://www.kdevelop.org/ The KDevelop Team

SBCs for Embedded Networking: The DIL/NetPC Family

http://www.dilnetpc.com/

SSV Software Systems GmbH Hannover

Scilab – A Free Scientific Software Package

http://scilabsoft.inria.fr/ The Scilab consortium

JVisu web based machine visualisation

http://www.jvisu.org/

Pengutronix e.K. Hildesheim

RTAI - the Realtime Linux Application Interface for Linux

http://www.rtai.org/

The RTAI Developers' Team

Knoppix-CD

http://www.knopper.net/

RTNet-Homepage (Realtime Ethernet)

References

Related documents

The most probable failure mechanism develops in the lower part of the slope as a consequence of a wetting pore collapse and then spreads upwards along the bedrock and through the

Drug Lab Inc.  Medi‐Test  FirstLab Raulerson Company Care Medical Express of Palatka LabCorp Solantic Quest Diagnostics‐Vero Beach East

The purpose of this project is to develop and evaluate tools to assist Housing Choice Voucher (HCV) program participants in the Portland, OR, metro region with

In contrast to the observation that organic farms had higher butterfly species richness compared to conventional farms irrespective of landscape context, the species pool in

For example, a QTL for heterosis for plant height at flowering on chromosome N11 in ExV8 co- localised with QTL for fresh leaf weight in the ExV8-DH and ExV8-TH

Known functions of PGRPs in Drosophila are as follows: the PGRP‐SA in hemolymph binds to Lys‐type peptidoglycan and together with PGRP‐SD and Gram‐negative binding protein (GNBP)

The visual odometry subsystem runs on a desktop grade processor as part of CHIMP ’s ROS based computing platform while the iner- tial navigation and data fusion algorithms run on

conductivities of ternary systems involving ionic liquids by the applicability of artificial neural network. In the last few years, many researchers 17-20 used arti fi cial