SlideShare a Scribd company logo
4/6/2016
The Temperature Box
Introduction to the control System project
Submitted By:
1. Md. Mamunur rahaman 13321051
2. Benazir Mustafa- 13321026
3. MD. Toufiq Hasan Anik 13121157
4. Farzana Nayeem- 13321047
5. Sumaiya Mustafa- 13221044
6. Mahmudul Islam- 13121133
Submitted to:
Dr. A.K.M Abdul Malek Azad
Professor
Department of Electrical and Electronics
Engineering, BRAC University, Dhaka,
Bangladesh.
Abstract:
There is a heightened awareness in the academic controls community about the need to attract
the best and brightest students to the discipline. To achieve this end, change is needed in the
standard approaches to educating, recruiting and training students. In this paper, the
“Temperature Box” experiment is presented. This experiment involves the design and
implementation of a feedback temperature control system. At the BRAC University, the
Temperature Box is used to motivate the material in an introductory system engineering course.
Objective:
The main objective of this experiment is to construct a closed loop control system that regulates
the temperature inside a box. Comparator compress to feedback to the pre-defined temperature
level and gives output accordingly.
The Temperature Box Experiment:
Comparison circuit Logic Gates Relay, Bulb and Plant
High Temperature
Low Temperature
Temperature
Scale and Shift circuit Sensor
Figure: Block diagram of the Temperature Box.
The Temperature sensor:
We use LM35 temperature sensor which gives the Calibration directly in Celsius
(Centigrade).Output of this sensor varies by 0.01V per degree Celsius. It can sense from -55 to
150 degree Celsius. The relationship between temperature and voltage is linear for a wide range
of temperatures and is given by
Vs=0.01*Tc
First we Place a bulb near the sensor and increase the temperature. Then corresponding
temperature and voltage readings were collected using thermometer and multi-meter
respectively. We see the linear relationship between temperature and voltage. The readings
were then tabulated and a best fit line was plotted using MS EXCEL
Temperature(oC) 22 24 26 28 30 32 34 36 40
Input Voltage(V) 0.22 0.24 0.27 0.28 0.31 0.32 0.35 0.36 0.40
Graph 1: Shows the voltage vs. temperature linear relationship
Scale and shift
As earlier we saw that the output of the temperature sensor is very low and it is very difficult
to use this values as on comparator circuit. So on this scale and shift circuit our main objective
was to increase the sensitivity as a higher voltage range to work properly and easily with the
comparator circuit. So we wanted to increase the gain as about 11 times as early stage.
This circuit first Scale and shift the input to output. This circuit is also called adder circuit.
0
0.1
0.2
0.3
0.4
0.5
0 5 10 15 20 25 30 35 40 45
voltage(Vs)
temperature(Tc)
V VS T
As we know, VT= α+βVs
So, At 28 Degree Vs=0.28v and VT=2.9v so, 2.9=α+0.28β……(1)
At 35 Degree Vs=0.35v and VT=3.72v so, 3.72=α+0.35β…… (2)
From equation (1) and (2)
We got α=-0.3785 and β=11.71
So, α=-0.378=-5*R/R2 and β=11.71=R/R1
We took, R=10KΩ So, R1=.85 KΩ and R2= 132.1K Ω
We used Variable resistance Pot as resistors.
This same thing can be done by using proportional controller. Which will just increase the gain
by varying resistance.
Comparator Circuit:
This circuit is used to compare shift and scale circuit output voltage, VT with higher
temperature voltage VH and lower temperature voltage VL. To make decision whether A and
B is active or inactive to turn the relay on and off.
PROCEDURE:
1. Set higher voltage VH and lower voltage VL using pot
2. Higher voltage and lower voltage acts as reference.
3. Scale and shift output voltage compared with reference.
4. A and B output obtained and make decision which situation A and B active or inactive
CONDITION:
VT<VL<VH A=1, Active B=0, inactive
VT>VH>VL A=0 , inactive B=1 ,inactive
VL<VT<VH A=1 active B=1 active
ANALYSIS:
VH(35’C) VT VL(28’C) A B
3.72 2.2 2.9 1 0
3.72 4.5 2.9 0 1
3.72 3.1 2.9 1 1
Here, we noticed that when we set shift and scale output voltage 2.2(VT<VL) then we got A
active and B inactive. It means that relay is on. On the other hand, when we put VT
4.5(VT>VH) then we got A inactive and B active. It means that relay is off. We got both active
and relay unchanged when VT was set (VL<VT<VH).
D Flip-Flop:
D stands for data. This type of flip-flop stores the data that is on the data line. It captures the
value of D- input at a definite portion of the clock cycle and it becomes the output Q.
From the comparison circuit we get the value of A and B. We used the digital logic circuit to
implement the comparison circuit. This digital logic circuit is consists with two NAND gates,
one clock generator and a D Flip-Flop.
The Karnaugh map for comparison circuit is given below-
AB𝑅 𝑘 0 1
0 0 X X
0 1 0 0
1 1 0 1
1 0 1 1
From this we can get a logical expression, 𝑅 𝑘+1= B’+A𝑅 𝑘
⇒ 𝑅 𝑘+1= (B (A𝑅 𝑘)’)’ [DeMorgan’s Law]
Where 𝑅 𝑘 and 𝑅 𝑘+1 represents the present state and next state respectively.
This logical expression is implemented using two NAND gates, one D Flip-Flop and a clock.
Fig: sequential digital logic for comparison block
The truth table of D Flip-Flop is given below-
Clock:
A clock generator circuit produces the time signal. The D Flip-Flop tries to follow the input
D but it cannot make the transitions unless it is enabled by the clock. We get the clock signal
from the signal generator.
Where, frequency =1 KHz; Amplitude = 5V and the pulse input is square wave.
BJT(Bipolar Junction Transistor):
Bipolar transistors consists of either p-n-p or n-p-n semiconductor. The three parts of BJT are
emitter, base and collector. In this circuit we used a n-p-n transistor.
The output we get from the D Flip-Flop is passed through a BJT to the relay. We used a BJT
here because if the output from a D Flip-Flop is less than 6V it cannot turn the relay ON and
the light will be in OFF state. As we get 4.1V output from the D Flip-Flop it is not possible to
turn on the light.
For this reason we connected a BJT here. When the voltage is 0.7 or greater than that the emitter
and the collector get shorted and then the relay will be ON.
After connecting the BJT with the output Q, we get 0.8 V in base. As a result the relay will be
ON and the light as well.
In this circuit we connected the base of the BJT with the output of the D Flip-Flop through a
10K resistor, the collector with the relay and grounded the emitter.
RELAY CONNECTION:
A relay is basically a switch that operates electrically which contains a sensing unit, the electric
coil, which is powered by AC or DC current. When the applied current or voltage exceeds a
threshold value, the coil activates the armature, which operates either to close the open contacts
or to open the closed contacts. In general, the current flowing in one circuit causes the opening
or closing of another circuit
.
Figure: Circuit Diagram of a Relay
In our project, the relay is used to switch on or off a bulb for a particular range of temperature.
The relay is turned on when the D flip-flop provides 5 volts to the relay and it is turned off
when it gets 0 volt from the D flip-flop. Here, the important point is that the relay switching
should be based on 3 rules discussed in the comparison circuit section and they are: (1) VT <=
VL < VH (Relay turns on) (2) VT >= VH > VL (Relay turns off) (3) VL < VT < VH (Relay state
unchanged)
The complete relay circuit is given below:
Figure: Relay Circuit with internal connections
Another important thing is that the connection between BJT and the relay. As the BJT is
connected with the D flip-flop, it carries the voltage to the relay and acts as a switching device.
To control a load, first it is needed to know what sort of load is used. In our case it is a 6 volt
relay. From the datasheet given below, we can acquire the resistance of the relay's solenoid
which is 400 Ohms for the 6 volt version that we use. We can calculate the current that flows
through the solenoid (coil) of the relay using Ohm’s Law, I = V / R => I = 6 / 400 => I = 0.015
A = 15 mA. The transistor must be able to provide enough current for the relay load which is
15 mA. Besides, the transistor must be able to switch 6 volts of voltage across its collector-
emitter leads.
Figure 1: Datasheet
Conclusion:
The ‘Temperature Box’ project gives an insight on closed loop configuration and feedback
systems which has enhanced the understanding of the course material. It can be said that PBL
(Project Based Learning) is better than traditional subject based learning. The project work has
put us in a position of real life problem solving situation in which we needed discussions,
improvisations and most importantly group work to complete it.
Referance:
Richard T. O’Brien , Jr . and John M. Watkins , Conference on Decision & control , Phoenix,
Arizona USA.December 1999

