If i give two analog signals to a comparator ic and suppose there is cross over between two voltages and in that state there is some noise or the voltages are toggling in that portion how comparator will handle? How to avoid such situations to get correct trigger?
Getting "correct trigger" is a rather general requirement and must realized in a trade-off between hysteresis and sensitivity, based on noise level, bandwidth, signal rise-time and comparator speed. May be difficult in a particular case.