EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

Digital to Analog Phase Comparator

@BraydanD
1 year ago
https://everycircuit.com/circuit/4766056824569856
Designed to be used in an Infrared distance sensor, whereby the time it takes for an IR pulse to be transmitted and returned causes a small amount of delay between the pulse signal and the received signal. Using a 100KHz pulse signal and a maximum sense distance of 30cm, the maximum pulse delay is 20m%, which is then detected and amplified to produce an analog voltage that is dependent on distance. time(s) = distance(m) / speed(m/s) t = 0.6m / 3x10^8 m/s (30cm both forward and back so total 60cm) t = 2x10^-9 s T(s) = 1 / f(Hz) T = 1 / 1x10^5 Hz T = 1x10^-5 s % delay = (t / T) x 100 % delay = (2x10^-9 / 1x10^-5) x 100 % delay = 0.02% or 20m%
Comments
Post