More Related Content

What's hot

Single stage bjt amplifier. experiment 6
Single stage bjt amplifier. experiment 6Single stage bjt amplifier. experiment 6
Single stage bjt amplifier. experiment 6
Karimi LordRamza
 
Bab xxi transformasi geometri
Bab xxi transformasi geometriBab xxi transformasi geometri
Bab xxi transformasi geometri
hawir finec
 
Electronic devices-9 e-floyd-solutions
Electronic devices-9 e-floyd-solutionsElectronic devices-9 e-floyd-solutions
Electronic devices-9 e-floyd-solutions
EhtishamRaza1
 
Bipolar Junction Transistor (BJT) DC and AC Analysis
Bipolar Junction Transistor (BJT) DC and AC AnalysisBipolar Junction Transistor (BJT) DC and AC Analysis
Bipolar Junction Transistor (BJT) DC and AC Analysis
Jess Rangcasajo
 
Second Order Differential Circuits
Second Order Differential CircuitsSecond Order Differential Circuits
Second Order Differential Circuits
Prerak Trivedi
 
Lab 8 bipolar junction transistor characterstics
Lab 8  bipolar junction transistor charactersticsLab 8  bipolar junction transistor characterstics
Lab 8 bipolar junction transistor characterstics
kehali Haileselassie
 
