SlideShare a Scribd company logo
1 of 10
University of Duhok
Faculty Of Engineering And Applied Science
School Of Engineering / Electrical And Computer
Department
 Project Name :- SlidingDoor
 Student'sName :- Mohamed Hayder
 Group Names:-1)HevalShamal, 2)Ava Khazi,
3)Jovan Mohamed
Supervisor in charge:-
Herwan Mohamed
Introduction:-
A sliding door is a type of door which opens horizontally by
sliding, whereby the door is either mounted on or suspended
from a track. Some sliding doors contain a motor and activation
system to open them. These are called sliding door operators.
Sliding door operators are typically used on the outside doors of
large retail businesses.
A sliding door operator reopens the door if it closes into an
obstacle. However, most operators use sensors to prevent the
door from ever coming into contact with a user in the first place.
The simplest sensor is a light beam across the opening. An
obstacle in the path of the closing door breaks the beam,
indicating its presence. Infrared and radar safety sensors are
also commonly used.
We can assume that if c=0 that means the door is opened by
force and when c=1 then it's closed by force also. And for h
when h=1 it means that the door is opened manually and like
wise and for p when p=1 it means that a person is detected.
From these information we can construct a truth table for the
sliding door and because we have three variables then we would
have 8 possibilities for the door to open or close as shown by
the truth table below and after we construct our truth table we
can draw the K-map as shown below.
If we take the minterms from the truth table so we can write the
following Boolean function.
F=chp+chp+chp
= c[hp+hp+hp]=c[hp+h(p+p)]=chp+ch
By taking the 1's from the K-map we can write the (SOP)terms
by the following equation and also draw it's equivalent circuit
diagram.
SOP=cp+ch=c(p+h)
c h p F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
0 0
1 0
1 0
1 0
And from the circuit diagram above we can find the cost of this
circuit and it will be 4 inputs and 2 gates so the result will be 6.
And also we can draw the electric circuit it.
From the SOP equation we can write it's NAND-NAND
equivalent circuit diagram as shown in the figure below.
F=(cp)(ch)
And the cost of this circuit will be 3 gates and 6 inputs so the
final result will be 9.
L1
1.0mH
R1
1.0k
V1
5 V
J1
Key = A
J2
Key = A
J3
Key = A
And by taking the 0's from the K-map we can write the (POS)
terms by the following equation and also after that we can draw
it's circuit diagram.
POS=(h+p)(c)
.
And the cost of the above circuit would be 4 inputs and two
gates so the result will be 6.
From the POS function we can write it's NOR-NOR equivalent
circuit diagram and also draw the circuit.
F=(h+p)+(c)
And the cost of this circuit diagram is also 6 , consists of 2 gates
and 4 inputs.
Now we will implement the NOR-NOR logic gate using Quartus
programme.
1. Run Quartus Software.
2. From the file menu select New project wizard.
3. In the first pop-up window(shown in figure1), you have to
enter the directory(folder) where you want to store your
project files and the name of the design.
4. The next pop-up window(figure2) shows the files currently
included in the project and asks if any more should be added.
Click Next.
5. The screen in (Figure3) select the device family (Cyclone 2)
and target device (EP2C35F672C6) for the project. Click
next after making these selections.
6. The next screen (Figure4) allows the user to select various
third-party software tools as plug in to the Quartus software.
This feature will jot be used, just click Next.
7. The final screen (Figure5) is a summary of project settings
provided by the user , click Finish to exit the wizard.
After that we design our circuit diagram by using the Graphic
Editor, from the file menu select new then select Block
diagram/Schematic File. To insert the components on the Block
diagram we can simply do that by double click on any Blank
area of the Block, or from the AND gate shortcut displayed on
the right, or from edit menu then select insert symbol. Then this
window will be displayed.
After completing the design we have to save it by selecting save
from the file menu.
Once we finished our design, we should compile it to check for
errors. And we can do that simply by selecting Start
Compilation from the processing menu. After the Compilation
finished without any errors , we can simulate the Waveform.
To do that we have to do the following steps:-
1) Click on the File then new then Vector waveform file to get a
waveform editor.
NOR2
inst
NOR2
inst1
VCC
h INPUT
VCC
p INPUT
VCC
c INPUT
2) Then we have to specify the simulation end time
Edit menu → End time (for this example choose 20 µs).
3) Select View → Fit in Window, to show entire output for the
simulated waveform.
4) To add waveform to the Window, Edit menu then select Insert
Node or Bus then click on the Node Finder from the menu.
5) The time period for each input waveform (c,h,p) can be
entered by right click on for example C then select Value then
Clock. Here the period of the first signal must be half of the
second, and the period of the second signal must be half of
the third and so on ( to include all the possibilities of the
truth table). Here we chose the period of signal c to be 3µs,
h=6µs and p=9µs).
6) We save the Waveform file extension .vwf
After finishing these steps, we have Functional simulation
,Functional simulation verify the correctness of the design with
no concerning about timing issues. To perform functional
simulation click processing menu → simulator tool, and do as in
the figure below.
After making these steps then we should get the result as shown
in the figure below

