Intention is to design a comparator with following specification:
Input: 0V to 1.65V, Output: Low
Input: 2.1V to 5V, Output: High
This is the TI design doc I have refereed for the design.
Please see the circuit diagram for your reference: (Highlighted in green rectangle)
For my design requirement, I have recalculated the value of Rx, Ry and Rh as follows,
Rx = 10K Ry = 5.689K Rh = 36.67K ( VL = 1.65V, VH= 2.1V and VCC = 5V)
Formulas used are also from the TI doc
But the simulation result is as follows:
Obs: As per the LTSpice simulation VL is 2.02V and VH is 1.65V It is not matching with the design I have done.
Please do advice why there is a mismatch between the design and simulation. Kindly let me know if further any information required.