Skip to main content

Posts

Showing posts with the label Comparator

Comparator Based Crystal Oscillator

Although a simple crystal oscillator may be built from one comparator of an LT1720/LT1721, this will suffer from a number of inherent shortcomings and design problems. Although the LT1720/LT1721 will give the correct logic output when one input is outside the common mode range, additional delays may occur when it is so operated, opening the possibility of spurious operating modes. Therefore, the DC bias voltages at the inputs have to be set near the center of the LT1720/LT1721’s common mode range and a resistor is required to attenuate the feedback to the non-inverting input. Unfortunately, although the output duty cycle for this circuit is roughly 50%, it is affected by resistor tolerances and, to a lesser extent, by comparator offsets and timings. If a 50% duty cycle is required, the circuit shown here creates a pair of complementary outputs with a forced 50% duty cycle. Crystals are narrow-band elements, so the feedback to the non-inverting input is a filtered analogue version of the...

Light Level Indicator Using a Window Comparator

The second example below uses a LDR (light dependent resistor) to indicate some desired light level. The LDR has a large dynimic range and varies in resistance from less than 100 ohms on a cloudy day to over a megohm in total darkness. A 2K pot was used to adjust the window range for usual room light conditions. This setup might also be used to indicate sunrise/sunset conditions. Light Level Indicator  Circuit Diagram