You are on page 1of 11

DAR ES SALAAM INSTITUTE OF TECHNOLOGY

DEPARTMENT OF ELECTRONICS AND TELECOMMUNI CATIONS


ENGINEERING
BACHELOR OF ELECTRONICS AND TELECOMMUNICATIONS ENGINEERING
NTA LEVEL 7B

ETU 08202: ELECTRONIC INDUSTRIAL INSTRUMENTATION


ASSIGNMENT 02:

CLASS: BENG 19 ETE


TEAM 4B MEMBERS

S/N NAME ADMISSION NUMBER SIGNATURE


01 MATTA, VICTOR A 180630720241
02 MOLLEL, STANLEY J 190640723192
03 MWANDIKE, WENCESLAUS E 180630720076
04 RUCHIUS, ENOCK ISHENGOMA 190640720404
05 WALIHA, FELIX JAMES 190220220031
06 KAHIGWA, EMMANUEL 190640723622

SUBBMISION DATE: 20TH MAY 2022


TABLE OF CONTENTS
1. INTRODUCTION..................................................................................................................3

2. LAB DESCRIPTION.............................................................................................................3

2.1 Switching ON.....................................................................................................................4

2.2 Emergency Stop.................................................................................................................4

2.3 Temperature Control..........................................................................................................4

2.4 Indicator Lights..................................................................................................................4

3. SYSTEM PROGRAM...........................................................................................................5

3.1 Program Description...........................................................................................................8

4. SIMATIC Human Machine Interface (HMI)......................................................................8

5. SYSTEM SIMULATION RESULT...................................................................................10

2
TEMPERATURE CONTROL USING SIEMENS PLC LAB

1. INTRODUCTION
The purpose of this lab is to control the water temperature by using temperature sensor
and heat actuator. The lab is continuation of interfacing analogy inputs explained in lab
2 and 3, and how they can be used to control the system using a set temperature. The
designed system can be used to control air-condition (AC) temperature, smart kettle,
boilers, home heating systems etc.

2. LAB DESCRIPTION
The heating pan is used to heat water to a set temperature. The set temperature is
entered manually using a control panel interface. Inside the pan, a temperature sensor
is placed which will be used to monitor if the water temperature reached the set value.
If the water temperature in below the set temperature the heater is actuated until it
reaches the maximum value. At the maximum value the heater should stop and allow
water to cool to minimum value. The control will proceed as long as the system is on.
The values can be displayed on the control panel.

Figure 01: Heating Pan

3
2.1 Switching ON
The station is switched on with the main switch Q0. Relay K0 (main switch "ON") is
energized and provides the supply voltage for the sensors and actuators. This operating
state is indicated by indicator light P1 (main switch on)

2.2 Emergency Stop


In the absence of feedback from the EMERGENCY STOP (A1), all drives must be
stopped immediately. When feedback from the EMERGENCY STOP function is present
again, the station may only start up again after another start signal. Activation of the
EMERGENCY STOP is indicated by indicator lights P4 (EMERGENCY STOP activated).

2.3 Temperature Control


If the temperature sensor detects the temperature below 10% of the set temperature,
the coil actuator is activating. The water is heater until maximum value of temperature
(above 10% of set temperature), at this point the actuator is de- energized allowing the
water to cool. The process continues as long as the system is
SETTEMPERATUREWINDOW SETTEMPERATURE BACK SAVE 30.0OC 25 on, when the
set temperature is changed the system should follow a new set temperature.

2.4 Indicator Lights


As soon as relay K0 (main switch "ON") becomes energized, indicator light P1 (main
switch on) lights up. If the EMERGENCY STOP function has tripped, P4 (EMERGENCY
STOP activated) lights up. Indicator light P6 (Coil ON) lights up as soon as the coil
actuator is activated.

INPUTS (DI)

Name Type Address Function NC/NO


A1 bool %I0.0 Return signal emergence ok NC
K0 bool %I0.1 Main switch “ON” NO
S1 bool %I0.2 Pushbutton ON NO
S2 bool %I0.3 Pushbutton ON NC

4
INPUT (A1)

Name Type Address Function


A1 REAL %W64 Temperature sensor input

OUTPUT(D0)

Name Type Address Function


Q1 bool %Q0.0 Coil actuator ON
P1 bool %Q0.3 Display “main switch on”
P4 bool %Q0.4 Display “emergency stop activated”
P6 bool %Q0.6 Display Heater coil –C “ON”

3. SYSTEM PROGRAM
The system program was written using Ladder Logic Diagram, the program was then
tested and the system run well, the following are series of the programs written in Logic
Ladder Programming Language.

5
6
7
3.1 Program Description
The program has seven Networks

Network 1: Activate emergency stop (%d0.0).

Network 2: Activate the main switch

Network 3: Open and start the system

Network 4: It performs analog to digital conversion, sensor data from (%W64) are
processed and then normalized from decimal value into integers.

Network 5: Compare the output temperature with the set temperature

Network 6: Count and display the value of temperature

Network 7: Move data

4. SIMATIC Human Machine Interface (HMI)

Water temperature control window:

Temperature control window is the home screen control panel which is used to display
the value of temperature from the temperature control system. The window give access
to the user to perform different setting such as temperature set and also checking for
the system performance as can be seen below.

8
Figure 02: water temperature control window
Set temperature window:

The set temperature window is used to set the temperature value at which the system
is to maintain (the maximum temperature of the system). The temperature that will be
set is the one that will be maintained by the system using the Logic Ladder
programming that will be fed in the System.

Figure 03: Set temperature window

9
5. SYSTEM SIMULATION

The following were the simulation result of the system as per design and program fed
on the system. As can be seen from diagrams below, thus the set temperature was 27 0
C when temperature goes below the set temperature, the system actuates the coil so
as to heat the water, and when the temperature goes higher than the set value the
system turns of the coil to let them cool down.

Figure 04: Water temperature control simulation

10
Figure 05:

11

You might also like