More Related Content

What's hot

VTU Network lab programs
VTU Network lab   programsVTU Network lab   programs
VTU Network lab programsAnanda Kumar HN
 
Programming the BBC micro:bit with MicroPython by Dunham High School
Programming the BBC micro:bit with MicroPython by Dunham High SchoolProgramming the BBC micro:bit with MicroPython by Dunham High School
Programming the BBC micro:bit with MicroPython by Dunham High SchoolPYCON MY PLT
 
Monte-carlo sim pricing EU call
Monte-carlo sim pricing EU callMonte-carlo sim pricing EU call
Monte-carlo sim pricing EU callTianqi Huang, CFA
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmMaruf Abdullah (Rion)
 
PYTHON. AM CALL Pricing Trees
PYTHON. AM CALL Pricing TreesPYTHON. AM CALL Pricing Trees
PYTHON. AM CALL Pricing TreesTianqi Huang, CFA
 
Cohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksCohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksRehan Khan
 
Matlab introduction
Matlab introductionMatlab introduction
Matlab introductionAhmed Atef
 
A formalization of complex event stream processing
A formalization of complex event stream processingA formalization of complex event stream processing
A formalization of complex event stream processingSylvain Hallé
 
Lcs & fractional knapsack
Lcs & fractional knapsackLcs & fractional knapsack
Lcs & fractional knapsackSajid Hasan
 
Python statements
Python statementsPython statements
Python statementsnuripatidar
 

What's hot (20)

VTU Network lab programs
VTU Network lab   programsVTU Network lab   programs
VTU Network lab programs
 
Pointer example
Pointer examplePointer example
Pointer example
 
Clipping
ClippingClipping
Clipping
 
Segundo Punto
Segundo PuntoSegundo Punto
Segundo Punto
 
Euler method in c
Euler method in cEuler method in c
Euler method in c
 
Programming the BBC micro:bit with MicroPython by Dunham High School
Programming the BBC micro:bit with MicroPython by Dunham High SchoolProgramming the BBC micro:bit with MicroPython by Dunham High School
Programming the BBC micro:bit with MicroPython by Dunham High School
 
Program presentation
Program presentationProgram presentation
Program presentation
 
Monte-carlo sim pricing EU call
Monte-carlo sim pricing EU callMonte-carlo sim pricing EU call
Monte-carlo sim pricing EU call
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping Algorithm
 
Parallel Plates
Parallel PlatesParallel Plates
Parallel Plates
 
Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )
 
PYTHON. AM CALL Pricing Trees
PYTHON. AM CALL Pricing TreesPYTHON. AM CALL Pricing Trees
PYTHON. AM CALL Pricing Trees
 
Tercer Punto
Tercer PuntoTercer Punto
Tercer Punto
 
Mcq cpup
Mcq cpupMcq cpup
Mcq cpup
 
Cohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksCohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marks
 
Matlab introduction
Matlab introductionMatlab introduction
Matlab introduction
 
A formalization of complex event stream processing
A formalization of complex event stream processingA formalization of complex event stream processing
A formalization of complex event stream processing
 
Lcs & fractional knapsack
Lcs & fractional knapsackLcs & fractional knapsack
Lcs & fractional knapsack
 
comp1
comp1comp1
comp1
 
Python statements
Python statementsPython statements
Python statements
 

Similar to Sliding door

EC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab ManualEC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab Manualtamil arasan
 
Fpga applications using hdl
Fpga applications using hdlFpga applications using hdl
Fpga applications using hdlSankarshan D
 
Filter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveofficeFilter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveofficeEmad S. Ahmed
 
