speed measuring circuit
DESCRIPTION
Circuit for Digital Logic Design project.TRANSCRIPT
![Page 1: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/1.jpg)
Air University Islamabad
Note: If you are seeking for a digital logic design project, then try to create a new project using this project as a module. Thesuggestions are making an acceleration meter or speed detectionof a vehicle for 1m.
E-mail: [email protected]
![Page 2: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/2.jpg)
Air University Islamabad
SPEED MEASURING SYSTEM
DLD Term Project
![Page 3: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/3.jpg)
Air University Islamabad
1. Ahmad Rasheed
2. Haseeb Sarwar
3. Mashood Ahmad
Group Members:
![Page 4: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/4.jpg)
Air University Islamabad
Contents1. Introduction
2. Theme
3. Circuit Module Distribution
4. Time Calculation Module
5. Division Module
6. Final Compilation
7. Questions
![Page 5: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/5.jpg)
Air University Islamabad
Introduction
The circuit will measure speed of the body
(vehicle) passing through the two fixed points.
![Page 6: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/6.jpg)
Air University Islamabad
Theme
The basic theme was first to calculate the time of
the body passing through the two fixed points and
calculate its speed using the formula
Speed=Distance/Time
![Page 7: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/7.jpg)
Air University Islamabad
Circuit Module Distribution
Time Calculation Module
Approach 1 Approach 2
Division Module
Quotient Calculation Remainder Calculation
![Page 8: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/8.jpg)
Air University Islamabad
Time Calculation
• Approach 1
• Approach 2
![Page 9: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/9.jpg)
Air University Islamabad
Time Calculation Starting Module
Reset switch
Sensor
![Page 10: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/10.jpg)
Air University Islamabad
Time Calculation Module Approach 1starting module
starting module
counter
counter
clocksubtractor
![Page 11: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/11.jpg)
Air University Islamabad
Time Calculation Module Approach 2
clock
starting module
starting module
counterXOR
![Page 12: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/12.jpg)
Air University Islamabad
Cases Reset Sensor 1 Sensor 2 XOR output Counter
1 ON “1” ON “1” ON “1” 0 Cleared
2 OFF “0” ON “1” ON “1” 0 Not working
3 a. OFF “0” OFF “0” ON “1” 1 Starts working
3 b. OFF “0” ON “1” OFF “0” 1 Starts working
4 OFF “0” OFF “0” OFF “0” 0 Stops at a value
![Page 13: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/13.jpg)
Air University Islamabad
Advantages of Approach 2 overApproach 1
The number of ICs reduced that made hardware to be handled more easily.
Initial point for vehicle crossing in order to measure speed became independent.
The circuit became less costly.
![Page 14: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/14.jpg)
Air University Islamabad
Division Module
counter
mux
subtractor
JK-FF
Reset switch
register
clock
![Page 15: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/15.jpg)
Air University Islamabad
Final CompilationFinally we gave the output of the time calculation
circuit into the divisor place of the dividing circuit
that resulted in the measurement of speed.
![Page 16: Speed Measuring Circuit](https://reader036.vdocuments.us/reader036/viewer/2022062419/558a432bd8b42a6f578b46ad/html5/thumbnails/16.jpg)
Air University Islamabad
Questions
?