TWI-Home
  Abteilung Elekrotechnik
Praktische Diplomarbeiten
  Mikrocomputersysteme
 
red_light Process Field Bus (PROFIBUS)

white red student: Amlehn Nils
Hauser Daniel
red dozent: Klaus Rolf Prof., Dipl. El.-Ing. HTL
red abstract:

We want to control the special functions of a microcontroller, such as A/D-converters, digital inputs/outputs, counters and pulse width modulation functions, by the Profibus. For this project we developed two slaves, each based on a microcontroller and a Siemens-Profibus-Controller (SPC3). As master, we use a Siemens ISA-Profibus-Master-Card IM180 which controls the communication between the master and the two slaves.The user should be able to connect the slaves to a Profibus and easily control the special functions by the master.

It is also our job to develop a modular software for the master and slaves which allows the user to control the slaves in an easy way by the given modules. The user should be able to create new modules but he doesn't have to look after any protocols or timing problems.We created six software-modules to control digital in-/outputs, 7-segment-displays, stepping motors, 5 Volt A/D-converters, 16-Bit counters and DC-motors.

To demonstrate the hard- and software, we also created a conveying machinery which transports some parts from one point to another including a visual controldisplay on the master computer.

Branchfield overview / List of students

red_light Computer Controlled Home

white red student: Altwegg Jürg
Thommen Peter
red dozent: Klaus Rolf Prof., Dipl. El.-Ing. HTL
red abstract:

The intelligent building, a catchword read in newspapers years ago. Especially Bill Gates new home made headlines in the last months. However, there is also a chance for average comsumers to get an easier way to handle their devices at home.

Instead of a simple light switch, you will find a small display on your wall. With a slight touch on the surface of the display you get control of every device e.g. lights, heating, alarm system, etc. at your fingertips. Behind every device works a small computer (Target System), that controls the device itself and the communication between each computer in the whole building. All of them are connected to a so called RS485-Bus or partyline a special wireing that transports all commands and data from one computer to another.

A Personal Computer handles all communication rules so it is called the Master. This Master is connected to the partyline with a special adaptor. The Master software is written in Turbo Pascal.

All other Systems connected to the partyline are called Slaves because they must listen to the Master. Those Slaves are developed and built completely by us. We manufactured six systems for demonstration purposes. A C-cross compiler and an In Circuit Emulator had been used as programming tools.

Branchfield overview / List of students

red_light Actuator Sensor Interface (ASI)

white red student: Meier Daniel
Nipkow Lasse
red dozent: Klaus Rolf Prof., Dipl. El.-Ing. HTL
red abstract:

Nowadays, automation is very important in manufacturing, especially in industrial countries. We often hear about companies which manage their turnaround thanks to steamlining their production. The main system components for automation are sensors and actuators. For communication among themselves, a superior control unit is necessary. Furthermore a high reliability in data exchange and a simple maintenance are of great importance. A field bus reudces the ammounts of cables used to connect the componets together.

The Actuator Sensor Interface (ASI) is a modern field bus which was introduced in 1994 and developed to achieve the points mentioned above. One problem is the compatibility to older systems. The goal of our diploma thesis was to develop a connection between an ASI- and a CAN-bus (Controller Area Network).

In a first step we studied the basic functions of the ASI-bus on a system which contained bought ASI components. The ASI specification itself was very helpful to understand those functions. With our new knowledge we then checked out various possibilities how we could build an ASI-master. Unfortunately the ASI-specification does not leave much space for own ideas and we therefore were forced to use the given guidelines.

Using hard- & software we built an ASI-master fully by ourselves. Thanks to the software the ASI system is now able to exchange data messages between one master an several slaves. Nearly the whole ASI protocol is implemented and all main parts are tested.

Branchfield overview / List of students

red_light Distributed Datalogger

white red student: Cenedese Fabian
red dozent: Zeman Jan Prof., Dr. sc. techn. Dipl. El.-Ing. ETH
red abstract:

In this project the aim was to design and build a distributed measure system with independent modules. These modules, made with a microcontroller board and some additional hardware, can be connected with a PC in different ways (radio, infrared, serial bus). The computer controls all actions. The modules are able to sample and save data with up to four channels. Measure data can be transferred, displayed and saved to disk.

The additional print for the mc-board contains only the devices important for communication. The adapter for RS485 is the only one ready to use.The module software is able to perform all commands. For speed reasons two versions were written. The computer program, written in Delphi, can send all commands to several modules and handle measure data as requested.

Unfortunately we were not able to carry out real measure tasks in the open air. Apart from this the problem can be considered solved for the most part. A great deal of the learning came from writing a project in Delphi.

Branchfield overview / List of students

red_light Microcontrlolsystem for a street-radar

white red student: Fitze Daniel
Pfenninger Michael
red dozent: Zeman Jan Prof., Dr. sc. techn. Dipl. El.-Ing. ETH
red abstract:

The aim of this dissertation was, to develop a control for a streetradarsystem, based on an existing target-system, with a 80C537-Processor. This battery-operated system can be installed on the roadside and shows the actual speed to the car driver. Together with a PC, vehicles can be recorded for traffic statistics. The PC-program was also part of this work.The speedmeasurement is made by a buyable radarmodule, which works with the Doppler-principle. The hardware prepares the output-signal of the radar for the controlsystem. Type and number of vehicles are registered by sensors and also passed to the controlsystem. The controlsystem evaluates the speed and shows it on the display. The data can also be sent to the PC.Available for the development were the Keil- and Delphi-Software, measuring instruments, and an already existing prototype. The Keil-Software includes a C-compiler and a targetsystem-debugger, which was used for testing the software on the target system. Delphi was used for the implementation of the PC-Software. The existing prototype was used as a guideline. The ability of this prototype is restricted on measuring and displaying the speed.The system, developed in this dissertation, is a prototype too. The enhancements of the present prototype are: Communication with a PC, statistic function and optimized evaluation of the radarsignal. Measurement, display, communication and statistic function are working. The direction of vehicles can (by now) not be detected by the software. For this reason, the speed of vehicles driving the wrong direction (and can't see the display) is also displayed. The sensors mentioned above are realized with keys in this version. For the development of an operative and convincing sensorsystem will more time be needed.

Branchfield overview / List of students