Change search
CiteExportLink to record
Permanent link

Direct link
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Tankprocesstyrning med MATLAB via USB
2013 (Swedish)Independent thesis Basic level (professional degree), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

A water tank system with control electronics was developed at Rubico AB in Luleå during the summer of 2011. This second order automation control system consists, in short, of two water tanks with individual level sensors, a pump and a tap valve. Today students use the system in laboratory practical as part of an elementary course in automation control at Luleå University of Technology.Reading sensors and controlling the pump in the existing system is done with an external DAC-card coupled with the tank process and a personal computer. Signals between the card and the tank process are analog voltages. Automation control is achieved using RegSim which is a piece of software running on the PC. In order to eliminate the expensive DAC-card and to be able to control the system with MATLAB instead of RegSim, Rubico AB has determined that a digital interface is also desired.The hardware platform, which is pre-determined by Rubico AB, is based on the NXP LPC11U14 microcontroller. This platform specifies that communication between the tank process and PC is USB. On top of that, the platform also states that the existing analog interface should remain.This thesis is devoted to examine which USB class is best suited for the task, and, to implement USB software in the existing system. The thesis also attend to discrete time PID-control for the tank process via MATLAB and a graphical user interface.The result of the investigation is that the software standards VISA and SCPI are suitable to use in conjunction with USB-devices of the Test and Measurement Class (USBTMC). A brief explanation of the standards are included in the report. The thesis also states why these standards were chosen and how they were implemented or used.

Place, publisher, year, edition, pages
2013. , 48 p.
Keyword [en]
Keyword [sv]
Teknik, USBTMC, PID, reglersystem, reglerteknik, MATLAB, VISA, SCPI, DAC, NXP, firmware, USB, LPC11U14, RegSim, Rubico
URN: urn:nbn:se:ltu:diva-54379Local ID: b563f723-0c12-41b3-8138-ea0eedc90a0dOAI: diva2:1027760
Subject / course
Student thesis, at least 15 credits
Educational program
Automotive Engineering, bachelor's level
Validerat; 20130410 (global_studentproject_submitter)Available from: 2016-10-04 Created: 2016-10-04Bibliographically approved

Open Access in DiVA

fulltext(19971 kB)