Electronic devices and circuit theory 11th ed
Electronic devices and circuit theory 11th edElectronic devices and circuit theory 11th ed
Electronic devices and circuit theory 11th ed
Mobin Hossain
 
Freehold Semi-Detached Homes-Laman Lakeside
Freehold Semi-Detached Homes-Laman LakesideFreehold Semi-Detached Homes-Laman Lakeside
Freehold Semi-Detached Homes-Laman Lakeside
Sime Darby Property
 
Mechanical properties of matter Q1
Mechanical properties of matter Q1Mechanical properties of matter Q1
Mechanical properties of matter Q1physics101
 
Atmospheric & RF Electricity Collectors
Atmospheric & RF Electricity CollectorsAtmospheric & RF Electricity Collectors
Atmospheric & RF Electricity Collectors
uniqueprophai
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdf
study material
 
Engr207 assignment#1
Engr207   assignment#1Engr207   assignment#1
Engr207 assignment#1
kimoantimo_1001
 
Electrical Circuit.pdf
Electrical Circuit.pdfElectrical Circuit.pdf
Electrical Circuit.pdf
ssuserf798a5
 
Santorini
SantoriniSantorini
Santorini
Fani Karaoli
 
New Physics for a New Era of Electric Mobility and Clean Power Generation
New Physics for a New Era of Electric Mobility and Clean Power GenerationNew Physics for a New Era of Electric Mobility and Clean Power Generation
New Physics for a New Era of Electric Mobility and Clean Power Generation
Thane Heins
 

What's hot (15)

Single stage bjt amplifier. experiment 6
Single stage bjt amplifier. experiment 6Single stage bjt amplifier. experiment 6
Single stage bjt amplifier. experiment 6
 
Bab xxi transformasi geometri
Bab xxi transformasi geometriBab xxi transformasi geometri
Bab xxi transformasi geometri
 
Electronic devices-9 e-floyd-solutions
Electronic devices-9 e-floyd-solutionsElectronic devices-9 e-floyd-solutions
Electronic devices-9 e-floyd-solutions
 
Bipolar Junction Transistor (BJT) DC and AC Analysis
Bipolar Junction Transistor (BJT) DC and AC AnalysisBipolar Junction Transistor (BJT) DC and AC Analysis
Bipolar Junction Transistor (BJT) DC and AC Analysis
 
Second Order Differential Circuits
Second Order Differential CircuitsSecond Order Differential Circuits
Second Order Differential Circuits
 
