Can I use LM393? Or please suggest any other comparator which suits my requirement. It should source enough current....................
Your most serious mistake is that the LT1017 cannot source enough current
most voltage compare ICs; the output only pulls down, does not pull up.
I know it is hard to find on the datasheet but it source current = 0!
You need to get a datasheet. Usually all companies make the part the same but this part is a little different from company to company. Also there is a "A" version that you want.
This is how the LM393 is made. Look at "Vo" it only pulls down! No pull up.
The part will not work right if both inputs are (below 0 volts or above 10.5 volts) [on a 12V supply]
You are trying to move from a good part to a very old part.
Look at input offset voltage. We talked about this before. This data sheet only talks about running the part at 5V supply.
LM393(not A) could have a input offset as bad as 5mV at room temperature and 9mV over 0 to 70C.
LM393A is limited to 2mV max, 1mV typical at room temp.
Also look at input bias current. (the IC pulls up a little on its inputs)
LM393 20nA typical but 250nA max at room temp.
LM393A 20nA, 100nA max at room temp.
Repeating:
Input bias current, LM393 there is an error of 5 to 250nA injected into your unknown resistor. Can you live with that? Do the math.
Are you certain that U1 never has a case where both inputs are not above 10.5 volts? Do the math.
LM393 can not pull up! No math required. lol