NG3S903 - Electronic Systems Engineering - Fault Modelling Techniques
NG3S903 - Electronic Systems Engineering - Fault Modelling TechniquesNG3S903 - Electronic Systems Engineering - Fault Modelling Techniques
NG3S903 - Electronic Systems Engineering - Fault Modelling TechniquesChris Francis
 
Labsheet1 ec303 student
Labsheet1 ec303 studentLabsheet1 ec303 student
Labsheet1 ec303 studentfarah146
 
File 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designFile 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designSanjeev Singh
 
2. Doppler sonography
2. Doppler sonography2. Doppler sonography
2. Doppler sonographyMartinKrovi
 
Coaxial feed microstrip patch antenna using HFSS
 Coaxial feed microstrip patch antenna using  HFSS Coaxial feed microstrip patch antenna using  HFSS
Coaxial feed microstrip patch antenna using HFSSMithilesh Naphade
 
SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxsatyamVerma186725
 
HFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGN
HFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGNHFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGN
HFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGNShivashu Awasthi
 
Modify your solution for PLP04 to allow the user to choose the shape.pdf
Modify your solution for PLP04 to allow the user to choose the shape.pdfModify your solution for PLP04 to allow the user to choose the shape.pdf
Modify your solution for PLP04 to allow the user to choose the shape.pdfhullibergerr25980
 
All opam assignment2_main
All opam assignment2_mainAll opam assignment2_main
All opam assignment2_mainTeam-VLSI-ITMU
 
15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docx
15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docx15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docx
15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docxfelicidaddinwoodie
 
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docxEELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docxtoltonkendal
 

Similar to Sliding door (20)

EC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab ManualEC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab Manual
 
Fpga applications using hdl
Fpga applications using hdlFpga applications using hdl
Fpga applications using hdl
 
Filter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveofficeFilter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveoffice
 
NG3S903 - Electronic Systems Engineering - Fault Modelling Techniques
NG3S903 - Electronic Systems Engineering - Fault Modelling TechniquesNG3S903 - Electronic Systems Engineering - Fault Modelling Techniques
NG3S903 - Electronic Systems Engineering - Fault Modelling Techniques
 
Labsheet1 ec303 student
Labsheet1 ec303 studentLabsheet1 ec303 student
Labsheet1 ec303 student
 
Computer Networks Omnet
Computer Networks OmnetComputer Networks Omnet
Computer Networks Omnet
 
CE150--Hongyi Huang
CE150--Hongyi HuangCE150--Hongyi Huang
CE150--Hongyi Huang
 
File 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designFile 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit design
 
2. Doppler sonography
2. Doppler sonography2. Doppler sonography
2. Doppler sonography
 
Coaxial feed microstrip patch antenna using HFSS
 Coaxial feed microstrip patch antenna using  HFSS Coaxial feed microstrip patch antenna using  HFSS
Coaxial feed microstrip patch antenna using HFSS
 
Plc fatek
Plc fatekPlc fatek
Plc fatek
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2
 
Certification
CertificationCertification
Certification
 
SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptx
 
HFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGN
HFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGNHFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGN
HFSS MICROSTRIP PATCH ANTENNA- ANALYSIS AND DESIGN
 
Modify your solution for PLP04 to allow the user to choose the shape.pdf
Modify your solution for PLP04 to allow the user to choose the shape.pdfModify your solution for PLP04 to allow the user to choose the shape.pdf
Modify your solution for PLP04 to allow the user to choose the shape.pdf
 
c++ lab manual
c++ lab manualc++ lab manual
c++ lab manual
 
All opam assignment2_main
All opam assignment2_mainAll opam assignment2_main
All opam assignment2_main
 
15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docx
15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docx15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docx
15LLP108_Demo4_LedBlinking.pdf1. Introduction In D.docx
 
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docxEELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
 

Recently uploaded

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 

Recently uploaded (20)

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 