Lab 8 bipolar junction transistor characterstics
Lab 8  bipolar junction transistor charactersticsLab 8  bipolar junction transistor characterstics
Lab 8 bipolar junction transistor characterstics
 
Electronic devices and circuit theory 11th ed
Electronic devices and circuit theory 11th edElectronic devices and circuit theory 11th ed
Electronic devices and circuit theory 11th ed
 
Freehold Semi-Detached Homes-Laman Lakeside
Freehold Semi-Detached Homes-Laman LakesideFreehold Semi-Detached Homes-Laman Lakeside
Freehold Semi-Detached Homes-Laman Lakeside
 
Mechanical properties of matter Q1
Mechanical properties of matter Q1Mechanical properties of matter Q1
Mechanical properties of matter Q1
 
Atmospheric & RF Electricity Collectors
Atmospheric & RF Electricity CollectorsAtmospheric & RF Electricity Collectors
Atmospheric & RF Electricity Collectors
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdf
 
Engr207 assignment#1
Engr207   assignment#1Engr207   assignment#1
Engr207 assignment#1
 
Electrical Circuit.pdf
Electrical Circuit.pdfElectrical Circuit.pdf
Electrical Circuit.pdf
 
Santorini
SantoriniSantorini
Santorini
 
New Physics for a New Era of Electric Mobility and Clean Power Generation
New Physics for a New Era of Electric Mobility and Clean Power GenerationNew Physics for a New Era of Electric Mobility and Clean Power Generation
New Physics for a New Era of Electric Mobility and Clean Power Generation
 

Similar to Temperature box

buck converter
buck converterbuck converter
buck converter
KifayatUllah68
 
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docxIntroduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
mariuse18nolet
 
Sepic
SepicSepic
Multisim_simulation_project_3_^0_4[1]-2.pptx
Multisim_simulation_project_3_^0_4[1]-2.pptxMultisim_simulation_project_3_^0_4[1]-2.pptx
Multisim_simulation_project_3_^0_4[1]-2.pptx
wencove9
 
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...
IJNLC Int.Jour on Natural Lang computing
 
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volt...
A High Step Up Hybrid Switch Converter  Connected With PV Array For High Volt...A High Step Up Hybrid Switch Converter  Connected With PV Array For High Volt...
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volt...
ijitjournal
 
Simulation of Boost Converter Using MATLAB SIMULINK.
Simulation of  Boost Converter Using MATLAB SIMULINK.Simulation of  Boost Converter Using MATLAB SIMULINK.
Simulation of Boost Converter Using MATLAB SIMULINK.
Raviraj solanki
 
Sesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y Diodos
Sesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y DiodosSesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y Diodos
Sesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y Diodos
Javier García Molleja
 
Parcial asincrona (2)
Parcial asincrona (2)Parcial asincrona (2)
Parcial asincrona (2)
WalterAntonioGuiller
 
Parcial asincrona
Parcial asincronaParcial asincrona
Parcial asincrona
WalterAntonioGuiller
 
508 144-151
508 144-151508 144-151
508 144-151
idescitation
 
EE452_ClosedLoop Boost Converter
EE452_ClosedLoop Boost ConverterEE452_ClosedLoop Boost Converter
EE452_ClosedLoop Boost Converterki hei chan
 
Assignmentl3 solutions
Assignmentl3 solutionsAssignmentl3 solutions
Assignmentl3 solutions
Om Prakash Bankolia
 
Superposition and norton Theorem
Superposition and norton TheoremSuperposition and norton Theorem
Superposition and norton Theorem
Mahmudul Alam
 
3742250677250MODULEIIMPTRT.pptx
3742250677250MODULEIIMPTRT.pptx3742250677250MODULEIIMPTRT.pptx
3742250677250MODULEIIMPTRT.pptx
JaishankarSNambiar1
 
2426Lab7Series&ParallelCircuits
2426Lab7Series&ParallelCircuits2426Lab7Series&ParallelCircuits
2426Lab7Series&ParallelCircuitsTaylor Huston
 
