Beruflich Dokumente
Kultur Dokumente
LABORATORY OF
MEASURING AND CONTROL
Dušan Kopecký, Ph. D., Iva Nachtigalová, Ph. D., assoc. prof. Karel Kadlec,
assoc. prof. Martin Vrňata
Title:
Laboratory of Measuring and Control
Authors (alphabetically):
Ladislav Fišer, Ph. D.
assoc. prof. Karel Kadlec, Ph. D.
Dušan Kopecký, Ph. D.
Iva Nachtigalová, Ph. D.
assoc. prof. Dr. Martin Vrňata
English translation:
MSc. Pavel Langer
Dušan Kopecký, Ph. D.
assoc. prof. Dr. Martin Vrňata
Iva Nachtigalová, Ph. D.
Graphical design:
Iva Nachtigalová, Ph. D.
Copyright © 2015 by Dušan Kopecký, Iva Nachtigalová, Karel Kadlec, Martin Vrňata
ISBN 978-80-7080-919-8
List of Laboratories
Introduction ................................................................................................... 5
5 Thermographic Measurements................................................................17
References ....................................................................................................21
Preparing for Laboratory Work
Introduction
For proper understanding of the principles of non-contact temperature measurement and correct
evaluation of the results of measurement with an IR thermometer and a thermal imaging camera, it
is vital to master basic theoretical knowledge on this area. This instructional text comprises both
basic theoretical relation and description and features of state-of-the-art measuring instruments for
non-contact temperature measurement. In case that you can with no problems answer the following
questions, than you do not need to read this text any further; you will for certain manage the trial
test in the laboratory and during the laboratory work you will be well aware what is going on.
Which sort of radiation of the spectrum can be used for non-contact temperature
measurement?
What expresses Planck’s law of thermal radiation (not necessary to know its explicit wording),
which are its consequences?
What expresses Wien’s displacement law?
What expresses Stefan-Boltzmann law (it would be good to know its exact wording too)?
What is black body and which are its features?
What is emissivity and which values it may have?
What is grey body and spectral emitter?
What is absorptivity, reflectivity and transmissivity? Which values may they have and what
are their mutual relations? Which relations are valid with regards to emissivity?
What is the principle of non-contact temperature measurement?
What is the principle of function of an IR thermometer and what basic features does it have?
What is the principle of function of a thermal imaging camera and what basic features does it
have?
How is calibration of non-contact thermometers being carried out?
Which are the application possibilities of non-contact thermometers?
If you do not know the answers to these questions, read the instructional text and find all you need.
where (W) is radiant flux, S (m2) is surface area of the source of radiation.
Emitted thermal radiation consists of various wavelengths, intensity of radiation is of integral
character and it consists of contributions of the individual wavelengths according to the formula
∞
𝑀 = ∫0 𝑀 d (2)
where M (W.m-3) is spectral density of irradiation, (m) is wavelength.
Note: Spectral density of irradiation expresses intensity radiated in a unit interval of
wavelengths (quotient of irradiation in a small interval of wavelengths and such interval).
Dependence of spectral density of irradiation on wavelength and on temperature for black body is
given by Planck’s law of radiation:
2𝜋ℎ𝑐 2 C1
𝑀0 = ℎ𝑐 = C2 (3)
5 5
(𝑒 𝑘𝑇 −1) (𝑒 𝑘𝑇 −1)
where h is Planck constant, k is Boltzmann constant, c is speed of light in vacuum; the first and the
second radiation constant are C1 = 3.7413.10-16 (W·m2) and C2 = 1.4388.10-2 (K·m) respectively.
Dependence of spectra intensity of irradiation on wavelength for various temperatures of black body
is graphically expressed at Figure 2. Irradiation substantially decreases with decreasing temperature.
By derivation of the relation (3) according to Planck’s law it is possible to set up the maximum of
spectral density of radiation for a given temperature. Such maximum is shifting with increasing
temperature towards shorter wavelengths according to Wien’s displacement law:
2 898
λ𝑚𝑎𝑥 = 𝑇
(4)
where max (µm) is wavelength corresponding to maximum of the dependence M0 = f (). Position of
the maximum is marked with dashed line at Figure 2.
visible
Intensity of radiation Mo is graphically expressed by area under the curve created according to the
Planck’s law for given temperature.
A real body radiates (and absorbs) less than black body. Its spectral density of irradiance M is given
by the formula:
𝑀 = 𝜀 𝑀0 (6)
where is spectral emissivity for wavelength , < 1, (index being used for spectral quantities). As
obvious from the formula (6), the spectral emissivity is defined as the quotient of real body
irradiance and black body irradiance M/M0 at given wavelength and temperature. Spectral
emissivity of black body is equal to 1.0.
Spectral emissivity is generally dependent on wavelength and on temperature = f (, T), further
also on material, surface quality and angle of observation. Bodies, which have different spectral
emissivity , for various wavelengths and which thus show various differences from black body
radiation, are called selective (spectral) emitters. There are, however, also so-called grey bodies,
whose emissivity can be taken for constant in sufficiently wide range of wavelengths (see Figure 3).
The grey bodies have emissivity < 1; such bodies are most suitable for non-contact measurement.
For radiation of grey body the Stefan-Boltzmann law is valid in the form:
𝑀 = 𝜀𝜎𝑇 4 (7)
where is emissivity of grey body.
Emissivity of grey body is defined as the quotient of irradiance of the object at given temperature
and irradiance of black body at the same temperature.
For radiant flux emitted by the body of area S we get:
𝜙 = 𝑆𝜀𝜎𝑇 4 (8)
That means, that at the same temperature of grey and black bodies, the resulting energy emitted by
the grey emitter compared to that emitted with the black one, lower proportionally to the emissivity
of the grey body.
In case that the object is in the state of thermal equilibrium, no heating or cooling is taking place. The
energy, which is being radiated, must be equal to the absorbed energy, therefore emissivity is
equal to absorptivity and according to the Kirchhoff´s law, for spectral quantities is valid:
(, 𝑇) = 𝛼 (, 𝑇) (9)
Black body maximally radiates as well as maximally absorbs radiation. Emissivity as well as
absorptivity of black body is = = 1. If the temperature of the body is above the ambient
temperature, emitted energy prevails above the absorbed and vice versa. Irradiance of black body Mo
depends on its thermodynamical temperature T only. For grey body, emissivity and absorptivity are
always lower than 1.
There are three phenomena, which manifest itself at real objects (Figure 4):
part of the incident radiation may be absorbed (in the state of equilibrium that part is equal to
radiation);
part of the radiation may be reflected; and
part my pass through the body.
incident radiation
transmitted
radiation
reflected radiation
The higher is the reflectivity, the lower is the emissivity. For highly gloss materials, emissivity is
nearing zero, i.e. for perfectly polished material, so called perfect mirror with high reflectivity, it is
valid, that reflectivity = 1.
At measuring by means of the non-contact thermometers, it is important to have knowledge of
transmissivity of used optical materials (Figure 5) as well as transmissivity of atmosphere between
the object and the thermometer. At Figure 6, transmissivity of atmosphere at the distance of 10 m is
shown. At the graph, there are seen areas, where absorption of IR radiation by carbon dioxide and
water vapor takes place, as well as areas of high transmissivity, which are used for non-contact
temperature measurement. These are bands of wavelengths 3 to 5 µm and 8 to 14 µm. These bands
are known as atmospheric windows. Transmissivity is further dependent on thickness of the layer,
for example at the distance of 1000 m it drop about to 0.8 at the area of 8 to 14 µm.
sklo sapphire
germanium
quartz
CaF2
transmissivity τ
matrix of
detectors entering of
emissivity
thermal imaging camera according to measured
surface of irradiance, the microprocessor
measured will calculate temperature
object optical detector of electronic
system radiation circuits
with Peltier heat pump. Modern microbolometric detectors contain the necessary electronic circuits
for analogue or digital modification of signal right on the chip. The control logic ensures sequential
reading of signal from the individual elements. Signals from the individual sensors of the matrix
detector, which correspond to the radiant flux of IR radiation at the individual measured points are
further processes in electronic circuits, whose output is finally a visible image – thermogram – on the
camera monitor.
target diameter
IR thermometer
distance D
2) disturbing source of IR
radiation
IR thermometer
3) disturbing source of IR
radiation behind the object 5) window
4) gasses absorbing IR radiation
1) measured object
(water vapors, smoke)
5 Thermographic Measurements
At thermographic measurements, thermal imaging camera (as well as IR thermometer) scans not
only the object itself, but also radiation from its neighbourhood, which is reflecting from the surface
into the camera. Both radiations are in certain extent weakened by the atmosphere between the
camera and the object. Besides, sometimes it is necessary to take into consideration the radiation of
atmosphere. This situation is schematically illustrated at Figure 12.
Meaning of symbols at Figure 12: - object emissivity, - atmosphere transmissivity, – radiant flux,
T – temperature, indexes: obj – object, atm – atmosphere, odr – reflected.
measured
atmosphere
object
thermocamera
ambient
Photography Thermograms
For evaluation of measured thermograms, there is the respective software available. The software
can be used for proceeding the measurement reports as well. The evaluation software offer
extensive possibilities of thermogram evaluation, using numerous measurement functions. Some
programs enable to change parameters of the thermogram (object emissivity and atmosphere
transmittance) for all used measurement functions. During the laboratory work, all students will get
acquainted with the Flir Quick Report software.
Application of IR thermometers and thermocameras may be very wide; they are used namely for:
on the surface of technological equipment;
detection of heat leaks on hot-water lines;
search for heat leaks from buildings;
monitoring of electrical lines and their possible damage;
determination of failures by searching for nonhomogenities of thermal field;
non-invasive detection of under-skin inflammations;
measuring of temperature distribution for purposes of science and research;
process automation;
detection of movement of persons within secured objects;
night vision devices.
temperature
temperature
controller
indicator
IR thermometer
calibration IR thermometer
temperature
black body
controller
References
1. Kreidl M.: Měření teploty – senzory a měřicí obvody. BEN Praha 2005 (Temperature
Measurement – Sensors and Measuring Circuits)
2. Vollmer M., Möllmann K. P.: Infrared Thermal Imaging. Wiley-VCH 2010
3. Kadlec K.: Učební texty k přednáškám z Měřicí a řídicí techniky. VŠCHT Praha 2014.
http://www.vscht.cz/ufmt/kadleck.html (červen 2014) (Instructional Texts to Lectures from
Measurement and Control Instruments)
References ....................................................................................................39
Instructions for Laboratory Work
2 Handheld IR Thermometer
2.1 Getting Familiar with the Devices and Software
Gradually familiarize yourself with all devices; - test their function, pay a special attention to
their connection to the computer; learn the software.
a) b)
Peltier
Active element
cooler
Temperature
controller
Temperature
indicator Black body
cavity
Precise
resistance
thermometer
Printer
a) b) connector
Insert for
resistance
RS232 thermometer
connector Black body
cavity
Temperature Temperature
PID controller indicator
Current
temperature
Required
temperature
a) b)
The device can also be used in vertical position (measuring downwards). This way, it can be easily
directed onto small objects such as electronic components in order to measure their temperature. In
this case, hold the device as depicted in Figure 8, right. The "Mode I" button will automatically start
function 1 (i.e. switching on) and data on the screen will be turned by 180 °C. When using the device
in vertical position with turned display, functions assigned to the Mode Selection "Mode I and II"
with change automatically.
During calibration of the thermometer by the black body and during measurement of temperature
distribution on the tempered board, you will work in configuration with the IR thermometer
mounted on a tripod. Leave the fixing plate still screwed to the IR thermometer. When inserting a
screw terminal with the IR thermometer to the tripod head, open the lever on the head, then insert
the plate and slide the lever back home (Figure 9). Proceed in reverse order to remove the plate with
the IR thermometer from the tripod head.
After starting the software and establishing the communication, the status bar at the bottom of the
window displays a message concerning the communication port, the communication system and
selected optics - i.e. SF or CF (Figure 11).
39 40 41 42
blacktěleso
černé body
IČ-teploměr
IR thermometer
Figure 21 - Measurement of temperature distribution on the surface of the tempered board
3 - trigger
A B C D E F G H
1
2
Store temperature in the field (A1) into the memory location P 00 and once more in P 01,
and then proceed to A2 and store it in the P 02; A3 in P 03 etc.
During the measurement, save gradually values measured at 64 squares of the board to
memory locations P 01 to P 64.
Save data from the device to the computer recorder by pressing Logger or by the sequence
[Menu: Measurement\ Download logger data].
Recorded temperature values that exceed the upper limit for alarm activation „High
Alarm“ appear in the table in red and bold font. Recorded temperature values that exceed
the lower limit for alarm activation „Low Alarm“ are shown in blue and bold (Figure 23).
Save as… A browser window opens to save data from the record into the computer as [*.lgg]
Open File… Opens Windows Explorer to open existing files records
Clear Logger… After confirming the checking question, all data in memory of the IR
thermometer are deleted [the unit display: CLR]
Store recorded data after pressing Save as .. with a name *.lgg in your folder. The file
name should include the designation of your group - e.g. „Doe_deska.lgg“.
Numbe Date Time Object Min. Max. Avg. Temp. diff Interna Termoco Maximum Minimum Emissivi Material
r temperat object object object Min and l uple alarm alarm ty and
ure temperatu tempera- tempera- Max temper temperat position
re ture ture ature ure name
From the data, select only columns containing label location (Name) and data related to
the measured temperature (TObj.). Copy these data to another sheet. These data will be
further processed.
Then the selected table will have 1 column and 64 rows. Convert this table into a table with
8 columns and 8 rows, as marked by the grid on the tempered board.
The measured values can be visualized within 3D-graph (surface chart type).
Save the file to your folder named as "Doe_deska.xls".
An example of data processing for the plate divided into 5 × 5 fields is shown in Figure 24.
3 Thermal Imager
3.1 The Thermal Imager FLIR i7
Portable thermal imaging camera FLIR i7 (Figure 25) is equipped with uncooled matrix of
microbolometric detectors with a resolution of 140 × 140 pixels (19,600 pixels). The camera uses
spectral range (7.5 to 13) µm, corresponding to the temperature range (0 to 250) ºC, resolution of
0.1 ºC and accuracy of ± 2 °C. The emissivity is adjustable from 0.1 to 1.0. Built in-optics work with a
field of view of 25° × 25°, with minimum focal length of 60 cm and with resolution of 3.71 mrad. The
camera works without focusing. The camera can be operated with one hand only. Battery power
ensures operation for 5 h. The camera is fitted with a touch-sensitive LCD screen 2.8 inches, (140 ×
140) pixels [4, 5].
Note: The thermal imager is a complex and expensive machine that requires qualified and trained
personnel as well as sensitive handling. You will be able to work with the thermal imager after the
training, during which you will become familiar with the controls of the camera and its measurement
functions. When working, follow the basic instructions for operating the imager; in case of doubt,
contact the teacher assistant for help without hesitation. Teacher will demonstrate acquisition of
thermal images of distinct objects and how to transfer them to a computer for processing, using the
appropriate program.
control lever
for lens cover control panel
trigger for
thermogram storing
connector
cover
measured value
menu
limiting value of the
temperature scale
temperature colour
palette
adjusted emissivity
¨
Figure 32 - Watching the maximum and minimum temperatures
If you want to save the thermogram into memory, press the shutter button. The image is saved with
a unique naming IR_xxxx.jpg, where xxxx is a unique number assigned to the counter. If you want to
see the picture again, recall it as described in Figure 33.
sub-window directory
sub-window images
USB connector
picture
description
object
parametres
table of
measurement
s results
infrared image
When describing the graphs in Excel, indicate data related to pixels and mm. To do this,
you need to know the dimensions of tempered board (380 × 380 mm).
Report in DOC, DOCX or PDF format is to be sent by email to the address of assistant and
simultaneously to the address labmrt13@gmail.com. Together with the protocol, the files
with graphs (XLSX, XLS) are to be sent.
References
1. Manual OPTRIS-LS. Optris GmbH Berlin, E 2006-01-A-(2006)
2. Manual DOSTMANN PROSCAN 530. MEPDFI-MA-2007-04-A (2007)
3. Manual for black body HYPERION R Model 982. Isothermal Technology Limited, South-port,
England, Ed. 05 04/01 (2005)
4. Manual for thermal imager FLIR i7. Publ. No. T559576. November 2010
5. www.flir.com/thermography/apac/au/view/?id=54662 (August 2012)
6. Manual for software FLIR QuickReport, v.1.2, Publ. 1558625, September 2008
Programmable logic controllers are an important group of automation technique. Working with them
requires considerable experience from many areas of measurement and control technique, but at
present, it is still financially rewarded above standards. Laboratory task Programmable Logic
Controller is a fundamental and very simplified introduction to work with these devices. It presents
them using a graphical language Function block diagrams only as a simple device performing cyclic
program consisting of basic logical functions and several functions for analog signal processing. The
task is conceived as a step by step guide to build a program for controlling the physical device and
seek to show programmable logic controllers rather as a whole, without the need for long and
demanding solutions of the sub-problems. Therefore, the task can easily handle even a beginner in a
few hours. For those interested in a deeper study of programmable logic controllers there are
specialized subjects in the branch Sensor and Cybernetics in Chemistry.
Study Materials for Laboratory Work
Attendance at laboratory work PLC and text instructions for this work assume a certain level of
knowledge about logic circuits. Required textbook is available on the webpages of the Department of
Physics and Measurements.
Prior to beginning the work in the lab, students must complete a test on the following topics:
Logical variables and logic functions.
The truth tables and Boolean expressions.
Converting the truth table on the Boolean expression using Full Disjunct Normal Form and
Full Conjunct Normal Form.
The graphic symbols for logic functions.
Basic laws of formal logic.
Characteristics of combinational and sequential logic control.
General information on PLC and programming (not exceeding the content of this text).
Instructions for laboratory Work contain the information that is not necessary to study in details in
advance. It is sufficient to read chapter 1. Other chapters serve as a guide when working in the
laboratory and they include work assignment, instructions for performing the work and the
processing of work report.
All mentioned documents are available in printed form in the laboratory room and in PDF format on
the webpages of the Department of Physics and Measurements.
Instructions for Laboratory Work
3 Safety instructions...................................................................................15
5 Tasks .......................................................................................................17
References ....................................................................................................33
Instructions for Laboratory Work
Process
Inputs Outputs
Bus
Connection to an
external instrument
Input and output subsystems are generally composed of digital and analog inputs / outputs. Digital
inputs are mostly universal for AC and DC voltage and, moreover, they could be electrically isolated
and also equipped with a filter for filtering out the error signals and with diodes against reverse
polarity and voltage spikes. Digital outputs are either in non-power design up to hundreds of mA
(transistor), power design (with a thyristor) or as relay outputs for switching of large AC and DC
currents.
Analog inputs are of voltage type for DC voltage with varying accuracy of analog-digital transducers
(12 - 16 bit) or of current type (0 ... 20, 4 ... 20 mA) or of current type for connection of platinum
resistance thermometers.
The IO subsystem can often be extended with additional modules, thereby increasing the total
number of inputs / outputs and their types. Many specialized modules, which can expand PLC, are
available: modules for specialized communication interface, displays, units for control of proportional
valves, etc. Such dedicated modules are however often very expensive.
ADD
2 IN1 1
Q 5
3 IN2
• constants.
The output of a function block can be only:
• variables;
• wires of other functional blocks.
Figure 4 - Modular LOGO!: 1) Power module LOGO! Power, 2) basic module series 0BA6 LOGO!
12/24 RC 3) USB converter connecting the base module and PC 4) expansion module LOGO! AM 2
AQ, 5) expansion module LOGO! AM 2 RTD, 6) expansion module LOGO! DM 16 24R
The expansion module AM 2 AQ system enables to add 2 analog outputs, 0-10 V DC or 0/4 to 20 mA.
The second expansion module AM 2 RTD is equipped with inputs for platinum resistance
thermometer with a range of -50 to +200 °C. At last, the third expansion module DM 16 24R adds 8
digital inputs and 8 relay outputs with a maximum transmitted current of 5 A. The entire modular
system is powered from a single module with the output power up to 24 W / 4 A.
The modular system is connected and fixed to the frame of the apparatus. The terminals are
connected to the test panel, the basic module is connected to the PC and the equipment is
complemented with a furnace model with Pt100 resistance thermometer and a fan, see Figure 5.
The test panel is a special terminal that allows connection of LOGO! with a technological devices
using cables fitted with banana plugs. This terminal is extended by testing input signals from buttons
and switches and output indicators in the form of LEDs (Figures 6 and 7). Switches, buttons and LEDs
are not the parts of the PLC and serve as inputs or outputs / alarm systems for verifying the function
currently exercised by the program. All these elements have interconnected negative pole and
therefore only positive pole is to be connected; this design has been chosen because of the smaller
number of necessary slots used at the same time. This mode of wiring is also instructive.
Figure 5 - Laboratory station: 1) the main switch button, 2) LOGO! modular system, 3) test panel, 4)
model of furnace with resistance thermometer and fan, 5) computer
Figure 6 - Test panel: 1) position switches SA1 - SA4 2) buttons SB1 - SB4, 3) LED HL1 - HL4, 4) the
DC 24 V power connector with jacks marked + and - 5) digital inputs I3 to I12, 6) relay outputs Q1 -
Q4, maximum current of 10 A, 7) relay outputs Q5 - Q8, 8) inputs for resistance thermometer in a
three-wire connection PT1 - PT2, 9) analog inputs AI1 - AI4, 10), analog outputs AO1 - AO2.
Figure 7 - Types of jacks on the test panel (red area marks controls that are not connected to the
PLC and serve as inputs and outputs / alarm switches and indicators for verifying the function
currently exercised by the program)
In the apparatus, there is also included a model of furnace with resistance thermometer Pt100 and a
separately switched fan serving as the simulation of system disturbance.
3 Safety instructions
The purpose of safety instructions is to avoid injury of the operator or damage of the laboratory
station. These instructions must imperatively be studied before beginning the work! Ignoring the
safety instructions can be penalized by the assistant (termination of the laboratory work and
classification "F").
When working with laboratory station, simple rules are applied:
any perceived defects must be reported immediately to the assistant;
prior to turning on the PLC, it is necessary to have an assistant's approve for any physical
connection on the terminal (exceptions are explicitly mentioned in the text).
On the laboratory station it is explicitly prohibited:
to touch screw terminals by electrically conductive objects (pens, screwdrivers, wires,
fingers, etc.), there is a risk of electric shock;
to screw or pull wires from the PLC; only terminals designated for banana plugs may be used;
to connect red jack labeled + and blue jack labeled - without a load, there is a risk of short
circuits and damage of the equipment;
to recklessly manipulate with buttons and switches on the terminal;
to activate the device without having it previously checked by the assistant.
5 Tasks
1) Getting acquainted with Soft Comfort software.
2) Simulate basic logic functions using the FBD program. Record the created programs to the
control unit and then test them on terminal.
3) Create a program that will retrieve the temperature of the heated metal block of furnace
model and list its current value on the display.
4) Create a simple program that will cyclically perform the following functions: By turning the
lever SA1 the program starts → the heating is switched on → after reaching a temperature of
47 °C, the heating is shut down → the heater is let to cool spontaneously to a temperature of
36 °C, and then the fan is switched on and the temperature of heater is forcibly cooled to 26
°C → then the cycle is closed and it will start again.
If the date and time flashes on the display of basic module, or any value is displayed except
of the text "No Program Press Esc ', a previous program is running in memory; this
program must be shut down and PLD reset using the six buttons on the basic module of
the PLC;
Stop the running program as follows:
o In the event that display shows the date and time, press ESC → by means of keys
▲ and ▼ move the cursor in the menu onto the item Stop and press the OK
button; to confirm the order move by the cursor using the ▼ key on Yes, and
confirm it by the OK button;
k) turn the apparatus off by putting the main switch into the OFF position;
l) after completing the above steps, PLC is ready for use.
6.3.1 Simulation
Before uploading the program to the PLC it is necessary to check it by simulation. The following steps
show you how to easily simulate the program. Keep the program of logical AND function open and
then press Tools → Simulation on the menu bar. The panel of simulation appears (Figure 11) under
the programming interface.
at status 1 if both inputs are at log value 1. Try (by switching the status of the switches I3 and I4)
whether the program is working correctly. Always close the simulation function after verification.
If prompted, select the COM port to which the PLC is connected (note - it is always the highest one)
and then confirm. Then repeat uploading of the program to the PLC.
Another message that may be shown when uploading the program is “The device is in RUN state.
Change it to STOP”. This means that the PLC program is still running. Press YES to exit the running
program and upload a new one.
The last warning message that may be shown when uploading a program is a warning about the
number of currently used analog inputs AI that does not correspond to the currently selected
number of analog inputs AI in the PLC. Press YES - it sets the PLC according to setting of the uploading
program.
In the menu of the basic module select the Start item using arrows ▲ and ▼ and press the OK
button on the panel. The program will be initiated and executed, the date and time will be flashing
on the display. Now set inputs I03 and I04 to log 1 by switching both switches SA1 and SA2 to the
upper position. If everything is connected according to the instructions, the relay Q1 will switch and
the diode HL1 will get illuminated.
End of the program is executed by pressing the sequence ESC → Stop → confirm by OK button → and
reconfirm. After that the display shows the basic menu. Erase program from PLC memory and switch
the device off.
Comment the elements used in the program using the Insert comment from the Toolbox panel. Do
not forget to save the program into your folder and export it at the same time as a JPG file.
This example has demonstrated application of the simple graphical programming language FBD.
Note: Program logic function according to specification given by the assistant with two or more
inputs and outputs. Simulate the function, and then implement it on the laboratory apparatus.
Comment the elements used in the program, save the created program as JPG file and use it in the
report. Save the program to your folder on the disk L. Each turning on of the apparatus and changing
in wiring must be checked by the assistant!
control of heating
control of fan
Figure 15 – Connection of the heater and the fan to the test panel
e) Drag the Analog Input block to the previous blocks that control heating and the fan, right-
click on the Properties and set the analog input AI3. Connect the Analogue amplifier, which
adjusts the input signal according to the parameters of the resistance thermometer, right
click on the block Amplifiers and in the Properties tab, select the Parameter tab and here set
Sensor Pt100, a unit of Celsius, resolution × 1, the decimal point in a text message leave with
value 0. The output from the Analog amplifier is to be connected to Analog flag AM1. In this
step, you have created a simple system of data acquisition from the thermometer Pt100
(Figure 16).
Figure 16 - Data acquisition from Pt100 using the Analog amplifier block
f) To view the data on the display of the main unit, it will be necessary to configure the Text
message function. To do so, drag Status 1, Message text, and a Flag (marker) functions into
the programming interface.
g) Connect Status 1 with the input of the Message text function. This ensures that the display
automatically turns into the mode displaying text messages when the program is turned on.
Connect the output of the Flag (marker) M, and set his property value into M25; this value is
reserved for automatic execution of display backlight, see Figure 17.
h) Now you can set the Text Message function, see Figure 18. In the left column Block you will
see the functions; their outputs can be displayed on the screen.Only the Analog amplifier
function is enabled. Click on it; then the values of the analog amplifiers that can be displayed
appear in the right column. Click on Ax amplification and drag it to the Message box that
serves as a preview of display. Fill, as the output value, units of °C by selecting the check box
in the preview (in the place where you want to display it) and then by clicking on the
appropriate menu °C in the Message Text.
i) Then check the finished thermometer by simulation. After running the simulation, a new
screen Message text appears; try to change the value of AI3 on the simulation panel and see
how the value of the temperature in the Message text window changes. Switch the
simulation off.
j) Upload the finished and tested program into the PLC.
control of heating
control of fan
k) Now follows testing of the thermometer. For this purpose, use the diagram that you have
created in point b). Run the program in the PLC memory. Switch SA1 to the top position in
order to start the heating by heater (notified by LED HL1). The basic module displays the
current temperature of the furnace model; it will be increased over time. If so, test cooling of
the furnace model. Turn the switch of heating SA1 off to the lower position and
simultaneously switch SA2 to the upper position; the LED diode HL2 will indicate cooling and
temperature on the display of PLC will decrease over time. If everything works, you have
successfully fulfilled the task.
l) Comment the program using the Insert Comments function. Save your project to the disk L
into your previously created folder and make sure to export it into JPG as well.
f) Comparator A will evaluate the current value of the Analog input and will decide about
exceeding of levels determined at 26 °C and 47 °C in such a way that at a temperature lower
than 26 °C it sends the log 0 signal and in excess of 47 °C sends the log 1 value. Adjust
accordingly the right temperatures into comparator A. Think about what will happen in the
temperature range 26-47 °C?
g) In the temperature range 26-47 °C the comparator will hold the value, which it has had
during the last excesion of decision-making levels (temperatures). As a result this means that
the switch has a memory in this range. It will be therefore easy to decide whether the
apparatus is in state when it is necessary to heat, output from the comparator is in the logic
state 0 for the temperature range (-50 °C to 26 °C) and (26 °C to 47 °C) or, conversely, when
cooling is required (whether with or without forced cooling) output is in log 1 for intervals
(26 °C to 47 °C) and (47 °C to 200 °C), for more details see Figure 21.
switch A
switch B
which was left in the program from the previous work. Similarly, carry out analogical
procedure with the Q1 block, which controls the heater relay.
switch SA1
(run the program)
control of heating
switch SA1
(run the program)
control of heating
delayed start
control of fan
References
1 Zezulka F., Bradáč Z., Fiedler P., Kučera P., Štohl R., Programovatelné automaty, Skripta VUT
Brno, Brno 200
2 Kadlec K., Kmínek M.: Měřicí a řídicí technika. http://uprt.vscht.cz/ucebnice/MRT/, (únor
2005)
Measurement of electrolytic conductivity can be applied everywhere where the liquids contain
electrically conductive ions such as in quality controls of water, milk, chemicals, etc. The technicians
who perform such measurement, are often comes into contact with very simple, maintenance free,
devices for measuring the electrolytic conductivity. The probe is simply immersed into the liquid and
the display will show the number, including unit. The aim of the laboratory work Measurement of
Electrolytic Conductivity is to have insight into such a "black box" and try to explain the theoretical
and practical aspects of measuring the electrical conductivity of liquids.
Laboratory station is a simple non-flow system for measuring the electrical conductivity of liquids by
two or four-electrode method, which can be assembled with different geometrical parameters,
altering its sensitivity. On the apparatus it can be practically test the differences between the two
and four-electrode method, determine the thermal dependence of electrical conductivity, or
explained the consequences of polarization of the electrodes at low power frequency.
Study Materials for Laboratory Work
Taking part in the laboratory work Measurement of Electrolytic Conductivity as well as the
instructional text to this work assumes certain level of knowledge on the theory of electrolytic
conductivity, namely on two- and four-electrode sensors. The necessary educational text is to be
found within this Instructions for Laboratory Work.
Before commencing the work in the laboratory, students have to pass through a test, consisting of:
• basic formulas for electrical conductance and specific electrical conductivity;
• difference between the two- and four-electrode sensors;
• general possibilities of utilization of the sensors of electrolytic conductivity, including their
limitations.
This manual for carrying out the laboratory work contains information, which need not to be fully
studied ahead. It is enough to read the Chapter 1. The remaining text serves as a guide for the
laboratory work, contains the work assignment, instructions for carrying out the work and for
processing the protocol.
All mentioned documents are available in printed form in the laboratory room and in PDF format on
the webpages of the Department of Physics and Measurements.
Instructions for Laboratory Work
3 Safety Instructions.......................................................................................... 15
5 Tasks .............................................................................................................. 19
References ........................................................................................................... 24
Instructions for Laboratory Work
The value of the constant K (cm-1) is practically determined for a given measuring cell in such a way,
that resistance of electrolyte solution is measured on that given cell for electrolyte of precisely
known conductivity. The value of the constant K is changing with change of dimensions of the
measuring cell. For solutions of low conductivity (from 0.05 to 200 µS·cm-1), the electrodes are close
to each other and the constant acquires values 0.1 to 0.01 cm-1. Analogically, for solutions of higher
conductivity (from 10 to 20 000 µS·cm-1), sensors of higher distance of electrodes are used and the
constant acquires values 1 cm-1, 10 cm-1 and sometimes even 100 cm-1.
From the formulas for electrical conductance and for the measuring cell constant, the following
formula can be derived:
𝛾 =𝐺∙𝐾 (6)
Current
source
Measuring
amplifier
linear function, setting of the constant of measuring cell of the sensor and/or other diagnostic
functions. Make of these industrial measuring systems must quite often meet requirements related
to their installation even in tough conditions.
As stated above, the contact electrolytic sensors show some drawbacks in industrial applications,
namely related to the fact that measurement often takes place in the medium, which causes
contamination of electrodes by expelled or sedimented substances. It is also difficult to adjust the
sensor to conductivity of the given measured solution. For example, it is necessary to use sensors of
high constant for measuring of solutions of high conductivity. Such sensors have small surface of the
electrodes and therefore they are very sensitive to polarization of electrodes, which causes
measurement errors. Such problems can be removed by using the electrodeless inductive sensors.
3 Safety Instructions
The purpose of these safety instructions is to prevent injury or damage to the laboratory station. It is
of utmost importance to study these instructions carefully before commencing the work with the
station. Failure to adhere to these safety instructions may be penalized by the assistant by premature
termination of the lab work with rating “F”.
When working with the laboratory station, simple rules are to be kept:
any failure is to be immediately reported to the assistant;
before turning on the apparatus, have the physical connection checked by the assistant;
When working with the laboratory station, never:
touch generator electrodes with conductive items (such as pens, screwdrivers, wires, fingers,
etc.) or handle the measured conductive solutions right above the instruments – there is a
danger of electric shock;
short-circuit electrodes, there is a danger of damage to the instrument;
mindlessly manipulate with buttons or switches on the multimeters or the generator;
turn the instruments on without having then checked by the assistant.
mA mV mS cm-1
10
avarage - - -
Task 2
measurement I U G K
no.
mA mV mS cm-1
10
average - - -
Task 3
measurement I U γ
no.
mA mV mS·cm-1
10
average - -
Task 4
measurement T I U γ
no.
°C mA mV mS·cm-1
10
average - - -
5 Tasks
1) Calculate constant of electrode cell on the basis of the measurement of solution of known
concentration by means of two-electrode connection.
2) Calculate constant of electrode cell on the basis of the measurement of solution of known
concentration by means of four-electrode connection.
3) Calculate specific electrical conductivity of unknown solution from knowledge of the
constant of electrode cell. Verify your result by means of the Greisinger instrument and
discuss possible differences in the measured values.
Additional task:
4) Measure temperature dependence of electrical conductivity of solution of known
concentration by means of the electrode cell of four-electrode connection.
References
1. Kadlec K., Kmínek M. Kadlec P., Měření elektrické Měření a řízení v potravinářských a
biotechnologických výrobách, Key Publishing 2015
2. Mašláň S., Měření vodivosti kapalin, Diplomová práce, VUT Brno, 2010
VI January 2015
Author: Dušan Kopecký, Ph.D.
Laboratory Task: Virtual Instrumentation
Filename: MCE.TM.Instructions.for.Laboratory.Work
Pages: 33
Last modification: 14.1.2015
About Laboratory Work
Completing the laboratory work as well as the text of the manual assumes certain level of knowledge
on temperature measurement and digital communication. The necessary theory can be found on the
webpages of the Department of Physics and Measurements
The Instructions for Laboratory Work contains information, which needs not to be studied in
advance in the full extent. It is enough to read the chapters 1, 2 and 3. The remaining text serves as a
guide for the work in the lab, contains the task assignment and instructions for carrying out the work
and for processing the protocol.
Instructions for Laboratory Work
4 Safety Instructions...................................................................................16
6 Tasks .......................................................................................................18
References ....................................................................................................32
Instructions for Laboratory Work TM
protocol, via the RS232 or Ethernet ports. In this task, we will be using setting via the push-buttons
and by means of commands of the iSeries communication protocol via RS232.
Via the D/A converters, the unified analog output i.e. for a plotter is obtained. The instrument may
be connected to a PC through the RS232 interface. The computer then enables to control the
instrument via a program and to carry out data gathering and processing.
Every character used in a computer (letter or digit) is expressed in the ASCII code (American Standard
Code for Information Interchange) as a group of 7 bits (or 8 bits). For example, the letter A is
expressed on the binary form as 1000001, similarly the digit 3 has the binary equivalent 0110011.
These bits are transmitted in a series within a certain frame – see Figure 4. At transmission of a
certain character, first goes the start bit, then continue the semantic bits of the respective character,
follows the parity bit (ensured correctness of the transmission) and the stop bit(s). The protocol of
serial transmission RS232 is flexible enough so that it is possible to choose number of semantic bits,
one or two stop bits, the meaning of the parity bit and the baud rate as well. In our case, the baud
rate is 9600 Bd, which means that altogether 9600 bits are transmitted per second. The transmission
speed (i.e. the number of semantic bits per second) is naturally lower. Some combinations of bit have
the character of a control signal and they are not assigned to any character of the keyboard or a
printer (as for example the termination character Carriage Return).
An interesting feature of this model is the ability to communicate via Ethernet (10base-T) with the
TCP/IP protocol. The instrument acts as a web server, so that the actual measured value can be read
or the instrument can be configured through a web browser. The wall socket and terminal board for
connection of inputs and output and for power supply are situated at the instrument’s back panel.
The instrument supports numerous other functions, which can be configured within the environment
by many logically interconnected parameters, which are specified in the User’s Manual. For this
particular task it is important namely the ability to communicate via the serial interface RS232 using
the iSeries protocol, which is based on sending text commands into the instrument’s memory.
4 Safety Instructions
The purpose of these safety instructions is to prevent injury or damage to the laboratory station. It is
of utmost importance to study these instructions carefully before commencing the work with the
station. Failure to adhere to these safety instructions may be penalized by the assistant by premature
termination of the lab work with rating “F”.
When working with the laboratory station, simple rules are to be kept:
any failure is to be immediately reported to the assistant;
When working with the laboratory station, never:
touch the screw terminal at the back of the instrument and the power supply with conductive
items (such as pens, screwdrivers, wires, fingers, etc.) – there is a danger of electric shock;
unscrew or tear wires from the instrument; the RS232/USB converter with standardized
connectors is used for interconnecting the instrument and the PC;
mindlessly manipulate with buttons on the front panel of the temperature and process
controller.
6 Tasks
1) Get acquainted with the laboratory station, connect it to the PC, check setting of the
communication parameters and carry out the initial testing of the serial link communication.
2) Create a simple programme, which will be sending commands into the temperature and
process controller and read its answers.
3) Modify the programme from the task 2) in such a manner, that it continuously displays the
measured values in a graph.
4) Modify the programme from the task 3) in such a manner, that it continuously saves the
measured data as well.
can be set up to another character as well. Follows the command itself, which consists of a
letter (as for example W for „write“ – write a value into the memory) or X (read the
measured values). More specifically, the commands are described in table 5.1. of the above
mentioned manual. Than follows a hexadecimal number that defines, which sub-command
should be executed. If for example number 01 is added to the letter X (i.e. X01), it means,
that we want to read the actual value of temperature. If we add number 02, we want to read
the maximal value of temperature, etc. The complete set of sub-commands is described in
table 5.3. of the manual. The whole command will be ended with the termination character;
in this care it will be the character Carriage Return in the backslash form, i.e. \r. The whole
command for i.e. reading of the actual temperature value then reads as follows: *X01\r
10) Enter the *X01\r command in the Basic I/O folder, in the Select or Enter Command field. In
the next field Bytes to Read enter number of bytes of the answer of the instrument, which
you want to be read. The answer to our command is 9 bytes long. If you would leave too high
number of bytes, reading would take long time, however too low number of bytes would
mean loss of information on the temperature. Send the command by pressing the Query
button.
11) In case the communication is set properly, the following answer from the instrument will
appear on the screen: X01025.6\r. Here, the value of 25,6 means the actual measured value,
i.e. 25,6°C (see Fig. 12).
Figure 13 – LabVIEW environment with open context help and tools palette
2) The first activity, which the resulting programme must do, is to configure parameters of the
serial link in a similar way, as the NI_MAX software did it. Therefore we will start
programming by entering the VISA Configure Serial Port node, which can be found in the
Functions palette, in the Instrument I/O item, in Serial sub-item. Draw this node into the
block diagram window. At placing the cursor over this function node, the context help will
show arrangement of the individual connecting terminals and in parenthesis at each one also
the default value of the terminal. From the help it is obvious, that – except for the name of
the port COM – we do not have to modify anything. Yet we will create four control elements,
which will enable us to modify the COM port name (vise resource name), the baud rate,
number of bits per data frame and number of stop bits.
3) Place the cursor gradually over the above mentioned terminals of the VISA Configure Serial
Port node and by right-clicking choose from the context menu Create -> Control. In the block
diagram and at the same time on the front panel, a roll-up menu will appear, in which the
values of all four parameters can be chosen. Besides of the port configuration it is possible to
set up, which command termination character will be used. Again, using the Create ->
Control function, create on the termination char of node VISA Configure Serial Port a roll-up
menu for selection of command termination character. The result will then look like
Figure 14.
Constant and after opening the constant choose the item TermChar. For the Send End Enable
feature, create a constant in a similar way; this constant will be in the F (False) state by
default. Click on it to change it to R (True). Connect the last feature Termination Character to
the current terminal Termination Char. The End Mode for Writes feature defines, what will
terminate our command, the Send End Enable feature says that we will really use the
termination character and the last feature Termination Character says, which termination
character will be used. The whole process of communication setting may look complicate,
however it has been managed with only two nodes and several terminals. The result is
shown at Figure 15.
all we send into the instrument and what we received back is of the String type and it
behaves like a text, regardless of whether the command includes digits or letters. Therefore,
no math operations can be carried out with the String date type, which has to be taken into
consideration. The current state of the programme is shown at Figure 16.
Figure 17 – Writing of commands and reading the answers from the instrument’s memory
7) The above-mentioned example has, however, two basic drawbacks, which will prevent it to
function. The first of them is, that open communication between the PC and the instrument
is not properly terminated after reading the value from the instrument’s memory. This
disadvantage can be easily removed by entering the VISA Close function node after the VISA
Read function node. Find the function node VISA Close and terminate execution of the
programme by attaching it. Use the context help.
8) If you now set the communication parameters at the front panel (the right COM port, baud
rate, number of bits of data frame, number of stop bits and hexadecimal character xD for
termination character and further if you insert trial command *X01 into the write buffer
field, you will obtain in the read buffer field the answer X01YYY.Y, where YYY.Y is the actual
temperature. This way you have created a very simple programme for reading values from
the instrument via the serial link.
9) Now we will want to extend the programme and to read the temperature value every
second. For this purpose suits the While loop, which will carry out the command of writing
and reading repeatedly, until the Stop key is pressed. Draw the While loop into the block
diagram and by pressing and drawing draw the loop over the function nodes VISA Write and
VISA Read in such a manner that is includes also the setting of both functions. The whole
loop is equipped in the lower right-hand corner with a termination terminal, by right-clicking
with the mouse and selection Create Control from the offer you can make the Stop button,
which appears on the front panel as well. This button will enable to correctly terminate the
programme. The VISA Close node must not be included into the While function; otherwise
the communication between the PC and the instrument would be continuously interrupter.
The While function is shown at Figure 18.
12) Test the programme simply by pressing the Run button and turning on the heating at the
laboratory station panel. Temperature in the read buffer field should gradually change. If
everything is OK, turn the heating off.
button, enter the file name and path, turn on the heating and see, how the values are being
visualized in the graph. Wait about 3 minutes and then view the file into which you were
saving the data.
References
1 Vlach J., Havlíček J., Vlach M., Začínáme s LabVIEW (Beginning with LabVIEW), Ben, Praha
2008, ISBN: 978-80-7300-245-9
2 Kadlec K., Kmínek M.: Měřicí a řídicí technika (Measuring and Control Technology)
http://uprt.vscht.cz/ucebnice/MRT/, (February 2005)
WS January 2015
Author: Ladislav Fišer, Ph.D.
Laboratory Task: Wireless Sensors
Filename: MCE.WS.Instructions.for.Laboratory.Work
Pages: 29
Last modification: 14.1.2015
About Laboratory Work
Wireless technologies are used wherever the cost of the cables is beyond reasonable limits -
inaccessible or distant places. In addition, through integration and miniaturization of wireless
components, the comfort in the building and management of large sensor networks increases. The
laboratory work Wireless Sensors is an introduction to wireless technologies in measurement and
control.
Students work with the measurement technique known from previous works (temperature,
humidity), and learn the theoretical foundations of ZigBee network type and how to configure the
wireless network and the parameters of individual devices.
Study Materials for Laboratory Work
Completing the laboratory work as well as the text of the manual assumes certain level of knowledge
on temperature measurement and digital communication. The necessary theory can be found on the
webpages of the Department of Physics and Measurements
The Instructions for Laboratory Work contains information, which needs not to be studied in advance
in the full extent. It is enough to read the chapters 1 and 2. The remaining text serves as a guide for
the work in the lab, contains the task assignment and instructions for carrying out the work and for
processing the protocol.
Instructions for Laboratory Work
1 Introduction ............................................................................................. 9
3 Tasks .......................................................................................................17
1 Introduction
ZigBee is a wireless communication technology based on the IEEE 802.15.4 standard. ZigBee is a
relatively new standard valid since November 2004. Similarly to Bluetooth, this standard is
designated for connection of low-power equipment within the PAN (Personal Area Networks)
networks, at short distances up to 75 meters. Thanks to multihop ad-hoc routing it enables
communication even at larger distances without direct radio line-in-sight of the individual devices.
Primary designation is intended for industrial applications and applications of sensor networks.
ZigBee works in the licence-free bands (with general licence), either 902 - 928 MHz, or mainly at
2.4 GHz. The transmission rate is 20, 40, 250 kbps.
There are defined three sorts of devices: network coordinator, full-functionality device and reduced-
functionality device. In contrary to the other sorts, the last one only transmits information and it is
not capable of receiving or forwarding the data.
2 Basic Information
The communication technology described with the IEEE 802.15.4 – ZigBee standard belongs to the
group of wireless PAN networks. To this group belongs also the widespread standard IEEE 802.15.1 –
Bluetooth, which finds its application mainly in consumers´ electronics. There is, however, a number
of industrial applications where Bluetooth is not suitable. For this purpose, the ZigBee alliance has
been established in order to create a new wireless communication standard suitable for the
purposes of industrial automation as well. Currently, more than 60 companies are involved in
development of this standard, including the worldwide automation leaders (Honeywell, Motorola,
Philips, Samsung, Omron, ABB, Siemens). ZigBee has been designed as a simple and flexible
technology for creation of even more extensive wireless networks, where transfer of large data
volume is not required. The main advantages include reliability, simple and easy implementation,
very low power consumption and – last but not least – a favorable price. Due to such features the
standard finds its place in a wire range of applications, which can be divided into several groups:
automation of buildings (security, illumination control, access control)
consumers´ electronics (remote control of appliances)
computer peripherals (wireless mouses and keyboards)
industrial automation
medical care (patients´ monitors)
Due to variability of assumed appliances the standard defines three basic data transmission modes:
periodically repeating actions (transmission of data from sensors)
irregular transmissions (external events, i.e. pressing of a key by user)
repeating transmissions with request for a small delay (wireless peripherals).
Star Net
Tree
Network coordinator
Full Functional Device
Reduced Functionality Device
Figure 1 - Topology of a ZigBee network
The MAC layer (link layer) defines the communication protocol itself, which is based on transmission
of data frames. Four types of communication frames are being defined, which are used for data
transmission, administration or management of the network:
Data Frame – a frame utilized for all transmissions of useful data
Acknowledgement Frame – a frame for transmission of acknowledgement information, being
used at the MAC level for communication confirmation
Beacon Frame – a frame used by the coordinator for transmission of so-called beacons (being
used for bringing the client devices into the sleeping mode)
MAC Command Frame – a frame used for setting and administration of client devices within a
ZigBee network
In order to minimize power consumption of the end devices, the individual end devices may be
brought into a sleeping mode on the bases of synchronization between the coordinator and the end
station. Waking-up of the devices takes place in previously defined time and afterwards all the useful
data are transmitted. The interval of the synchronization sequences may range from 15 ms up to
approx. 15 min. Synchronization is realized by means of so-called beacon frame. The end devices are
periodically awakened-up and data are being transmitted to the network coordinator. The
coordinator will save the data and subsequently will resent them to that device, for which they are
designated, as soon as that device gets awakened. Such approach enables to extremely decrease
power consumption of the end devices. The devices can be thus supplied from batteries. When using
all energy-saving measures, it is possible to reach work-time of an end device 6 months to 2 years per
one alkaline battery. If the network works without the beacon sequences, the individual devices
periodically query the coordinator.
3 Tasks
The goal of the work is to learn how to configure a simple network of wireless sensors and to carry
out several basic measurements. These measurements are to be consequently evaluated.
1) Carry out configuration of the signal receiver for receiving from individual wireless sensors
(of temperature, humidity, unified signal) for the corresponding channels.
2) Set up the local process alarms to the given values.
3) Carry out configuration and activation of the remote alarm.
4) Carry out configuration of database of measured values for recording of signals from the
individual sensors according to the assignment.
5) Carry out configuration of creation of the process diagram according to the assignment.
6) Verify the autonomy of the process by stopping the program at PC (measuring (analog
outputs and alarms) keep running).
7) Evaluate the recorded data externally using a spreadsheet according to the assignment.
Thermocouple
Wireless temperature
Furnace model
transmitter
Wireless transmitter
of unified signal
Indicator 1
The other panel contains a receiver of wireless signals and four indicators of analog output signals
together with fours alarm indicators, which are being controlled by the signal receiver UWTC REC4.
• Process description;
• Checking / entering the channel address;
• Selection of signal units for the process or the ambient environment;
• Setting of local alarms according to the assignment;
• Activation of remote alarm;
Semiconductor gas sensors are miniature sensors designed to detect toxic or explosive gases and
vapors. Contemporary gas sensors are able, in certain ranges of concentrations of analytes, replace,
expensive and complicated analyzers. The aim of the task Semiconductor Gas Sensor is present
commercially available Taguchi-type semiconductor sensor, learn about its signal processing and
measure its detection characteristics on PCI eXtensions for Instrumentation platform.
Study Materials for Laboratory Work
Attendance to the laboratory work and instructions for this work assume a certain level of
knowledge in basic chemistry and physics. Instructions for this laboratory task contain information
that needn´t be studied in details in advance. It is sufficient to read the chapter 2 Theory and section
3.1 SG Sensors Applied in the Laboratory Station. Other chapters serve as a guide when working in
the laboratory and they include work assignment, instructions for performing the work and for
processing the laboratory report.
Prior to beginning the work in the lab, students must complete a test covering the following topics:
• Difference in electrical properties between semiconductors and metals.
• P-type and n-type semiconductors.
• Examples of semiconducting elements and compounds.
• Examples of reducing and oxidizing gases.
• Combustion of methane on the sensor surface during detection.
• Definition of sensitivity for SG sensors.
• Description of sensor architecture and explanation of the function of its components.
Instructions for Laboratory Work
1 Introduction ............................................................................................. 9
2 Theory .....................................................................................................10
2.1 Semiconductors - Basic Properties and Terminology ............................................................ 10
2.2 Operation Principle of the Semiconductor Gas Sensor .......................................................... 10
2.3 Evaluation of SG sensor sensitivity......................................................................................... 12
4 Tasks .......................................................................................................16
5 The Procedure for Tasks Solving and Instructions for Laboratory Report .17
Annex: ...........................................................................................................20
Instructions for Laboratory Work SS
1 Introduction
From the very beginning, the measuring technique is divided into two main trends. The first of them
looks for new measuring principles, transducing mechanisms and improved sensor devices, the
second one tries to reach the superior signal- and data- processing.
The availability of powerful and affordable computer technology caused significant changes in many
fields of human activity and thus in measuring technique. A properly completed computer becomes a
powerful tool for automatic control of measurement processes with easy variation of activity.
Computer communication with a real object (sensor) can take various forms. Mostly, however, the
connection is carried via a standard serial interface RS (RS 232, RS 422, RS 485), standard interface
GPIB (IMS-2), multifunction adapter („measuring card“) or via PXI platform.
This laboratory task demonstrates function of semiconductor gas (SG) sensor, which is computer-
controlled via PXI platform in LabVIEW environment. Before starting to work we should become
familiar with basic terms and theory.
2 Theory
Semiconductor
Metal
SG sensors is rather complex, depending on the nature of sensitive layer material, sensor operating
temperature, sorption of gaseous species on surface of sensitive layer, etc.; in some details it is still
subjected to research. With certain simplification, inorganic sensitive layer (also called active layer)
does not chemically change during detection; it just exchanges - either directly or indirectly -
electrons with the molecules of the detected gaseous analyte.
SG sensor operation principle is based on changes in specific resistance of semiconductor due to
chemical effects - presence of reducing or oxidizing gases in the atmosphere. Sensitive part of sensor
- semiconductor - is in the form of thin layer deposited on an electrically non-conductive ceramic
substrate. Semiconductor has to be chemically stable, i.e. it must not change its chemical
composition on reaction with any component contained in the measured atmosphere (especially
with oxygen, which is always present). Therefore, the sensor cannot be made from silicon, which is
covered by a non-conductive oxide layer in the air. These semiconductive oxides are commonly used
for sensitive layers: SnO2 - by far the most frequent, In2O3, ZnO, Fe2O3, NiO, etc. These oxides cannot
be longer oxidized and thereby they are stable in air. As mentioned above, SnO2 is the usual material
for sensitive layer mostly for its optimum value of specific electrical resistance. It should be stressed
that SnO2 behaves like n-type semiconductor.
To influence the resistance of sensitive layer, the molecules of analyzed gas have to be in a direct
contact (surface chemisorption) with semiconductor. In this context, it is important to classify gases
according to their redox properties:
• reducing gases - their molecules release electrons, so they behave like electron donors; all
combustible gases belong to this category (H2, CO, CH4 and other hydrocarbons, H2S,
alcohol vapours, etc.),
• oxidizing gases - their molecules bond electrons, so they behave like electron acceptors;
the examples are e.g. atmospheric oxygen O2, ozone O3, NO2, F2, Cl2, etc.,
• redox indifferent gases - their molecules does not exchange electrons at all; the examples
are atmospheric nitrogen N2, CO2, inert gases (He, Ne, Ar, Kr, Xe, Rn).
The operation of SG sensor proceeds typically at working temperature 300 – 400 °C in two steps
(Figure 2):
(i) in "common" atmosphere containing mainly N2, O2, Ar, water vapour and CO2, molecular
oxygen is the only redox-active (oxidizing) component. It chemisorbs to the surface of
SnO2 (n-type semiconductor) sensitive layer and bonds free electrons from this material:
O2 (gas) + 𝑒 − → O−
2 (surf.) (1)
O2 (gas) + 2𝑒 − → O2−
2 (surf.) (2)
As a result, anionic oxygen species chemisorbed on the surface are produced. Since this process
extracts free electrons from n-type semiconductor, resistance of the sensor increases and when
achieving steady-state value, the so-called "sensor baseline" marked as R0 is established.
(ii) when now reducing gas (analyte - in our case methane) appears in surrounding
atmosphere, it reacts (combusts) with chemisorbed oxygen species:
CH4 (gas) + 2O2−
2 (surf.) → CO2 (gas) + 2H2 O(gas) + 4𝑒
−
(3)
As a result of this process, electrons are released back to n-type sensitive layer, whose resistance
decreases to a steady-state value marked as Rgas. The detection process is illustrated in Figure 2. As
mentioned, the typical working temperature of the sensitive layer is 300 – 400 °C. Such temperature
is necessary to ensure rapid kinetics of the processes (1) - (3) as the sensor response should be
observable in a few seconds after the analyte appears.
When detecting reducing gas on a n-type semiconductor, it holds the relation R0 > Rgas. Should we
detect oxidizing gas, the relation will be inverse: R0 < Rgas. When detecting gases on p-type
semiconductors, both these relations will be inversed, so there are four possibilities:
Semiconductor gas sensors are used in many fields of human activity, primarily including detection of
hazardous gases (leaks of toxic or explosive gases, monitoring of environment in industrial plants and
mines), gases harmful to the environment (nitrogen and sulphur oxides, ozone) and gaseous
products of combustion (fire alarms, carbon monoxide by incomplete combustion). Gas sensors also
find application in chemical industry (analysing composition of reaction mixtures measuring and
control), automotive industry (monitoring internal atmosphere in the car), roadside checks of drivers
(alcohol breath test) and medicine (diagnosis of disease by breath analysis).
Chemisorbed
oxygen species
Energy barriers
against charge
transfer
on grain surface
Figure 2 - Detection processes on the grains of semiconductor sensitive layer: (i) Chemisorption of
atmospheric oxygen (which acts as electron acceptor) leads to formation of electron-depleted
regions in the material; they cause increase of sensor resistance to R0. (ii) In the next step
negatively charged oxygen species burn with detected gas (methane) and the electrons return back
to the semiconductor - hence Rgas value is established.
Ceramic Sensitive
substrate layer Heater
Supply wires
Measuring electrodes
Figure 3 - Arrangement of a FIGARO sensor chip: front side (left); back side(right).
Figure 4 - Real appearance of FIGARO TGS sensor: sensor chip soldered on the pad (left); the
complete sensor encapsulated in metal cap with perforated mesh for entering analyzed atmosphere
(right).
In our laboratory station the TGS 2611 sensor in C00 model is used. It is designated for detection of
methane. The technical specifications and sensitivity characteristics of TGS2611-C00 are summarized
in Annex.
Power supply
for heating
4 Tasks
1) Prepare gaseous samples, which will be measured: "pure" air, air containing 500, 1000, 5000
and 10,000 ppm of methane.
2) Set the operating point of the sensor according to the manufacturer's specifications (see
Annex). Determine the time necessary for stabilization of sensor parameters in the reference
atmosphere - "pure" air.
3) Measure the sensor response to individual samples containing methane (in increasing order
of concentrations). Return the sensor to the reference atmosphere after each exposition to
methane.
4) Depict the course of the whole measurement (sensor resistance vs. time dependence with
the assignment of methane concentration) in the form of a graphic plot - it will be a part of
your laboratory protocol.
5) For each concentration step evaluate sensor sensitivity (S) from the steady-state values of
resistance using the equation (4).
6) Determine response time (t90) or recovery time (t90*) for each atmosphere change.
7) Process the items 6 and 7 as concentration dependences in graphic form.
8) Evaluate the stability of the sensor resistance in the reference atmosphere (i.e. stability of
"baseline") during the whole measurement (except the starting ramp).
9) Compare obtained results with the characteristics of the sensor provided by manufacturer
(i.e. "Sensitivity Characteristics") listed in Annex. Process into one graph!
1 2 3 11
5
4
6 7
8 9
12
10
Figure 6 - Operation window of the measuring program. Legend: 1 - measured voltage on sensor
heater, 2 - measured current on sensor heater, 3 - sensor resistance, 4 - horizontal slider for setting
working point (i.e. voltage on sensor heater), 5 - setting the period of data saving, 6 - switching the
valves in gas-distribution system, 7 - power supply for gas valves, 8 - file path address for data
saving, 9 - measurement "START" and "STOP" buttons, 10 - actual voltage on sensor heater in
dependence on time, 11 - sensor resistance (output quantity) in dependence on time - linear scale,
12 - sensor resistance (output quantity) in dependence on time - logarithmic scale.
8) At the end stop the measurement using the "STOP" button in the program window. After
clicking the "STOP" button the complete data will be automatically saved in .asc format.
9) Then process the obtained data following assistant's instructions. Import the .asc file into
Excel, select the appropriate delimiter. The table contains following columns:
Column Quantity
1. measurement number
10) Make a graph in analogy to Figure 7. Horizontal axis: time elapsed from the start (it equals to
measurement number); left vertical axis: sensor resistance; right vertical axis: gas-valve
status (log 0 for "pure" air, log 1 for methane in air).
11) Evaluate all the quantities specified in Tasks 6 - 9 and elaborate a protocol.
Time (s)
Figure 7 - Typical response of a SG sensor to shifting from atmosphere of "pure" air to atmosphere
containing methane and vice-versa.
Annex:
Level of liquids or loose materials in tanks or bins belongs to basic technological quantities to be
measured in industrial practice. For level measuring, a wide range of level sensors is being used,
which measure the level height continuously or just in limit states, while various principles are being
used (i.e. float sensors, conductance sensors, capacity sensors, ultrasonic sensors, radar sensors,
etc.). Data from the level sensors can be then used for finding out quantity of the substance, for
balance calculations or as entry information for process control. The task of laboratory work
Continuous Level Sensors is to get acquainted with four most widespread types of level sensors of
continuous actions, with their features and operation.
Study Materials for Laboratory Work
Attendance to the laboratory work and instructions for this work assume a certain level of
knowledge about level measurement. Instructions for this laboratory task contain information that
needn´t be studied in details in advance. It is sufficient to read the chapter 1 and lecture Level
Measurement. Other chapters serve as a guide when working in the laboratory and they include
work assignment, instructions for performing the work and for processing the laboratory report.
Instructions for Laboratory Work
2 Tasks .......................................................................................................12
References ....................................................................................................17
Instructions for Laboratory Work
1 Theoretical Introduction
Evaluation unit
with unified outputs
Capacity level sensor
Tank
Auxiliary Teflon-coated
electrode measuring
electrode
Figure 1 - Scheme of capacity level sensor for conductive liquids, which is used within the work
The sensor Liquicap FMI21 (Endress+Hauser company) is used in this laboratory work as a capacity
level sensor; this sensor has been adapted for operation in tanks with walls made of non-conductive
material and with conductive liquid as the measured medium. The level sensor consists of two rod
electrodes, one of whose is insulated with Teflon coat from the surrounding conductive liquid. The
other electrode is not insulated and serves as earth wire (connection with the electrode consisting of
conductive liquid forms the capacitor). The level sensor is equipped with electrical circuit with output
ranging from 4 to 20 mA, to be displayed on the ammeter OM 35 (Orbit Merret).
Time
Figure 2 - Ultrasonic level sensor working on the principle of ultrasound propagation time
measurement
The formula for calculation of level height measured by an ultrasonic level meter is then:
ℎ = 𝐿max − 𝐿𝑈 (1)
where Lmax is tank height and LU is distance passed by ultrasound, calculated from the equation:
𝑡
𝐿𝑈 = 𝑐 2 (2)
For the calculation, it is however necessary to take into consideration the dependence of density on
temperature, and therefore a suitable thermometer should be used to measure temperature in the
tank.
In the work, you will get acquainted with scales based on strain gauges load cell M230 (Utilcell
company). Weight measured by these scales is displayed by the display unit for strain gauges load
cell OM501T (Orbit Merret company). Temperature of liquid in the tank is detected by the resistance
thermometer Pt100 and displayed by the Omega iSeries unit. Density of water at the measured
temperature is to be read from tables.
The sensor LMP 331 is equipped with a standard output through a current loop 4 to 20 mA.
2 Tasks
1) Familiarize yourself with the apparatus for measurement of level height, identify the
individual level meters examine their make and location on the tanks.
2) Read the enclosed manual and familiarize yourself with the basics of controlling and the
method of loading the programme into the PLC memory.
3) Carry out calibration of the capacity level meter to zero level height and to full tank.
4) Carry out calibration of the ultrasonic level meter to zero level height and to full tank.
5) Carry out calibration of the scales and use the ultrasonic level meter as the reference level
meter.
Storage
tank
Tank A Tank B
Unscrew the cover of the capacity level meter and check setting of the switch for measurement in
vertical tanks (the rectangle symbol) and in horizontal tanks (the circle symbol). This switch has to be
set into the position for measurement in vertical tanks. Further, set the switch for calibration of zero
and maximal position to the zero position (empty rectangle symbol). Press simultaneously both push-
buttons marked as + and - and hold them for 2 seconds, then value of 4 mA will be displayed on
the panel ammeter OM35 and after 10 seconds this value will be stored into the memory of the
meter.
Load the „full_tank_A“ program into the PLC. The pump C1 will be activated, the valve SOL1 will
open, the pump C4 will be stopped and the valve SOL3 will be closed. Tank A will get filled up to the
height preset by the assistant within the program (the PLC for the whole time acquires information
on the level height from the piezoresistive pressure sensor). Check the level height visually at the
sight gauge.
Now turn the calibration switch of empty and full positions to the full position (full rectangle symbol).
Again press simultaneously both push-buttons marked as + and - and hold them for 2 seconds,
then wait till value of 20 mA will be displayed on the ammeter and after 10 seconds this value will be
stored into the memory of the meter.
Finally carry out a test of proper calibration. Load the “test_cal_capacity” program into the PLC. In
this moment, PLC is getting information on the level height from the capacity meter and – if you have
done everything well – the tank will be gradually filled and emptied, first to one quarter, to one half,
to three quarters and at the end to the full preset level height. Check the value of level height visually
at the level gauge.
References
1. K. Kadlec: Měřicí a řídicí technika, Měření hladiny, elektronické výukové pomůcky
www.vscht.cz/ufmt (Measuring and Control Equipment, Measurement of Level Height,
Electronic Educational Aids)
Each technological process can run under various conditions and we often need to research process
behavior with the view of finding optimal technological conditions and thus achievement desired
product quality, or realization or improvement of the process control system. However, we cannot
perform complicated, expensive and dangerous experiments with process in the real plant. Therefore
we prefer design process models and control algorithms and their simulation on computers, which is
more effective, cheap and safe technique.
In the laboratory work PROCESS SIMULATION AND CONTROL, students will learn to
Design dynamic mathematical models based on balance equations and mathematical
description of known physical, physio-chemical and chemical laws.
Simulate process behavior under various technological conditions by mathematical models.
Design simple control system i.e. regulatory feedback loops with PID controllers which are the
most used regulatory controllers in industrial practice.
Set and tune the PID controllers.
Students also will learn to work with simulation software, which was specially developed on UCT
Prague for teaching basics of process modeling, simulation and control, and for education students
not only in the field of process control.
Study Materials for Laboratory Work
In the laboratory, students will work with the simulation software. The document Process Simulation
and Control: User guide of PSIC Add-in is a manual that gives assistance to students using the
software. It is recommended to study it before start of laboratory work.
The document Process Simulation and Control: Instructions for Laboratory Work can be used as a
guide for working in the laboratory. It contains the guidelines for step by step accomplishing the
laboratory work and processing the final report. It should not be necessarily studied in advance.
All mentioned documents are available in printed form in the laboratory room and in PDF format on
webpages of Department of Measurement and Physics.
User Guide for PSIC Add-in
8 Saving......................................................................................................19
Resources ......................................................................................................20
User Guide for PSIC Add-in
2 Software Requirements
The PSIC.xlam file of the add-in contains codes of Visual Basic for Application (VBA) that extends the
built-in Excel commands and functions and provides additional features and commands for inserting
and checking quantities and ODEs of models, running simulations, configuring regulatory loops,
tuning controllers, etc. The PSIC add-in requires the installation of Excel 2007 or Excel 2010 and
authorized the execution of macros permanently in the Trust Center, or temporarily in the Message
Bar when starting Excel – see Enable or disable macros in Office files [1].
4
3
4. Click the Browse button (see Figure 1), find and open the file PSIC.xlam and if you are
asked for copying the add-in file to user folder, choose No . In the Add-Ins available box,
select the check box of Process Simulation and Control add-in and then click OK button .
After activation, the new PSIC ribbon tab with the new commands will be available (see Chapter 4).
Note: Do not add the PSIC add-in by double-clicking on the file PSIC.xlam in the file manager!
After this, the add-in can be opened only as a ordinary workbook (you will not be asked to
install) and may not be added to Excel in a fair manner. It is necessary to restart Excel and
follow instructions 1 – 4 as above.
Note: The add-in can be inactivated at any time by clearing the check box in the Add-Ins
available box (see Figure 1). Inactivating an add-in does not remove the add-in from your
computer, it only inactivate its features and commands (including changes in the user
interface).
If you decide to remove the PSIC add-in from Excel, follow these steps:
1. Remove the file PSIC.xlam from its folder.
2. Start Excel, confirm warning about unavailable add-in file and follow steps 1 – 3 as when you
add the add-in to Excel.
3. In the Add-Ins available box (see Figure 1), clear the check box of Process Simulation and
Control add-in, confirm the query to remove the add-in from Excel and then click OK button.
Note: Warning about unavailable add-in file can appear even if file PSIC.xlam moves or
renames. Then follow instructions above, remove the add-in and add it again.
Gain r0
Text field which changes controller gain r0 in simulated feedback regulatory control loop.
Integration Time Ti
Text field which changes controller integration time Ti in simulated feedback regulatory
control loop.
Derivation Time Td
Text field which changes controller derivation time Td in simulated feedback regulatory
control loop.
Reset
Button which enables return back changes in controls in the ribbon group Controller (i.e. to
restore controller settings used in the last simulation).
Run
Button which generates the new worksheet named Report # with results of simulation of
behavior of process model or feedback regulatory control loop.
Rerun
Button which recalculates simulation of behavior of feedback regulatory control loop after
changing controller settings.
Note: Actions associated with controls on the PSIC tab can be run by keyboard shortcuts that
are displayed in tooltips (see tooltip of the New Control Loop button in the Figure 2).
5 Process Model
Quantities and equations of a process model are entered in the yellow cells of the Model #
worksheet that is generated by New Process Model button (see Chapter 4). On the same sheet,
simulation parameters (in blue cells) and desired outputs simulation (in gray cells) are entered too.
Note: A Model # worksheet is protected so user cannot enter data of other values or types than
requested. If you copy data, insert them as values using Paste Special command.
3
Figure 3: A Model # worksheet – process model design
Output Variable
Select output variable of process model which you want to see (and to control in the later)
(Variable column).
Charts Parameters
Select location of simulation charts (embedded in worksheet or separated chart sheets) in
which results of simulation will be displayed (Location cell).
Model Variables in Charts
In each table row, select variable of process model which you want to display in chart
(Variable column), chart number (Chart No. column) and if you want to set secondary y-axis
for the variable, check Sec Y-axis checkbox.
If you want to simulate model response to step change in input (i.e. load) variable, select input
variable of process model (Variable column), fill size of step change in percent (Size in % column) and
time of step change (Time column) in the table Load Variables .
6
4
11
10
Figure 5: An output sheet Report # - table of model quantities, table of derivations of the 1 st ODEs, and charts
9
7
10
12
8
11
16
14 15
13
Figure 8: An output sheet Report # - table of model quantities, table of derivations of the 1 st ODEs, table of loop quantities and charts
7 Sheet Messages
In addition to dialog boxes and status bar PSIC add-in highlights errors and provides tips using color-
coded sheet messages that are always displayed above the sheet header identification (see Figure 9).
Figure 9: A sheet message highlighting error (red row) and providing tip (blue row)
8 Saving
Workbook with sheets generated by PSIC add-in can be stored into standard Excel document, i.e.
XLSX file.
Note: Excel formulae of the workbook refer to PSIC add-in functions. If PSIC add-in is not
activated or is missing before opening the workbook in Excel the user will receive a warning
message about the need to update the links to the add-in. Then the workbook must be closed
and PSIC add-in must be added and activated.
Note: Sheets with simulation results slow down opening and saving the workbook and
significantly increases file size due to the large amount of data and formulae. When you
design more models and/or control loops is therefore recommended to work with more
workbooks.
Resources
[1] Enable or disable macros in Office files. MICROSOFT. Office Online [online]. © 2014 [cit. 2015-
01-08]. Available from: https://support.office.com/en-au/article/Enable-or-disable-macros-in-
Office-files-12b036fd-d140-4e74-b45e-16fed1a7e5c6.
Each technological process can run under various conditions and we often need to research process
behavior with the view of finding optimal technological conditions and thus achievement desired
product quality, or realization or improvement of the process control system. However, we cannot
perform complicated, expensive and dangerous experiments with process in the real plant. Therefore
we prefer design process models and control algorithms and their simulation on computers, which is
more effective, cheap and safe technique.
In the laboratory work PROCESS SIMULATION AND CONTROL, students will learn to
Design dynamic mathematical models based on balance equations and mathematical
description of known physical, physio-chemical and chemical laws.
Simulate process behavior under various technological conditions by mathematical models.
Design simple control system i.e. regulatory feedback loops with PID controllers which are the
most used regulatory controllers in industrial practice.
Set and tune the PID controllers.
Students also will learn to work with simulation software, which was specially developed on UCT
Prague for teaching basics of process modeling, simulation and control and education students not
only in the field of process control.
Study Materials for Laboratory Work
In the laboratory, students will work with the simulation software. The document Process Simulation
and Control: User guide of PSIC Add-in is a manual that gives assistance to students using the
software. It is recommended to study it before start of laboratory work.
The document Process Simulation and Control: Instructions for Laboratory Work can be used as a
guide for working in the laboratory. It contains the guidelines for step by step accomplishing the
laboratory work and processing the final report. It should not be necessarily studied in advance.
All mentioned documents are available in printed form in the laboratory room and in PDF format on
on webpages of Department of Measurement and Physics.
Instructions for Laboratory Work
Resources ......................................................................................................17
Instructions for Laboratory Work PSC
2 Mathematical Modeling
Set simulation parameters and outputs i.e. read and follow instructions in the chapter
4.2 Process Model of the document Process Simulation and Control: User Guide of PSIC Add-
in [1].
Note 6: When filling cells follow instructions in cell tooltips.
Read and follow instructions in the chapter 4.3 Simulation and Results of the document
Process Simulation and Control: User Guide of PSIC Add-in [1] and simulate
– Steady state i.e. run simulation without any disturbances in load variables,
– Step responses i.e. run simulation with step changes in each of load variables.
Note 7: If you design model of self-regulating process you should see settling of step
responses in simulation charts. If it is necessary adjust final simulation time and run
simulations once more.
Note 8: Study carefully shapes of process-reaction curves for every simulated situation.
Compare trends of curves with your expectations and thus verify model validity.
3 Process Identification
3.1 Finding process time constant (only for self-regulating process) and
process gains by reading from charts of step responses
Read value of time constant T from charts of step responses as shown in the sample on Fig. 1
and calculate its average.
Figure 1: Sample of reading of time constant T from chart of step response of self-regulating process
Calculate process gains ki for each of load variables from the charts of step responses as
shown in the sample on Fig. 2.
N1
tg ki M
N2
N
ki
M
simulation time or, when response is unstable, decrease controller gain and run
simulations once more.
Note 14: The basic method is to tune first the controller gain r0. For the second – if you have
PI, PD or PID controller – set Ti to big value or/and Td to small value and sensitively
decrease resp. increase them so process-reaction curve to be stable and the small control
deviation (or the short settling time, see next note) to be satisfied.
Note 15: Remember that a settling time and an overshoot act against each. Therefore, you
can adjust controller constants only a process-reaction curve will have a small overshoot
but a long settling time, and vice versa. Which controller adjustment is better depends on
the technologist’s requirements and the nature of the process.
6 Generating Report
Create a report in DOCX or PDF format of the name <task-number>.docx or
<task-number>.pdf that will contain
– Complete task specification (including figure)
– Mathematical model (including initial conditions)
– Estimation of a final simulation time
– Process time constant T and process gains ki for each of load variables
– Charts with model responses to step changes in each of load variables
– Tuned values of adjustable controllers parameters
– Charts with loops responses to step change in specified load variable
– Evaluation the quality of feedback control (comparison process-reaction curves in loops
with different controllers, problems with controller constants adjustment etc.).
Give back the task specification to teacher and send Excel file together with report to
teacher’s e-mail address.
Resources
[1] Nachtigalová I.: Process Simulation and Control: User Guide for PSIC Add-in [on-line], January
2015, http://ufmt.vscht.cz.