You are on page 1of 12

G-01

APPLICATION SOFTWARE PRACTICE


MINI PROJECT ON

“TEMPERATURE CONTROLLER USING WHILE LOOP”

UNDER THE GUIDANCE OF

PROF. SANGRAM R. JADHAV

MINI PROJECT BY
KADU RAJ MAHENDRA ARATI 18IN5033
AAKHADE KAMLESH RAVINDRA MAYA 18IN5034
MANKAVLE SUNNY SANJAY APARNA 18IN5035

DEPARTMENT OF INSTRUMENTATION ENGNEERING

RAMRAO ADIK INSTITUTE OF TECHNOLOGY

NERUL, NAVI MUMBAI

APRIL - 2018
RAMRAO ADIK INSTITUTE OF TECHNOLOGY
(Affiliated to the University of Mumbai)
D. Y. Patil Vidyanagar, Sector 7, Nerul, Navi Mumbai – 400706

CERTIFICATE
This is to certify that, the mini project titled
“TEMPERATURE CONTROLLER USING WHILE LOOP”
is a bonafide work done by
KADU RAJ MAHENDRA ARATI 18IN5033
AAKHADE KAMLESH RAVINDRA MAYA 18IN5034
MANKAVLE SUNNY SANJAY APARNA 18IN5035

and is submitted in the fulfillment of the requirement for the subject of


Application Software Practice
Instrumentation Engineering
University of Mumbai

Subject In charge HOD

1|Page
ABSTRACT

With the development and popularization of computer technology, digital technology, digital
equipment are replacing analog device gradually. The measurement and control technology plays
an important role in the process of production and scientific research. As the time advancing the
conventional instruments are emerging shortage. It becomes necessary to improve and
modernize. In this project work the conception of virtual instrument and control of temperature
for specific set temperature is introduced. The program system and programming environment of
virtual instrument, labVIEW will be mentioned as well. Around the anticipant target which the
PC-based virtual instrument in this thesis is expected to achieve, the design thoughts and the
whole structure on which the virtual instrument was built are described in details thoughts.
Following these thoughts as principles, a temperature control system will be designed. Based on
Virtual instrument (labVIEW), the temperature control system will be designed to relize the data
of the temperature of the objects. The sample input signals were analysed and disposed to
determine the output signal at given set point with specific delay time using by using the
labVIEW based program.

2|Page
INDEX

Abstract 1

1. Introduction 2
2. Function diagram of the project 3
3. Function used. 4
4. Working 6
5. Front Panel and Block diagram 7
6. Conclusion 9

3|Page
INTRODUCTION

A LabVIEW based Temperature Control System is designed to Detect Temperature


whenever the Temperature goes above a certain temperature and goes below another
certain temperature. The certain Range is selected by the user. And the Temperature is
given as the indication and a message will arrived as “HIGH DANGER” and if
Temperature goes below that certain range, then “LOW DANGER” is arrived. The saved
Values of Temperature are give to the graph will give us the Graphical Representation of
the varying temperature.

4|Page
Function Diagram

RANDOM
TEMPERATURE GIVEN

TEMPERATURE
DETECTION

IF TEMPERATURE IS LOW IF TEMPERATURE IS HIGH

LOW DANGER MESSAGE HIGH DANGER


WILL BE ARRIVED MESSAGE WILL BE
ARRIVED

GRAPHICAL
REPRESENTATION

5|Page
Function Used:

While Loop: Repeats the code within its subdiagram until a specific condition occurs. A While
Loop always executes at least one time.

Components of a While Loop:

 Subdiagram: Contains code that the While Loop executes once per iteration.
 Iteration Terminal: Provides the current loop iteration count. The loop count always
starts at zero for the first iteration.
 Conditional Terminal: Evaluates a Boolean input value to determine whether to
continue executing the While Loop.

Select Function: Returns the value wired to the t input or f input, depending on the value of s. If
s is TRUE, this function returns the value wired to t. If s is FALSE, this function returns the
value wired to f.The connector pane displays the default data types for this polymorphic
function.

String and Path Controls and Indicators: String controls and indicators to enter or display
text. Path controls and indicators to enter or display file or folder paths. Pass new or changed
values to the block diagram from a string or path control during run time by clicking outside the
text field. By default, LabVIEW waits until perform this action to interpret the new values. We
can update the string value as type by right-clicking a string control and selecting Update Value
while Typing from the shortcut menu.

Concatenate Strings Function: Concatenates input strings and 1D arrays of strings into a single
output string. For array inputs, this function concatenates each element of the array. Add inputs
to the function by right-clicking an input and selecting Add Input from the shortcut menu or by
resizing the function.

Greater Or Equal? Function: Returns TRUE if x is greater than or equal to y. Otherwise, this
function returns FALSE. Also change the comparison mode of this function. Also compare an
array or cluster of a data type to a scalar of the same data type and produce an array or cluster of
Boolean values. The connector pane displays the default data types for this polymorphic
function.

6|Page
Working

A VI contains while loop which repeats the code until a specific condition occurs. We set
the Maximum and Minimum Range of temperature which can be measured. By controlling this
temperature with another temperature, we can give any random temperature by using random
number and output of this is given to both the comparison function that is greater than or equal to
function and another one is less than or equal to function. Which is continuously check the
temperature.

Output of the both comparison function is given to a select function. If any one output
becomes true then it indicates a String. For eg. If a random temperature is greater than the a
temperature which is set by user then it will indicate HIGH DANGER and vice versa.

Also one LED is used to indicate the temperature, If the temperature is greater than the
set value then LED turns RED otherwise it is in white colour. We can record previous
temperatures also, by using a waveform chart at the output of random temperature. A test button
is simply used to check the condition is true or false.

We can also store the previous values of temperature by using shift register and recorded
the data.

7|Page
Front Panel

8|Page
Block Diagram

9|Page
Conclusion:
A labVIEW based temperature control system is designed to detect temperature whenever the
temperature goes above a certain temperature and goes below another certain temperature. The
graph will give the us the graphical representation of the varying temperature.

10 | P a g e
11 | P a g e

You might also like