Small signal analysis based closed loop control of buck converter
Small signal analysis based closed loop control of buck converterSmall signal analysis based closed loop control of buck converter
Small signal analysis based closed loop control of buck converter
Ramaraochowdary Kantipudi
 

Similar to Temperature box (20)

buck converter
buck converterbuck converter
buck converter
 
Evandro lab 4
Evandro lab 4Evandro lab 4
Evandro lab 4
 
Evandro lab 4
Evandro lab 4Evandro lab 4
Evandro lab 4
 
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docxIntroduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
 
Sepic
SepicSepic
Sepic
 
Multisim_simulation_project_3_^0_4[1]-2.pptx
Multisim_simulation_project_3_^0_4[1]-2.pptxMultisim_simulation_project_3_^0_4[1]-2.pptx
Multisim_simulation_project_3_^0_4[1]-2.pptx
 
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volta...
 
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volt...
A High Step Up Hybrid Switch Converter  Connected With PV Array For High Volt...A High Step Up Hybrid Switch Converter  Connected With PV Array For High Volt...
A High Step Up Hybrid Switch Converter Connected With PV Array For High Volt...
 
Simulation of Boost Converter Using MATLAB SIMULINK.
Simulation of  Boost Converter Using MATLAB SIMULINK.Simulation of  Boost Converter Using MATLAB SIMULINK.
Simulation of Boost Converter Using MATLAB SIMULINK.
 
Sesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y Diodos
Sesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y DiodosSesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y Diodos
Sesión de Laboratorio 3: Leyes de Kirchhoff, Circuitos RC y Diodos
 
Parcial asincrona (2)
Parcial asincrona (2)Parcial asincrona (2)
Parcial asincrona (2)
 
Parcial asincrona
Parcial asincronaParcial asincrona
Parcial asincrona
 
508 144-151
508 144-151508 144-151
508 144-151
 
EE452_ClosedLoop Boost Converter
EE452_ClosedLoop Boost ConverterEE452_ClosedLoop Boost Converter
EE452_ClosedLoop Boost Converter
 
Assignmentl3 solutions
Assignmentl3 solutionsAssignmentl3 solutions
Assignmentl3 solutions
 
Superposition and norton Theorem
Superposition and norton TheoremSuperposition and norton Theorem
Superposition and norton Theorem
 
3742250677250MODULEIIMPTRT.pptx
3742250677250MODULEIIMPTRT.pptx3742250677250MODULEIIMPTRT.pptx
3742250677250MODULEIIMPTRT.pptx
 
2426Lab7Series&ParallelCircuits
2426Lab7Series&ParallelCircuits2426Lab7Series&ParallelCircuits
2426Lab7Series&ParallelCircuits
 
Small signal analysis based closed loop control of buck converter
Small signal analysis based closed loop control of buck converterSmall signal analysis based closed loop control of buck converter
Small signal analysis based closed loop control of buck converter
 
Lab 3_Walker
Lab 3_WalkerLab 3_Walker
Lab 3_Walker
 

More from MD TOUFIQ HASAN ANIK

Study of RC filter
Study of RC filterStudy of RC filter
Study of RC filter
MD TOUFIQ HASAN ANIK
 
Operational amplifier (OPAMP)
Operational amplifier (OPAMP)Operational amplifier (OPAMP)
Operational amplifier (OPAMP)
MD TOUFIQ HASAN ANIK
 
Ac current
Ac currentAc current
Superposition principle and Thevnin Theorm
Superposition principle and Thevnin TheormSuperposition principle and Thevnin Theorm
Superposition principle and Thevnin Theorm
MD TOUFIQ HASAN ANIK
 
Presentations strategies
Presentations strategiesPresentations strategies
Presentations strategies
MD TOUFIQ HASAN ANIK
 
Cause and effect essay structure
Cause and effect essay structure Cause and effect essay structure
Cause and effect essay structure
MD TOUFIQ HASAN ANIK
 
Ma vie quotidienne -My daily life in French presentation
Ma vie quotidienne -My daily life in French presentationMa vie quotidienne -My daily life in French presentation
Ma vie quotidienne -My daily life in French presentation
MD TOUFIQ HASAN ANIK
 
