Exp04 SBHS
Exp04 SBHS
: 20BEE004
Experiment No: - 04
Temperature control of single board heater system using PID control
strategy.
Course Outcome 3: Perform hands-on experiments to verify the PID control strategies.
Introduction: -
From the Single Board Heater System (SBHS) kit one can understand how the heating system
works, how to sense the temperature of the substance, how to interconnect the SBHS kit
(Physical system) with the computer and how to control the heating of substance via different
types of controllers.
Figure 1 shows the photograph of SBHS kit on which the experiment will be performed.
The setup consists of a heater assembly, fan, temperature sensor, microcontroller and
associated circuitry.
Heater assembly consists of an iron plate placed at a distance of about 3.5 mm from the
nichrome coil.
A 12 V computer fan positioned below this heater assembly is meant for cooling the
assembly.
The temperature sensed by the temperature sensor, AD 590, after suitable processing is
fed to the microcontroller.
The microcontroller ATmega16 is the heart of the setup. It provides an interface
between the process and the computer.
The LCD display mounted above the microcontroller displays the heated plate
temperature, heater, and fan inputs and also the commands communicated via serial
port.
The setup is powered by 12 V, 8 A SMPS.
We have used Scilab with Scicos as an interface for sending and receiving data. This
interface is shown in Fig.2.
Heater current and fan speed are the two inputs for this system. They are given in PWM
units. A provision is made to set the parameters related to PID controller (K, Ti, Td) in
Scicos. In this experiment we are keeping the Fan speed constant.
The output temperature profile, as read by the sensor, is also plotted.
The data acquired in the process is stored on the local drive and is available to the user
for further calculations.
clc; clear
all
close all;
load mydata.matsubplot(3,1,1)
plot(time,temperature,'r','MarkerSize',12,'Linewidth',3)
xlabel('Time, Sec')
ylabel('Temperature, C')
title('Time vs Temperature')grid on
hold on
subplot(3,1,2)
plot(time,heater_current,'b','MarkerSize',12,'Linewidth',3)
xlabel('Time, Sec') ylabel('Heater
Current, PWN, C')title('Time vs Heater
Current') grid on
hold on
subplot(3,1,3)
plot(time,error,'g','MarkerSize',12,'Linewidth',3)
xlabel('Time, Sec')
ylabel('Tracking error')
title('TIme vs Error') grid on
Without PID
With PID
Conclusion:
In this experiment we have analyzed and observed temperature control od Single
Board Heater System with PID control and without PID controller. All the
parameters like temperature, fan speed and heater output have been observed from
the graph plotted. PID controller is preferred the most as it tunes the required
values in such a way that output becomes maximum.