View
217
Download
0
Category
Preview:
Citation preview
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
1/38
The University of ZawiaSabratha Faculty of Engineering
Electrical and Electronics Engineering Department
Designing a Paper Archive Protection System Using P ! "icrocontroller
This Thesis was Submitted in Partial Fulfillment of the #e$uirements for the %achelor&sDegree of Science in !ontrol Engineering
By
Radwan Mohammed Ali Al-rahmani
Salah Addin Mohammed Al-haderi
Supervisor
Dr.Tareq Al-kar
Sabratha, ibyaApril, !"#$
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
2/38
Pro'ect %ac(ground
Ar%hives and Re%ord Stora&e Buildin&s are 'a%ilitiesthat provide a proper environment 'or the purpose o'storin& re%ords and materials .
(aper do%uments storin& methods are the mostimportant 'a%tor when desi&nin& an ar%hive.
)n this pro*e%t we aim to desi&n a %ontrol system thatmonitors the environmental parameters automati%allyand a%t a%%ordin&ly usin& a mi%ro%ontroller andmi%ro%ontroller peripherals.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
3/38
Objectives of the project
+nderstandin& the environmental ha ards thata''e%t paper stora&e pro%esses.
(resentin& the stru%ture o' () mi%ro%ontrollerused in this pro*e%t and the peripherals atta%hedto it.
(rovidin& an overview o' the system desi&nedin this pro*e%t and the al&orithm that the systemoperates on.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
4/38
Environmental guidelines for thestorage of paper records
Temperature and #elative humidity
Temperature is a measurement o' the avera&e kineti% ener&y o'the mole%ules in an ob*e%t or system.
Relative humidity is the ratio o' the a%tual water vapor pressureto the equilibrium vapor pressure over a plane o' water.To prevent the e''e%t o' temperature and humidity %onsider the'ollowin&
○ Determinin& rate o' usa&e o' the stora&e.○ (reventin& 'lu%tuation and maintainin& stabili ation.○ onstant air 'ilterin&.○ Applyin& %old stora&e.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
5/38
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
6/38
Sun light
i&ht is part o' the ele%troma&neti% spe%trum, whi%h ran&es 'rom radiowaves to &amma rays.
i&ht a%%elerates deterioration o' library and ar%hival materials. )t%auses paper to blea%h, yellow, or darken.
Air $uality and pollutantsAir pollutants in &eneral are substan%es or ener&y introdu%ed into theenvironment that has undesired e''e%ts.
○ )aseous Pollutants
○ Solid particles
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
7/38
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
8/38
Fire and Fire Extinguishing Mechanisms
/ire is the rapid o0idation o' a material in the e0othermi%%hemi%al pro%ess o' %ombustion, releasin& heat, li&ht, andvarious rea%tion produ%ts.
The Fire Triangle*+ygen 10y&en is usually readily available. )t makes up !#2 o'the air we breathe.Fuel 'uel has many types %lassi'ied by how they i&nite ande0tin&uish, paper is %lassi'ied as solid 'uel.
,eat The heat &iven o'' by the o0idation rea%tion sustains the 'ireon%e it is established. But 'irst, a heat sour%e is required to produ%ei&nition.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
9/38The Fire Triangle
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
10/38
Fire Extinguishing Method
Remove the Oxygen Remove the Fuel Remove the Heat
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
11/38
The Microcontroller A mi%ro%ontroller is a %ompa%t mi%ro%omputer that
%ontains many %omponents desi&ned to &overn theoperation o' embedded systems. A typi%al mi%ro%ontrollerin%ludes a pro%essor, memory, and peripherals.
P ! "icrocontroller () mi%ro%ontrollers are ele%troni% %ir%uits that %an be
pro&rammed to %arry out a vast ran&e o' tasks. () mi%ro%ontrollers allow ele%troni%s desi&ners to add
intelli&en%e and 'un%tions that mimi%s bi& %omputers 'oralmost any ele%troni%s produ%t or pro*e%t.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
12/38
The P !-.F/00A microcontroller
P !"#F$%%& Features
• Non-volatile program
memory.• High-Performance RISC CPU.• Re-settable non-volatile ata
memory !""PR#$%.• R&$ for ata storage.• 'irect s(pport for vario(s
inp(t)o(tp(t.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
13/38
P !'&( ! 'oard () BAS) is mi%ro sin&le board %omputer pro&rammed by
the () BAS) lan&ua&e. () BAS) is appli%able widely in automation %ontrol 'ield
su%h as automated ma%hine, thermal %ontroller, R1B1T%ontroller, data a%quaintan%e devi%e.
(BM -R3 board is a model o' the () BAS) board 'amily,it has many 'eatures allowin& it to be used in desi&nin&automated %ontrol systems.
The (BM-R3 uses () #$/455A Mi%ro%ontroller withmemory and power %ir%uits atta%hed to it in%ludin& a
breadboard.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
14/38
PBM-R5 Complete Circuit
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
15/38
(ensors and Transducers A transdu%er is a devi%e that %onverts one 'orm o'
ener&y to another. A transdu%er %an be a sensor oran a%tuator.
A sensor devi%e whi%h dete%ts or measures a physi%al property and re%ords, indi%ates, orotherwise responds to it.
An a%tuator is a type o' motor that is responsible'or movin& or %ontrollin& a me%hanism or system.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
16/38
Temperature (ensors
Temperature sensors are devi%es used tomeasure the temperature o' a medium.
A Temperature Sensor %onsists o' two basi%
physi%al types
!ontact Temperature (ensor
)on*contact Temperature (ensor
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
17/38
! Temperature sensors There are a wide variety o'
temperature sensors )%s. An e0ample 'or )
temperature sensors isM63.
The M63 series are pre%ision inte&rated-%ir%uittemperature sensors.
The M63 operates at-337 to 8#!"7 .
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
18/38
Humidity sensors
9umidity sensors monitor and dete%t ambient humidity underdi''erent %onditions ran&in& 'rom low temperature to hi&h or inmi0tures with other &ases.
9umidity measurement is used in various areas o' appli%ationssu%h as
nstrumentation
Automated systems
Agriculture
!limatology and ) S
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
19/38
H H+,,, Humidity sensor Desi&ned spe%i'i%ally 'or hi&h
volume 1:M users.
Delivers instrumentation-qualityR9 sensin& per'orman%e.
Resistan%e to most appli%ationha ards and %ommonenvironmental %hemi%als.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
20/38
-ight sensors A photoresistor or DR is a
li&ht-%ontrolled variableresistor.
A photoresistor is made o' ahi&h resistan%e semi-%ondu%tor.)n the dark, a photoresistor %anhave a resistan%e as hi&h asseveral me&a ohms ;M
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
21/38
!arbon Monoxide sensors arbon mono0ide dete%tors &ive an ele%tri%al si&nal
when they sense a %ertain amount o' %arbon mono0idein the air over time.
There are many di''erent types o' %arbon mono0idesensors
%iomimetic sensor
Electrochemical sensor
"etal o+ide semiconductor
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
22/38
!arbon Monoxide (ensor M.%
M>-5 &as sensor %omposed bymi%ro Aluminum 10ide;A ! 1 6 = %erami% tube, TinDio0ide ;Sn1 ! = sensitive layer,measurin& ele%trode and heaterare 'i0ed into a %rust made by
plasti% and stainless steel net. The M>-5 possesses hi&h
sensitivity to %arbon mono0ideand has and lon& li'e andstability.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
23/38
(ystem /esign (teps
Troubleshootin& the problems by studyin& asample environment.
reatin& an al&orithm to solve the problems.
Desi&nin& the system pro&rammed by the%reated al&orithm
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
24/38
Department of Study and Exams Archives
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
25/38
!ontrol &lgorithm To desi&nin& the al&orithm it is ne%essary to
or&ani e the 'a%tors by their level o' threat. Takin& in %onsideration the 'ollowin&
spe%ial %ases
○ "ulti1threat situation○ Affecting other factors
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
26/38
(ystem (tages The sta&es o' %ontrol 'or the system are as
'ollows
"easurement stageFire and2or smo(e stage3ight Stage
Temperature and humidity stage
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
27/38
System Al orithm !lo"chart
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
28/38
!onnecting the (ystem A'ter desi&nin& the system al&orithm the ne0t
step is assemblin& the %ontrol %ir%uit by usin& thehardware devi%es and ele%troni%s and %onne%tin&
them to the Mi%ro%ontroller () BAS) Board.
The mi%ro-%ontroller is in %har&e o' the entire
pro%ess dependin& on the si&nals re%eived 'romthe peripheral units a%%ordin& to the desi&ned pro&ram.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
29/38
!ontrol peripherals ontrol peripherals are the devi%es %onne%ted to
the %ontrol unit4they are divided into inputs andoutputs.
!ontrol Peripherals inputs5
• Temperature
• #elative humidity• 3ight density• )as concentration
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
30/38
!ontrol Peripherals *utputs5
Air conditioning!* 6 valves
Alarm sound7indow open2closing
"onitoring
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
31/38
System Circuit #raph
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
32/38
!ontrol unit programming The 'inal step is pro&rammin& the mi%ro-
%ontroller ;%ontrol unit= By usin& () BAS)studio pro&rammin& so'tware.
() BAS) studio is )nte&rated Development:nvironment 'or () BAS) . )t in%ludes
ompiler, :ditor, Debu&&er ?et% and is%ompatible with Mi%roso't @indows.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
33/38
P$CBAS$C Studio $nterface
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
34/38
System Complete Circuit
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
35/38
!onclusions The desi&ned system was pro&rammed to ad*ust with the weather
%limate in Sabratha ibya. The 'ollowin& table demonstrates a 'ewreadin&s o' the desi&ned system over a week.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
36/38
Recommendations and Future 0or1s
The system in this pro*e%t was desi&ned to 'un%tion in theMediterranean re&ion there'ore i' it would be applied inother re&ions one must alter the system to ad*ust to that
re&ion. i' a %omplete system would be desi&ned one %an use a
phototransistor as a relay to %onne%t the %ontrol %ir%uit tohi&h volta&e devi%es.
@hen desi&nin& a %ustom made system 'or a spe%i'ied'un%tion or pla%e you must take noti%e the pre%autions instorin& papers and apply the %old stora&e i' possible.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
37/38
The system desi&ned spe%i'ies the nature o' the storedsubstan%e however it %an be ad*usted to be used to storeother various substan%es i' one studies the pre%autions o'
preservin& that substan%e.
8/17/2019 Designing a Paper Archive Protection System Using PIC Microcontroller
38/38
Recommended