Lab-5 (Feedback Temperature Control)
Lab-5 (Feedback Temperature Control)
Name: _________________________
CMS ID: _______________________
Page 1 of 5
Rubrics for Lab Reports
PLO-3, Psychomotor-3, “Develop a closed loop control system”
S. Criteria Beginning Developing Competent Outstanding
No. (40%) (60%) (80%) (100 %)
1 Task Performed
(hardware
interfacing, circuit
development, and
code)
(70%)
2. Report Structure Figures, tables, Figures, graphs, The figures, Figures, tables,
(30%) and/or graphs and/or tables were tables, and/or and/or graphs
were poorly fine but contained graphs were good were nicely
constructed and errors. The overall looking and the presented with
contained errors. format was broken overall report complete captions
The overall format and contained format was good and the format
was out of order grammatical and but still needs was amazing.
and contained contextual errors. some
many grammatical improvements.
and contextual
errors.
Page 2 of 5
Lab Learning Outcomes
After completing this session, the students should be able to interface multiple sensors/devices
with myRIO and write a LabVIEW code to implement a temperature control (feedback/close
loop) system.
Introduction
A temperature control system automatically controls the temperature of an object or an area
(like in air conditioners and refrigerators), where the temperature is automatically adjusted as per
the reference input. To implement a temperature control system, we need a temperature sensor, a
controller, and a cooling device (like a fan) or a system.
In this lab, we will use a thermistor as a feedback element, a dc motor as the plant (i.e., fan), the
inverse of the difference between the desired and actual temperature as the simple components,
shown in Figure 1. This lab aims to automatically adjust the fan speed by detecting the
surrounding temperature.
Feedback
Element
Page 3 of 5
Connect VDD and VT of the voltage divider circuit to appropriate myRIO pins mentioned in
Figure 2.
Connect the battery to the appropriate pins of the H-bridge module. Interconnect the ground
of the H-bridge, myRIO, and the battery.
Use the PWM block of the myRIO module and then connect it with the H-bridge ENA pin.
Use two digital input-output (DIO) blocks and connect them with the H-bridge (IN1 and IN2)
pins.
Connect the motor with OUT1 and OUT2 pins of the H-bridge.
Tasks
Page 4 of 5
1. Interface the components with myRIO and run the VIs provided.
2. What could be the possible purpose of the case structure used in the main VI?
3. What is the effect desired temperature (when it is below and higher than the measured
temperature) on the speed and direction of the motor?
Page 5 of 5