Physical exercise must be made mandatory in schools and colleges
Physical exercise must be made mandatory in schools and collegesPhysical exercise must be made mandatory in schools and colleges
Physical exercise must be made mandatory in schools and colleges
MD TOUFIQ HASAN ANIK
 
Humans are always responsible for natural destruction
Humans are always responsible for natural destructionHumans are always responsible for natural destruction
Humans are always responsible for natural destruction
MD TOUFIQ HASAN ANIK
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
MD TOUFIQ HASAN ANIK
 
An exclusive report on Renata limited financial accounting
An exclusive report on Renata limited financial accountingAn exclusive report on Renata limited financial accounting
An exclusive report on Renata limited financial accounting
MD TOUFIQ HASAN ANIK
 
Creating DSB-SC generation and reconstruction
Creating DSB-SC generation and reconstructionCreating DSB-SC generation and reconstruction
Creating DSB-SC generation and reconstruction
MD TOUFIQ HASAN ANIK
 
Acid base titration
Acid base titrationAcid base titration
Acid base titration
MD TOUFIQ HASAN ANIK
 
An exclusive report on Banglalink strategic management
An exclusive report on Banglalink strategic managementAn exclusive report on Banglalink strategic management
An exclusive report on Banglalink strategic management
MD TOUFIQ HASAN ANIK
 
HR selection process of prime Bank Bangladesh
HR selection process of prime Bank BangladeshHR selection process of prime Bank Bangladesh
HR selection process of prime Bank Bangladesh
MD TOUFIQ HASAN ANIK
 
Statistics in real life engineering
Statistics in real life engineeringStatistics in real life engineering
Statistics in real life engineering
MD TOUFIQ HASAN ANIK
 

More from MD TOUFIQ HASAN ANIK (16)

Study of RC filter
Study of RC filterStudy of RC filter
Study of RC filter
 
Operational amplifier (OPAMP)
Operational amplifier (OPAMP)Operational amplifier (OPAMP)
Operational amplifier (OPAMP)
 
Ac current
Ac currentAc current
Ac current
 
Superposition principle and Thevnin Theorm
Superposition principle and Thevnin TheormSuperposition principle and Thevnin Theorm
Superposition principle and Thevnin Theorm
 
Presentations strategies
Presentations strategiesPresentations strategies
Presentations strategies
 
Cause and effect essay structure
Cause and effect essay structure Cause and effect essay structure
Cause and effect essay structure
 
Ma vie quotidienne -My daily life in French presentation
Ma vie quotidienne -My daily life in French presentationMa vie quotidienne -My daily life in French presentation
Ma vie quotidienne -My daily life in French presentation
 
Physical exercise must be made mandatory in schools and colleges
Physical exercise must be made mandatory in schools and collegesPhysical exercise must be made mandatory in schools and colleges
Physical exercise must be made mandatory in schools and colleges
 
Humans are always responsible for natural destruction
Humans are always responsible for natural destructionHumans are always responsible for natural destruction
Humans are always responsible for natural destruction
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
An exclusive report on Renata limited financial accounting
An exclusive report on Renata limited financial accountingAn exclusive report on Renata limited financial accounting
An exclusive report on Renata limited financial accounting
 
Creating DSB-SC generation and reconstruction
Creating DSB-SC generation and reconstructionCreating DSB-SC generation and reconstruction
Creating DSB-SC generation and reconstruction
 
Acid base titration
Acid base titrationAcid base titration
Acid base titration
 
An exclusive report on Banglalink strategic management
An exclusive report on Banglalink strategic managementAn exclusive report on Banglalink strategic management
An exclusive report on Banglalink strategic management
 
HR selection process of prime Bank Bangladesh
HR selection process of prime Bank BangladeshHR selection process of prime Bank Bangladesh
HR selection process of prime Bank Bangladesh
 
Statistics in real life engineering
Statistics in real life engineeringStatistics in real life engineering
Statistics in real life engineering
 

Recently uploaded

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 

Recently uploaded (20)

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 

