speed measuring circuit
DESCRIPTION
Circuit for Digital Logic Design project.TRANSCRIPT
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]
Air University Islamabad
SPEED MEASURING SYSTEM
DLD Term Project
Air University Islamabad
1. Ahmad Rasheed
2. Haseeb Sarwar
3. Mashood Ahmad
Group Members:
Air University Islamabad
Contents1. Introduction
2. Theme
3. Circuit Module Distribution
4. Time Calculation Module
5. Division Module
6. Final Compilation
7. Questions
Air University Islamabad
Introduction
The circuit will measure speed of the body
(vehicle) passing through the two fixed points.
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
Air University Islamabad
Circuit Module Distribution
Time Calculation Module
Approach 1 Approach 2
Division Module
Quotient Calculation Remainder Calculation
Air University Islamabad
Time Calculation
• Approach 1
• Approach 2
Air University Islamabad
Time Calculation Starting Module
Reset switch
Sensor
Air University Islamabad
Time Calculation Module Approach 1starting module
starting module
counter
counter
clocksubtractor
Air University Islamabad
Time Calculation Module Approach 2
clock
starting module
starting module
counterXOR
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
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.
Air University Islamabad
Division Module
counter
mux
subtractor
JK-FF
Reset switch
register
clock
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.
Air University Islamabad
Questions
?