Sliding door

  • 1. University of Duhok Faculty Of Engineering And Applied Science School Of Engineering / Electrical And Computer Department  Project Name :- SlidingDoor  Student'sName :- Mohamed Hayder  Group Names:-1)HevalShamal, 2)Ava Khazi, 3)Jovan Mohamed Supervisor in charge:- Herwan Mohamed
  • 2. Introduction:- A sliding door is a type of door which opens horizontally by sliding, whereby the door is either mounted on or suspended from a track. Some sliding doors contain a motor and activation system to open them. These are called sliding door operators. Sliding door operators are typically used on the outside doors of large retail businesses. A sliding door operator reopens the door if it closes into an obstacle. However, most operators use sensors to prevent the door from ever coming into contact with a user in the first place. The simplest sensor is a light beam across the opening. An obstacle in the path of the closing door breaks the beam, indicating its presence. Infrared and radar safety sensors are also commonly used. We can assume that if c=0 that means the door is opened by force and when c=1 then it's closed by force also. And for h when h=1 it means that the door is opened manually and like wise and for p when p=1 it means that a person is detected. From these information we can construct a truth table for the sliding door and because we have three variables then we would have 8 possibilities for the door to open or close as shown by the truth table below and after we construct our truth table we can draw the K-map as shown below.
  • 3. If we take the minterms from the truth table so we can write the following Boolean function. F=chp+chp+chp = c[hp+hp+hp]=c[hp+h(p+p)]=chp+ch By taking the 1's from the K-map we can write the (SOP)terms by the following equation and also draw it's equivalent circuit diagram. SOP=cp+ch=c(p+h) c h p F 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 1 0 1 0 1 0
  • 4. And from the circuit diagram above we can find the cost of this circuit and it will be 4 inputs and 2 gates so the result will be 6. And also we can draw the electric circuit it. From the SOP equation we can write it's NAND-NAND equivalent circuit diagram as shown in the figure below. F=(cp)(ch) And the cost of this circuit will be 3 gates and 6 inputs so the final result will be 9. L1 1.0mH R1 1.0k V1 5 V J1 Key = A J2 Key = A J3 Key = A
  • 5. And by taking the 0's from the K-map we can write the (POS) terms by the following equation and also after that we can draw it's circuit diagram. POS=(h+p)(c) . And the cost of the above circuit would be 4 inputs and two gates so the result will be 6. From the POS function we can write it's NOR-NOR equivalent circuit diagram and also draw the circuit. F=(h+p)+(c) And the cost of this circuit diagram is also 6 , consists of 2 gates and 4 inputs.
  • 6. Now we will implement the NOR-NOR logic gate using Quartus programme. 1. Run Quartus Software. 2. From the file menu select New project wizard. 3. In the first pop-up window(shown in figure1), you have to enter the directory(folder) where you want to store your project files and the name of the design. 4. The next pop-up window(figure2) shows the files currently included in the project and asks if any more should be added. Click Next. 5. The screen in (Figure3) select the device family (Cyclone 2) and target device (EP2C35F672C6) for the project. Click next after making these selections. 6. The next screen (Figure4) allows the user to select various third-party software tools as plug in to the Quartus software. This feature will jot be used, just click Next. 7. The final screen (Figure5) is a summary of project settings provided by the user , click Finish to exit the wizard.
  • 7. After that we design our circuit diagram by using the Graphic Editor, from the file menu select new then select Block diagram/Schematic File. To insert the components on the Block diagram we can simply do that by double click on any Blank area of the Block, or from the AND gate shortcut displayed on the right, or from edit menu then select insert symbol. Then this window will be displayed.
  • 8. After completing the design we have to save it by selecting save from the file menu. Once we finished our design, we should compile it to check for errors. And we can do that simply by selecting Start Compilation from the processing menu. After the Compilation finished without any errors , we can simulate the Waveform. To do that we have to do the following steps:- 1) Click on the File then new then Vector waveform file to get a waveform editor. NOR2 inst NOR2 inst1 VCC h INPUT VCC p INPUT VCC c INPUT
  • 9. 2) Then we have to specify the simulation end time Edit menu → End time (for this example choose 20 µs). 3) Select View → Fit in Window, to show entire output for the simulated waveform. 4) To add waveform to the Window, Edit menu then select Insert Node or Bus then click on the Node Finder from the menu. 5) The time period for each input waveform (c,h,p) can be entered by right click on for example C then select Value then Clock. Here the period of the first signal must be half of the second, and the period of the second signal must be half of the third and so on ( to include all the possibilities of the truth table). Here we chose the period of signal c to be 3µs, h=6µs and p=9µs). 6) We save the Waveform file extension .vwf After finishing these steps, we have Functional simulation ,Functional simulation verify the correctness of the design with no concerning about timing issues. To perform functional simulation click processing menu → simulator tool, and do as in the figure below.
  • 10. After making these steps then we should get the result as shown in the figure below