Temperature box

  • 1. 4/6/2016 The Temperature Box Introduction to the control System project Submitted By: 1. Md. Mamunur rahaman 13321051 2. Benazir Mustafa- 13321026 3. MD. Toufiq Hasan Anik 13121157 4. Farzana Nayeem- 13321047 5. Sumaiya Mustafa- 13221044 6. Mahmudul Islam- 13121133 Submitted to: Dr. A.K.M Abdul Malek Azad Professor Department of Electrical and Electronics Engineering, BRAC University, Dhaka, Bangladesh.
  • 2. Abstract: There is a heightened awareness in the academic controls community about the need to attract the best and brightest students to the discipline. To achieve this end, change is needed in the standard approaches to educating, recruiting and training students. In this paper, the “Temperature Box” experiment is presented. This experiment involves the design and implementation of a feedback temperature control system. At the BRAC University, the Temperature Box is used to motivate the material in an introductory system engineering course. Objective: The main objective of this experiment is to construct a closed loop control system that regulates the temperature inside a box. Comparator compress to feedback to the pre-defined temperature level and gives output accordingly. The Temperature Box Experiment: Comparison circuit Logic Gates Relay, Bulb and Plant High Temperature Low Temperature Temperature Scale and Shift circuit Sensor Figure: Block diagram of the Temperature Box.
  • 3. The Temperature sensor: We use LM35 temperature sensor which gives the Calibration directly in Celsius (Centigrade).Output of this sensor varies by 0.01V per degree Celsius. It can sense from -55 to 150 degree Celsius. The relationship between temperature and voltage is linear for a wide range of temperatures and is given by Vs=0.01*Tc First we Place a bulb near the sensor and increase the temperature. Then corresponding temperature and voltage readings were collected using thermometer and multi-meter respectively. We see the linear relationship between temperature and voltage. The readings were then tabulated and a best fit line was plotted using MS EXCEL Temperature(oC) 22 24 26 28 30 32 34 36 40 Input Voltage(V) 0.22 0.24 0.27 0.28 0.31 0.32 0.35 0.36 0.40 Graph 1: Shows the voltage vs. temperature linear relationship Scale and shift As earlier we saw that the output of the temperature sensor is very low and it is very difficult to use this values as on comparator circuit. So on this scale and shift circuit our main objective was to increase the sensitivity as a higher voltage range to work properly and easily with the comparator circuit. So we wanted to increase the gain as about 11 times as early stage. This circuit first Scale and shift the input to output. This circuit is also called adder circuit. 0 0.1 0.2 0.3 0.4 0.5 0 5 10 15 20 25 30 35 40 45 voltage(Vs) temperature(Tc) V VS T
  • 4. As we know, VT= α+βVs So, At 28 Degree Vs=0.28v and VT=2.9v so, 2.9=α+0.28β……(1) At 35 Degree Vs=0.35v and VT=3.72v so, 3.72=α+0.35β…… (2) From equation (1) and (2) We got α=-0.3785 and β=11.71 So, α=-0.378=-5*R/R2 and β=11.71=R/R1 We took, R=10KΩ So, R1=.85 KΩ and R2= 132.1K Ω We used Variable resistance Pot as resistors. This same thing can be done by using proportional controller. Which will just increase the gain by varying resistance. Comparator Circuit: This circuit is used to compare shift and scale circuit output voltage, VT with higher temperature voltage VH and lower temperature voltage VL. To make decision whether A and B is active or inactive to turn the relay on and off.
  • 5. PROCEDURE: 1. Set higher voltage VH and lower voltage VL using pot 2. Higher voltage and lower voltage acts as reference. 3. Scale and shift output voltage compared with reference. 4. A and B output obtained and make decision which situation A and B active or inactive CONDITION: VT<VL<VH A=1, Active B=0, inactive VT>VH>VL A=0 , inactive B=1 ,inactive VL<VT<VH A=1 active B=1 active ANALYSIS: VH(35’C) VT VL(28’C) A B 3.72 2.2 2.9 1 0 3.72 4.5 2.9 0 1 3.72 3.1 2.9 1 1 Here, we noticed that when we set shift and scale output voltage 2.2(VT<VL) then we got A active and B inactive. It means that relay is on. On the other hand, when we put VT 4.5(VT>VH) then we got A inactive and B active. It means that relay is off. We got both active and relay unchanged when VT was set (VL<VT<VH). D Flip-Flop: D stands for data. This type of flip-flop stores the data that is on the data line. It captures the value of D- input at a definite portion of the clock cycle and it becomes the output Q. From the comparison circuit we get the value of A and B. We used the digital logic circuit to implement the comparison circuit. This digital logic circuit is consists with two NAND gates, one clock generator and a D Flip-Flop.
  • 6. The Karnaugh map for comparison circuit is given below- AB𝑅 𝑘 0 1 0 0 X X 0 1 0 0 1 1 0 1 1 0 1 1 From this we can get a logical expression, 𝑅 𝑘+1= B’+A𝑅 𝑘 ⇒ 𝑅 𝑘+1= (B (A𝑅 𝑘)’)’ [DeMorgan’s Law] Where 𝑅 𝑘 and 𝑅 𝑘+1 represents the present state and next state respectively. This logical expression is implemented using two NAND gates, one D Flip-Flop and a clock. Fig: sequential digital logic for comparison block The truth table of D Flip-Flop is given below- Clock: A clock generator circuit produces the time signal. The D Flip-Flop tries to follow the input D but it cannot make the transitions unless it is enabled by the clock. We get the clock signal from the signal generator. Where, frequency =1 KHz; Amplitude = 5V and the pulse input is square wave.
  • 7. BJT(Bipolar Junction Transistor): Bipolar transistors consists of either p-n-p or n-p-n semiconductor. The three parts of BJT are emitter, base and collector. In this circuit we used a n-p-n transistor. The output we get from the D Flip-Flop is passed through a BJT to the relay. We used a BJT here because if the output from a D Flip-Flop is less than 6V it cannot turn the relay ON and the light will be in OFF state. As we get 4.1V output from the D Flip-Flop it is not possible to turn on the light. For this reason we connected a BJT here. When the voltage is 0.7 or greater than that the emitter and the collector get shorted and then the relay will be ON. After connecting the BJT with the output Q, we get 0.8 V in base. As a result the relay will be ON and the light as well. In this circuit we connected the base of the BJT with the output of the D Flip-Flop through a 10K resistor, the collector with the relay and grounded the emitter. RELAY CONNECTION: A relay is basically a switch that operates electrically which contains a sensing unit, the electric coil, which is powered by AC or DC current. When the applied current or voltage exceeds a threshold value, the coil activates the armature, which operates either to close the open contacts or to open the closed contacts. In general, the current flowing in one circuit causes the opening or closing of another circuit .
  • 8. Figure: Circuit Diagram of a Relay In our project, the relay is used to switch on or off a bulb for a particular range of temperature. The relay is turned on when the D flip-flop provides 5 volts to the relay and it is turned off when it gets 0 volt from the D flip-flop. Here, the important point is that the relay switching should be based on 3 rules discussed in the comparison circuit section and they are: (1) VT <= VL < VH (Relay turns on) (2) VT >= VH > VL (Relay turns off) (3) VL < VT < VH (Relay state unchanged) The complete relay circuit is given below: Figure: Relay Circuit with internal connections Another important thing is that the connection between BJT and the relay. As the BJT is connected with the D flip-flop, it carries the voltage to the relay and acts as a switching device. To control a load, first it is needed to know what sort of load is used. In our case it is a 6 volt
  • 9. relay. From the datasheet given below, we can acquire the resistance of the relay's solenoid which is 400 Ohms for the 6 volt version that we use. We can calculate the current that flows through the solenoid (coil) of the relay using Ohm’s Law, I = V / R => I = 6 / 400 => I = 0.015 A = 15 mA. The transistor must be able to provide enough current for the relay load which is 15 mA. Besides, the transistor must be able to switch 6 volts of voltage across its collector- emitter leads. Figure 1: Datasheet Conclusion: The ‘Temperature Box’ project gives an insight on closed loop configuration and feedback systems which has enhanced the understanding of the course material. It can be said that PBL (Project Based Learning) is better than traditional subject based learning. The project work has put us in a position of real life problem solving situation in which we needed discussions, improvisations and most importantly group work to complete it. Referance: Richard T. O’Brien , Jr . and John M. Watkins , Conference on Decision & control , Phoenix, Arizona USA.December 1999